GalleryInVMAccessControlProfileProperties Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. GalleryResourceProfilePropertiesBase - com.
azure. resourcemanager. compute. models. GalleryInVMAccessControlProfileProperties
- com.
- com.
public final class GalleryInVMAccessControlProfileProperties
extends GalleryResourceProfilePropertiesBase
Describes the properties of a gallery inVMAccessControlProfile.
Constructor Summary
Constructor | Description |
---|---|
GalleryInVMAccessControlProfileProperties() |
Creates an instance of Gallery |
Method Summary
Modifier and Type | Method and Description |
---|---|
Endpoint |
applicableHostEndpoint()
Get the applicable |
String |
description()
Get the description property: The description of this gallery in |
static
Gallery |
fromJson(JsonReader jsonReader)
Reads an instance of Gallery |
Operating |
osType()
Get the os |
Gallery |
provisioningState()
Get the provisioning |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Gallery |
withApplicableHostEndpoint(EndpointTypes applicableHostEndpoint)
Set the applicable |
Gallery |
withDescription(String description)
Set the description property: The description of this gallery in |
Gallery |
withOsType(OperatingSystemTypes osType)
Set the os |
Methods inherited from GalleryResourceProfilePropertiesBase
Methods inherited from java.lang.Object
Constructor Details
GalleryInVMAccessControlProfileProperties
public GalleryInVMAccessControlProfileProperties()
Creates an instance of GalleryInVMAccessControlProfileProperties class.
Method Details
applicableHostEndpoint
public EndpointTypes applicableHostEndpoint()
Get the applicableHostEndpoint property: This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS'.
Returns:
description
public String description()
Get the description property: The description of this gallery inVMAccessControlProfile resources. This property is updatable.
Returns:
fromJson
public static GalleryInVMAccessControlProfileProperties fromJson(JsonReader jsonReader)
Reads an instance of GalleryInVMAccessControlProfileProperties from the JsonReader.
Parameters:
Returns:
Throws:
osType
public OperatingSystemTypes osType()
Get the osType property: This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. Possible values are: 'Windows' or 'Linux'.
Returns:
provisioningState
public GalleryProvisioningState provisioningState()
Get the provisioningState property: The provisioning state, which only appears in the response.
Overrides:
GalleryInVMAccessControlProfileProperties.provisioningState()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
GalleryInVMAccessControlProfileProperties.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
GalleryInVMAccessControlProfileProperties.validate()withApplicableHostEndpoint
public GalleryInVMAccessControlProfileProperties withApplicableHostEndpoint(EndpointTypes applicableHostEndpoint)
Set the applicableHostEndpoint property: This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS'.
Parameters:
Returns:
withDescription
public GalleryInVMAccessControlProfileProperties withDescription(String description)
Set the description property: The description of this gallery inVMAccessControlProfile resources. This property is updatable.
Parameters:
Returns:
withOsType
public GalleryInVMAccessControlProfileProperties withOsType(OperatingSystemTypes osType)
Set the osType property: This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. Possible values are: 'Windows' or 'Linux'.
Parameters:
Returns:
Applies to
Azure SDK for Java