Attestation Provider
Attestation service response message. Uses Azure REST API version 2021-06-01. In version 1.x of the Azure Native provider, it used API version 2020-10-01. Other available API versions: 2021-06-01-preview.
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" },
},
});
});
Content copied to clipboard
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
})
}
Content copied to clipboard
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());
}
}
Content copied to clipboard
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}
Content copied to clipboard
Properties
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The system metadata relating to this resource
Link copied to clipboard
The setting that controls whether authentication is enabled or disabled for TPM Attestation REST APIs.
Link copied to clipboard
Trust model for the attestation provider.