Freigeben über


ArmAppConfigurationModelFactory.AppConfigurationSnapshotData Method

Definition

Initializes a new instance of AppConfigurationSnapshotData.

public static Azure.ResourceManager.AppConfiguration.AppConfigurationSnapshotData AppConfigurationSnapshotData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string snapshotType = default, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState? provisioningState = default, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationSnapshotStatus? status = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppConfiguration.Models.SnapshotKeyValueFilter> filters = default, Azure.ResourceManager.AppConfiguration.Models.SnapshotCompositionType? compositionType = default, DateTimeOffset? createdOn = default, DateTimeOffset? expireOn = default, long? retentionPeriod = default, long? size = default, long? itemsCount = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ETag? eTag = default);
static member AppConfigurationSnapshotData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState> * Nullable<Azure.ResourceManager.AppConfiguration.Models.AppConfigurationSnapshotStatus> * seq<Azure.ResourceManager.AppConfiguration.Models.SnapshotKeyValueFilter> * Nullable<Azure.ResourceManager.AppConfiguration.Models.SnapshotCompositionType> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int64> * Nullable<int64> * Nullable<int64> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ETag> -> Azure.ResourceManager.AppConfiguration.AppConfigurationSnapshotData
Public Shared Function AppConfigurationSnapshotData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional snapshotType As String = Nothing, Optional provisioningState As Nullable(Of AppConfigurationProvisioningState) = Nothing, Optional status As Nullable(Of AppConfigurationSnapshotStatus) = Nothing, Optional filters As IEnumerable(Of SnapshotKeyValueFilter) = Nothing, Optional compositionType As Nullable(Of SnapshotCompositionType) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional retentionPeriod As Nullable(Of Long) = Nothing, Optional size As Nullable(Of Long) = Nothing, Optional itemsCount As Nullable(Of Long) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional eTag As Nullable(Of ETag) = Nothing) As AppConfigurationSnapshotData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

snapshotType
String

The type of the resource.

provisioningState
Nullable<AppConfigurationProvisioningState>

The provisioning state of the snapshot.

status
Nullable<AppConfigurationSnapshotStatus>

The current status of the snapshot.

filters
IEnumerable<SnapshotKeyValueFilter>

A list of filters used to filter the key-values included in the snapshot.

compositionType
Nullable<SnapshotCompositionType>

The composition type describes how the key-values within the snapshot are composed. The 'key' composition type ensures there are no two key-values containing the same key. The 'key_label' composition type ensures there are no two key-values containing the same key and label.

createdOn
Nullable<DateTimeOffset>

The time that the snapshot was created.

expireOn
Nullable<DateTimeOffset>

The time that the snapshot will expire.

retentionPeriod
Nullable<Int64>

The amount of time, in seconds, that a snapshot will remain in the archived state before expiring. This property is only writable during the creation of a snapshot. If not specified, the default lifetime of key-value revisions will be used.

size
Nullable<Int64>

The size in bytes of the snapshot.

itemsCount
Nullable<Int64>

The amount of key-values in the snapshot.

tags
IDictionary<String,String>

The tags of the snapshot. NOTE: These are data plane tags, not Azure Resource Manager (ARM) tags.

eTag
Nullable<ETag>

A value representing the current state of the snapshot.

Returns

A new AppConfigurationSnapshotData instance for mocking.

Applies to