AttestationProvider

class AttestationProvider : KotlinCustomResource

Attestation service response message. Uses Azure REST API version 2021-06-01. In version 2.x of the Azure Native provider, it used API version 2021-06-01.

Example Usage

AttestationProviders_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var attestationProvider = new AzureNative.Attestation.AttestationProvider("attestationProvider", new()
{
Location = "East US",
Properties = new AzureNative.Attestation.Inputs.AttestationServiceCreationSpecificParamsArgs
{
PublicNetworkAccess = AzureNative.Attestation.PublicNetworkAccessType.Enabled,
TpmAttestationAuthentication = AzureNative.Attestation.TpmAttestationAuthenticationType.Enabled,
},
ProviderName = "myattestationprovider",
ResourceGroupName = "MyResourceGroup",
Tags =
{
{ "Property1", "Value1" },
{ "Property2", "Value2" },
{ "Property3", "Value3" },
},
});
});
package main
import (
attestation "github.com/pulumi/pulumi-azure-native-sdk/attestation/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := attestation.NewAttestationProvider(ctx, "attestationProvider", &attestation.AttestationProviderArgs{
Location: pulumi.String("East US"),
Properties: &attestation.AttestationServiceCreationSpecificParamsArgs{
PublicNetworkAccess: pulumi.String(attestation.PublicNetworkAccessTypeEnabled),
TpmAttestationAuthentication: pulumi.String(attestation.TpmAttestationAuthenticationTypeEnabled),
},
ProviderName: pulumi.String("myattestationprovider"),
ResourceGroupName: pulumi.String("MyResourceGroup"),
Tags: pulumi.StringMap{
"Property1": pulumi.String("Value1"),
"Property2": pulumi.String("Value2"),
"Property3": pulumi.String("Value3"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.attestation.AttestationProvider;
import com.pulumi.azurenative.attestation.AttestationProviderArgs;
import com.pulumi.azurenative.attestation.inputs.AttestationServiceCreationSpecificParamsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var attestationProvider = new AttestationProvider("attestationProvider", AttestationProviderArgs.builder()
.location("East US")
.properties(AttestationServiceCreationSpecificParamsArgs.builder()
.publicNetworkAccess("Enabled")
.tpmAttestationAuthentication("Enabled")
.build())
.providerName("myattestationprovider")
.resourceGroupName("MyResourceGroup")
.tags(Map.ofEntries(
Map.entry("Property1", "Value1"),
Map.entry("Property2", "Value2"),
Map.entry("Property3", "Value3")
))
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:attestation:AttestationProvider myattestationprovider /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}

Properties

Link copied to clipboard
val attestUri: Output<String>?

Gets the uri of attestation service

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

List of private endpoint connections associated with the attestation provider.

Link copied to clipboard

Controls whether traffic from the public network is allowed to access the Attestation Provider APIs.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val status: Output<String>?

Status of attestation service.

Link copied to clipboard

The system metadata relating to this resource

Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags.

Link copied to clipboard

The setting that controls whether authentication is enabled or disabled for TPM Attestation REST APIs.

Link copied to clipboard
val trustModel: Output<String>?

Trust model for the attestation provider.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>