다음을 통해 공유


BlobInventoryPolicySchema 클래스

스토리지 계정 Blob 인벤토리 정책 규칙입니다.

Azure로 보내려면 모든 필수 매개 변수를 채워야 합니다.

상속
azure.mgmt.storage._serialization.Model
BlobInventoryPolicySchema

생성자

BlobInventoryPolicySchema(*, enabled: bool, destination: str, type: str | _models.InventoryRuleType, rules: List[_models.BlobInventoryPolicyRule], **kwargs)

변수

enabled
bool

true로 설정하면 정책이 활성화됩니다. 필수 요소.

destination
str

Blob 인벤토리 파일이 저장되는 컨테이너 이름입니다. 미리 만들어야 합니다. 필수 요소.

type
str 또는 InventoryRuleType

유효한 값은 Inventory입니다. 필수 요소. "인벤토리"

rules
list[BlobInventoryPolicyRule]

스토리지 계정 Blob 인벤토리 정책 규칙입니다. 규칙을 사용하도록 설정하면 규칙이 적용됩니다. 필수 요소.