Udostępnij za pośrednictwem


IWithPolicy.WithPolicy(ManagementPolicySchema) Method

Definition

Specifies policy.

public Microsoft.Azure.Management.Storage.Fluent.ManagementPolicy.Update.IUpdate WithPolicy (Microsoft.Azure.Management.Storage.Fluent.Models.ManagementPolicySchema policy);
abstract member WithPolicy : Microsoft.Azure.Management.Storage.Fluent.Models.ManagementPolicySchema -> Microsoft.Azure.Management.Storage.Fluent.ManagementPolicy.Update.IUpdate
Public Function WithPolicy (policy As ManagementPolicySchema) As IUpdate

Parameters

policy
ManagementPolicySchema

The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.

Returns

Applies to