We recommend using Azure Native.
azure.confidentialledger.Ledger
Manages a Confidential Ledger.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const current = azure.core.getClientConfig({});
const example = new azure.core.ResourceGroup("example", {
    name: "example-resources",
    location: "West Europe",
});
const ledger = new azure.confidentialledger.Ledger("ledger", {
    name: "example-ledger",
    resourceGroupName: example.name,
    location: example.location,
    ledgerType: "Private",
    azureadBasedServicePrincipals: [{
        principalId: current.then(current => current.objectId),
        tenantId: current.then(current => current.tenantId),
        ledgerRoleName: "Administrator",
    }],
});
import pulumi
import pulumi_azure as azure
current = azure.core.get_client_config()
example = azure.core.ResourceGroup("example",
    name="example-resources",
    location="West Europe")
ledger = azure.confidentialledger.Ledger("ledger",
    name="example-ledger",
    resource_group_name=example.name,
    location=example.location,
    ledger_type="Private",
    azuread_based_service_principals=[{
        "principal_id": current.object_id,
        "tenant_id": current.tenant_id,
        "ledger_role_name": "Administrator",
    }])
package main
import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/confidentialledger"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil)
		if err != nil {
			return err
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = confidentialledger.NewLedger(ctx, "ledger", &confidentialledger.LedgerArgs{
			Name:              pulumi.String("example-ledger"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			LedgerType:        pulumi.String("Private"),
			AzureadBasedServicePrincipals: confidentialledger.LedgerAzureadBasedServicePrincipalArray{
				&confidentialledger.LedgerAzureadBasedServicePrincipalArgs{
					PrincipalId:    pulumi.String(current.ObjectId),
					TenantId:       pulumi.String(current.TenantId),
					LedgerRoleName: pulumi.String("Administrator"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() => 
{
    var current = Azure.Core.GetClientConfig.Invoke();
    var example = new Azure.Core.ResourceGroup("example", new()
    {
        Name = "example-resources",
        Location = "West Europe",
    });
    var ledger = new Azure.ConfidentialLedger.Ledger("ledger", new()
    {
        Name = "example-ledger",
        ResourceGroupName = example.Name,
        Location = example.Location,
        LedgerType = "Private",
        AzureadBasedServicePrincipals = new[]
        {
            new Azure.ConfidentialLedger.Inputs.LedgerAzureadBasedServicePrincipalArgs
            {
                PrincipalId = current.Apply(getClientConfigResult => getClientConfigResult.ObjectId),
                TenantId = current.Apply(getClientConfigResult => getClientConfigResult.TenantId),
                LedgerRoleName = "Administrator",
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.CoreFunctions;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.confidentialledger.Ledger;
import com.pulumi.azure.confidentialledger.LedgerArgs;
import com.pulumi.azure.confidentialledger.inputs.LedgerAzureadBasedServicePrincipalArgs;
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) {
        final var current = CoreFunctions.getClientConfig(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
        var example = new ResourceGroup("example", ResourceGroupArgs.builder()
            .name("example-resources")
            .location("West Europe")
            .build());
        var ledger = new Ledger("ledger", LedgerArgs.builder()
            .name("example-ledger")
            .resourceGroupName(example.name())
            .location(example.location())
            .ledgerType("Private")
            .azureadBasedServicePrincipals(LedgerAzureadBasedServicePrincipalArgs.builder()
                .principalId(current.objectId())
                .tenantId(current.tenantId())
                .ledgerRoleName("Administrator")
                .build())
            .build());
    }
}
resources:
  example:
    type: azure:core:ResourceGroup
    properties:
      name: example-resources
      location: West Europe
  ledger:
    type: azure:confidentialledger:Ledger
    properties:
      name: example-ledger
      resourceGroupName: ${example.name}
      location: ${example.location}
      ledgerType: Private
      azureadBasedServicePrincipals:
        - principalId: ${current.objectId}
          tenantId: ${current.tenantId}
          ledgerRoleName: Administrator
variables:
  current:
    fn::invoke:
      function: azure:core:getClientConfig
      arguments: {}
API Providers
This resource uses the following Azure API Providers:
- Microsoft.ConfidentialLedger- 2022-05-13
Create Ledger Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Ledger(name: string, args: LedgerArgs, opts?: CustomResourceOptions);@overload
def Ledger(resource_name: str,
           args: LedgerArgs,
           opts: Optional[ResourceOptions] = None)
@overload
def Ledger(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           azuread_based_service_principals: Optional[Sequence[LedgerAzureadBasedServicePrincipalArgs]] = None,
           ledger_type: Optional[str] = None,
           resource_group_name: Optional[str] = None,
           certificate_based_security_principals: Optional[Sequence[LedgerCertificateBasedSecurityPrincipalArgs]] = None,
           location: Optional[str] = None,
           name: Optional[str] = None,
           tags: Optional[Mapping[str, str]] = None)func NewLedger(ctx *Context, name string, args LedgerArgs, opts ...ResourceOption) (*Ledger, error)public Ledger(string name, LedgerArgs args, CustomResourceOptions? opts = null)
public Ledger(String name, LedgerArgs args)
public Ledger(String name, LedgerArgs args, CustomResourceOptions options)
type: azure:confidentialledger:Ledger
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args LedgerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args LedgerArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args LedgerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LedgerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LedgerArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var ledgerResource = new Azure.ConfidentialLedger.Ledger("ledgerResource", new()
{
    AzureadBasedServicePrincipals = new[]
    {
        new Azure.ConfidentialLedger.Inputs.LedgerAzureadBasedServicePrincipalArgs
        {
            LedgerRoleName = "string",
            PrincipalId = "string",
            TenantId = "string",
        },
    },
    LedgerType = "string",
    ResourceGroupName = "string",
    CertificateBasedSecurityPrincipals = new[]
    {
        new Azure.ConfidentialLedger.Inputs.LedgerCertificateBasedSecurityPrincipalArgs
        {
            LedgerRoleName = "string",
            PemPublicKey = "string",
        },
    },
    Location = "string",
    Name = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := confidentialledger.NewLedger(ctx, "ledgerResource", &confidentialledger.LedgerArgs{
	AzureadBasedServicePrincipals: confidentialledger.LedgerAzureadBasedServicePrincipalArray{
		&confidentialledger.LedgerAzureadBasedServicePrincipalArgs{
			LedgerRoleName: pulumi.String("string"),
			PrincipalId:    pulumi.String("string"),
			TenantId:       pulumi.String("string"),
		},
	},
	LedgerType:        pulumi.String("string"),
	ResourceGroupName: pulumi.String("string"),
	CertificateBasedSecurityPrincipals: confidentialledger.LedgerCertificateBasedSecurityPrincipalArray{
		&confidentialledger.LedgerCertificateBasedSecurityPrincipalArgs{
			LedgerRoleName: pulumi.String("string"),
			PemPublicKey:   pulumi.String("string"),
		},
	},
	Location: pulumi.String("string"),
	Name:     pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var ledgerResource = new Ledger("ledgerResource", LedgerArgs.builder()
    .azureadBasedServicePrincipals(LedgerAzureadBasedServicePrincipalArgs.builder()
        .ledgerRoleName("string")
        .principalId("string")
        .tenantId("string")
        .build())
    .ledgerType("string")
    .resourceGroupName("string")
    .certificateBasedSecurityPrincipals(LedgerCertificateBasedSecurityPrincipalArgs.builder()
        .ledgerRoleName("string")
        .pemPublicKey("string")
        .build())
    .location("string")
    .name("string")
    .tags(Map.of("string", "string"))
    .build());
ledger_resource = azure.confidentialledger.Ledger("ledgerResource",
    azuread_based_service_principals=[{
        "ledger_role_name": "string",
        "principal_id": "string",
        "tenant_id": "string",
    }],
    ledger_type="string",
    resource_group_name="string",
    certificate_based_security_principals=[{
        "ledger_role_name": "string",
        "pem_public_key": "string",
    }],
    location="string",
    name="string",
    tags={
        "string": "string",
    })
const ledgerResource = new azure.confidentialledger.Ledger("ledgerResource", {
    azureadBasedServicePrincipals: [{
        ledgerRoleName: "string",
        principalId: "string",
        tenantId: "string",
    }],
    ledgerType: "string",
    resourceGroupName: "string",
    certificateBasedSecurityPrincipals: [{
        ledgerRoleName: "string",
        pemPublicKey: "string",
    }],
    location: "string",
    name: "string",
    tags: {
        string: "string",
    },
});
type: azure:confidentialledger:Ledger
properties:
    azureadBasedServicePrincipals:
        - ledgerRoleName: string
          principalId: string
          tenantId: string
    certificateBasedSecurityPrincipals:
        - ledgerRoleName: string
          pemPublicKey: string
    ledgerType: string
    location: string
    name: string
    resourceGroupName: string
    tags:
        string: string
Ledger Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Ledger resource accepts the following input properties:
- AzureadBased List<LedgerService Principals Azuread Based Service Principal> 
- A list of azuread_based_service_principalblocks as defined below.
- LedgerType string
- Specifies the type of Confidential Ledger. Possible values are PrivateandPublic. Changing this forces a new resource to be created.
- ResourceGroup stringName 
- The name of the Resource Group where the Confidential Ledger exists. Changing this forces a new resource to be created.
- CertificateBased List<LedgerSecurity Principals Certificate Based Security Principal> 
- A list of certificate_based_security_principalblocks as defined below.
- Location string
- Specifies the supported Azure location where the Confidential Ledger exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the Confidential Ledger. Changing this forces a new resource to be created.
- Dictionary<string, string>
- A mapping of tags to assign to the Confidential Ledger.
- AzureadBased []LedgerService Principals Azuread Based Service Principal Args 
- A list of azuread_based_service_principalblocks as defined below.
- LedgerType string
- Specifies the type of Confidential Ledger. Possible values are PrivateandPublic. Changing this forces a new resource to be created.
- ResourceGroup stringName 
- The name of the Resource Group where the Confidential Ledger exists. Changing this forces a new resource to be created.
- CertificateBased []LedgerSecurity Principals Certificate Based Security Principal Args 
- A list of certificate_based_security_principalblocks as defined below.
- Location string
- Specifies the supported Azure location where the Confidential Ledger exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the Confidential Ledger. Changing this forces a new resource to be created.
- map[string]string
- A mapping of tags to assign to the Confidential Ledger.
- azureadBased List<LedgerService Principals Azuread Based Service Principal> 
- A list of azuread_based_service_principalblocks as defined below.
- ledgerType String
- Specifies the type of Confidential Ledger. Possible values are PrivateandPublic. Changing this forces a new resource to be created.
- resourceGroup StringName 
- The name of the Resource Group where the Confidential Ledger exists. Changing this forces a new resource to be created.
- certificateBased List<LedgerSecurity Principals Certificate Based Security Principal> 
- A list of certificate_based_security_principalblocks as defined below.
- location String
- Specifies the supported Azure location where the Confidential Ledger exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the Confidential Ledger. Changing this forces a new resource to be created.
- Map<String,String>
- A mapping of tags to assign to the Confidential Ledger.
- azureadBased LedgerService Principals Azuread Based Service Principal[] 
- A list of azuread_based_service_principalblocks as defined below.
- ledgerType string
- Specifies the type of Confidential Ledger. Possible values are PrivateandPublic. Changing this forces a new resource to be created.
- resourceGroup stringName 
- The name of the Resource Group where the Confidential Ledger exists. Changing this forces a new resource to be created.
- certificateBased LedgerSecurity Principals Certificate Based Security Principal[] 
- A list of certificate_based_security_principalblocks as defined below.
- location string
- Specifies the supported Azure location where the Confidential Ledger exists. Changing this forces a new resource to be created.
- name string
- Specifies the name of the Confidential Ledger. Changing this forces a new resource to be created.
- {[key: string]: string}
- A mapping of tags to assign to the Confidential Ledger.
- azuread_based_ Sequence[Ledgerservice_ principals Azuread Based Service Principal Args] 
- A list of azuread_based_service_principalblocks as defined below.
- ledger_type str
- Specifies the type of Confidential Ledger. Possible values are PrivateandPublic. Changing this forces a new resource to be created.
- resource_group_ strname 
- The name of the Resource Group where the Confidential Ledger exists. Changing this forces a new resource to be created.
- certificate_based_ Sequence[Ledgersecurity_ principals Certificate Based Security Principal Args] 
- A list of certificate_based_security_principalblocks as defined below.
- location str
- Specifies the supported Azure location where the Confidential Ledger exists. Changing this forces a new resource to be created.
- name str
- Specifies the name of the Confidential Ledger. Changing this forces a new resource to be created.
- Mapping[str, str]
- A mapping of tags to assign to the Confidential Ledger.
- azureadBased List<Property Map>Service Principals 
- A list of azuread_based_service_principalblocks as defined below.
- ledgerType String
- Specifies the type of Confidential Ledger. Possible values are PrivateandPublic. Changing this forces a new resource to be created.
- resourceGroup StringName 
- The name of the Resource Group where the Confidential Ledger exists. Changing this forces a new resource to be created.
- certificateBased List<Property Map>Security Principals 
- A list of certificate_based_security_principalblocks as defined below.
- location String
- Specifies the supported Azure location where the Confidential Ledger exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the Confidential Ledger. Changing this forces a new resource to be created.
- Map<String>
- A mapping of tags to assign to the Confidential Ledger.
Outputs
All input properties are implicitly available as output properties. Additionally, the Ledger resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- IdentityService stringEndpoint 
- The Identity Service Endpoint for this Confidential Ledger.
- LedgerEndpoint string
- The Endpoint for this Confidential Ledger.
- Id string
- The provider-assigned unique ID for this managed resource.
- IdentityService stringEndpoint 
- The Identity Service Endpoint for this Confidential Ledger.
- LedgerEndpoint string
- The Endpoint for this Confidential Ledger.
- id String
- The provider-assigned unique ID for this managed resource.
- identityService StringEndpoint 
- The Identity Service Endpoint for this Confidential Ledger.
- ledgerEndpoint String
- The Endpoint for this Confidential Ledger.
- id string
- The provider-assigned unique ID for this managed resource.
- identityService stringEndpoint 
- The Identity Service Endpoint for this Confidential Ledger.
- ledgerEndpoint string
- The Endpoint for this Confidential Ledger.
- id str
- The provider-assigned unique ID for this managed resource.
- identity_service_ strendpoint 
- The Identity Service Endpoint for this Confidential Ledger.
- ledger_endpoint str
- The Endpoint for this Confidential Ledger.
- id String
- The provider-assigned unique ID for this managed resource.
- identityService StringEndpoint 
- The Identity Service Endpoint for this Confidential Ledger.
- ledgerEndpoint String
- The Endpoint for this Confidential Ledger.
Look up Existing Ledger Resource
Get an existing Ledger resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: LedgerState, opts?: CustomResourceOptions): Ledger@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        azuread_based_service_principals: Optional[Sequence[LedgerAzureadBasedServicePrincipalArgs]] = None,
        certificate_based_security_principals: Optional[Sequence[LedgerCertificateBasedSecurityPrincipalArgs]] = None,
        identity_service_endpoint: Optional[str] = None,
        ledger_endpoint: Optional[str] = None,
        ledger_type: Optional[str] = None,
        location: Optional[str] = None,
        name: Optional[str] = None,
        resource_group_name: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None) -> Ledgerfunc GetLedger(ctx *Context, name string, id IDInput, state *LedgerState, opts ...ResourceOption) (*Ledger, error)public static Ledger Get(string name, Input<string> id, LedgerState? state, CustomResourceOptions? opts = null)public static Ledger get(String name, Output<String> id, LedgerState state, CustomResourceOptions options)resources:  _:    type: azure:confidentialledger:Ledger    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- AzureadBased List<LedgerService Principals Azuread Based Service Principal> 
- A list of azuread_based_service_principalblocks as defined below.
- CertificateBased List<LedgerSecurity Principals Certificate Based Security Principal> 
- A list of certificate_based_security_principalblocks as defined below.
- IdentityService stringEndpoint 
- The Identity Service Endpoint for this Confidential Ledger.
- LedgerEndpoint string
- The Endpoint for this Confidential Ledger.
- LedgerType string
- Specifies the type of Confidential Ledger. Possible values are PrivateandPublic. Changing this forces a new resource to be created.
- Location string
- Specifies the supported Azure location where the Confidential Ledger exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the Confidential Ledger. Changing this forces a new resource to be created.
- ResourceGroup stringName 
- The name of the Resource Group where the Confidential Ledger exists. Changing this forces a new resource to be created.
- Dictionary<string, string>
- A mapping of tags to assign to the Confidential Ledger.
- AzureadBased []LedgerService Principals Azuread Based Service Principal Args 
- A list of azuread_based_service_principalblocks as defined below.
- CertificateBased []LedgerSecurity Principals Certificate Based Security Principal Args 
- A list of certificate_based_security_principalblocks as defined below.
- IdentityService stringEndpoint 
- The Identity Service Endpoint for this Confidential Ledger.
- LedgerEndpoint string
- The Endpoint for this Confidential Ledger.
- LedgerType string
- Specifies the type of Confidential Ledger. Possible values are PrivateandPublic. Changing this forces a new resource to be created.
- Location string
- Specifies the supported Azure location where the Confidential Ledger exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the Confidential Ledger. Changing this forces a new resource to be created.
- ResourceGroup stringName 
- The name of the Resource Group where the Confidential Ledger exists. Changing this forces a new resource to be created.
- map[string]string
- A mapping of tags to assign to the Confidential Ledger.
- azureadBased List<LedgerService Principals Azuread Based Service Principal> 
- A list of azuread_based_service_principalblocks as defined below.
- certificateBased List<LedgerSecurity Principals Certificate Based Security Principal> 
- A list of certificate_based_security_principalblocks as defined below.
- identityService StringEndpoint 
- The Identity Service Endpoint for this Confidential Ledger.
- ledgerEndpoint String
- The Endpoint for this Confidential Ledger.
- ledgerType String
- Specifies the type of Confidential Ledger. Possible values are PrivateandPublic. Changing this forces a new resource to be created.
- location String
- Specifies the supported Azure location where the Confidential Ledger exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the Confidential Ledger. Changing this forces a new resource to be created.
- resourceGroup StringName 
- The name of the Resource Group where the Confidential Ledger exists. Changing this forces a new resource to be created.
- Map<String,String>
- A mapping of tags to assign to the Confidential Ledger.
- azureadBased LedgerService Principals Azuread Based Service Principal[] 
- A list of azuread_based_service_principalblocks as defined below.
- certificateBased LedgerSecurity Principals Certificate Based Security Principal[] 
- A list of certificate_based_security_principalblocks as defined below.
- identityService stringEndpoint 
- The Identity Service Endpoint for this Confidential Ledger.
- ledgerEndpoint string
- The Endpoint for this Confidential Ledger.
- ledgerType string
- Specifies the type of Confidential Ledger. Possible values are PrivateandPublic. Changing this forces a new resource to be created.
- location string
- Specifies the supported Azure location where the Confidential Ledger exists. Changing this forces a new resource to be created.
- name string
- Specifies the name of the Confidential Ledger. Changing this forces a new resource to be created.
- resourceGroup stringName 
- The name of the Resource Group where the Confidential Ledger exists. Changing this forces a new resource to be created.
- {[key: string]: string}
- A mapping of tags to assign to the Confidential Ledger.
- azuread_based_ Sequence[Ledgerservice_ principals Azuread Based Service Principal Args] 
- A list of azuread_based_service_principalblocks as defined below.
- certificate_based_ Sequence[Ledgersecurity_ principals Certificate Based Security Principal Args] 
- A list of certificate_based_security_principalblocks as defined below.
- identity_service_ strendpoint 
- The Identity Service Endpoint for this Confidential Ledger.
- ledger_endpoint str
- The Endpoint for this Confidential Ledger.
- ledger_type str
- Specifies the type of Confidential Ledger. Possible values are PrivateandPublic. Changing this forces a new resource to be created.
- location str
- Specifies the supported Azure location where the Confidential Ledger exists. Changing this forces a new resource to be created.
- name str
- Specifies the name of the Confidential Ledger. Changing this forces a new resource to be created.
- resource_group_ strname 
- The name of the Resource Group where the Confidential Ledger exists. Changing this forces a new resource to be created.
- Mapping[str, str]
- A mapping of tags to assign to the Confidential Ledger.
- azureadBased List<Property Map>Service Principals 
- A list of azuread_based_service_principalblocks as defined below.
- certificateBased List<Property Map>Security Principals 
- A list of certificate_based_security_principalblocks as defined below.
- identityService StringEndpoint 
- The Identity Service Endpoint for this Confidential Ledger.
- ledgerEndpoint String
- The Endpoint for this Confidential Ledger.
- ledgerType String
- Specifies the type of Confidential Ledger. Possible values are PrivateandPublic. Changing this forces a new resource to be created.
- location String
- Specifies the supported Azure location where the Confidential Ledger exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the Confidential Ledger. Changing this forces a new resource to be created.
- resourceGroup StringName 
- The name of the Resource Group where the Confidential Ledger exists. Changing this forces a new resource to be created.
- Map<String>
- A mapping of tags to assign to the Confidential Ledger.
Supporting Types
LedgerAzureadBasedServicePrincipal, LedgerAzureadBasedServicePrincipalArgs          
- LedgerRole stringName 
- Specifies the Ledger Role to grant this AzureAD Service Principal. Possible values are Administrator,ContributorandReader.
- PrincipalId string
- Specifies the Principal ID of the AzureAD Service Principal.
- TenantId string
- Specifies the Tenant ID for this AzureAD Service Principal.
- LedgerRole stringName 
- Specifies the Ledger Role to grant this AzureAD Service Principal. Possible values are Administrator,ContributorandReader.
- PrincipalId string
- Specifies the Principal ID of the AzureAD Service Principal.
- TenantId string
- Specifies the Tenant ID for this AzureAD Service Principal.
- ledgerRole StringName 
- Specifies the Ledger Role to grant this AzureAD Service Principal. Possible values are Administrator,ContributorandReader.
- principalId String
- Specifies the Principal ID of the AzureAD Service Principal.
- tenantId String
- Specifies the Tenant ID for this AzureAD Service Principal.
- ledgerRole stringName 
- Specifies the Ledger Role to grant this AzureAD Service Principal. Possible values are Administrator,ContributorandReader.
- principalId string
- Specifies the Principal ID of the AzureAD Service Principal.
- tenantId string
- Specifies the Tenant ID for this AzureAD Service Principal.
- ledger_role_ strname 
- Specifies the Ledger Role to grant this AzureAD Service Principal. Possible values are Administrator,ContributorandReader.
- principal_id str
- Specifies the Principal ID of the AzureAD Service Principal.
- tenant_id str
- Specifies the Tenant ID for this AzureAD Service Principal.
- ledgerRole StringName 
- Specifies the Ledger Role to grant this AzureAD Service Principal. Possible values are Administrator,ContributorandReader.
- principalId String
- Specifies the Principal ID of the AzureAD Service Principal.
- tenantId String
- Specifies the Tenant ID for this AzureAD Service Principal.
LedgerCertificateBasedSecurityPrincipal, LedgerCertificateBasedSecurityPrincipalArgs          
- LedgerRole stringName 
- Specifies the Ledger Role to grant this Certificate Security Principal. Possible values are Administrator,ContributorandReader.
- PemPublic stringKey 
- The public key, in PEM format, of the certificate used by this identity to authenticate with the Confidential Ledger.
- LedgerRole stringName 
- Specifies the Ledger Role to grant this Certificate Security Principal. Possible values are Administrator,ContributorandReader.
- PemPublic stringKey 
- The public key, in PEM format, of the certificate used by this identity to authenticate with the Confidential Ledger.
- ledgerRole StringName 
- Specifies the Ledger Role to grant this Certificate Security Principal. Possible values are Administrator,ContributorandReader.
- pemPublic StringKey 
- The public key, in PEM format, of the certificate used by this identity to authenticate with the Confidential Ledger.
- ledgerRole stringName 
- Specifies the Ledger Role to grant this Certificate Security Principal. Possible values are Administrator,ContributorandReader.
- pemPublic stringKey 
- The public key, in PEM format, of the certificate used by this identity to authenticate with the Confidential Ledger.
- ledger_role_ strname 
- Specifies the Ledger Role to grant this Certificate Security Principal. Possible values are Administrator,ContributorandReader.
- pem_public_ strkey 
- The public key, in PEM format, of the certificate used by this identity to authenticate with the Confidential Ledger.
- ledgerRole StringName 
- Specifies the Ledger Role to grant this Certificate Security Principal. Possible values are Administrator,ContributorandReader.
- pemPublic StringKey 
- The public key, in PEM format, of the certificate used by this identity to authenticate with the Confidential Ledger.
Import
Confidential Ledgers can be imported using the resource id, e.g.
$ pulumi import azure:confidentialledger/ledger:Ledger example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/example-group/providers/Microsoft.ConfidentialLedger/ledgers/example-ledger
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azurermTerraform Provider.
