public class VirtualMachineExtensionImageInner
extends com.azure.core.management.Resource
Constructor and Description |
---|
VirtualMachineExtensionImageInner() |
Modifier and Type | Method and Description |
---|---|
String |
computeRole()
Get the computeRole property: The type of role (IaaS or PaaS) this extension supports.
|
String |
handlerSchema()
Get the handlerSchema property: The schema defined by publisher, where extension consumers should provide
settings in a matching schema.
|
String |
operatingSystem()
Get the operatingSystem property: The operating system this extension supports.
|
Boolean |
supportsMultipleExtensions()
Get the supportsMultipleExtensions property: Whether the handler can support multiple extensions.
|
void |
validate()
Validates the instance.
|
Boolean |
vmScaleSetEnabled()
Get the vmScaleSetEnabled property: Whether the extension can be used on xRP VMScaleSets.
|
VirtualMachineExtensionImageInner |
withComputeRole(String computeRole)
Set the computeRole property: The type of role (IaaS or PaaS) this extension supports.
|
VirtualMachineExtensionImageInner |
withHandlerSchema(String handlerSchema)
Set the handlerSchema property: The schema defined by publisher, where extension consumers should provide
settings in a matching schema.
|
VirtualMachineExtensionImageInner |
withOperatingSystem(String operatingSystem)
Set the operatingSystem property: The operating system this extension supports.
|
VirtualMachineExtensionImageInner |
withSupportsMultipleExtensions(Boolean supportsMultipleExtensions)
Set the supportsMultipleExtensions property: Whether the handler can support multiple extensions.
|
VirtualMachineExtensionImageInner |
withVmScaleSetEnabled(Boolean vmScaleSetEnabled)
Set the vmScaleSetEnabled property: Whether the extension can be used on xRP VMScaleSets.
|
public String operatingSystem()
public VirtualMachineExtensionImageInner withOperatingSystem(String operatingSystem)
operatingSystem
- the operatingSystem value to set.public String computeRole()
public VirtualMachineExtensionImageInner withComputeRole(String computeRole)
computeRole
- the computeRole value to set.public String handlerSchema()
public VirtualMachineExtensionImageInner withHandlerSchema(String handlerSchema)
handlerSchema
- the handlerSchema value to set.public Boolean vmScaleSetEnabled()
public VirtualMachineExtensionImageInner withVmScaleSetEnabled(Boolean vmScaleSetEnabled)
vmScaleSetEnabled
- the vmScaleSetEnabled value to set.public Boolean supportsMultipleExtensions()
public VirtualMachineExtensionImageInner withSupportsMultipleExtensions(Boolean supportsMultipleExtensions)
supportsMultipleExtensions
- the supportsMultipleExtensions value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.