Partilhar via


GalleryInVMAccessControlProfileInner Class

public final class GalleryInVMAccessControlProfileInner
extends Resource

Specifies information about the gallery inVMAccessControlProfile that you want to create or update.

Constructor Summary

Constructor Description
GalleryInVMAccessControlProfileInner()

Creates an instance of GalleryInVMAccessControlProfileInner class.

Method Summary

Modifier and Type Method and Description
static GalleryInVMAccessControlProfileInner fromJson(JsonReader jsonReader)

Reads an instance of GalleryInVMAccessControlProfileInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

GalleryInVMAccessControlProfileProperties properties()

Get the properties property: Describes the properties of a gallery inVMAccessControlProfile.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

GalleryInVMAccessControlProfileInner withLocation(String location)
GalleryInVMAccessControlProfileInner withProperties(GalleryInVMAccessControlProfileProperties properties)

Set the properties property: Describes the properties of a gallery inVMAccessControlProfile.

GalleryInVMAccessControlProfileInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

GalleryInVMAccessControlProfileInner

public GalleryInVMAccessControlProfileInner()

Creates an instance of GalleryInVMAccessControlProfileInner class.

Method Details

fromJson

public static GalleryInVMAccessControlProfileInner fromJson(JsonReader jsonReader)

Reads an instance of GalleryInVMAccessControlProfileInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of GalleryInVMAccessControlProfileInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

GalleryInVMAccessControlProfileInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

GalleryInVMAccessControlProfileInner.name()

Returns:

the name value.

properties

public GalleryInVMAccessControlProfileProperties properties()

Get the properties property: Describes the properties of a gallery inVMAccessControlProfile.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

GalleryInVMAccessControlProfileInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

GalleryInVMAccessControlProfileInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withLocation

public GalleryInVMAccessControlProfileInner withLocation(String location)

Overrides:

GalleryInVMAccessControlProfileInner.withLocation(String location)

Parameters:

location

withProperties

public GalleryInVMAccessControlProfileInner withProperties(GalleryInVMAccessControlProfileProperties properties)

Set the properties property: Describes the properties of a gallery inVMAccessControlProfile.

Parameters:

properties - the properties value to set.

Returns:

the GalleryInVMAccessControlProfileInner object itself.

withTags

public GalleryInVMAccessControlProfileInner withTags(Map tags)

Overrides:

GalleryInVMAccessControlProfileInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to