Interface AttestationProviders
public interface AttestationProviders
Resource collection API of AttestationProviders.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new AttestationProvider resource.void
deleteById
(String id) Delete Attestation Service.com.azure.core.http.rest.Response<Void>
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Delete Attestation Service.void
deleteByResourceGroup
(String resourceGroupName, String providerName) Delete Attestation Service.com.azure.core.http.rest.Response<Void>
deleteByResourceGroupWithResponse
(String resourceGroupName, String providerName, com.azure.core.util.Context context) Delete Attestation Service.Get the status of Attestation Provider.com.azure.core.http.rest.Response<AttestationProvider>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Get the status of Attestation Provider.getByResourceGroup
(String resourceGroupName, String providerName) Get the status of Attestation Provider.com.azure.core.http.rest.Response<AttestationProvider>
getByResourceGroupWithResponse
(String resourceGroupName, String providerName, com.azure.core.util.Context context) Get the status of Attestation Provider.getDefaultByLocation
(String location) Get the default provider by location.com.azure.core.http.rest.Response<AttestationProvider>
getDefaultByLocationWithResponse
(String location, com.azure.core.util.Context context) Get the default provider by location.list()
Returns a list of attestation providers in a subscription.listByResourceGroup
(String resourceGroupName) Returns attestation providers list in a resource group.com.azure.core.http.rest.Response<AttestationProviderListResult>
listByResourceGroupWithResponse
(String resourceGroupName, com.azure.core.util.Context context) Returns attestation providers list in a resource group.Get the default provider.com.azure.core.http.rest.Response<AttestationProviderListResult>
listDefaultWithResponse
(com.azure.core.util.Context context) Get the default provider.com.azure.core.http.rest.Response<AttestationProviderListResult>
listWithResponse
(com.azure.core.util.Context context) Returns a list of attestation providers in a subscription.
-
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
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
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
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
AttestationProviderListResult 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
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
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.
-