Interface AttestationsClient
public interface AttestationsClient
An instance of this class provides access to all the operations defined in AttestationsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AttestationInner>,
AttestationInner> beginCreateOrUpdateAtResource
(String resourceId, String attestationName, AttestationInner parameters) Creates or updates an attestation at resource scope.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AttestationInner>,
AttestationInner> beginCreateOrUpdateAtResource
(String resourceId, String attestationName, AttestationInner parameters, com.azure.core.util.Context context) Creates or updates an attestation at resource scope.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AttestationInner>,
AttestationInner> beginCreateOrUpdateAtResourceGroup
(String resourceGroupName, String attestationName, AttestationInner parameters) Creates or updates an attestation at resource group scope.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AttestationInner>,
AttestationInner> beginCreateOrUpdateAtResourceGroup
(String resourceGroupName, String attestationName, AttestationInner parameters, com.azure.core.util.Context context) Creates or updates an attestation at resource group scope.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AttestationInner>,
AttestationInner> beginCreateOrUpdateAtSubscription
(String attestationName, AttestationInner parameters) Creates or updates an attestation at subscription scope.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AttestationInner>,
AttestationInner> beginCreateOrUpdateAtSubscription
(String attestationName, AttestationInner parameters, com.azure.core.util.Context context) Creates or updates an attestation at subscription scope.createOrUpdateAtResource
(String resourceId, String attestationName, AttestationInner parameters) Creates or updates an attestation at resource scope.createOrUpdateAtResource
(String resourceId, String attestationName, AttestationInner parameters, com.azure.core.util.Context context) Creates or updates an attestation at resource scope.createOrUpdateAtResourceGroup
(String resourceGroupName, String attestationName, AttestationInner parameters) Creates or updates an attestation at resource group scope.createOrUpdateAtResourceGroup
(String resourceGroupName, String attestationName, AttestationInner parameters, com.azure.core.util.Context context) Creates or updates an attestation at resource group scope.createOrUpdateAtSubscription
(String attestationName, AttestationInner parameters) Creates or updates an attestation at subscription scope.createOrUpdateAtSubscription
(String attestationName, AttestationInner parameters, com.azure.core.util.Context context) Creates or updates an attestation at subscription scope.void
Deletes an existing attestation at resource group scope.void
deleteAtResource
(String resourceId, String attestationName) Deletes an existing attestation at individual resource scope.com.azure.core.http.rest.Response<Void>
deleteAtResourceWithResponse
(String resourceId, String attestationName, com.azure.core.util.Context context) Deletes an existing attestation at individual resource scope.void
deleteAtSubscription
(String attestationName) Deletes an existing attestation at subscription scope.com.azure.core.http.rest.Response<Void>
deleteAtSubscriptionWithResponse
(String attestationName, com.azure.core.util.Context context) Deletes an existing attestation at subscription scope.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String attestationName, com.azure.core.util.Context context) Deletes an existing attestation at resource group scope.getAtResource
(String resourceId, String attestationName) Gets an existing attestation at resource scope.com.azure.core.http.rest.Response<AttestationInner>
getAtResourceWithResponse
(String resourceId, String attestationName, com.azure.core.util.Context context) Gets an existing attestation at resource scope.getAtSubscription
(String attestationName) Gets an existing attestation at subscription scope.com.azure.core.http.rest.Response<AttestationInner>
getAtSubscriptionWithResponse
(String attestationName, com.azure.core.util.Context context) Gets an existing attestation at subscription scope.getByResourceGroup
(String resourceGroupName, String attestationName) Gets an existing attestation at resource group scope.com.azure.core.http.rest.Response<AttestationInner>
getByResourceGroupWithResponse
(String resourceGroupName, String attestationName, com.azure.core.util.Context context) Gets an existing attestation at resource group scope.com.azure.core.http.rest.PagedIterable<AttestationInner>
list()
Gets all attestations for the subscription.com.azure.core.http.rest.PagedIterable<AttestationInner>
Gets all attestations for the subscription.com.azure.core.http.rest.PagedIterable<AttestationInner>
listByResourceGroup
(String resourceGroupName) Gets all attestations for the resource group.com.azure.core.http.rest.PagedIterable<AttestationInner>
listByResourceGroup
(String resourceGroupName, Integer top, String filter, com.azure.core.util.Context context) Gets all attestations for the resource group.com.azure.core.http.rest.PagedIterable<AttestationInner>
listForResource
(String resourceId) Gets all attestations for a resource.com.azure.core.http.rest.PagedIterable<AttestationInner>
listForResource
(String resourceId, Integer top, String filter, com.azure.core.util.Context context) Gets all attestations for a resource.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<AttestationInner> list()Gets all attestations for the subscription.- Returns:
- all attestations for the subscription as paginated response with
PagedIterable
. - 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.
-
list
com.azure.core.http.rest.PagedIterable<AttestationInner> list(Integer top, String filter, com.azure.core.util.Context context) Gets all attestations for the subscription.- Parameters:
top
- Maximum number of records to return.filter
- OData filter expression.context
- The context to associate with this operation.- Returns:
- all attestations for the subscription as paginated response with
PagedIterable
. - 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.
-
beginCreateOrUpdateAtSubscription
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AttestationInner>,AttestationInner> beginCreateOrUpdateAtSubscription(String attestationName, AttestationInner parameters) Creates or updates an attestation at subscription scope.- Parameters:
attestationName
- The name of the attestation.parameters
- The attestation parameters.- Returns:
- the
SyncPoller
for polling of an attestation resource. - 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.
-
beginCreateOrUpdateAtSubscription
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AttestationInner>,AttestationInner> beginCreateOrUpdateAtSubscription(String attestationName, AttestationInner parameters, com.azure.core.util.Context context) Creates or updates an attestation at subscription scope.- Parameters:
attestationName
- The name of the attestation.parameters
- The attestation parameters.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of an attestation resource. - 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.
-
createOrUpdateAtSubscription
Creates or updates an attestation at subscription scope.- Parameters:
attestationName
- The name of the attestation.parameters
- The attestation parameters.- Returns:
- an attestation resource.
- 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.
-
createOrUpdateAtSubscription
AttestationInner createOrUpdateAtSubscription(String attestationName, AttestationInner parameters, com.azure.core.util.Context context) Creates or updates an attestation at subscription scope.- Parameters:
attestationName
- The name of the attestation.parameters
- The attestation parameters.context
- The context to associate with this operation.- Returns:
- an attestation resource.
- 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.
-
getAtSubscriptionWithResponse
com.azure.core.http.rest.Response<AttestationInner> getAtSubscriptionWithResponse(String attestationName, com.azure.core.util.Context context) Gets an existing attestation at subscription scope.- Parameters:
attestationName
- The name of the attestation.context
- The context to associate with this operation.- Returns:
- an existing attestation at subscription scope 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.
-
getAtSubscription
Gets an existing attestation at subscription scope.- Parameters:
attestationName
- The name of the attestation.- Returns:
- an existing attestation at subscription scope.
- 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.
-
deleteAtSubscriptionWithResponse
com.azure.core.http.rest.Response<Void> deleteAtSubscriptionWithResponse(String attestationName, com.azure.core.util.Context context) Deletes an existing attestation at subscription scope.- Parameters:
attestationName
- The name of the attestation.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.
-
deleteAtSubscription
Deletes an existing attestation at subscription scope.- Parameters:
attestationName
- The name of the attestation.- 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
com.azure.core.http.rest.PagedIterable<AttestationInner> listByResourceGroup(String resourceGroupName) Gets all attestations for the resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- all attestations for the resource group as paginated response with
PagedIterable
. - 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
com.azure.core.http.rest.PagedIterable<AttestationInner> listByResourceGroup(String resourceGroupName, Integer top, String filter, com.azure.core.util.Context context) Gets all attestations for the resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.top
- Maximum number of records to return.filter
- OData filter expression.context
- The context to associate with this operation.- Returns:
- all attestations for the resource group as paginated response with
PagedIterable
. - 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.
-
beginCreateOrUpdateAtResourceGroup
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AttestationInner>,AttestationInner> beginCreateOrUpdateAtResourceGroup(String resourceGroupName, String attestationName, AttestationInner parameters) Creates or updates an attestation at resource group scope.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.attestationName
- The name of the attestation.parameters
- The attestation parameters.- Returns:
- the
SyncPoller
for polling of an attestation resource. - 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.
-
beginCreateOrUpdateAtResourceGroup
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AttestationInner>,AttestationInner> beginCreateOrUpdateAtResourceGroup(String resourceGroupName, String attestationName, AttestationInner parameters, com.azure.core.util.Context context) Creates or updates an attestation at resource group scope.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.attestationName
- The name of the attestation.parameters
- The attestation parameters.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of an attestation resource. - 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.
-
createOrUpdateAtResourceGroup
AttestationInner createOrUpdateAtResourceGroup(String resourceGroupName, String attestationName, AttestationInner parameters) Creates or updates an attestation at resource group scope.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.attestationName
- The name of the attestation.parameters
- The attestation parameters.- Returns:
- an attestation resource.
- 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.
-
createOrUpdateAtResourceGroup
AttestationInner createOrUpdateAtResourceGroup(String resourceGroupName, String attestationName, AttestationInner parameters, com.azure.core.util.Context context) Creates or updates an attestation at resource group scope.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.attestationName
- The name of the attestation.parameters
- The attestation parameters.context
- The context to associate with this operation.- Returns:
- an attestation resource.
- 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<AttestationInner> getByResourceGroupWithResponse(String resourceGroupName, String attestationName, com.azure.core.util.Context context) Gets an existing attestation at resource group scope.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.attestationName
- The name of the attestation.context
- The context to associate with this operation.- Returns:
- an existing attestation at resource group scope 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
Gets an existing attestation at resource group scope.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.attestationName
- The name of the attestation.- Returns:
- an existing attestation at resource group scope.
- 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 attestationName, com.azure.core.util.Context context) Deletes an existing attestation at resource group scope.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.attestationName
- The name of the attestation.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
Deletes an existing attestation at resource group scope.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.attestationName
- The name of the attestation.- 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.
-
listForResource
Gets all attestations for a resource.- Parameters:
resourceId
- Resource ID.- Returns:
- all attestations for a resource as paginated response with
PagedIterable
. - 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.
-
listForResource
com.azure.core.http.rest.PagedIterable<AttestationInner> listForResource(String resourceId, Integer top, String filter, com.azure.core.util.Context context) Gets all attestations for a resource.- Parameters:
resourceId
- Resource ID.top
- Maximum number of records to return.filter
- OData filter expression.context
- The context to associate with this operation.- Returns:
- all attestations for a resource as paginated response with
PagedIterable
. - 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.
-
beginCreateOrUpdateAtResource
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AttestationInner>,AttestationInner> beginCreateOrUpdateAtResource(String resourceId, String attestationName, AttestationInner parameters) Creates or updates an attestation at resource scope.- Parameters:
resourceId
- Resource ID.attestationName
- The name of the attestation.parameters
- The attestation parameters.- Returns:
- the
SyncPoller
for polling of an attestation resource. - 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.
-
beginCreateOrUpdateAtResource
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AttestationInner>,AttestationInner> beginCreateOrUpdateAtResource(String resourceId, String attestationName, AttestationInner parameters, com.azure.core.util.Context context) Creates or updates an attestation at resource scope.- Parameters:
resourceId
- Resource ID.attestationName
- The name of the attestation.parameters
- The attestation parameters.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of an attestation resource. - 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.
-
createOrUpdateAtResource
AttestationInner createOrUpdateAtResource(String resourceId, String attestationName, AttestationInner parameters) Creates or updates an attestation at resource scope.- Parameters:
resourceId
- Resource ID.attestationName
- The name of the attestation.parameters
- The attestation parameters.- Returns:
- an attestation resource.
- 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.
-
createOrUpdateAtResource
AttestationInner createOrUpdateAtResource(String resourceId, String attestationName, AttestationInner parameters, com.azure.core.util.Context context) Creates or updates an attestation at resource scope.- Parameters:
resourceId
- Resource ID.attestationName
- The name of the attestation.parameters
- The attestation parameters.context
- The context to associate with this operation.- Returns:
- an attestation resource.
- 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.
-
getAtResourceWithResponse
com.azure.core.http.rest.Response<AttestationInner> getAtResourceWithResponse(String resourceId, String attestationName, com.azure.core.util.Context context) Gets an existing attestation at resource scope.- Parameters:
resourceId
- Resource ID.attestationName
- The name of the attestation.context
- The context to associate with this operation.- Returns:
- an existing attestation at resource scope 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.
-
getAtResource
Gets an existing attestation at resource scope.- Parameters:
resourceId
- Resource ID.attestationName
- The name of the attestation.- Returns:
- an existing attestation at resource scope.
- 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.
-
deleteAtResourceWithResponse
com.azure.core.http.rest.Response<Void> deleteAtResourceWithResponse(String resourceId, String attestationName, com.azure.core.util.Context context) Deletes an existing attestation at individual resource scope.- Parameters:
resourceId
- Resource ID.attestationName
- The name of the attestation.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.
-
deleteAtResource
Deletes an existing attestation at individual resource scope.- Parameters:
resourceId
- Resource ID.attestationName
- The name of the attestation.- 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.
-