Class AzureFilesIdentityBasedAuthentication
java.lang.Object
com.azure.resourcemanager.storage.models.AzureFilesIdentityBasedAuthentication
Settings for Azure Files identity based authentication.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the activeDirectoryProperties property: Required if directoryServiceOptions are AD, optional if they are AADKERB.Get the defaultSharePermission property: Default share permission for users using Kerberos authentication if RBAC role is not assigned.Get the directoryServiceOptions property: Indicates the directory service used.voidvalidate()Validates the instance.withActiveDirectoryProperties(ActiveDirectoryProperties activeDirectoryProperties) Set the activeDirectoryProperties property: Required if directoryServiceOptions are AD, optional if they are AADKERB.withDefaultSharePermission(DefaultSharePermission defaultSharePermission) Set the defaultSharePermission property: Default share permission for users using Kerberos authentication if RBAC role is not assigned.withDirectoryServiceOptions(DirectoryServiceOptions directoryServiceOptions) Set the directoryServiceOptions property: Indicates the directory service used.
-
Constructor Details
-
AzureFilesIdentityBasedAuthentication
public AzureFilesIdentityBasedAuthentication()
-
-
Method Details
-
directoryServiceOptions
Get the directoryServiceOptions property: Indicates the directory service used. Note that this enum may be extended in the future.- Returns:
- the directoryServiceOptions value.
-
withDirectoryServiceOptions
public AzureFilesIdentityBasedAuthentication withDirectoryServiceOptions(DirectoryServiceOptions directoryServiceOptions) Set the directoryServiceOptions property: Indicates the directory service used. Note that this enum may be extended in the future.- Parameters:
directoryServiceOptions- the directoryServiceOptions value to set.- Returns:
- the AzureFilesIdentityBasedAuthentication object itself.
-
activeDirectoryProperties
Get the activeDirectoryProperties property: Required if directoryServiceOptions are AD, optional if they are AADKERB.- Returns:
- the activeDirectoryProperties value.
-
withActiveDirectoryProperties
public AzureFilesIdentityBasedAuthentication withActiveDirectoryProperties(ActiveDirectoryProperties activeDirectoryProperties) Set the activeDirectoryProperties property: Required if directoryServiceOptions are AD, optional if they are AADKERB.- Parameters:
activeDirectoryProperties- the activeDirectoryProperties value to set.- Returns:
- the AzureFilesIdentityBasedAuthentication object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-