Class AzureFilesIdentityBasedAuthentication
- java.lang.Object
-
- com.azure.resourcemanager.storage.models.AzureFilesIdentityBasedAuthentication
-
public final class AzureFilesIdentityBasedAuthentication extends Object
Settings for Azure Files identity based authentication.
-
-
Constructor Summary
Constructors Constructor Description AzureFilesIdentityBasedAuthentication()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActiveDirectoryPropertiesactiveDirectoryProperties()Get the activeDirectoryProperties property: Required if choose AD.DefaultSharePermissiondefaultSharePermission()Get the defaultSharePermission property: Default share permission for users using Kerberos authentication if RBAC role is not assigned.DirectoryServiceOptionsdirectoryServiceOptions()Get the directoryServiceOptions property: Indicates the directory service used.voidvalidate()Validates the instance.AzureFilesIdentityBasedAuthenticationwithActiveDirectoryProperties(ActiveDirectoryProperties activeDirectoryProperties)Set the activeDirectoryProperties property: Required if choose AD.AzureFilesIdentityBasedAuthenticationwithDefaultSharePermission(DefaultSharePermission defaultSharePermission)Set the defaultSharePermission property: Default share permission for users using Kerberos authentication if RBAC role is not assigned.AzureFilesIdentityBasedAuthenticationwithDirectoryServiceOptions(DirectoryServiceOptions directoryServiceOptions)Set the directoryServiceOptions property: Indicates the directory service used.
-
-
-
Method Detail
-
directoryServiceOptions
public DirectoryServiceOptions directoryServiceOptions()
Get the directoryServiceOptions property: Indicates the directory service used.- Returns:
- the directoryServiceOptions value.
-
withDirectoryServiceOptions
public AzureFilesIdentityBasedAuthentication withDirectoryServiceOptions(DirectoryServiceOptions directoryServiceOptions)
Set the directoryServiceOptions property: Indicates the directory service used.- Parameters:
directoryServiceOptions- the directoryServiceOptions value to set.- Returns:
- the AzureFilesIdentityBasedAuthentication object itself.
-
activeDirectoryProperties
public ActiveDirectoryProperties activeDirectoryProperties()
Get the activeDirectoryProperties property: Required if choose AD.- Returns:
- the activeDirectoryProperties value.
-
withActiveDirectoryProperties
public AzureFilesIdentityBasedAuthentication withActiveDirectoryProperties(ActiveDirectoryProperties activeDirectoryProperties)
Set the activeDirectoryProperties property: Required if choose AD.- Parameters:
activeDirectoryProperties- the activeDirectoryProperties value to set.- Returns:
- the AzureFilesIdentityBasedAuthentication object itself.
-
defaultSharePermission
public DefaultSharePermission defaultSharePermission()
Get the defaultSharePermission property: Default share permission for users using Kerberos authentication if RBAC role is not assigned.- Returns:
- the defaultSharePermission value.
-
withDefaultSharePermission
public AzureFilesIdentityBasedAuthentication withDefaultSharePermission(DefaultSharePermission defaultSharePermission)
Set the defaultSharePermission property: Default share permission for users using Kerberos authentication if RBAC role is not assigned.- Parameters:
defaultSharePermission- the defaultSharePermission value to set.- Returns:
- the AzureFilesIdentityBasedAuthentication object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-