/// <summary> /// Initializes a new instance of the AzureActiveDirectory class. /// </summary> /// <param name="enabled"><code>false</code> if the Azure /// Active Directory provider should not be enabled despite the set /// registration; otherwise, <code>true</code>.</param> /// <param name="registration">The configuration settings of the Azure /// Active Directory app registration.</param> /// <param name="login">The configuration settings of the Azure Active /// Directory login flow.</param> /// <param name="validation">The configuration settings of the Azure /// Active Directory token validation flow.</param> /// <param name="isAutoProvisioned">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.</param> public AzureActiveDirectory(bool?enabled = default(bool?), AzureActiveDirectoryRegistration registration = default(AzureActiveDirectoryRegistration), AzureActiveDirectoryLogin login = default(AzureActiveDirectoryLogin), AzureActiveDirectoryValidation validation = default(AzureActiveDirectoryValidation), bool?isAutoProvisioned = default(bool?)) { Enabled = enabled; Registration = registration; Login = login; Validation = validation; IsAutoProvisioned = isAutoProvisioned; CustomInit(); }
/// <summary> /// Initializes a new instance of the AzureActiveDirectory class. /// </summary> /// <param name="id">Resource Id.</param> /// <param name="name">Resource Name.</param> /// <param name="kind">Kind of resource.</param> /// <param name="type">Resource type.</param> /// <param name="enabled"><code>false</code> if the Azure /// Active Directory provider should not be enabled despite the set /// registration; otherwise, <code>true</code>.</param> /// <param name="registration">The configuration settings of the Azure /// Active Directory app registration.</param> /// <param name="login">The configuration settings of the Azure Active /// Directory login flow.</param> /// <param name="validation">The configuration settings of the Azure /// Active Directory token validation flow.</param> /// <param name="isAutoProvisioned">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.</param> public AzureActiveDirectory(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), bool?enabled = default(bool?), AzureActiveDirectoryRegistration registration = default(AzureActiveDirectoryRegistration), AzureActiveDirectoryLogin login = default(AzureActiveDirectoryLogin), AzureActiveDirectoryValidation validation = default(AzureActiveDirectoryValidation), bool?isAutoProvisioned = default(bool?)) : base(id, name, kind, type) { Enabled = enabled; Registration = registration; Login = login; Validation = validation; IsAutoProvisioned = isAutoProvisioned; CustomInit(); }