VirtualMachineScaleSetVMExtensionInner Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. SubResourceReadOnly - com.
azure. resourcemanager. compute. fluent. models. VirtualMachineScaleSetVMExtensionInner
- com.
- com.
public final class VirtualMachineScaleSetVMExtensionInner
extends SubResourceReadOnly
Describes a VMSS VM Extension.
Constructor Summary
Constructor | Description |
---|---|
VirtualMachineScaleSetVMExtensionInner() |
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. |
Virtual |
instanceView()
Get the instance |
String |
location()
Get the location property: The location of the extension. |
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 |
withInstanceView(VirtualMachineExtensionInstanceView instanceView)
Set the instance |
Virtual |
withLocation(String location)
Set the location property: The location 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
VirtualMachineScaleSetVMExtensionInner
public VirtualMachineScaleSetVMExtensionInner()
Creates an instance of VirtualMachineScaleSetVMExtensionInner 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: How the extension handler should be forced to update even if the extension configuration has not changed.
Returns:
fromJson
public static VirtualMachineScaleSetVMExtensionInner fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineScaleSetVMExtensionInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource Id.
Overrides:
VirtualMachineScaleSetVMExtensionInner.id()Returns:
instanceView
public VirtualMachineExtensionInstanceView instanceView()
Get the instanceView property: The virtual machine extension instance view.
Returns:
location
public String location()
Get the location property: The location of the extension.
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:
VirtualMachineScaleSetVMExtensionInner.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:
VirtualMachineScaleSetVMExtensionInner.validate()withAutoUpgradeMinorVersion
public VirtualMachineScaleSetVMExtensionInner 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 VirtualMachineScaleSetVMExtensionInner 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 VirtualMachineScaleSetVMExtensionInner 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:
Returns:
withInstanceView
public VirtualMachineScaleSetVMExtensionInner withInstanceView(VirtualMachineExtensionInstanceView instanceView)
Set the instanceView property: The virtual machine extension instance view.
Parameters:
Returns:
withLocation
public VirtualMachineScaleSetVMExtensionInner withLocation(String location)
Set the location property: The location of the extension.
Parameters:
Returns:
withProtectedSettings
public VirtualMachineScaleSetVMExtensionInner 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 VirtualMachineScaleSetVMExtensionInner 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 VirtualMachineScaleSetVMExtensionInner withProvisionAfterExtensions(List
Set the provisionAfterExtensions property: Collection of extension names after which this extension needs to be provisioned.
Parameters:
Returns:
withPublisher
public VirtualMachineScaleSetVMExtensionInner withPublisher(String publisher)
Set the publisher property: The name of the extension handler publisher.
Parameters:
Returns:
withSettings
public VirtualMachineScaleSetVMExtensionInner withSettings(Object settings)
Set the settings property: Json formatted public settings for the extension.
Parameters:
Returns:
withSuppressFailures
public VirtualMachineScaleSetVMExtensionInner 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 VirtualMachineScaleSetVMExtensionInner withTypeHandlerVersion(String typeHandlerVersion)
Set the typeHandlerVersion property: Specifies the version of the script handler.
Parameters:
Returns:
withTypePropertiesType
public VirtualMachineScaleSetVMExtensionInner 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