VirtualMachineScaleSetExtensionInner Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. SubResourceReadOnly - com.
azure. resourcemanager. compute. fluent. models. VirtualMachineScaleSetExtensionInner
- com.
- com.
public final class VirtualMachineScaleSetExtensionInner
extends SubResourceReadOnly
Describes a Virtual Machine Scale Set Extension.
Constructor Summary
Constructor | Description |
---|---|
VirtualMachineScaleSetExtensionInner() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
autoUpgradeMinorVersion()
Get the auto |
Boolean |
enableAutomaticUpgrade()
Get the enable |
String |
forceUpdateTag()
Get the force |
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
String |
id()
Get the id property: Resource Id. |
String |
name()
Get the name property: The name of the extension. |
Object |
protectedSettings()
Get the protected |
Key |
protectedSettingsFromKeyVault()
Get the protected |
List<String> |
provisionAfterExtensions()
Get the provision |
String |
provisioningState()
Get the provisioning |
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. |
Boolean |
suppressFailures()
Get the suppress |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Resource type. |
String |
typeHandlerVersion()
Get the type |
String |
typePropertiesType()
Get the type property: Specifies the type of the extension; an example is "Custom |
void |
validate()
Validates the instance. |
Virtual |
withAutoUpgradeMinorVersion(Boolean autoUpgradeMinorVersion)
Set the auto |
Virtual |
withEnableAutomaticUpgrade(Boolean enableAutomaticUpgrade)
Set the enable |
Virtual |
withForceUpdateTag(String forceUpdateTag)
Set the force |
Virtual |
withName(String name)
Set the name property: The name of the extension. |
Virtual |
withProtectedSettings(Object protectedSettings)
Set the protected |
Virtual |
withProtectedSettingsFromKeyVault(KeyVaultSecretReference protectedSettingsFromKeyVault)
Set the protected |
Virtual |
withProvisionAfterExtensions(List<String> provisionAfterExtensions)
Set the provision |
Virtual |
withPublisher(String publisher)
Set the publisher property: The name of the extension handler publisher. |
Virtual |
withSettings(Object settings)
Set the settings property: Json formatted public settings for the extension. |
Virtual |
withSuppressFailures(Boolean suppressFailures)
Set the suppress |
Virtual |
withTypeHandlerVersion(String typeHandlerVersion)
Set the type |
Virtual |
withTypePropertiesType(String type)
Set the type property: Specifies the type of the extension; an example is "Custom |
Methods inherited from SubResourceReadOnly
Methods inherited from java.lang.Object
Constructor Details
VirtualMachineScaleSetExtensionInner
public VirtualMachineScaleSetExtensionInner()
Creates an instance of VirtualMachineScaleSetExtensionInner class.
Method Details
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:
enableAutomaticUpgrade
public Boolean enableAutomaticUpgrade()
Get the enableAutomaticUpgrade property: Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
Returns:
forceUpdateTag
public String forceUpdateTag()
Get the forceUpdateTag property: If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
Returns:
fromJson
public static VirtualMachineScaleSetExtensionInner fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineScaleSetExtensionInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource Id.
Overrides:
VirtualMachineScaleSetExtensionInner.id()Returns:
name
public String name()
Get the name property: The name of the extension.
Returns:
protectedSettings
public Object protectedSettings()
Get the protectedSettings property: The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
Returns:
protectedSettingsFromKeyVault
public KeyVaultSecretReference protectedSettingsFromKeyVault()
Get the protectedSettingsFromKeyVault property: The extensions protected settings that are passed by reference, and consumed from key vault.
Returns:
provisionAfterExtensions
public List
Get the provisionAfterExtensions property: Collection of extension names after which this extension needs to be provisioned.
Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: The provisioning state, which only appears in the response.
Returns:
publisher
public String publisher()
Get the publisher property: The name of the extension handler publisher.
Returns:
settings
public Object settings()
Get the settings property: Json formatted public settings for the extension.
Returns:
suppressFailures
public Boolean suppressFailures()
Get the suppressFailures property: Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
VirtualMachineScaleSetExtensionInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Resource type.
Returns:
typeHandlerVersion
public String typeHandlerVersion()
Get the typeHandlerVersion property: Specifies the version of the script handler.
Returns:
typePropertiesType
public String typePropertiesType()
Get the type property: Specifies the type of the extension; an example is "CustomScriptExtension".
Returns:
validate
public void validate()
Validates the instance.
Overrides:
VirtualMachineScaleSetExtensionInner.validate()withAutoUpgradeMinorVersion
public VirtualMachineScaleSetExtensionInner 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:
Returns:
withEnableAutomaticUpgrade
public VirtualMachineScaleSetExtensionInner withEnableAutomaticUpgrade(Boolean enableAutomaticUpgrade)
Set the enableAutomaticUpgrade property: Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
Parameters:
Returns:
withForceUpdateTag
public VirtualMachineScaleSetExtensionInner withForceUpdateTag(String forceUpdateTag)
Set the forceUpdateTag property: If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
Parameters:
Returns:
withName
public VirtualMachineScaleSetExtensionInner withName(String name)
Set the name property: The name of the extension.
Parameters:
Returns:
withProtectedSettings
public VirtualMachineScaleSetExtensionInner withProtectedSettings(Object protectedSettings)
Set the protectedSettings property: The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
Parameters:
Returns:
withProtectedSettingsFromKeyVault
public VirtualMachineScaleSetExtensionInner withProtectedSettingsFromKeyVault(KeyVaultSecretReference protectedSettingsFromKeyVault)
Set the protectedSettingsFromKeyVault property: The extensions protected settings that are passed by reference, and consumed from key vault.
Parameters:
Returns:
withProvisionAfterExtensions
public VirtualMachineScaleSetExtensionInner withProvisionAfterExtensions(List
Set the provisionAfterExtensions property: Collection of extension names after which this extension needs to be provisioned.
Parameters:
Returns:
withPublisher
public VirtualMachineScaleSetExtensionInner withPublisher(String publisher)
Set the publisher property: The name of the extension handler publisher.
Parameters:
Returns:
withSettings
public VirtualMachineScaleSetExtensionInner withSettings(Object settings)
Set the settings property: Json formatted public settings for the extension.
Parameters:
Returns:
withSuppressFailures
public VirtualMachineScaleSetExtensionInner withSuppressFailures(Boolean suppressFailures)
Set the suppressFailures property: Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
Parameters:
Returns:
withTypeHandlerVersion
public VirtualMachineScaleSetExtensionInner withTypeHandlerVersion(String typeHandlerVersion)
Set the typeHandlerVersion property: Specifies the version of the script handler.
Parameters:
Returns:
withTypePropertiesType
public VirtualMachineScaleSetExtensionInner withTypePropertiesType(String type)
Set the type property: Specifies the type of the extension; an example is "CustomScriptExtension".
Parameters:
Returns:
Applies to
Azure SDK for Java