SmbOAuthSettings Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. SmbOAuthSettings
- com.
Implements
public final class SmbOAuthSettings
implements JsonSerializable<SmbOAuthSettings>
Setting property for Managed Identity access over SMB using OAuth.
Constructor Summary
| Constructor | Description |
|---|---|
| SmbOAuthSettings() |
Creates an instance of Smb |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Smb |
fromJson(JsonReader jsonReader)
Reads an instance of Smb |
| Boolean |
isSmbOAuthEnabled()
Get the is |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Smb |
withIsSmbOAuthEnabled(Boolean isSmbOAuthEnabled)
Set the is |
Methods inherited from java.lang.Object
Constructor Details
SmbOAuthSettings
public SmbOAuthSettings()
Creates an instance of SmbOAuthSettings class.
Method Details
fromJson
public static SmbOAuthSettings fromJson(JsonReader jsonReader)
Reads an instance of SmbOAuthSettings from the JsonReader.
Parameters:
Returns:
Throws:
isSmbOAuthEnabled
public Boolean isSmbOAuthEnabled()
Get the isSmbOAuthEnabled property: Specifies if managed identities can access SMB shares using OAuth. The default interpretation is false for this property.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIsSmbOAuthEnabled
public SmbOAuthSettings withIsSmbOAuthEnabled(Boolean isSmbOAuthEnabled)
Set the isSmbOAuthEnabled property: Specifies if managed identities can access SMB shares using OAuth. The default interpretation is false for this property.
Parameters:
Returns: