Class VirtualMachineExtensionImage
Describes a Virtual Machine Extension Image.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Compute.dll
Syntax
[Microsoft.Rest.Serialization.JsonTransformation]
public class VirtualMachineExtensionImage : Microsoft.Azure.Management.Compute.Models.Resource
Constructors
VirtualMachineExtensionImage()
Initializes a new instance of the VirtualMachineExtensionImage class.
Declaration
public VirtualMachineExtensionImage ();
VirtualMachineExtensionImage(String, String, String, String, String, String, String, IDictionary<String,String>, Nullable<Boolean>, Nullable<Boolean>)
Initializes a new instance of the VirtualMachineExtensionImage class.
Declaration
public VirtualMachineExtensionImage (string location, string operatingSystem, string computeRole, string handlerSchema, string id = null, string name = null, string type = null, System.Collections.Generic.IDictionary<string,string> tags = null, Nullable<bool> vmScaleSetEnabled = null, Nullable<bool> supportsMultipleExtensions = null);
Parameters
|
String
location
Resource location |
|
String
operatingSystem
The operating system this extension supports. |
|
String
computeRole
The type of role (IaaS or PaaS) this extension supports. |
|
String
handlerSchema
The schema defined by publisher, where extension consumers should provide settings in a matching schema. |
|
String
id
Resource Id |
|
String
name
Resource name |
|
String
type
Resource type |
|
IDictionary<String,String>
tags
Resource tags |
|
Nullable<Boolean>
vmScaleSetEnabled
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. |
|
Nullable<Boolean>
supportsMultipleExtensions
Whether the handler can support multiple extensions. |
Properties
ComputeRole
Gets or sets the type of role (IaaS or PaaS) this extension supports.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.computeRole")]
public string ComputeRole { get; set; }
Property Value
|
String
|
HandlerSchema
Gets or sets the schema defined by publisher, where extension consumers should provide settings in a matching schema.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.handlerSchema")]
public string HandlerSchema { get; set; }
Property Value
|
String
|
OperatingSystem
Gets or sets the operating system this extension supports.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.operatingSystem")]
public string OperatingSystem { get; set; }
Property Value
|
String
|
SupportsMultipleExtensions
Gets or sets whether the handler can support multiple extensions.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.supportsMultipleExtensions")]
public Nullable<bool> SupportsMultipleExtensions { get; set; }
Property Value
|
Nullable<Boolean>
|
VmScaleSetEnabled
Gets or sets 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.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.vmScaleSetEnabled")]
public Nullable<bool> VmScaleSetEnabled { get; set; }
Property Value
|
Nullable<Boolean>
|
Methods
Validate()
Validate the object.
Declaration
public override void Validate ();
Exceptions
|
ValidationException
Thrown if validation fails |