Interface AttestationProviders


public interface AttestationProviders
Resource collection API of AttestationProviders.
  • Method Details

    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<AttestationProvider> getByResourceGroupWithResponse(String resourceGroupName, String providerName, com.azure.core.util.Context context)
      Get the status of Attestation Provider.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      providerName - Name of the attestation provider.
      context - The context to associate with this operation.
      Returns:
      the status of Attestation Provider along with 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.
    • getByResourceGroup

      AttestationProvider getByResourceGroup(String resourceGroupName, String providerName)
      Get the status of Attestation Provider.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      providerName - Name of the attestation provider.
      Returns:
      the status of Attestation Provider.
      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.
    • deleteByResourceGroupWithResponse

      com.azure.core.http.rest.Response<Void> deleteByResourceGroupWithResponse(String resourceGroupName, String providerName, com.azure.core.util.Context context)
      Delete Attestation Service.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      providerName - Name of the attestation service.
      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.
    • deleteByResourceGroup

      void deleteByResourceGroup(String resourceGroupName, String providerName)
      Delete Attestation Service.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      providerName - Name of the attestation service.
      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.
    • listWithResponse

      com.azure.core.http.rest.Response<AttestationProviderListResult> listWithResponse(com.azure.core.util.Context context)
      Returns a list of attestation providers in a subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      attestation Providers List along with 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.
    • list

      Returns a list of attestation providers in a subscription.
      Returns:
      attestation Providers List.
      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.
    • listByResourceGroupWithResponse

      com.azure.core.http.rest.Response<AttestationProviderListResult> listByResourceGroupWithResponse(String resourceGroupName, com.azure.core.util.Context context)
      Returns attestation providers list in a resource group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      context - The context to associate with this operation.
      Returns:
      attestation Providers List along with 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.
    • listByResourceGroup

      AttestationProviderListResult listByResourceGroup(String resourceGroupName)
      Returns attestation providers list in a resource group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      Returns:
      attestation Providers List.
      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.
    • listDefaultWithResponse

      com.azure.core.http.rest.Response<AttestationProviderListResult> listDefaultWithResponse(com.azure.core.util.Context context)
      Get the default provider.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the default provider along with 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.
    • listDefault

      Get the default provider.
      Returns:
      the default provider.
      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.
    • getDefaultByLocationWithResponse

      com.azure.core.http.rest.Response<AttestationProvider> getDefaultByLocationWithResponse(String location, com.azure.core.util.Context context)
      Get the default provider by location.
      Parameters:
      location - The location of the default provider.
      context - The context to associate with this operation.
      Returns:
      the default provider by location along with 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.
    • getDefaultByLocation

      AttestationProvider getDefaultByLocation(String location)
      Get the default provider by location.
      Parameters:
      location - The location of the default provider.
      Returns:
      the default provider by location.
      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.
    • getById

      Get the status of Attestation Provider.
      Parameters:
      id - the resource ID.
      Returns:
      the status of Attestation Provider along with 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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<AttestationProvider> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Get the status of Attestation Provider.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      the status of Attestation Provider along with 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.
    • deleteById

      void deleteById(String id)
      Delete Attestation Service.
      Parameters:
      id - the resource ID.
      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.
    • deleteByIdWithResponse

      com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Delete Attestation Service.
      Parameters:
      id - the resource ID.
      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.
    • define

      Begins definition for a new AttestationProvider resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new AttestationProvider definition.