Catalog Interface

public interface Catalog

An immutable client-side representation of Catalog.

Method Summary

Modifier and Type Method and Description
abstract GitCatalog adoGit()

Gets the adoGit property: Properties for an Azure DevOps catalog type.

abstract void connect()

Connects a project catalog to enable syncing.

abstract void connect(Context context)

Connects a project catalog to enable syncing.

abstract CatalogConnectionState connectionState()

Gets the connectionState property: The connection state of the catalog.

abstract SyncErrorDetails getSyncErrorDetails()

Gets project catalog synchronization error details.

abstract Response<SyncErrorDetails> getSyncErrorDetailsWithResponse(Context context)

Gets project catalog synchronization error details.

abstract GitCatalog gitHub()

Gets the gitHub property: Properties for a GitHub catalog type.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract CatalogInner innerModel()

Gets the inner com.azure.resourcemanager.devcenter.fluent.models.CatalogInner object.

abstract OffsetDateTime lastConnectionTime()

Gets the lastConnectionTime property: When the catalog was last connected.

abstract SyncStats lastSyncStats()

Gets the lastSyncStats property: Stats of the latest synchronization.

abstract OffsetDateTime lastSyncTime()

Gets the lastSyncTime property: When the catalog was last synced.

abstract String name()

Gets the name property: The name of the resource.

abstract ProvisioningState provisioningState()

Gets the provisioningState property: The provisioning state of the resource.

abstract Catalog refresh()

Refreshes the resource to sync with Azure.

abstract Catalog refresh(Context context)

Refreshes the resource to sync with Azure.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract void sync()

Syncs templates for a template source.

abstract void sync(Context context)

Syncs templates for a template source.

abstract CatalogSyncState syncState()

Gets the syncState property: The synchronization state of the catalog.

abstract CatalogSyncType syncType()

Gets the syncType property: Indicates the type of sync that is configured for the catalog.

abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

abstract Map<String,String> tags()

Gets the tags property: Resource tags.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the Catalog resource.

Method Details

adoGit

public abstract GitCatalog adoGit()

Gets the adoGit property: Properties for an Azure DevOps catalog type.

Returns:

the adoGit value.

connect

public abstract void connect()

Connects a project catalog to enable syncing.

connect

public abstract void connect(Context context)

Connects a project catalog to enable syncing.

Parameters:

context - The context to associate with this operation.

connectionState

public abstract CatalogConnectionState connectionState()

Gets the connectionState property: The connection state of the catalog.

Returns:

the connectionState value.

getSyncErrorDetails

public abstract SyncErrorDetails getSyncErrorDetails()

Gets project catalog synchronization error details.

Returns:

project catalog synchronization error details.

getSyncErrorDetailsWithResponse

public abstract Response getSyncErrorDetailsWithResponse(Context context)

Gets project catalog synchronization error details.

Parameters:

context - The context to associate with this operation.

Returns:

project catalog synchronization error details along with Response<T>.

gitHub

public abstract GitCatalog gitHub()

Gets the gitHub property: Properties for a GitHub catalog type.

Returns:

the gitHub value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract CatalogInner innerModel()

Gets the inner com.azure.resourcemanager.devcenter.fluent.models.CatalogInner object.

Returns:

the inner object.

lastConnectionTime

public abstract OffsetDateTime lastConnectionTime()

Gets the lastConnectionTime property: When the catalog was last connected.

Returns:

the lastConnectionTime value.

lastSyncStats

public abstract SyncStats lastSyncStats()

Gets the lastSyncStats property: Stats of the latest synchronization.

Returns:

the lastSyncStats value.

lastSyncTime

public abstract OffsetDateTime lastSyncTime()

Gets the lastSyncTime property: When the catalog was last synced.

Returns:

the lastSyncTime value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

provisioningState

public abstract ProvisioningState provisioningState()

Gets the provisioningState property: The provisioning state of the resource.

Returns:

the provisioningState value.

refresh

public abstract Catalog refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract Catalog refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

sync

public abstract void sync()

Syncs templates for a template source.

sync

public abstract void sync(Context context)

Syncs templates for a template source.

Parameters:

context - The context to associate with this operation.

syncState

public abstract CatalogSyncState syncState()

Gets the syncState property: The synchronization state of the catalog.

Returns:

the syncState value.

syncType

public abstract CatalogSyncType syncType()

Gets the syncType property: Indicates the type of sync that is configured for the catalog.

Returns:

the syncType value.

systemData

public abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

tags

public abstract Map tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract Catalog.Update update()

Begins update for the Catalog resource.

Returns:

the stage of resource update.

Applies to