ImmutabilityPolicyResource.Get Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the existing immutability policy along with the corresponding ETag in response headers and body.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}
- Operation Id: BlobContainers_GetImmutabilityPolicy
- Default Api Version: 2023-05-01
- Resource: ImmutabilityPolicyResource
public virtual Azure.Response<Azure.ResourceManager.Storage.ImmutabilityPolicyResource> Get (Azure.ETag? ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : Nullable<Azure.ETag> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Storage.ImmutabilityPolicyResource>
override this.Get : Nullable<Azure.ETag> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Storage.ImmutabilityPolicyResource>
Public Overridable Function Get (Optional ifMatch As Nullable(Of ETag) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ImmutabilityPolicyResource)
Parameters
The entity state (ETag) version of the immutability policy to update. A value of "*" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
Azure SDK for .NET