Interface AttestationsClient
-
public interface AttestationsClient
An instance of this class provides access to all the operations defined in AttestationsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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.AttestationInner
createOrUpdateAtResource(String resourceId, String attestationName, AttestationInner parameters)
Creates or updates an attestation at resource scope.AttestationInner
createOrUpdateAtResource(String resourceId, String attestationName, AttestationInner parameters, com.azure.core.util.Context context)
Creates or updates an attestation at resource scope.AttestationInner
createOrUpdateAtResourceGroup(String resourceGroupName, String attestationName, AttestationInner parameters)
Creates or updates an attestation at resource group scope.AttestationInner
createOrUpdateAtResourceGroup(String resourceGroupName, String attestationName, AttestationInner parameters, com.azure.core.util.Context context)
Creates or updates an attestation at resource group scope.AttestationInner
createOrUpdateAtSubscription(String attestationName, AttestationInner parameters)
Creates or updates an attestation at subscription scope.AttestationInner
createOrUpdateAtSubscription(String attestationName, AttestationInner parameters, com.azure.core.util.Context context)
Creates or updates an attestation at subscription scope.void
delete(String resourceGroupName, String attestationName)
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.AttestationInner
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.AttestationInner
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.AttestationInner
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>
list(Integer top, String filter, com.azure.core.util.Context context)
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 Detail
-
list
com.azure.core.http.rest.PagedIterable<AttestationInner> list()
Gets all attestations for the subscription.- Returns:
- all attestations for the subscription.
- 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.
- 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:
- 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:
- 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)
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.
-
getAtSubscription
AttestationInner getAtSubscription(String attestationName)
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.
-
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.
- 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
void deleteAtSubscription(String attestationName)
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.
-
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.
-
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.
- 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.
- 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:
- 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:
- 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.
-
getByResourceGroup
AttestationInner getByResourceGroup(String resourceGroupName, String attestationName)
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.
-
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.
- 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
void delete(String resourceGroupName, String attestationName)
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.
-
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.
-
listForResource
com.azure.core.http.rest.PagedIterable<AttestationInner> listForResource(String resourceId)
Gets all attestations for a resource.- Parameters:
resourceId
- Resource ID.- Returns:
- all attestations for a 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.
-
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.
- 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:
- 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:
- 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.
-
getAtResource
AttestationInner getAtResource(String resourceId, String attestationName)
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.
-
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.
- 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
void deleteAtResource(String resourceId, String attestationName)
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.
-
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.
-
-