共用方式為


ArmStorageModelFactory.BlobInventoryPolicyData Method

Definition

Initializes a new instance of BlobInventoryPolicyData.

public static Azure.ResourceManager.Storage.BlobInventoryPolicyData BlobInventoryPolicyData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? lastModifiedOn = default, Azure.ResourceManager.Storage.Models.BlobInventoryPolicySchema policySchema = default);
static member BlobInventoryPolicyData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * Azure.ResourceManager.Storage.Models.BlobInventoryPolicySchema -> Azure.ResourceManager.Storage.BlobInventoryPolicyData
Public Shared Function BlobInventoryPolicyData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional policySchema As BlobInventoryPolicySchema = Nothing) As BlobInventoryPolicyData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

lastModifiedOn
Nullable<DateTimeOffset>

Returns the last modified date and time of the blob inventory policy.

policySchema
BlobInventoryPolicySchema

The storage account blob inventory policy object. It is composed of policy rules.

Returns

A new BlobInventoryPolicyData instance for mocking.

Applies to