다음을 통해 공유


ApplicationSecurityGroupInner Class

public final class ApplicationSecurityGroupInner
extends Resource

An application security group in a resource group.

Constructor Summary

Constructor Description
ApplicationSecurityGroupInner()

Creates an instance of ApplicationSecurityGroupInner class.

Method Summary

Modifier and Type Method and Description
String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static ApplicationSecurityGroupInner fromJson(JsonReader jsonReader)

Reads an instance of ApplicationSecurityGroupInner from the JsonReader.

String id()

Get the id property: Resource ID.

String name()

Get the name property: The name of the resource.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the application security group resource.

String resourceGuid()

Get the resourceGuid property: The resource GUID property of the application security group resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ApplicationSecurityGroupInner withId(String id)

Set the id property: Resource ID.

ApplicationSecurityGroupInner withLocation(String location)
ApplicationSecurityGroupInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

ApplicationSecurityGroupInner

public ApplicationSecurityGroupInner()

Creates an instance of ApplicationSecurityGroupInner class.

Method Details

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

fromJson

public static ApplicationSecurityGroupInner fromJson(JsonReader jsonReader)

Reads an instance of ApplicationSecurityGroupInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ApplicationSecurityGroupInner 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: Resource ID.

Overrides:

ApplicationSecurityGroupInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ApplicationSecurityGroupInner.name()

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the application security group resource.

Returns:

the provisioningState value.

resourceGuid

public String resourceGuid()

Get the resourceGuid property: The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.

Returns:

the resourceGuid value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ApplicationSecurityGroupInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ApplicationSecurityGroupInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withId

public ApplicationSecurityGroupInner withId(String id)

Set the id property: Resource ID.

Parameters:

id - the id value to set.

Returns:

the ApplicationSecurityGroupInner object itself.

withLocation

public ApplicationSecurityGroupInner withLocation(String location)

Overrides:

ApplicationSecurityGroupInner.withLocation(String location)

Parameters:

location

withTags

public ApplicationSecurityGroupInner withTags(Map tags)

Overrides:

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

Parameters:

tags

Applies to