AzureActiveDirectory Class

  • java.lang.Object
    • com.azure.resourcemanager.servicefabric.models.AzureActiveDirectory

Implements

public final class AzureActiveDirectory
implements JsonSerializable<AzureActiveDirectory>

The settings to enable AAD authentication on the cluster.

Constructor Summary

Constructor Description
AzureActiveDirectory()

Creates an instance of AzureActiveDirectory class.

Method Summary

Modifier and Type Method and Description
String clientApplication()

Get the clientApplication property: Azure active directory client application id.

String clusterApplication()

Get the clusterApplication property: Azure active directory cluster application id.

static AzureActiveDirectory fromJson(JsonReader jsonReader)

Reads an instance of AzureActiveDirectory from the JsonReader.

String tenantId()

Get the tenantId property: Azure active directory tenant id.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AzureActiveDirectory withClientApplication(String clientApplication)

Set the clientApplication property: Azure active directory client application id.

AzureActiveDirectory withClusterApplication(String clusterApplication)

Set the clusterApplication property: Azure active directory cluster application id.

AzureActiveDirectory withTenantId(String tenantId)

Set the tenantId property: Azure active directory tenant id.

Methods inherited from java.lang.Object

Constructor Details

AzureActiveDirectory

public AzureActiveDirectory()

Creates an instance of AzureActiveDirectory class.

Method Details

clientApplication

public String clientApplication()

Get the clientApplication property: Azure active directory client application id.

Returns:

the clientApplication value.

clusterApplication

public String clusterApplication()

Get the clusterApplication property: Azure active directory cluster application id.

Returns:

the clusterApplication value.

fromJson

public static AzureActiveDirectory fromJson(JsonReader jsonReader)

Reads an instance of AzureActiveDirectory from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AzureActiveDirectory 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 AzureActiveDirectory.

tenantId

public String tenantId()

Get the tenantId property: Azure active directory tenant id.

Returns:

the tenantId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withClientApplication

public AzureActiveDirectory withClientApplication(String clientApplication)

Set the clientApplication property: Azure active directory client application id.

Parameters:

clientApplication - the clientApplication value to set.

Returns:

the AzureActiveDirectory object itself.

withClusterApplication

public AzureActiveDirectory withClusterApplication(String clusterApplication)

Set the clusterApplication property: Azure active directory cluster application id.

Parameters:

clusterApplication - the clusterApplication value to set.

Returns:

the AzureActiveDirectory object itself.

withTenantId

public AzureActiveDirectory withTenantId(String tenantId)

Set the tenantId property: Azure active directory tenant id.

Parameters:

tenantId - the tenantId value to set.

Returns:

the AzureActiveDirectory object itself.

Applies to