共用方式為


IWithRuleActions.WithDeleteActionOnSnapShot(Int32) Method

Definition

The function that specifies a delete action on the selected snapshots.

public Microsoft.Azure.Management.Storage.Fluent.PolicyRule.Definition.IWithPolicyRuleAttachable WithDeleteActionOnSnapShot (int daysAfterSnapShotCreationUntilDeleting);
abstract member WithDeleteActionOnSnapShot : int -> Microsoft.Azure.Management.Storage.Fluent.PolicyRule.Definition.IWithPolicyRuleAttachable
Public Function WithDeleteActionOnSnapShot (daysAfterSnapShotCreationUntilDeleting As Integer) As IWithPolicyRuleAttachable

Parameters

daysAfterSnapShotCreationUntilDeleting
Int32

The number of days after a snapshot is created until it is deleted.

Returns

Applies to