Interface AccessInformationContract


  • public interface AccessInformationContract
    An immutable client-side representation of AccessInformationContract.
    • Method Detail

      • 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.
      • innerModel

        AccessInformationContractInner innerModel()
        Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.AccessInformationContractInner object.
        Returns:
        the inner object.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • listSecrets

        AccessInformationSecretsContract 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.
      • 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.