共用方式為


BlobInventoryPolicySchema Class

Definition

The storage account blob inventory policy rules.

public class BlobInventoryPolicySchema : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Storage.Models.BlobInventoryPolicySchema>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Storage.Models.BlobInventoryPolicySchema>
public class BlobInventoryPolicySchema
type BlobInventoryPolicySchema = class
    interface IJsonModel<BlobInventoryPolicySchema>
    interface IPersistableModel<BlobInventoryPolicySchema>
type BlobInventoryPolicySchema = class
Public Class BlobInventoryPolicySchema
Implements IJsonModel(Of BlobInventoryPolicySchema), IPersistableModel(Of BlobInventoryPolicySchema)
Public Class BlobInventoryPolicySchema
Inheritance
BlobInventoryPolicySchema
Implements

Constructors

BlobInventoryPolicySchema(Boolean, BlobInventoryRuleType, IEnumerable<BlobInventoryPolicyRule>)

Initializes a new instance of BlobInventoryPolicySchema.

Properties

Destination

Deprecated Property from API version 2021-04-01 onwards, the required destination container name must be specified at the rule level 'policy.rule.destination'.

IsEnabled

Policy is enabled if set to true.

Rules

The storage account blob inventory policy rules. The rule is applied when it is enabled.

RuleType

The valid value is Inventory.

Explicit Interface Implementations

IJsonModel<BlobInventoryPolicySchema>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<BlobInventoryPolicySchema>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BlobInventoryPolicySchema>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BlobInventoryPolicySchema>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<BlobInventoryPolicySchema>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to