Attestations interface
Interface representing a Attestations.
Methods
Method Details
beginCreateOrUpdateAtResource(string, string, Attestation, AttestationsCreateOrUpdateAtResourceOptionalParams)
Creates or updates an attestation at resource scope.
function beginCreateOrUpdateAtResource(resourceId: string, attestationName: string, parameters: Attestation, options?: AttestationsCreateOrUpdateAtResourceOptionalParams): Promise<PollerLike<PollOperationState<Attestation>, Attestation>>
Parameters
- resourceId
-
string
Resource ID.
- attestationName
-
string
The name of the attestation.
- parameters
- Attestation
The attestation parameters.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<Attestation>, Attestation>>
beginCreateOrUpdateAtResourceAndWait(string, string, Attestation, AttestationsCreateOrUpdateAtResourceOptionalParams)
Creates or updates an attestation at resource scope.
function beginCreateOrUpdateAtResourceAndWait(resourceId: string, attestationName: string, parameters: Attestation, options?: AttestationsCreateOrUpdateAtResourceOptionalParams): Promise<Attestation>
Parameters
- resourceId
-
string
Resource ID.
- attestationName
-
string
The name of the attestation.
- parameters
- Attestation
The attestation parameters.
The options parameters.
Returns
Promise<Attestation>
beginCreateOrUpdateAtResourceGroup(string, string, Attestation, AttestationsCreateOrUpdateAtResourceGroupOptionalParams)
Creates or updates an attestation at resource group scope.
function beginCreateOrUpdateAtResourceGroup(resourceGroupName: string, attestationName: string, parameters: Attestation, options?: AttestationsCreateOrUpdateAtResourceGroupOptionalParams): Promise<PollerLike<PollOperationState<Attestation>, Attestation>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- attestationName
-
string
The name of the attestation.
- parameters
- Attestation
The attestation parameters.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<Attestation>, Attestation>>
beginCreateOrUpdateAtResourceGroupAndWait(string, string, Attestation, AttestationsCreateOrUpdateAtResourceGroupOptionalParams)
Creates or updates an attestation at resource group scope.
function beginCreateOrUpdateAtResourceGroupAndWait(resourceGroupName: string, attestationName: string, parameters: Attestation, options?: AttestationsCreateOrUpdateAtResourceGroupOptionalParams): Promise<Attestation>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- attestationName
-
string
The name of the attestation.
- parameters
- Attestation
The attestation parameters.
The options parameters.
Returns
Promise<Attestation>
beginCreateOrUpdateAtSubscription(string, Attestation, AttestationsCreateOrUpdateAtSubscriptionOptionalParams)
Creates or updates an attestation at subscription scope.
function beginCreateOrUpdateAtSubscription(attestationName: string, parameters: Attestation, options?: AttestationsCreateOrUpdateAtSubscriptionOptionalParams): Promise<PollerLike<PollOperationState<Attestation>, Attestation>>
Parameters
- attestationName
-
string
The name of the attestation.
- parameters
- Attestation
The attestation parameters.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<Attestation>, Attestation>>
beginCreateOrUpdateAtSubscriptionAndWait(string, Attestation, AttestationsCreateOrUpdateAtSubscriptionOptionalParams)
Creates or updates an attestation at subscription scope.
function beginCreateOrUpdateAtSubscriptionAndWait(attestationName: string, parameters: Attestation, options?: AttestationsCreateOrUpdateAtSubscriptionOptionalParams): Promise<Attestation>
Parameters
- attestationName
-
string
The name of the attestation.
- parameters
- Attestation
The attestation parameters.
The options parameters.
Returns
Promise<Attestation>
deleteAtResource(string, string, AttestationsDeleteAtResourceOptionalParams)
Deletes an existing attestation at individual resource scope.
function deleteAtResource(resourceId: string, attestationName: string, options?: AttestationsDeleteAtResourceOptionalParams): Promise<void>
Parameters
- resourceId
-
string
Resource ID.
- attestationName
-
string
The name of the attestation.
The options parameters.
Returns
Promise<void>
deleteAtResourceGroup(string, string, AttestationsDeleteAtResourceGroupOptionalParams)
Deletes an existing attestation at resource group scope.
function deleteAtResourceGroup(resourceGroupName: string, attestationName: string, options?: AttestationsDeleteAtResourceGroupOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- attestationName
-
string
The name of the attestation.
The options parameters.
Returns
Promise<void>
deleteAtSubscription(string, AttestationsDeleteAtSubscriptionOptionalParams)
Deletes an existing attestation at subscription scope.
function deleteAtSubscription(attestationName: string, options?: AttestationsDeleteAtSubscriptionOptionalParams): Promise<void>
Parameters
- attestationName
-
string
The name of the attestation.
The options parameters.
Returns
Promise<void>
getAtResource(string, string, AttestationsGetAtResourceOptionalParams)
Gets an existing attestation at resource scope.
function getAtResource(resourceId: string, attestationName: string, options?: AttestationsGetAtResourceOptionalParams): Promise<Attestation>
Parameters
- resourceId
-
string
Resource ID.
- attestationName
-
string
The name of the attestation.
The options parameters.
Returns
Promise<Attestation>
getAtResourceGroup(string, string, AttestationsGetAtResourceGroupOptionalParams)
Gets an existing attestation at resource group scope.
function getAtResourceGroup(resourceGroupName: string, attestationName: string, options?: AttestationsGetAtResourceGroupOptionalParams): Promise<Attestation>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- attestationName
-
string
The name of the attestation.
The options parameters.
Returns
Promise<Attestation>
getAtSubscription(string, AttestationsGetAtSubscriptionOptionalParams)
Gets an existing attestation at subscription scope.
function getAtSubscription(attestationName: string, options?: AttestationsGetAtSubscriptionOptionalParams): Promise<Attestation>
Parameters
- attestationName
-
string
The name of the attestation.
The options parameters.
Returns
Promise<Attestation>
listForResource(string, AttestationsListForResourceOptionalParams)
Gets all attestations for a resource.
function listForResource(resourceId: string, options?: AttestationsListForResourceOptionalParams): PagedAsyncIterableIterator<Attestation, Attestation[], PageSettings>
Parameters
- resourceId
-
string
Resource ID.
The options parameters.
Returns
listForResourceGroup(string, AttestationsListForResourceGroupOptionalParams)
Gets all attestations for the resource group.
function listForResourceGroup(resourceGroupName: string, options?: AttestationsListForResourceGroupOptionalParams): PagedAsyncIterableIterator<Attestation, Attestation[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
The options parameters.
Returns
listForSubscription(AttestationsListForSubscriptionOptionalParams)
Gets all attestations for the subscription.
function listForSubscription(options?: AttestationsListForSubscriptionOptionalParams): PagedAsyncIterableIterator<Attestation, Attestation[], PageSettings>
Parameters
The options parameters.