public class BlobServicePropertiesInner
extends com.azure.core.management.ProxyResource
| Constructor and Description |
|---|
BlobServicePropertiesInner() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
automaticSnapshotPolicyEnabled()
Get the automaticSnapshotPolicyEnabled property: Deprecated in favor of isVersioningEnabled property.
|
ChangeFeed |
changeFeed()
Get the changeFeed property: The blob service properties for change feed events.
|
DeleteRetentionPolicy |
containerDeleteRetentionPolicy()
Get the containerDeleteRetentionPolicy property: The blob service properties for container soft delete.
|
CorsRules |
cors()
Get the cors property: Specifies CORS rules for the Blob service.
|
String |
defaultServiceVersion()
Get the defaultServiceVersion property: DefaultServiceVersion indicates the default version to use for requests
to the Blob service if an incoming request’s version is not specified.
|
DeleteRetentionPolicy |
deleteRetentionPolicy()
Get the deleteRetentionPolicy property: The blob service properties for blob soft delete.
|
Boolean |
isVersioningEnabled()
Get the isVersioningEnabled property: Versioning is enabled if set to true.
|
LastAccessTimeTrackingPolicy |
lastAccessTimeTrackingPolicy()
Get the lastAccessTimeTrackingPolicy property: The blob service property to configure last access time based
tracking policy.
|
RestorePolicyProperties |
restorePolicy()
Get the restorePolicy property: The blob service properties for blob restore policy.
|
Sku |
sku()
Get the sku property: Sku name and tier.
|
void |
validate()
Validates the instance.
|
BlobServicePropertiesInner |
withAutomaticSnapshotPolicyEnabled(Boolean automaticSnapshotPolicyEnabled)
Set the automaticSnapshotPolicyEnabled property: Deprecated in favor of isVersioningEnabled property.
|
BlobServicePropertiesInner |
withChangeFeed(ChangeFeed changeFeed)
Set the changeFeed property: The blob service properties for change feed events.
|
BlobServicePropertiesInner |
withContainerDeleteRetentionPolicy(DeleteRetentionPolicy containerDeleteRetentionPolicy)
Set the containerDeleteRetentionPolicy property: The blob service properties for container soft delete.
|
BlobServicePropertiesInner |
withCors(CorsRules cors)
Set the cors property: Specifies CORS rules for the Blob service.
|
BlobServicePropertiesInner |
withDefaultServiceVersion(String defaultServiceVersion)
Set the defaultServiceVersion property: DefaultServiceVersion indicates the default version to use for requests
to the Blob service if an incoming request’s version is not specified.
|
BlobServicePropertiesInner |
withDeleteRetentionPolicy(DeleteRetentionPolicy deleteRetentionPolicy)
Set the deleteRetentionPolicy property: The blob service properties for blob soft delete.
|
BlobServicePropertiesInner |
withIsVersioningEnabled(Boolean isVersioningEnabled)
Set the isVersioningEnabled property: Versioning is enabled if set to true.
|
BlobServicePropertiesInner |
withLastAccessTimeTrackingPolicy(LastAccessTimeTrackingPolicy lastAccessTimeTrackingPolicy)
Set the lastAccessTimeTrackingPolicy property: The blob service property to configure last access time based
tracking policy.
|
BlobServicePropertiesInner |
withRestorePolicy(RestorePolicyProperties restorePolicy)
Set the restorePolicy property: The blob service properties for blob restore policy.
|
public Sku sku()
public CorsRules cors()
public BlobServicePropertiesInner withCors(CorsRules cors)
cors - the cors value to set.public String defaultServiceVersion()
public BlobServicePropertiesInner withDefaultServiceVersion(String defaultServiceVersion)
defaultServiceVersion - the defaultServiceVersion value to set.public DeleteRetentionPolicy deleteRetentionPolicy()
public BlobServicePropertiesInner withDeleteRetentionPolicy(DeleteRetentionPolicy deleteRetentionPolicy)
deleteRetentionPolicy - the deleteRetentionPolicy value to set.public Boolean isVersioningEnabled()
public BlobServicePropertiesInner withIsVersioningEnabled(Boolean isVersioningEnabled)
isVersioningEnabled - the isVersioningEnabled value to set.public Boolean automaticSnapshotPolicyEnabled()
public BlobServicePropertiesInner withAutomaticSnapshotPolicyEnabled(Boolean automaticSnapshotPolicyEnabled)
automaticSnapshotPolicyEnabled - the automaticSnapshotPolicyEnabled value to set.public ChangeFeed changeFeed()
public BlobServicePropertiesInner withChangeFeed(ChangeFeed changeFeed)
changeFeed - the changeFeed value to set.public RestorePolicyProperties restorePolicy()
public BlobServicePropertiesInner withRestorePolicy(RestorePolicyProperties restorePolicy)
restorePolicy - the restorePolicy value to set.public DeleteRetentionPolicy containerDeleteRetentionPolicy()
public BlobServicePropertiesInner withContainerDeleteRetentionPolicy(DeleteRetentionPolicy containerDeleteRetentionPolicy)
containerDeleteRetentionPolicy - the containerDeleteRetentionPolicy value to set.public LastAccessTimeTrackingPolicy lastAccessTimeTrackingPolicy()
public BlobServicePropertiesInner withLastAccessTimeTrackingPolicy(LastAccessTimeTrackingPolicy lastAccessTimeTrackingPolicy)
lastAccessTimeTrackingPolicy - the lastAccessTimeTrackingPolicy value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.