EnvironmentDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.EnvironmentDetails

Implements

public final class EnvironmentDetails
implements JsonSerializable<EnvironmentDetails>

The environment details of the resource.

Method Summary

Modifier and Type Method and Description
String environmentHierarchyId()

Get the environmentHierarchyId property: The hierarchy id of the connector (in case of Azure - the subscription Id, in case of MC - the hierarchyId id).

static EnvironmentDetails fromJson(JsonReader jsonReader)

Reads an instance of EnvironmentDetails from the JsonReader.

String nativeResourceId()

Get the nativeResourceId property: The native resource id of the resource (in case of Azure - the resource Id, in case of MC - the native resource id).

String organizationalHierarchyId()

Get the organizationalHierarchyId property: The organizational hierarchy id of the connector (in case of Azure - the subscription Id, in case of MC - the organizational hierarchyId id).

String subscriptionId()

Get the subscriptionId property: The subscription Id.

String tenantId()

Get the tenantId property: The tenant Id.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

environmentHierarchyId

public String environmentHierarchyId()

Get the environmentHierarchyId property: The hierarchy id of the connector (in case of Azure - the subscription Id, in case of MC - the hierarchyId id).

Returns:

the environmentHierarchyId value.

fromJson

public static EnvironmentDetails fromJson(JsonReader jsonReader)

Reads an instance of EnvironmentDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the EnvironmentDetails.

nativeResourceId

public String nativeResourceId()

Get the nativeResourceId property: The native resource id of the resource (in case of Azure - the resource Id, in case of MC - the native resource id).

Returns:

the nativeResourceId value.

organizationalHierarchyId

public String organizationalHierarchyId()

Get the organizationalHierarchyId property: The organizational hierarchy id of the connector (in case of Azure - the subscription Id, in case of MC - the organizational hierarchyId id).

Returns:

the organizationalHierarchyId value.

subscriptionId

public String subscriptionId()

Get the subscriptionId property: The subscription Id.

Returns:

the subscriptionId value.

tenantId

public String tenantId()

Get the tenantId property: The tenant Id.

Returns:

the tenantId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to