azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.s...

156 строки
10 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.storage.models.PolicyRule"
fullName: "com.azure.resourcemanager.storage.models.PolicyRule"
name: "PolicyRule"
nameWithType: "PolicyRule"
summary: "An immutable client-side representation of a rule in an Azure Management Policy."
syntax: "public interface **PolicyRule**</br> extends <xref href=\"com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel?alt=com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel&text=HasInnerModel\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.storage.models.ManagementPolicyRule?alt=com.azure.resourcemanager.storage.models.ManagementPolicyRule&text=ManagementPolicyRule\" data-throw-if-not-resolved=\"False\" />&gt;"
methods:
- uid: "com.azure.resourcemanager.storage.models.PolicyRule.actionsOnBaseBlob()"
fullName: "com.azure.resourcemanager.storage.models.PolicyRule.actionsOnBaseBlob()"
name: "actionsOnBaseBlob()"
nameWithType: "PolicyRule.actionsOnBaseBlob()"
modifiers:
- "abstract"
syntax: "public abstract ManagementPolicyBaseBlob actionsOnBaseBlob()"
returns:
description: "an object describing the actions to take on the filtered base blobs in this rule"
type: "<xref href=\"com.azure.resourcemanager.storage.models.ManagementPolicyBaseBlob?alt=com.azure.resourcemanager.storage.models.ManagementPolicyBaseBlob&text=ManagementPolicyBaseBlob\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.storage.models.PolicyRule.actionsOnSnapShot()"
fullName: "com.azure.resourcemanager.storage.models.PolicyRule.actionsOnSnapShot()"
name: "actionsOnSnapShot()"
nameWithType: "PolicyRule.actionsOnSnapShot()"
modifiers:
- "abstract"
syntax: "public abstract ManagementPolicySnapShot actionsOnSnapShot()"
returns:
description: "an object describing the actions to take on the filtered snapshot in this rule"
type: "<xref href=\"com.azure.resourcemanager.storage.models.ManagementPolicySnapShot?alt=com.azure.resourcemanager.storage.models.ManagementPolicySnapShot&text=ManagementPolicySnapShot\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.storage.models.PolicyRule.blobTypesToFilterFor()"
fullName: "com.azure.resourcemanager.storage.models.PolicyRule.blobTypesToFilterFor()"
name: "blobTypesToFilterFor()"
nameWithType: "PolicyRule.blobTypesToFilterFor()"
modifiers:
- "abstract"
syntax: "public abstract List<BlobTypes> blobTypesToFilterFor()"
returns:
description: "an unmodifiable list of the blob types this rule will apply for"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.storage.models.BlobTypes?alt=com.azure.resourcemanager.storage.models.BlobTypes&text=BlobTypes\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.storage.models.PolicyRule.daysAfterBaseBlobModificationUntilArchiving()"
fullName: "com.azure.resourcemanager.storage.models.PolicyRule.daysAfterBaseBlobModificationUntilArchiving()"
name: "daysAfterBaseBlobModificationUntilArchiving()"
nameWithType: "PolicyRule.daysAfterBaseBlobModificationUntilArchiving()"
modifiers:
- "abstract"
syntax: "public abstract Float daysAfterBaseBlobModificationUntilArchiving()"
returns:
description: "the number of days after a filtered base blob is last modified when the tier to archive action is enacted"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html\">Float</a>"
- uid: "com.azure.resourcemanager.storage.models.PolicyRule.daysAfterBaseBlobModificationUntilCooling()"
fullName: "com.azure.resourcemanager.storage.models.PolicyRule.daysAfterBaseBlobModificationUntilCooling()"
name: "daysAfterBaseBlobModificationUntilCooling()"
nameWithType: "PolicyRule.daysAfterBaseBlobModificationUntilCooling()"
modifiers:
- "abstract"
syntax: "public abstract Float daysAfterBaseBlobModificationUntilCooling()"
returns:
description: "the number of days after a filtered base blob is last modified when the tier to cool action is enacted"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html\">Float</a>"
- uid: "com.azure.resourcemanager.storage.models.PolicyRule.daysAfterBaseBlobModificationUntilDeleting()"
fullName: "com.azure.resourcemanager.storage.models.PolicyRule.daysAfterBaseBlobModificationUntilDeleting()"
name: "daysAfterBaseBlobModificationUntilDeleting()"
nameWithType: "PolicyRule.daysAfterBaseBlobModificationUntilDeleting()"
modifiers:
- "abstract"
syntax: "public abstract Float daysAfterBaseBlobModificationUntilDeleting()"
returns:
description: "the number of days after a filtered base blob is last modified when the delete action is enacted"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html\">Float</a>"
- uid: "com.azure.resourcemanager.storage.models.PolicyRule.daysAfterSnapShotCreationUntilDeleting()"
fullName: "com.azure.resourcemanager.storage.models.PolicyRule.daysAfterSnapShotCreationUntilDeleting()"
name: "daysAfterSnapShotCreationUntilDeleting()"
nameWithType: "PolicyRule.daysAfterSnapShotCreationUntilDeleting()"
modifiers:
- "abstract"
syntax: "public abstract Float daysAfterSnapShotCreationUntilDeleting()"
returns:
description: "the number of days after a filtered snapshot is created when the delete action is enacted"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html\">Float</a>"
- uid: "com.azure.resourcemanager.storage.models.PolicyRule.deleteActionOnBaseBlobEnabled()"
fullName: "com.azure.resourcemanager.storage.models.PolicyRule.deleteActionOnBaseBlobEnabled()"
name: "deleteActionOnBaseBlobEnabled()"
nameWithType: "PolicyRule.deleteActionOnBaseBlobEnabled()"
modifiers:
- "abstract"
syntax: "public abstract boolean deleteActionOnBaseBlobEnabled()"
returns:
description: "whether there is a delete action specified for the filtered base blobs in this rule"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.storage.models.PolicyRule.deleteActionOnSnapShotEnabled()"
fullName: "com.azure.resourcemanager.storage.models.PolicyRule.deleteActionOnSnapShotEnabled()"
name: "deleteActionOnSnapShotEnabled()"
nameWithType: "PolicyRule.deleteActionOnSnapShotEnabled()"
modifiers:
- "abstract"
syntax: "public abstract boolean deleteActionOnSnapShotEnabled()"
returns:
description: "whether there is a delete action specified for the filtered snapshots in this rule"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.storage.models.PolicyRule.name()"
fullName: "com.azure.resourcemanager.storage.models.PolicyRule.name()"
name: "name()"
nameWithType: "PolicyRule.name()"
modifiers:
- "abstract"
syntax: "public abstract String name()"
returns:
description: "the name of the rule"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.storage.models.PolicyRule.prefixesToFilterFor()"
fullName: "com.azure.resourcemanager.storage.models.PolicyRule.prefixesToFilterFor()"
name: "prefixesToFilterFor()"
nameWithType: "PolicyRule.prefixesToFilterFor()"
modifiers:
- "abstract"
syntax: "public abstract List<String> prefixesToFilterFor()"
returns:
description: "an unmodifiable list of the prefixes of the blob types this rule will apply for"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.resourcemanager.storage.models.PolicyRule.tierToArchiveActionOnBaseBlobEnabled()"
fullName: "com.azure.resourcemanager.storage.models.PolicyRule.tierToArchiveActionOnBaseBlobEnabled()"
name: "tierToArchiveActionOnBaseBlobEnabled()"
nameWithType: "PolicyRule.tierToArchiveActionOnBaseBlobEnabled()"
modifiers:
- "abstract"
syntax: "public abstract boolean tierToArchiveActionOnBaseBlobEnabled()"
returns:
description: "whether there is a tier to archive action specified for the filtered base blobs in this rule"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.storage.models.PolicyRule.tierToCoolActionOnBaseBlobEnabled()"
fullName: "com.azure.resourcemanager.storage.models.PolicyRule.tierToCoolActionOnBaseBlobEnabled()"
name: "tierToCoolActionOnBaseBlobEnabled()"
nameWithType: "PolicyRule.tierToCoolActionOnBaseBlobEnabled()"
modifiers:
- "abstract"
syntax: "public abstract boolean tierToCoolActionOnBaseBlobEnabled()"
returns:
description: "whether there is a tier to cool action specified for the filtered base blobs in this rule"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.storage.models.PolicyRule.type()"
fullName: "com.azure.resourcemanager.storage.models.PolicyRule.type()"
name: "type()"
nameWithType: "PolicyRule.type()"
modifiers:
- "abstract"
syntax: "public abstract RuleType type()"
returns:
description: "the type of the rule"
type: "<xref href=\"com.azure.resourcemanager.storage.models.RuleType?alt=com.azure.resourcemanager.storage.models.RuleType&text=RuleType\" data-throw-if-not-resolved=\"False\" />"
type: "interface"
desc: "An immutable client-side representation of a rule in an Azure Management Policy."
implements:
- "<xref href=\"com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel?alt=com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel&text=HasInnerModel\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.storage.models.ManagementPolicyRule?alt=com.azure.resourcemanager.storage.models.ManagementPolicyRule&text=ManagementPolicyRule\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.storage.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-storage:2.44.0