AzureActiveDirectory Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. AzureActiveDirectory
- com.
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 Azure |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
enabled()
Get the enabled property: |
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
Boolean |
isAutoProvisioned()
Get the is |
Azure |
login()
Get the login property: The configuration settings of the Azure Active Directory login flow. |
Azure |
registration()
Get the registration property: The configuration settings of the Azure Active Directory app registration. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Azure |
validation()
Get the validation property: The configuration settings of the Azure Active Directory token validation flow. |
Azure |
withEnabled(Boolean enabled)
Set the enabled property: |
Azure |
withIsAutoProvisioned(Boolean isAutoProvisioned)
Set the is |
Azure |
withLogin(AzureActiveDirectoryLogin login)
Set the login property: The configuration settings of the Azure Active Directory login flow. |
Azure |
withRegistration(AzureActiveDirectoryRegistration registration)
Set the registration property: The configuration settings of the Azure Active Directory app registration. |
Azure |
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:
fromJson
public static AzureActiveDirectory fromJson(JsonReader jsonReader)
Reads an instance of AzureActiveDirectory from the JsonReader.
Parameters:
Returns:
Throws:
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:
login
public AzureActiveDirectoryLogin login()
Get the login property: The configuration settings of the Azure Active Directory login flow.
Returns:
registration
public AzureActiveDirectoryRegistration registration()
Get the registration property: The configuration settings of the Azure Active Directory app registration.
Returns:
toJson
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:
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:
Returns:
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:
Returns:
withLogin
public AzureActiveDirectory withLogin(AzureActiveDirectoryLogin login)
Set the login property: The configuration settings of the Azure Active Directory login flow.
Parameters:
Returns:
withRegistration
public AzureActiveDirectory withRegistration(AzureActiveDirectoryRegistration registration)
Set the registration property: The configuration settings of the Azure Active Directory app registration.
Parameters:
Returns:
withValidation
public AzureActiveDirectory withValidation(AzureActiveDirectoryValidation validation)
Set the validation property: The configuration settings of the Azure Active Directory token validation flow.
Parameters:
Returns:
Applies to
Azure SDK for Java