다음을 통해 공유


ArmApiManagementModelFactory.TenantConfigurationSyncStateContract Method

Definition

Initializes a new instance of TenantConfigurationSyncStateContract.

public static Azure.ResourceManager.ApiManagement.Models.TenantConfigurationSyncStateContract TenantConfigurationSyncStateContract (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string branch = default, string commitId = default, bool? isExported = default, bool? isSynced = default, bool? isGitEnabled = default, DateTimeOffset? syncOn = default, DateTimeOffset? configurationChangeOn = default, string lastOperationId = default);
static member TenantConfigurationSyncStateContract : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string -> Azure.ResourceManager.ApiManagement.Models.TenantConfigurationSyncStateContract
Public Shared Function TenantConfigurationSyncStateContract (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional branch As String = Nothing, Optional commitId As String = Nothing, Optional isExported As Nullable(Of Boolean) = Nothing, Optional isSynced As Nullable(Of Boolean) = Nothing, Optional isGitEnabled As Nullable(Of Boolean) = Nothing, Optional syncOn As Nullable(Of DateTimeOffset) = Nothing, Optional configurationChangeOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastOperationId As String = Nothing) As TenantConfigurationSyncStateContract

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

branch
String

The name of Git branch.

commitId
String

The latest commit Id.

isExported
Nullable<Boolean>

value indicating if last sync was save (true) or deploy (false) operation.

isSynced
Nullable<Boolean>

value indicating if last synchronization was later than the configuration change.

isGitEnabled
Nullable<Boolean>

value indicating whether Git configuration access is enabled.

syncOn
Nullable<DateTimeOffset>

The date of the latest synchronization. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.

configurationChangeOn
Nullable<DateTimeOffset>

The date of the latest configuration change. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.

lastOperationId
String

Most recent tenant configuration operation identifier.

Returns

A new TenantConfigurationSyncStateContract instance for mocking.

Applies to