VirtualMachineExtensionImageInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. compute. fluent. models. VirtualMachineExtensionImageInner
- com.
- com.
- com.
public final class VirtualMachineExtensionImageInner
extends Resource
Describes a Virtual Machine Extension Image.
Constructor Summary
Constructor | Description |
---|---|
VirtualMachineExtensionImageInner() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
computeRole()
Get the compute |
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
String |
handlerSchema()
Get the handler |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
String |
operatingSystem()
Get the operating |
Boolean |
supportsMultipleExtensions()
Get the supports |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Boolean |
vmScaleSetEnabled()
Get the vm |
Virtual |
withComputeRole(String computeRole)
Set the compute |
Virtual |
withHandlerSchema(String handlerSchema)
Set the handler |
Virtual |
withLocation(String location) |
Virtual |
withOperatingSystem(String operatingSystem)
Set the operating |
Virtual |
withSupportsMultipleExtensions(Boolean supportsMultipleExtensions)
Set the supports |
Virtual |
withTags(Map<String,String> tags) |
Virtual |
withVmScaleSetEnabled(Boolean vmScaleSetEnabled)
Set the vm |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
VirtualMachineExtensionImageInner
public VirtualMachineExtensionImageInner()
Creates an instance of VirtualMachineExtensionImageInner class.
Method Details
computeRole
public String computeRole()
Get the computeRole property: The type of role (IaaS or PaaS) this extension supports.
Returns:
fromJson
public static VirtualMachineExtensionImageInner fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineExtensionImageInner from the JsonReader.
Parameters:
Returns:
Throws:
handlerSchema
public String handlerSchema()
Get the handlerSchema property: The schema defined by publisher, where extension consumers should provide settings in a matching schema.
Returns:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
VirtualMachineExtensionImageInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
VirtualMachineExtensionImageInner.name()Returns:
operatingSystem
public String operatingSystem()
Get the operatingSystem property: The operating system this extension supports.
Returns:
supportsMultipleExtensions
public Boolean supportsMultipleExtensions()
Get the supportsMultipleExtensions property: Whether the handler can support multiple extensions.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
VirtualMachineExtensionImageInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
VirtualMachineExtensionImageInner.type()Returns:
validate
public void validate()
Validates the instance.
vmScaleSetEnabled
public Boolean vmScaleSetEnabled()
Get the vmScaleSetEnabled property: Whether the extension can be used on xRP VMScaleSets. By default existing extensions are usable on scalesets, but there might be cases where a publisher wants to explicitly indicate the extension is only enabled for CRP VMs but not VMSS.
Returns:
withComputeRole
public VirtualMachineExtensionImageInner withComputeRole(String computeRole)
Set the computeRole property: The type of role (IaaS or PaaS) this extension supports.
Parameters:
Returns:
withHandlerSchema
public VirtualMachineExtensionImageInner withHandlerSchema(String handlerSchema)
Set the handlerSchema property: The schema defined by publisher, where extension consumers should provide settings in a matching schema.
Parameters:
Returns:
withLocation
public VirtualMachineExtensionImageInner withLocation(String location)
Overrides:
VirtualMachineExtensionImageInner.withLocation(String location)Parameters:
withOperatingSystem
public VirtualMachineExtensionImageInner withOperatingSystem(String operatingSystem)
Set the operatingSystem property: The operating system this extension supports.
Parameters:
Returns:
withSupportsMultipleExtensions
public VirtualMachineExtensionImageInner withSupportsMultipleExtensions(Boolean supportsMultipleExtensions)
Set the supportsMultipleExtensions property: Whether the handler can support multiple extensions.
Parameters:
Returns:
withTags
public VirtualMachineExtensionImageInner withTags(Map
Overrides:
VirtualMachineExtensionImageInner.withTags(Map<String,String> tags)Parameters:
withVmScaleSetEnabled
public VirtualMachineExtensionImageInner withVmScaleSetEnabled(Boolean vmScaleSetEnabled)
Set the vmScaleSetEnabled property: Whether the extension can be used on xRP VMScaleSets. By default existing extensions are usable on scalesets, but there might be cases where a publisher wants to explicitly indicate the extension is only enabled for CRP VMs but not VMSS.
Parameters:
Returns:
Applies to
Azure SDK for Java