Interface AttestationProvidersClient
public interface AttestationProvidersClient
An instance of this class provides access to all the operations defined in AttestationProvidersClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(String resourceGroupName, String providerName, AttestationServiceCreationParams creationParams) Creates a new Attestation Provider.com.azure.core.http.rest.Response<AttestationProviderInner>
createWithResponse
(String resourceGroupName, String providerName, AttestationServiceCreationParams creationParams, com.azure.core.util.Context context) Creates a new Attestation Provider.void
Delete Attestation Service.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String providerName, com.azure.core.util.Context context) Delete Attestation Service.getByResourceGroup
(String resourceGroupName, String providerName) Get the status of Attestation Provider.com.azure.core.http.rest.Response<AttestationProviderInner>
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<AttestationProviderInner>
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<AttestationProviderListResultInner>
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<AttestationProviderListResultInner>
listDefaultWithResponse
(com.azure.core.util.Context context) Get the default provider.com.azure.core.http.rest.Response<AttestationProviderListResultInner>
listWithResponse
(com.azure.core.util.Context context) Returns a list of attestation providers in a subscription.update
(String resourceGroupName, String providerName, AttestationServicePatchParams updateParams) Updates the Attestation Provider.com.azure.core.http.rest.Response<AttestationProviderInner>
updateWithResponse
(String resourceGroupName, String providerName, AttestationServicePatchParams updateParams, com.azure.core.util.Context context) Updates the Attestation Provider.
-
Method Details
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<AttestationProviderInner> 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.
-
createWithResponse
com.azure.core.http.rest.Response<AttestationProviderInner> createWithResponse(String resourceGroupName, String providerName, AttestationServiceCreationParams creationParams, com.azure.core.util.Context context) Creates a new Attestation Provider.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.providerName
- Name of the attestation provider.creationParams
- Client supplied parameters.context
- The context to associate with this operation.- Returns:
- attestation service response message 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.
-
create
AttestationProviderInner create(String resourceGroupName, String providerName, AttestationServiceCreationParams creationParams) Creates a new Attestation Provider.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.providerName
- Name of the attestation provider.creationParams
- Client supplied parameters.- Returns:
- attestation service response message.
- 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.
-
updateWithResponse
com.azure.core.http.rest.Response<AttestationProviderInner> updateWithResponse(String resourceGroupName, String providerName, AttestationServicePatchParams updateParams, com.azure.core.util.Context context) Updates the Attestation Provider.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.providerName
- Name of the attestation provider.updateParams
- Client supplied parameters.context
- The context to associate with this operation.- Returns:
- attestation service response message 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.
-
update
AttestationProviderInner update(String resourceGroupName, String providerName, AttestationServicePatchParams updateParams) Updates the Attestation Provider.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.providerName
- Name of the attestation provider.updateParams
- Client supplied parameters.- Returns:
- attestation service response message.
- 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(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.
-
delete
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<AttestationProviderListResultInner> 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<AttestationProviderListResultInner> 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<AttestationProviderListResultInner> 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
AttestationProviderListResultInner 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<AttestationProviderInner> 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.
-