共用方式為


ManagementPolicyImpl.IWithPolicy.WithPolicy(ManagementPolicySchema) Method

Definition

Specifies policy.

Microsoft.Azure.Management.Storage.Fluent.ManagementPolicy.Update.IUpdate IWithPolicy.WithPolicy (Microsoft.Azure.Management.Storage.Fluent.Models.ManagementPolicySchema policy);
abstract member Microsoft.Azure.Management.Storage.Fluent.ManagementPolicy.Update.IWithPolicy.WithPolicy : Microsoft.Azure.Management.Storage.Fluent.Models.ManagementPolicySchema -> Microsoft.Azure.Management.Storage.Fluent.ManagementPolicy.Update.IUpdate
override this.Microsoft.Azure.Management.Storage.Fluent.ManagementPolicy.Update.IWithPolicy.WithPolicy : Microsoft.Azure.Management.Storage.Fluent.Models.ManagementPolicySchema -> Microsoft.Azure.Management.Storage.Fluent.ManagementPolicy.Update.IUpdate
Function WithPolicy (policy As ManagementPolicySchema) As IUpdate Implements IWithPolicy.WithPolicy

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

Implements

Applies to