共用方式為


BlobInventoryPolicyRule Class

Definition

An object that wraps the blob inventory rule. Each rule is uniquely defined by name.

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

Constructors

BlobInventoryPolicyRule(Boolean, String, String, BlobInventoryPolicyDefinition)

Initializes a new instance of BlobInventoryPolicyRule.

Properties

Definition

An object that defines the blob inventory policy rule.

Destination

Container name where blob inventory files are stored. Must be pre-created.

IsEnabled

Rule is enabled when set to true.

Name

A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.

Explicit Interface Implementations

IJsonModel<BlobInventoryPolicyRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BlobInventoryPolicyRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BlobInventoryPolicyRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BlobInventoryPolicyRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BlobInventoryPolicyRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to