Class ExtensionInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.kubernetesconfiguration.fluent.models.ExtensionInner
-
public final class ExtensionInner extends com.azure.core.management.ProxyResource
The Extension object.
-
-
Constructor Summary
Constructors Constructor Description ExtensionInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtensionPropertiesAksAssignedIdentity
aksAssignedIdentity()
Get the aksAssignedIdentity property: Identity of the Extension resource in an AKS cluster.Boolean
autoUpgradeMinorVersion()
Get the autoUpgradeMinorVersion property: Flag to note if this extension participates in auto upgrade of minor version, or not.Map<String,String>
configurationProtectedSettings()
Get the configurationProtectedSettings property: Configuration settings that are sensitive, as name-value pairs for configuring this extension.Map<String,String>
configurationSettings()
Get the configurationSettings property: Configuration settings, as name-value pairs for configuring this extension.Map<String,String>
customLocationSettings()
Get the customLocationSettings property: Custom Location settings properties.com.azure.core.management.exception.ManagementError
errorInfo()
Get the errorInfo property: Error information from the Agent - e.g.String
extensionType()
Get the extensionType property: Type of the Extension, of which this resource is an instance of.Identity
identity()
Get the identity property: Identity of the Extension resource.String
installedVersion()
Get the installedVersion property: Installed version of the extension.String
packageUri()
Get the packageUri property: Uri of the Helm package.ProvisioningState
provisioningState()
Get the provisioningState property: Status of installation of this extension.String
releaseTrain()
Get the releaseTrain property: ReleaseTrain this extension participates in for auto-upgrade (e.g.Scope
scope()
Get the scope property: Scope at which the extension is installed.List<ExtensionStatus>
statuses()
Get the statuses property: Status from this extension.com.azure.core.management.SystemData
systemData()
Get the systemData property: Top level metadata https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources.void
validate()
Validates the instance.String
version()
Get the version property: User-specified version of the extension for this extension to 'pin'.ExtensionInner
withAksAssignedIdentity(ExtensionPropertiesAksAssignedIdentity aksAssignedIdentity)
Set the aksAssignedIdentity property: Identity of the Extension resource in an AKS cluster.ExtensionInner
withAutoUpgradeMinorVersion(Boolean autoUpgradeMinorVersion)
Set the autoUpgradeMinorVersion property: Flag to note if this extension participates in auto upgrade of minor version, or not.ExtensionInner
withConfigurationProtectedSettings(Map<String,String> configurationProtectedSettings)
Set the configurationProtectedSettings property: Configuration settings that are sensitive, as name-value pairs for configuring this extension.ExtensionInner
withConfigurationSettings(Map<String,String> configurationSettings)
Set the configurationSettings property: Configuration settings, as name-value pairs for configuring this extension.ExtensionInner
withExtensionType(String extensionType)
Set the extensionType property: Type of the Extension, of which this resource is an instance of.ExtensionInner
withIdentity(Identity identity)
Set the identity property: Identity of the Extension resource.ExtensionInner
withReleaseTrain(String releaseTrain)
Set the releaseTrain property: ReleaseTrain this extension participates in for auto-upgrade (e.g.ExtensionInner
withScope(Scope scope)
Set the scope property: Scope at which the extension is installed.ExtensionInner
withStatuses(List<ExtensionStatus> statuses)
Set the statuses property: Status from this extension.ExtensionInner
withVersion(String version)
Set the version property: User-specified version of the extension for this extension to 'pin'.
-
-
-
Method Detail
-
identity
public Identity identity()
Get the identity property: Identity of the Extension resource.- Returns:
- the identity value.
-
withIdentity
public ExtensionInner withIdentity(Identity identity)
Set the identity property: Identity of the Extension resource.- Parameters:
identity
- the identity value to set.- Returns:
- the ExtensionInner object itself.
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: Top level metadata https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources.- Returns:
- the systemData value.
-
extensionType
public String extensionType()
Get the extensionType property: Type of the Extension, of which this resource is an instance of. It must be one of the Extension Types registered with Microsoft.KubernetesConfiguration by the Extension publisher.- Returns:
- the extensionType value.
-
withExtensionType
public ExtensionInner withExtensionType(String extensionType)
Set the extensionType property: Type of the Extension, of which this resource is an instance of. It must be one of the Extension Types registered with Microsoft.KubernetesConfiguration by the Extension publisher.- Parameters:
extensionType
- the extensionType value to set.- Returns:
- the ExtensionInner object itself.
-
autoUpgradeMinorVersion
public Boolean autoUpgradeMinorVersion()
Get the autoUpgradeMinorVersion property: Flag to note if this extension participates in auto upgrade of minor version, or not.- Returns:
- the autoUpgradeMinorVersion value.
-
withAutoUpgradeMinorVersion
public ExtensionInner withAutoUpgradeMinorVersion(Boolean autoUpgradeMinorVersion)
Set the autoUpgradeMinorVersion property: Flag to note if this extension participates in auto upgrade of minor version, or not.- Parameters:
autoUpgradeMinorVersion
- the autoUpgradeMinorVersion value to set.- Returns:
- the ExtensionInner object itself.
-
releaseTrain
public String releaseTrain()
Get the releaseTrain property: ReleaseTrain this extension participates in for auto-upgrade (e.g. Stable, Preview, etc.) - only if autoUpgradeMinorVersion is 'true'.- Returns:
- the releaseTrain value.
-
withReleaseTrain
public ExtensionInner withReleaseTrain(String releaseTrain)
Set the releaseTrain property: ReleaseTrain this extension participates in for auto-upgrade (e.g. Stable, Preview, etc.) - only if autoUpgradeMinorVersion is 'true'.- Parameters:
releaseTrain
- the releaseTrain value to set.- Returns:
- the ExtensionInner object itself.
-
version
public String version()
Get the version property: User-specified version of the extension for this extension to 'pin'. To use 'version', autoUpgradeMinorVersion must be 'false'.- Returns:
- the version value.
-
withVersion
public ExtensionInner withVersion(String version)
Set the version property: User-specified version of the extension for this extension to 'pin'. To use 'version', autoUpgradeMinorVersion must be 'false'.- Parameters:
version
- the version value to set.- Returns:
- the ExtensionInner object itself.
-
scope
public Scope scope()
Get the scope property: Scope at which the extension is installed.- Returns:
- the scope value.
-
withScope
public ExtensionInner withScope(Scope scope)
Set the scope property: Scope at which the extension is installed.- Parameters:
scope
- the scope value to set.- Returns:
- the ExtensionInner object itself.
-
configurationSettings
public Map<String,String> configurationSettings()
Get the configurationSettings property: Configuration settings, as name-value pairs for configuring this extension.- Returns:
- the configurationSettings value.
-
withConfigurationSettings
public ExtensionInner withConfigurationSettings(Map<String,String> configurationSettings)
Set the configurationSettings property: Configuration settings, as name-value pairs for configuring this extension.- Parameters:
configurationSettings
- the configurationSettings value to set.- Returns:
- the ExtensionInner object itself.
-
configurationProtectedSettings
public Map<String,String> configurationProtectedSettings()
Get the configurationProtectedSettings property: Configuration settings that are sensitive, as name-value pairs for configuring this extension.- Returns:
- the configurationProtectedSettings value.
-
withConfigurationProtectedSettings
public ExtensionInner withConfigurationProtectedSettings(Map<String,String> configurationProtectedSettings)
Set the configurationProtectedSettings property: Configuration settings that are sensitive, as name-value pairs for configuring this extension.- Parameters:
configurationProtectedSettings
- the configurationProtectedSettings value to set.- Returns:
- the ExtensionInner object itself.
-
installedVersion
public String installedVersion()
Get the installedVersion property: Installed version of the extension.- Returns:
- the installedVersion value.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Status of installation of this extension.- Returns:
- the provisioningState value.
-
statuses
public List<ExtensionStatus> statuses()
Get the statuses property: Status from this extension.- Returns:
- the statuses value.
-
withStatuses
public ExtensionInner withStatuses(List<ExtensionStatus> statuses)
Set the statuses property: Status from this extension.- Parameters:
statuses
- the statuses value to set.- Returns:
- the ExtensionInner object itself.
-
errorInfo
public com.azure.core.management.exception.ManagementError errorInfo()
Get the errorInfo property: Error information from the Agent - e.g. errors during installation.- Returns:
- the errorInfo value.
-
customLocationSettings
public Map<String,String> customLocationSettings()
Get the customLocationSettings property: Custom Location settings properties.- Returns:
- the customLocationSettings value.
-
packageUri
public String packageUri()
Get the packageUri property: Uri of the Helm package.- Returns:
- the packageUri value.
-
aksAssignedIdentity
public ExtensionPropertiesAksAssignedIdentity aksAssignedIdentity()
Get the aksAssignedIdentity property: Identity of the Extension resource in an AKS cluster.- Returns:
- the aksAssignedIdentity value.
-
withAksAssignedIdentity
public ExtensionInner withAksAssignedIdentity(ExtensionPropertiesAksAssignedIdentity aksAssignedIdentity)
Set the aksAssignedIdentity property: Identity of the Extension resource in an AKS cluster.- Parameters:
aksAssignedIdentity
- the aksAssignedIdentity value to set.- Returns:
- the ExtensionInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-