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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET