ArmDevCenterModelFactory.DevCenterCatalogData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.DevCenterCatalogSyncType? syncType = default, Azure.ResourceManager.DevCenter.Models.DevCenterCatalogAutoImageBuildEnableStatus? autoImageBuildEnableStatus = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.DevCenter.Models.DevCenterProvisioningState? provisioningState = default, Azure.ResourceManager.DevCenter.Models.DevCenterCatalogSyncState? syncState = default, Azure.ResourceManager.DevCenter.Models.DevCenterSyncStats lastSyncStats = default, Azure.ResourceManager.DevCenter.Models.DevCenterCatalogConnectionState? connectionState = default, DateTimeOffset? lastConnectionOn = 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.DevCenterCatalogSyncType> * Nullable<Azure.ResourceManager.DevCenter.Models.DevCenterCatalogAutoImageBuildEnableStatus> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ResourceManager.DevCenter.Models.DevCenterProvisioningState> * Nullable<Azure.ResourceManager.DevCenter.Models.DevCenterCatalogSyncState> * Azure.ResourceManager.DevCenter.Models.DevCenterSyncStats * Nullable<Azure.ResourceManager.DevCenter.Models.DevCenterCatalogConnectionState> * Nullable<DateTimeOffset> * 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 syncType As Nullable(Of DevCenterCatalogSyncType) = Nothing, Optional autoImageBuildEnableStatus As Nullable(Of DevCenterCatalogAutoImageBuildEnableStatus) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional provisioningState As Nullable(Of DevCenterProvisioningState) = Nothing, Optional syncState As Nullable(Of DevCenterCatalogSyncState) = Nothing, Optional lastSyncStats As DevCenterSyncStats = Nothing, Optional connectionState As Nullable(Of DevCenterCatalogConnectionState) = Nothing, Optional lastConnectionOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastSyncOn As Nullable(Of DateTimeOffset) = Nothing) As DevCenterCatalogData
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- gitHub
- DevCenterGitCatalog
Properties for a GitHub catalog type.
- adoGit
- DevCenterGitCatalog
Properties for an Azure DevOps catalog type.
- syncType
- Nullable<DevCenterCatalogSyncType>
Indicates the type of sync that is configured for the catalog.
- autoImageBuildEnableStatus
- Nullable<DevCenterCatalogAutoImageBuildEnableStatus>
Indicates whether the catalog is configured to automatically build image definitions. Defaults to enabled.
- tags
- IDictionary<String,String>
Resource tags.
- provisioningState
- Nullable<DevCenterProvisioningState>
The provisioning state of the resource.
- syncState
- Nullable<DevCenterCatalogSyncState>
The synchronization state of the catalog.
- lastSyncStats
- DevCenterSyncStats
Stats of the latest synchronization.
- connectionState
- Nullable<DevCenterCatalogConnectionState>
The connection state of the catalog.
- lastConnectionOn
- Nullable<DateTimeOffset>
When the catalog was last connected.
- lastSyncOn
- Nullable<DateTimeOffset>
When the catalog was last synced.
Returns
A new DevCenterCatalogData instance for mocking.