Interface Catalog


public interface Catalog
An immutable client-side representation of Catalog.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    The entirety of the Catalog definition.
    static interface 
    The Catalog definition stages.
    static interface 
    The template for Catalog update.
    static interface 
    The Catalog update stages.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the adoGit property: Properties for an Azure DevOps catalog type.
    Gets the gitHub property: Properties for a GitHub catalog type.
    id()
    Gets the id property: Fully qualified resource Id for the resource.
    Gets the inner com.azure.resourcemanager.devcenter.fluent.models.CatalogInner object.
    Gets the lastSyncTime property: When the catalog was last synced.
    Gets the name property: The name of the resource.
    Gets the provisioningState property: The provisioning state of the resource.
    Refreshes the resource to sync with Azure.
    refresh(com.azure.core.util.Context context)
    Refreshes the resource to sync with Azure.
    Gets the name of the resource group.
    void
    Syncs templates for a template source.
    void
    sync(com.azure.core.util.Context context)
    Syncs templates for a template source.
    com.azure.core.management.SystemData
    Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Gets the type property: The type of the resource.
    Begins update for the Catalog resource.
  • Method Details

    • id

      String id()
      Gets the id property: Fully qualified resource Id for the resource.
      Returns:
      the id value.
    • name

      String name()
      Gets the name property: The name of the resource.
      Returns:
      the name value.
    • type

      String type()
      Gets the type property: The type of the resource.
      Returns:
      the type value.
    • systemData

      com.azure.core.management.SystemData systemData()
      Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Returns:
      the systemData value.
    • provisioningState

      String provisioningState()
      Gets the provisioningState property: The provisioning state of the resource.
      Returns:
      the provisioningState value.
    • lastSyncTime

      OffsetDateTime lastSyncTime()
      Gets the lastSyncTime property: When the catalog was last synced.
      Returns:
      the lastSyncTime value.
    • gitHub

      GitCatalog gitHub()
      Gets the gitHub property: Properties for a GitHub catalog type.
      Returns:
      the gitHub value.
    • adoGit

      GitCatalog adoGit()
      Gets the adoGit property: Properties for an Azure DevOps catalog type.
      Returns:
      the adoGit value.
    • resourceGroupName

      String resourceGroupName()
      Gets the name of the resource group.
      Returns:
      the name of the resource group.
    • innerModel

      CatalogInner innerModel()
      Gets the inner com.azure.resourcemanager.devcenter.fluent.models.CatalogInner object.
      Returns:
      the inner object.
    • update

      Catalog.Update update()
      Begins update for the Catalog resource.
      Returns:
      the stage of resource update.
    • refresh

      Catalog refresh()
      Refreshes the resource to sync with Azure.
      Returns:
      the refreshed resource.
    • refresh

      Catalog refresh(com.azure.core.util.Context context)
      Refreshes the resource to sync with Azure.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the refreshed resource.
    • sync

      void sync()
      Syncs templates for a template source.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • sync

      void sync(com.azure.core.util.Context context)
      Syncs templates for a template source.
      Parameters:
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.