MachineExtensionInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. connectedvmware. fluent. models. MachineExtensionInner
- com.
- com.
- com.
public final class MachineExtensionInner
extends Resource
Describes a Machine Extension.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| MachineExtensionInner() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
autoUpgradeMinorVersion()
Get the auto |
| Boolean |
enableAutomaticUpgrade()
Get the enable |
| String |
forceUpdateTag()
Get the force |
|
Machine |
instanceView()
Get the instance |
| Object |
protectedSettings()
Get the protected |
| 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. |
|
System |
systemData()
Get the system |
| 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. |
|
Machine |
withAutoUpgradeMinorVersion(Boolean autoUpgradeMinorVersion)
Set the auto |
|
Machine |
withEnableAutomaticUpgrade(Boolean enableAutomaticUpgrade)
Set the enable |
|
Machine |
withForceUpdateTag(String forceUpdateTag)
Set the force |
|
Machine |
withInstanceView(MachineExtensionPropertiesInstanceView instanceView)
Set the instance |
|
Machine |
withLocation(String location) |
|
Machine |
withProtectedSettings(Object protectedSettings)
Set the protected |
|
Machine |
withPublisher(String publisher)
Set the publisher property: The name of the extension handler publisher. |
|
Machine |
withSettings(Object settings)
Set the settings property: Json formatted public settings for the extension. |
|
Machine |
withTags(Map<String,String> tags) |
|
Machine |
withTypeHandlerVersion(String typeHandlerVersion)
Set the type |
|
Machine |
withTypePropertiesType(String type)
Set the type property: Specifies the type of the extension; an example is "Custom |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
MachineExtensionInner
public MachineExtensionInner()
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 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:
instanceView
public MachineExtensionPropertiesInstanceView instanceView()
Get the instanceView property: The machine extension instance view.
Returns:
protectedSettings
public Object protectedSettings()
Get the protectedSettings property: The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
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:
systemData
public SystemData systemData()
Get the systemData property: The system data.
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.
withAutoUpgradeMinorVersion
public MachineExtensionInner 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 MachineExtensionInner withEnableAutomaticUpgrade(Boolean enableAutomaticUpgrade)
Set the enableAutomaticUpgrade property: Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available.
Parameters:
Returns:
withForceUpdateTag
public MachineExtensionInner 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 MachineExtensionInner withInstanceView(MachineExtensionPropertiesInstanceView instanceView)
Set the instanceView property: The machine extension instance view.
Parameters:
Returns:
withLocation
public MachineExtensionInner withLocation(String location)
Overrides:
MachineExtensionInner.withLocation(String location)Parameters:
withProtectedSettings
public MachineExtensionInner withProtectedSettings(Object protectedSettings)
Set the protectedSettings property: The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
Parameters:
Returns:
withPublisher
public MachineExtensionInner withPublisher(String publisher)
Set the publisher property: The name of the extension handler publisher.
Parameters:
Returns:
withSettings
public MachineExtensionInner withSettings(Object settings)
Set the settings property: Json formatted public settings for the extension.
Parameters:
Returns:
withTags
public MachineExtensionInner withTags(Map<String,String> tags)
Overrides:
MachineExtensionInner.withTags(Map<String,String> tags)Parameters:
withTypeHandlerVersion
public MachineExtensionInner withTypeHandlerVersion(String typeHandlerVersion)
Set the typeHandlerVersion property: Specifies the version of the script handler.
Parameters:
Returns:
withTypePropertiesType
public MachineExtensionInner withTypePropertiesType(String type)
Set the type property: Specifies the type of the extension; an example is "CustomScriptExtension".
Parameters:
Returns: