Sdílet prostřednictvím


ArmDevCenterModelFactory.DevCenterCatalogData Method

Definition

Initializes a new instance of DevCenterCatalogData.

public static Azure.ResourceManager.DevCenter.DevCenterCatalogData DevCenterCatalogData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.DevCenter.Models.DevCenterGitCatalog gitHub = default, Azure.ResourceManager.DevCenter.Models.DevCenterGitCatalog adoGit = default, Azure.ResourceManager.DevCenter.Models.DevCenterProvisioningState? provisioningState = default, Azure.ResourceManager.DevCenter.Models.DevCenterCatalogSyncState? syncState = default, DateTimeOffset? lastSyncOn = default);
static member DevCenterCatalogData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.DevCenter.Models.DevCenterGitCatalog * Azure.ResourceManager.DevCenter.Models.DevCenterGitCatalog * Nullable<Azure.ResourceManager.DevCenter.Models.DevCenterProvisioningState> * Nullable<Azure.ResourceManager.DevCenter.Models.DevCenterCatalogSyncState> * Nullable<DateTimeOffset> -> Azure.ResourceManager.DevCenter.DevCenterCatalogData
Public Shared Function DevCenterCatalogData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional gitHub As DevCenterGitCatalog = Nothing, Optional adoGit As DevCenterGitCatalog = Nothing, Optional provisioningState As Nullable(Of DevCenterProvisioningState) = Nothing, Optional syncState As Nullable(Of DevCenterCatalogSyncState) = Nothing, Optional lastSyncOn As Nullable(Of DateTimeOffset) = Nothing) As DevCenterCatalogData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

gitHub
DevCenterGitCatalog

Properties for a GitHub catalog type.

adoGit
DevCenterGitCatalog

Properties for an Azure DevOps catalog type.

provisioningState
Nullable<DevCenterProvisioningState>

The provisioning state of the resource.

syncState
Nullable<DevCenterCatalogSyncState>

The synchronization state of the catalog.

lastSyncOn
Nullable<DateTimeOffset>

When the catalog was last synced.

Returns

A new DevCenterCatalogData instance for mocking.

Applies to