Class ExtensionProperties
- java.lang.Object
-
- com.azure.resourcemanager.azurestackhci.fluent.models.ExtensionProperties
-
public final class ExtensionProperties extends Object
Status of Arc Extension for a particular node in HCI Cluster.
-
-
Constructor Summary
Constructors Constructor Description ExtensionProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtensionAggregateState
aggregateState()
Get the aggregateState property: Aggregate state of Arc Extensions across the nodes in this HCI cluster.Boolean
autoUpgradeMinorVersion()
Get the autoUpgradeMinorVersion property: Indicates whether the extension should use a newer minor version if one is available at deployment time.String
forceUpdateTag()
Get the forceUpdateTag property: How the extension handler should be forced to update even if the extension configuration has not changed.List<PerNodeExtensionState>
perNodeExtensionDetails()
Get the perNodeExtensionDetails property: State of Arc Extension in each of the nodes.Object
protectedSettings()
Get the protectedSettings property: Protected settings (may contain secrets).ProvisioningState
provisioningState()
Get the provisioningState property: Provisioning state of the Extension proxy resource.String
publisher()
Get the publisher property: The name of the extension handler publisher.Object
settings()
Get the settings property: Json formatted public settings for the extension.String
type()
Get the type property: Specifies the type of the extension; an example is "CustomScriptExtension".String
typeHandlerVersion()
Get the typeHandlerVersion property: Specifies the version of the script handler.void
validate()
Validates the instance.ExtensionProperties
withAutoUpgradeMinorVersion(Boolean autoUpgradeMinorVersion)
Set the autoUpgradeMinorVersion property: Indicates whether the extension should use a newer minor version if one is available at deployment time.ExtensionProperties
withForceUpdateTag(String forceUpdateTag)
Set the forceUpdateTag property: How the extension handler should be forced to update even if the extension configuration has not changed.ExtensionProperties
withProtectedSettings(Object protectedSettings)
Set the protectedSettings property: Protected settings (may contain secrets).ExtensionProperties
withPublisher(String publisher)
Set the publisher property: The name of the extension handler publisher.ExtensionProperties
withSettings(Object settings)
Set the settings property: Json formatted public settings for the extension.ExtensionProperties
withType(String type)
Set the type property: Specifies the type of the extension; an example is "CustomScriptExtension".ExtensionProperties
withTypeHandlerVersion(String typeHandlerVersion)
Set the typeHandlerVersion property: Specifies the version of the script handler.
-
-
-
Method Detail
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the Extension proxy resource.- Returns:
- the provisioningState value.
-
aggregateState
public ExtensionAggregateState aggregateState()
Get the aggregateState property: Aggregate state of Arc Extensions across the nodes in this HCI cluster.- Returns:
- the aggregateState value.
-
perNodeExtensionDetails
public List<PerNodeExtensionState> perNodeExtensionDetails()
Get the perNodeExtensionDetails property: State of Arc Extension in each of the nodes.- Returns:
- the perNodeExtensionDetails value.
-
forceUpdateTag
public String forceUpdateTag()
Get the forceUpdateTag property: How the extension handler should be forced to update even if the extension configuration has not changed.- Returns:
- the forceUpdateTag value.
-
withForceUpdateTag
public ExtensionProperties withForceUpdateTag(String forceUpdateTag)
Set the forceUpdateTag property: How the extension handler should be forced to update even if the extension configuration has not changed.- Parameters:
forceUpdateTag
- the forceUpdateTag value to set.- Returns:
- the ExtensionProperties object itself.
-
publisher
public String publisher()
Get the publisher property: The name of the extension handler publisher.- Returns:
- the publisher value.
-
withPublisher
public ExtensionProperties withPublisher(String publisher)
Set the publisher property: The name of the extension handler publisher.- Parameters:
publisher
- the publisher value to set.- Returns:
- the ExtensionProperties object itself.
-
type
public String type()
Get the type property: Specifies the type of the extension; an example is "CustomScriptExtension".- Returns:
- the type value.
-
withType
public ExtensionProperties withType(String type)
Set the type property: Specifies the type of the extension; an example is "CustomScriptExtension".- Parameters:
type
- the type value to set.- Returns:
- the ExtensionProperties object itself.
-
typeHandlerVersion
public String typeHandlerVersion()
Get the typeHandlerVersion property: Specifies the version of the script handler.- Returns:
- the typeHandlerVersion value.
-
withTypeHandlerVersion
public ExtensionProperties withTypeHandlerVersion(String typeHandlerVersion)
Set the typeHandlerVersion property: Specifies the version of the script handler.- Parameters:
typeHandlerVersion
- the typeHandlerVersion value to set.- Returns:
- the ExtensionProperties object itself.
-
autoUpgradeMinorVersion
public Boolean autoUpgradeMinorVersion()
Get the autoUpgradeMinorVersion property: Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.- Returns:
- the autoUpgradeMinorVersion value.
-
withAutoUpgradeMinorVersion
public ExtensionProperties withAutoUpgradeMinorVersion(Boolean autoUpgradeMinorVersion)
Set the autoUpgradeMinorVersion property: Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.- Parameters:
autoUpgradeMinorVersion
- the autoUpgradeMinorVersion value to set.- Returns:
- the ExtensionProperties object itself.
-
settings
public Object settings()
Get the settings property: Json formatted public settings for the extension.- Returns:
- the settings value.
-
withSettings
public ExtensionProperties withSettings(Object settings)
Set the settings property: Json formatted public settings for the extension.- Parameters:
settings
- the settings value to set.- Returns:
- the ExtensionProperties object itself.
-
protectedSettings
public Object protectedSettings()
Get the protectedSettings property: Protected settings (may contain secrets).- Returns:
- the protectedSettings value.
-
withProtectedSettings
public ExtensionProperties withProtectedSettings(Object protectedSettings)
Set the protectedSettings property: Protected settings (may contain secrets).- Parameters:
protectedSettings
- the protectedSettings value to set.- Returns:
- the ExtensionProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-