Compartilhar via


ApplicationGroupInner Class

public final class ApplicationGroupInner
extends ProxyResource

The Application Group object.

Constructor Summary

Constructor Description
ApplicationGroupInner()

Creates an instance of ApplicationGroupInner class.

Method Summary

Modifier and Type Method and Description
String clientAppGroupIdentifier()

Get the clientAppGroupIdentifier property: The Unique identifier for application group.Supports SAS(SASKeyName=KeyName) or AAD(AADAppID=Guid).

static ApplicationGroupInner fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGroupInner from the JsonReader.

String id()

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

Boolean isEnabled()

Get the isEnabled property: Determines if Application Group is allowed to create connection with namespace or not.

String location()

Get the location property: The geo-location where the resource lives.

String name()

Get the name property: The name of the resource.

List<ApplicationGroupPolicy> policies()

Get the policies property: List of group policies that define the behavior of application group.

SystemData systemData()

Get the systemData property: The system meta data relating to this resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ApplicationGroupInner withClientAppGroupIdentifier(String clientAppGroupIdentifier)

Set the clientAppGroupIdentifier property: The Unique identifier for application group.Supports SAS(SASKeyName=KeyName) or AAD(AADAppID=Guid).

ApplicationGroupInner withIsEnabled(Boolean isEnabled)

Set the isEnabled property: Determines if Application Group is allowed to create connection with namespace or not.

ApplicationGroupInner withPolicies(List<ApplicationGroupPolicy> policies)

Set the policies property: List of group policies that define the behavior of application group.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

ApplicationGroupInner

public ApplicationGroupInner()

Creates an instance of ApplicationGroupInner class.

Method Details

clientAppGroupIdentifier

public String clientAppGroupIdentifier()

Get the clientAppGroupIdentifier property: The Unique identifier for application group.Supports SAS(SASKeyName=KeyName) or AAD(AADAppID=Guid).

Returns:

the clientAppGroupIdentifier value.

fromJson

public static ApplicationGroupInner fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGroupInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ApplicationGroupInner 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:

ApplicationGroupInner.id()

Returns:

the id value.

isEnabled

public Boolean isEnabled()

Get the isEnabled property: Determines if Application Group is allowed to create connection with namespace or not. Once the isEnabled is set to false, all the existing connections of application group gets dropped and no new connections will be allowed.

Returns:

the isEnabled value.

location

public String location()

Get the location property: The geo-location where the resource lives.

Returns:

the location value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ApplicationGroupInner.name()

Returns:

the name value.

policies

public List policies()

Get the policies property: List of group policies that define the behavior of application group. The policies can support resource governance scenarios such as limiting ingress or egress traffic.

Returns:

the policies value.

systemData

public SystemData systemData()

Get the systemData property: The system meta data relating to this resource.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ApplicationGroupInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ApplicationGroupInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withClientAppGroupIdentifier

public ApplicationGroupInner withClientAppGroupIdentifier(String clientAppGroupIdentifier)

Set the clientAppGroupIdentifier property: The Unique identifier for application group.Supports SAS(SASKeyName=KeyName) or AAD(AADAppID=Guid).

Parameters:

clientAppGroupIdentifier - the clientAppGroupIdentifier value to set.

Returns:

the ApplicationGroupInner object itself.

withIsEnabled

public ApplicationGroupInner withIsEnabled(Boolean isEnabled)

Set the isEnabled property: Determines if Application Group is allowed to create connection with namespace or not. Once the isEnabled is set to false, all the existing connections of application group gets dropped and no new connections will be allowed.

Parameters:

isEnabled - the isEnabled value to set.

Returns:

the ApplicationGroupInner object itself.

withPolicies

public ApplicationGroupInner withPolicies(List policies)

Set the policies property: List of group policies that define the behavior of application group. The policies can support resource governance scenarios such as limiting ingress or egress traffic.

Parameters:

policies - the policies value to set.

Returns:

the ApplicationGroupInner object itself.

Applies to