AzureFilesIdentityBasedAuthentication Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. AzureFilesIdentityBasedAuthentication
- com.
Implements
public final class AzureFilesIdentityBasedAuthentication
implements JsonSerializable<AzureFilesIdentityBasedAuthentication>
Settings for Azure Files identity based authentication.
Constructor Summary
Constructor | Description |
---|---|
AzureFilesIdentityBasedAuthentication() |
Creates an instance of Azure |
Method Summary
Modifier and Type | Method and Description |
---|---|
Active |
activeDirectoryProperties()
Get the active |
Default |
defaultSharePermission()
Get the default |
Directory |
directoryServiceOptions()
Get the directory |
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Azure |
withActiveDirectoryProperties(ActiveDirectoryProperties activeDirectoryProperties)
Set the active |
Azure |
withDefaultSharePermission(DefaultSharePermission defaultSharePermission)
Set the default |
Azure |
withDirectoryServiceOptions(DirectoryServiceOptions directoryServiceOptions)
Set the directory |
Methods inherited from java.lang.Object
Constructor Details
AzureFilesIdentityBasedAuthentication
public AzureFilesIdentityBasedAuthentication()
Creates an instance of AzureFilesIdentityBasedAuthentication class.
Method Details
activeDirectoryProperties
public ActiveDirectoryProperties activeDirectoryProperties()
Get the activeDirectoryProperties property: Required if directoryServiceOptions are AD, optional if they are AADKERB.
Returns:
defaultSharePermission
public DefaultSharePermission defaultSharePermission()
Get the defaultSharePermission property: Default share permission for users using Kerberos authentication if RBAC role is not assigned.
Returns:
directoryServiceOptions
public DirectoryServiceOptions directoryServiceOptions()
Get the directoryServiceOptions property: Indicates the directory service used. Note that this enum may be extended in the future.
Returns:
fromJson
public static AzureFilesIdentityBasedAuthentication fromJson(JsonReader jsonReader)
Reads an instance of AzureFilesIdentityBasedAuthentication from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withActiveDirectoryProperties
public AzureFilesIdentityBasedAuthentication withActiveDirectoryProperties(ActiveDirectoryProperties activeDirectoryProperties)
Set the activeDirectoryProperties property: Required if directoryServiceOptions are AD, optional if they are AADKERB.
Parameters:
Returns:
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:
Returns:
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:
Returns:
Applies to
Azure SDK for Java