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

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

    Modifier and Type
    Method
    Description
    id()
    Gets the id property: Fully qualified resource Id for the resource.
    Gets the inner com.azure.resourcemanager.apicenter.fluent.models.ApiInner object.
    Gets the name property: The name of the resource.
    Gets the properties property: The resource-specific properties for this 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.
    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 Api 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.
    • properties

      ApiProperties properties()
      Gets the properties property: The resource-specific properties for this resource.
      Returns:
      the properties 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.
    • resourceGroupName

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

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

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

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

      Api 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.