public interface Attestations
Modifier and Type | Method and Description |
---|---|
Attestation |
createOrUpdateAtResource(String resourceId,
String attestationName,
AttestationInner parameters)
Creates or updates an attestation at resource scope.
|
Attestation |
createOrUpdateAtResource(String resourceId,
String attestationName,
AttestationInner parameters,
com.azure.core.util.Context context)
Creates or updates an attestation at resource scope.
|
Attestation |
createOrUpdateAtSubscription(String attestationName,
AttestationInner parameters)
Creates or updates an attestation at subscription scope.
|
Attestation |
createOrUpdateAtSubscription(String attestationName,
AttestationInner parameters,
com.azure.core.util.Context context)
Creates or updates an attestation at subscription scope.
|
Attestation.DefinitionStages.Blank |
define(String name)
Begins definition for a new Attestation resource.
|
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.
|
void |
deleteById(String id)
Deletes an existing attestation at resource group scope.
|
com.azure.core.http.rest.Response<Void> |
deleteByIdWithResponse(String id,
com.azure.core.util.Context context)
Deletes an existing attestation at resource group scope.
|
void |
deleteByResourceGroup(String resourceGroupName,
String attestationName)
Deletes an existing attestation at resource group 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.
|
Attestation |
getAtResource(String resourceId,
String attestationName)
Gets an existing attestation at resource scope.
|
com.azure.core.http.rest.Response<Attestation> |
getAtResourceWithResponse(String resourceId,
String attestationName,
com.azure.core.util.Context context)
Gets an existing attestation at resource scope.
|
Attestation |
getAtSubscription(String attestationName)
Gets an existing attestation at subscription scope.
|
com.azure.core.http.rest.Response<Attestation> |
getAtSubscriptionWithResponse(String attestationName,
com.azure.core.util.Context context)
Gets an existing attestation at subscription scope.
|
Attestation |
getById(String id)
Gets an existing attestation at resource group scope.
|
com.azure.core.http.rest.Response<Attestation> |
getByIdWithResponse(String id,
com.azure.core.util.Context context)
Gets an existing attestation at resource group scope.
|
Attestation |
getByResourceGroup(String resourceGroupName,
String attestationName)
Gets an existing attestation at resource group scope.
|
com.azure.core.http.rest.Response<Attestation> |
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<Attestation> |
list()
Gets all attestations for the subscription.
|
com.azure.core.http.rest.PagedIterable<Attestation> |
list(Integer top,
String filter,
com.azure.core.util.Context context)
Gets all attestations for the subscription.
|
com.azure.core.http.rest.PagedIterable<Attestation> |
listByResourceGroup(String resourceGroupName)
Gets all attestations for the resource group.
|
com.azure.core.http.rest.PagedIterable<Attestation> |
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<Attestation> |
listForResource(String resourceId)
Gets all attestations for a resource.
|
com.azure.core.http.rest.PagedIterable<Attestation> |
listForResource(String resourceId,
Integer top,
String filter,
com.azure.core.util.Context context)
Gets all attestations for a resource.
|
com.azure.core.http.rest.PagedIterable<Attestation> list()
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.com.azure.core.http.rest.PagedIterable<Attestation> list(Integer top, String filter, com.azure.core.util.Context context)
top
- Maximum number of records to return.filter
- OData filter expression.context
- The context to associate with this operation.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.Attestation createOrUpdateAtSubscription(String attestationName, AttestationInner parameters)
attestationName
- The name of the attestation.parameters
- The attestation parameters.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.Attestation createOrUpdateAtSubscription(String attestationName, AttestationInner parameters, com.azure.core.util.Context context)
attestationName
- The name of the attestation.parameters
- The attestation parameters.context
- The context to associate with this operation.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.Attestation getAtSubscription(String attestationName)
attestationName
- The name of the attestation.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.com.azure.core.http.rest.Response<Attestation> getAtSubscriptionWithResponse(String attestationName, com.azure.core.util.Context context)
attestationName
- The name of the attestation.context
- The context to associate with this operation.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.void deleteAtSubscription(String attestationName)
attestationName
- The name of the attestation.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.com.azure.core.http.rest.Response<Void> deleteAtSubscriptionWithResponse(String attestationName, com.azure.core.util.Context context)
attestationName
- The name of the attestation.context
- The context to associate with this operation.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.com.azure.core.http.rest.PagedIterable<Attestation> listByResourceGroup(String resourceGroupName)
resourceGroupName
- The name of the resource group. The name is case insensitive.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.com.azure.core.http.rest.PagedIterable<Attestation> listByResourceGroup(String resourceGroupName, Integer top, String filter, com.azure.core.util.Context context)
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.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.Attestation getByResourceGroup(String resourceGroupName, String attestationName)
resourceGroupName
- The name of the resource group. The name is case insensitive.attestationName
- The name of the attestation.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.com.azure.core.http.rest.Response<Attestation> getByResourceGroupWithResponse(String resourceGroupName, String attestationName, com.azure.core.util.Context context)
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.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.void deleteByResourceGroup(String resourceGroupName, String attestationName)
resourceGroupName
- The name of the resource group. The name is case insensitive.attestationName
- The name of the attestation.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.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String attestationName, com.azure.core.util.Context context)
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.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.com.azure.core.http.rest.PagedIterable<Attestation> listForResource(String resourceId)
resourceId
- Resource ID.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.com.azure.core.http.rest.PagedIterable<Attestation> listForResource(String resourceId, Integer top, String filter, com.azure.core.util.Context context)
resourceId
- Resource ID.top
- Maximum number of records to return.filter
- OData filter expression.context
- The context to associate with this operation.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.Attestation createOrUpdateAtResource(String resourceId, String attestationName, AttestationInner parameters)
resourceId
- Resource ID.attestationName
- The name of the attestation.parameters
- The attestation parameters.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.Attestation createOrUpdateAtResource(String resourceId, String attestationName, AttestationInner parameters, com.azure.core.util.Context context)
resourceId
- Resource ID.attestationName
- The name of the attestation.parameters
- The attestation parameters.context
- The context to associate with this operation.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.Attestation getAtResource(String resourceId, String attestationName)
resourceId
- Resource ID.attestationName
- The name of the attestation.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.com.azure.core.http.rest.Response<Attestation> getAtResourceWithResponse(String resourceId, String attestationName, com.azure.core.util.Context context)
resourceId
- Resource ID.attestationName
- The name of the attestation.context
- The context to associate with this operation.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.void deleteAtResource(String resourceId, String attestationName)
resourceId
- Resource ID.attestationName
- The name of the attestation.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.com.azure.core.http.rest.Response<Void> deleteAtResourceWithResponse(String resourceId, String attestationName, com.azure.core.util.Context context)
resourceId
- Resource ID.attestationName
- The name of the attestation.context
- The context to associate with this operation.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.Attestation getById(String id)
id
- the resource ID.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.com.azure.core.http.rest.Response<Attestation> getByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.context
- The context to associate with this operation.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.void deleteById(String id)
id
- the resource ID.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.com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.context
- The context to associate with this operation.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.Attestation.DefinitionStages.Blank define(String name)
name
- resource name.Copyright © 2021 Microsoft Corporation. All rights reserved.