StorageDataCollaborationPolicyProperties Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. StorageDataCollaborationPolicyProperties
- com.
Implements
public final class StorageDataCollaborationPolicyProperties
implements JsonSerializable<StorageDataCollaborationPolicyProperties>
Defines Data Collaboration Policy for a storage account.
Constructor Summary
| Constructor | Description |
|---|---|
| StorageDataCollaborationPolicyProperties() |
Creates an instance of Storage |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
allowCrossTenantDataSharing()
Get the allow |
| Boolean |
allowStorageConnectors()
Get the allow |
| Boolean |
allowStorageDataShares()
Get the allow |
|
static
Storage |
fromJson(JsonReader jsonReader)
Reads an instance of Storage |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Storage |
withAllowCrossTenantDataSharing(Boolean allowCrossTenantDataSharing)
Set the allow |
|
Storage |
withAllowStorageConnectors(Boolean allowStorageConnectors)
Set the allow |
|
Storage |
withAllowStorageDataShares(Boolean allowStorageDataShares)
Set the allow |
Methods inherited from java.lang.Object
Constructor Details
StorageDataCollaborationPolicyProperties
public StorageDataCollaborationPolicyProperties()
Creates an instance of StorageDataCollaborationPolicyProperties class.
Method Details
allowCrossTenantDataSharing
public Boolean allowCrossTenantDataSharing()
Get the allowCrossTenantDataSharing property: Indicates whether cross-entra tenant data sharing is allowed on the storage account.
Returns:
allowStorageConnectors
public Boolean allowStorageConnectors()
Get the allowStorageConnectors property: Indicates whether storage connectors are allowed to created or managed on the storage account.
Returns:
allowStorageDataShares
public Boolean allowStorageDataShares()
Get the allowStorageDataShares property: Indicates whether data shares are allowed to be created or managed on the storage account.
Returns:
fromJson
public static StorageDataCollaborationPolicyProperties fromJson(JsonReader jsonReader)
Reads an instance of StorageDataCollaborationPolicyProperties from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAllowCrossTenantDataSharing
public StorageDataCollaborationPolicyProperties withAllowCrossTenantDataSharing(Boolean allowCrossTenantDataSharing)
Set the allowCrossTenantDataSharing property: Indicates whether cross-entra tenant data sharing is allowed on the storage account.
Parameters:
Returns:
withAllowStorageConnectors
public StorageDataCollaborationPolicyProperties withAllowStorageConnectors(Boolean allowStorageConnectors)
Set the allowStorageConnectors property: Indicates whether storage connectors are allowed to created or managed on the storage account.
Parameters:
Returns:
withAllowStorageDataShares
public StorageDataCollaborationPolicyProperties withAllowStorageDataShares(Boolean allowStorageDataShares)
Set the allowStorageDataShares property: Indicates whether data shares are allowed to be created or managed on the storage account.
Parameters:
Returns: