Compartilhar via


AzureActiveDirectory Class

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

Implements

public final class AzureActiveDirectory
implements JsonSerializable<AzureActiveDirectory>

The configuration settings of the Azure Active directory provider.

Constructor Summary

Constructor Description
AzureActiveDirectory()

Creates an instance of AzureActiveDirectory class.

Method Summary

Modifier and Type Method and Description
Boolean enabled()

Get the enabled property: false if the Azure Active Directory provider should not be enabled despite the set registration; otherwise, true.

static AzureActiveDirectory fromJson(JsonReader jsonReader)

Reads an instance of AzureActiveDirectory from the JsonReader.

Boolean isAutoProvisioned()

Get the isAutoProvisioned property: Gets a value indicating whether the Azure AD configuration was auto-provisioned using 1st party tooling.

AzureActiveDirectoryLogin login()

Get the login property: The configuration settings of the Azure Active Directory login flow.

AzureActiveDirectoryRegistration registration()

Get the registration property: The configuration settings of the Azure Active Directory app registration.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AzureActiveDirectoryValidation validation()

Get the validation property: The configuration settings of the Azure Active Directory token validation flow.

AzureActiveDirectory withEnabled(Boolean enabled)

Set the enabled property: false if the Azure Active Directory provider should not be enabled despite the set registration; otherwise, true.

AzureActiveDirectory withIsAutoProvisioned(Boolean isAutoProvisioned)

Set the isAutoProvisioned property: Gets a value indicating whether the Azure AD configuration was auto-provisioned using 1st party tooling.

AzureActiveDirectory withLogin(AzureActiveDirectoryLogin login)

Set the login property: The configuration settings of the Azure Active Directory login flow.

AzureActiveDirectory withRegistration(AzureActiveDirectoryRegistration registration)

Set the registration property: The configuration settings of the Azure Active Directory app registration.

AzureActiveDirectory withValidation(AzureActiveDirectoryValidation validation)

Set the validation property: The configuration settings of the Azure Active Directory token validation flow.

Methods inherited from java.lang.Object

Constructor Details

AzureActiveDirectory

public AzureActiveDirectory()

Creates an instance of AzureActiveDirectory class.

Method Details

enabled

public Boolean enabled()

Get the enabled property: false if the Azure Active Directory provider should not be enabled despite the set registration; otherwise, true.

Returns:

the enabled 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.

isAutoProvisioned

public Boolean isAutoProvisioned()

Get the isAutoProvisioned property: Gets a value indicating whether the Azure AD configuration was auto-provisioned using 1st party tooling. This is an internal flag primarily intended to support the Azure Management Portal. Users should not read or write to this property.

Returns:

the isAutoProvisioned value.

login

public AzureActiveDirectoryLogin login()

Get the login property: The configuration settings of the Azure Active Directory login flow.

Returns:

the login value.

registration

public AzureActiveDirectoryRegistration registration()

Get the registration property: The configuration settings of the Azure Active Directory app registration.

Returns:

the registration value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

validation

public AzureActiveDirectoryValidation validation()

Get the validation property: The configuration settings of the Azure Active Directory token validation flow.

Returns:

the validation value.

withEnabled

public AzureActiveDirectory withEnabled(Boolean enabled)

Set the enabled property: false if the Azure Active Directory provider should not be enabled despite the set registration; otherwise, true.

Parameters:

enabled - the enabled value to set.

Returns:

the AzureActiveDirectory object itself.

withIsAutoProvisioned

public AzureActiveDirectory withIsAutoProvisioned(Boolean isAutoProvisioned)

Set the isAutoProvisioned property: Gets a value indicating whether the Azure AD configuration was auto-provisioned using 1st party tooling. This is an internal flag primarily intended to support the Azure Management Portal. Users should not read or write to this property.

Parameters:

isAutoProvisioned - the isAutoProvisioned value to set.

Returns:

the AzureActiveDirectory object itself.

withLogin

public AzureActiveDirectory withLogin(AzureActiveDirectoryLogin login)

Set the login property: The configuration settings of the Azure Active Directory login flow.

Parameters:

login - the login value to set.

Returns:

the AzureActiveDirectory object itself.

withRegistration

public AzureActiveDirectory withRegistration(AzureActiveDirectoryRegistration registration)

Set the registration property: The configuration settings of the Azure Active Directory app registration.

Parameters:

registration - the registration value to set.

Returns:

the AzureActiveDirectory object itself.

withValidation

public AzureActiveDirectory withValidation(AzureActiveDirectoryValidation validation)

Set the validation property: The configuration settings of the Azure Active Directory token validation flow.

Parameters:

validation - the validation value to set.

Returns:

the AzureActiveDirectory object itself.

Applies to