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 |
|
Smb |
smbOAuthSettings()
Get the smb |
|
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 |
|
Azure |
withSmbOAuthSettings(SmbOAuthSettings smbOAuthSettings)
Set the smb |
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: Additional information about the directory service. Required if directoryServiceOptions is AD (AD DS authentication). Optional for directoryServiceOptions AADDS (Entra DS authentication) and AADKERB (Entra authentication).
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:
smbOAuthSettings
public SmbOAuthSettings smbOAuthSettings()
Get the smbOAuthSettings property: Required for Managed Identities access using OAuth over SMB.
Returns:
toJson
validate
public void validate()
Validates the instance.
withActiveDirectoryProperties
public AzureFilesIdentityBasedAuthentication withActiveDirectoryProperties(ActiveDirectoryProperties activeDirectoryProperties)
Set the activeDirectoryProperties property: Additional information about the directory service. Required if directoryServiceOptions is AD (AD DS authentication). Optional for directoryServiceOptions AADDS (Entra DS authentication) and AADKERB (Entra authentication).
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:
withSmbOAuthSettings
public AzureFilesIdentityBasedAuthentication withSmbOAuthSettings(SmbOAuthSettings smbOAuthSettings)
Set the smbOAuthSettings property: Required for Managed Identities access using OAuth over SMB.
Parameters:
Returns: