Interface AccessInformationContract


public interface AccessInformationContract
An immutable client-side representation of AccessInformationContract.
  • 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.
    • idPropertiesId

      String idPropertiesId()
      Gets the idPropertiesId property: Access Information type ('access' or 'gitAccess').
      Returns:
      the idPropertiesId value.
    • principalId

      String principalId()
      Gets the principalId property: Principal (User) Identifier.
      Returns:
      the principalId value.
    • enabled

      Boolean enabled()
      Gets the enabled property: Determines whether direct access is enabled.
      Returns:
      the enabled value.
    • resourceGroupName

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

      Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.AccessInformationContractInner object.
      Returns:
      the inner object.
    • update

      Begins update for the AccessInformationContract resource.
      Returns:
      the stage of resource update.
    • refresh

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

      AccessInformationContract 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.
    • regeneratePrimaryKeyWithResponse

      com.azure.core.http.rest.Response<Void> regeneratePrimaryKeyWithResponse(com.azure.core.util.Context context)
      Regenerate primary access key.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the Response.
      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.
    • regeneratePrimaryKey

      void regeneratePrimaryKey()
      Regenerate primary access key.
      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.
    • regenerateSecondaryKeyWithResponse

      com.azure.core.http.rest.Response<Void> regenerateSecondaryKeyWithResponse(com.azure.core.util.Context context)
      Regenerate secondary access key.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the Response.
      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.
    • regenerateSecondaryKey

      void regenerateSecondaryKey()
      Regenerate secondary access key.
      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.
    • listSecretsWithResponse

      com.azure.core.http.rest.Response<AccessInformationSecretsContract> listSecretsWithResponse(com.azure.core.util.Context context)
      Get tenant access information details.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      tenant access information details.
      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.
    • listSecrets

      Get tenant access information details.
      Returns:
      tenant access information details.
      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.