1. Packages
  2. Azure Native
  3. API Docs
  4. confidentialledger
  5. Ledger
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

azure-native.confidentialledger.Ledger

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

    Confidential Ledger. Contains the properties of Confidential Ledger Resource.

    Uses Azure REST API version 2023-06-28-preview. In version 2.x of the Azure Native provider, it used API version 2022-05-13.

    Other available API versions: 2022-05-13, 2022-09-08-preview, 2023-01-26-preview, 2024-07-09-preview, 2024-09-19-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native confidentialledger [ApiVersion]. See the version guide for details.

    Example Usage

    ConfidentialLedgerCreate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var ledger = new AzureNative.ConfidentialLedger.Ledger("ledger", new()
        {
            LedgerName = "DummyLedgerName",
            Location = "EastUS",
            Properties = new AzureNative.ConfidentialLedger.Inputs.LedgerPropertiesArgs
            {
                AadBasedSecurityPrincipals = new[]
                {
                    new AzureNative.ConfidentialLedger.Inputs.AADBasedSecurityPrincipalArgs
                    {
                        LedgerRoleName = AzureNative.ConfidentialLedger.LedgerRoleName.Administrator,
                        PrincipalId = "34621747-6fc8-4771-a2eb-72f31c461f2e",
                        TenantId = "bce123b9-2b7b-4975-8360-5ca0b9b1cd08",
                    },
                },
                CertBasedSecurityPrincipals = new[]
                {
                    new AzureNative.ConfidentialLedger.Inputs.CertBasedSecurityPrincipalArgs
                    {
                        Cert = "-----BEGIN CERTIFICATE-----MIIBsjCCATigAwIBAgIUZWIbyG79TniQLd2UxJuU74tqrKcwCgYIKoZIzj0EAwMwEDEOMAwGA1UEAwwFdXNlcjAwHhcNMjEwMzE2MTgwNjExWhcNMjIwMzE2MTgwNjExWjAQMQ4wDAYDVQQDDAV1c2VyMDB2MBAGByqGSM49AgEGBSuBBAAiA2IABBiWSo/j8EFit7aUMm5lF+lUmCu+IgfnpFD+7QMgLKtxRJ3aGSqgS/GpqcYVGddnODtSarNE/HyGKUFUolLPQ5ybHcouUk0kyfA7XMeSoUA4lBz63Wha8wmXo+NdBRo39qNTMFEwHQYDVR0OBBYEFPtuhrwgGjDFHeUUT4nGsXaZn69KMB8GA1UdIwQYMBaAFPtuhrwgGjDFHeUUT4nGsXaZn69KMA8GA1UdEwEB/wQFMAMBAf8wCgYIKoZIzj0EAwMDaAAwZQIxAOnozm2CyqRwSSQLls5r+mUHRGRyXHXwYtM4Dcst/VEZdmS9fqvHRCHbjUlO/+HNfgIwMWZ4FmsjD3wnPxONOm9YdVn/PRD7SsPRPbOjwBiE4EBGaHDsLjYAGDSGi7NJnSkA-----END CERTIFICATE-----",
                        LedgerRoleName = AzureNative.ConfidentialLedger.LedgerRoleName.Reader,
                    },
                },
                LedgerSku = AzureNative.ConfidentialLedger.LedgerSku.Standard,
                LedgerType = AzureNative.ConfidentialLedger.LedgerType.Public,
            },
            ResourceGroupName = "DummyResourceGroupName",
            Tags = 
            {
                { "additionalProps1", "additional properties" },
            },
        });
    
    });
    
    package main
    
    import (
    	confidentialledger "github.com/pulumi/pulumi-azure-native-sdk/confidentialledger/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := confidentialledger.NewLedger(ctx, "ledger", &confidentialledger.LedgerArgs{
    			LedgerName: pulumi.String("DummyLedgerName"),
    			Location:   pulumi.String("EastUS"),
    			Properties: &confidentialledger.LedgerPropertiesArgs{
    				AadBasedSecurityPrincipals: confidentialledger.AADBasedSecurityPrincipalArray{
    					&confidentialledger.AADBasedSecurityPrincipalArgs{
    						LedgerRoleName: pulumi.String(confidentialledger.LedgerRoleNameAdministrator),
    						PrincipalId:    pulumi.String("34621747-6fc8-4771-a2eb-72f31c461f2e"),
    						TenantId:       pulumi.String("bce123b9-2b7b-4975-8360-5ca0b9b1cd08"),
    					},
    				},
    				CertBasedSecurityPrincipals: confidentialledger.CertBasedSecurityPrincipalArray{
    					&confidentialledger.CertBasedSecurityPrincipalArgs{
    						Cert:           pulumi.String("-----BEGIN CERTIFICATE-----MIIBsjCCATigAwIBAgIUZWIbyG79TniQLd2UxJuU74tqrKcwCgYIKoZIzj0EAwMwEDEOMAwGA1UEAwwFdXNlcjAwHhcNMjEwMzE2MTgwNjExWhcNMjIwMzE2MTgwNjExWjAQMQ4wDAYDVQQDDAV1c2VyMDB2MBAGByqGSM49AgEGBSuBBAAiA2IABBiWSo/j8EFit7aUMm5lF+lUmCu+IgfnpFD+7QMgLKtxRJ3aGSqgS/GpqcYVGddnODtSarNE/HyGKUFUolLPQ5ybHcouUk0kyfA7XMeSoUA4lBz63Wha8wmXo+NdBRo39qNTMFEwHQYDVR0OBBYEFPtuhrwgGjDFHeUUT4nGsXaZn69KMB8GA1UdIwQYMBaAFPtuhrwgGjDFHeUUT4nGsXaZn69KMA8GA1UdEwEB/wQFMAMBAf8wCgYIKoZIzj0EAwMDaAAwZQIxAOnozm2CyqRwSSQLls5r+mUHRGRyXHXwYtM4Dcst/VEZdmS9fqvHRCHbjUlO/+HNfgIwMWZ4FmsjD3wnPxONOm9YdVn/PRD7SsPRPbOjwBiE4EBGaHDsLjYAGDSGi7NJnSkA-----END CERTIFICATE-----"),
    						LedgerRoleName: pulumi.String(confidentialledger.LedgerRoleNameReader),
    					},
    				},
    				LedgerSku:  pulumi.String(confidentialledger.LedgerSkuStandard),
    				LedgerType: pulumi.String(confidentialledger.LedgerTypePublic),
    			},
    			ResourceGroupName: pulumi.String("DummyResourceGroupName"),
    			Tags: pulumi.StringMap{
    				"additionalProps1": pulumi.String("additional properties"),
    			},
    		})
    		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.confidentialledger.Ledger;
    import com.pulumi.azurenative.confidentialledger.LedgerArgs;
    import com.pulumi.azurenative.confidentialledger.inputs.LedgerPropertiesArgs;
    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 ledger = new Ledger("ledger", LedgerArgs.builder()
                .ledgerName("DummyLedgerName")
                .location("EastUS")
                .properties(LedgerPropertiesArgs.builder()
                    .aadBasedSecurityPrincipals(AADBasedSecurityPrincipalArgs.builder()
                        .ledgerRoleName("Administrator")
                        .principalId("34621747-6fc8-4771-a2eb-72f31c461f2e")
                        .tenantId("bce123b9-2b7b-4975-8360-5ca0b9b1cd08")
                        .build())
                    .certBasedSecurityPrincipals(CertBasedSecurityPrincipalArgs.builder()
                        .cert("-----BEGIN CERTIFICATE-----MIIBsjCCATigAwIBAgIUZWIbyG79TniQLd2UxJuU74tqrKcwCgYIKoZIzj0EAwMwEDEOMAwGA1UEAwwFdXNlcjAwHhcNMjEwMzE2MTgwNjExWhcNMjIwMzE2MTgwNjExWjAQMQ4wDAYDVQQDDAV1c2VyMDB2MBAGByqGSM49AgEGBSuBBAAiA2IABBiWSo/j8EFit7aUMm5lF+lUmCu+IgfnpFD+7QMgLKtxRJ3aGSqgS/GpqcYVGddnODtSarNE/HyGKUFUolLPQ5ybHcouUk0kyfA7XMeSoUA4lBz63Wha8wmXo+NdBRo39qNTMFEwHQYDVR0OBBYEFPtuhrwgGjDFHeUUT4nGsXaZn69KMB8GA1UdIwQYMBaAFPtuhrwgGjDFHeUUT4nGsXaZn69KMA8GA1UdEwEB/wQFMAMBAf8wCgYIKoZIzj0EAwMDaAAwZQIxAOnozm2CyqRwSSQLls5r+mUHRGRyXHXwYtM4Dcst/VEZdmS9fqvHRCHbjUlO/+HNfgIwMWZ4FmsjD3wnPxONOm9YdVn/PRD7SsPRPbOjwBiE4EBGaHDsLjYAGDSGi7NJnSkA-----END CERTIFICATE-----")
                        .ledgerRoleName("Reader")
                        .build())
                    .ledgerSku("Standard")
                    .ledgerType("Public")
                    .build())
                .resourceGroupName("DummyResourceGroupName")
                .tags(Map.of("additionalProps1", "additional properties"))
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const ledger = new azure_native.confidentialledger.Ledger("ledger", {
        ledgerName: "DummyLedgerName",
        location: "EastUS",
        properties: {
            aadBasedSecurityPrincipals: [{
                ledgerRoleName: azure_native.confidentialledger.LedgerRoleName.Administrator,
                principalId: "34621747-6fc8-4771-a2eb-72f31c461f2e",
                tenantId: "bce123b9-2b7b-4975-8360-5ca0b9b1cd08",
            }],
            certBasedSecurityPrincipals: [{
                cert: "-----BEGIN CERTIFICATE-----MIIBsjCCATigAwIBAgIUZWIbyG79TniQLd2UxJuU74tqrKcwCgYIKoZIzj0EAwMwEDEOMAwGA1UEAwwFdXNlcjAwHhcNMjEwMzE2MTgwNjExWhcNMjIwMzE2MTgwNjExWjAQMQ4wDAYDVQQDDAV1c2VyMDB2MBAGByqGSM49AgEGBSuBBAAiA2IABBiWSo/j8EFit7aUMm5lF+lUmCu+IgfnpFD+7QMgLKtxRJ3aGSqgS/GpqcYVGddnODtSarNE/HyGKUFUolLPQ5ybHcouUk0kyfA7XMeSoUA4lBz63Wha8wmXo+NdBRo39qNTMFEwHQYDVR0OBBYEFPtuhrwgGjDFHeUUT4nGsXaZn69KMB8GA1UdIwQYMBaAFPtuhrwgGjDFHeUUT4nGsXaZn69KMA8GA1UdEwEB/wQFMAMBAf8wCgYIKoZIzj0EAwMDaAAwZQIxAOnozm2CyqRwSSQLls5r+mUHRGRyXHXwYtM4Dcst/VEZdmS9fqvHRCHbjUlO/+HNfgIwMWZ4FmsjD3wnPxONOm9YdVn/PRD7SsPRPbOjwBiE4EBGaHDsLjYAGDSGi7NJnSkA-----END CERTIFICATE-----",
                ledgerRoleName: azure_native.confidentialledger.LedgerRoleName.Reader,
            }],
            ledgerSku: azure_native.confidentialledger.LedgerSku.Standard,
            ledgerType: azure_native.confidentialledger.LedgerType.Public,
        },
        resourceGroupName: "DummyResourceGroupName",
        tags: {
            additionalProps1: "additional properties",
        },
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    ledger = azure_native.confidentialledger.Ledger("ledger",
        ledger_name="DummyLedgerName",
        location="EastUS",
        properties={
            "aad_based_security_principals": [{
                "ledger_role_name": azure_native.confidentialledger.LedgerRoleName.ADMINISTRATOR,
                "principal_id": "34621747-6fc8-4771-a2eb-72f31c461f2e",
                "tenant_id": "bce123b9-2b7b-4975-8360-5ca0b9b1cd08",
            }],
            "cert_based_security_principals": [{
                "cert": "-----BEGIN CERTIFICATE-----MIIBsjCCATigAwIBAgIUZWIbyG79TniQLd2UxJuU74tqrKcwCgYIKoZIzj0EAwMwEDEOMAwGA1UEAwwFdXNlcjAwHhcNMjEwMzE2MTgwNjExWhcNMjIwMzE2MTgwNjExWjAQMQ4wDAYDVQQDDAV1c2VyMDB2MBAGByqGSM49AgEGBSuBBAAiA2IABBiWSo/j8EFit7aUMm5lF+lUmCu+IgfnpFD+7QMgLKtxRJ3aGSqgS/GpqcYVGddnODtSarNE/HyGKUFUolLPQ5ybHcouUk0kyfA7XMeSoUA4lBz63Wha8wmXo+NdBRo39qNTMFEwHQYDVR0OBBYEFPtuhrwgGjDFHeUUT4nGsXaZn69KMB8GA1UdIwQYMBaAFPtuhrwgGjDFHeUUT4nGsXaZn69KMA8GA1UdEwEB/wQFMAMBAf8wCgYIKoZIzj0EAwMDaAAwZQIxAOnozm2CyqRwSSQLls5r+mUHRGRyXHXwYtM4Dcst/VEZdmS9fqvHRCHbjUlO/+HNfgIwMWZ4FmsjD3wnPxONOm9YdVn/PRD7SsPRPbOjwBiE4EBGaHDsLjYAGDSGi7NJnSkA-----END CERTIFICATE-----",
                "ledger_role_name": azure_native.confidentialledger.LedgerRoleName.READER,
            }],
            "ledger_sku": azure_native.confidentialledger.LedgerSku.STANDARD,
            "ledger_type": azure_native.confidentialledger.LedgerType.PUBLIC,
        },
        resource_group_name="DummyResourceGroupName",
        tags={
            "additionalProps1": "additional properties",
        })
    
    resources:
      ledger:
        type: azure-native:confidentialledger:Ledger
        properties:
          ledgerName: DummyLedgerName
          location: EastUS
          properties:
            aadBasedSecurityPrincipals:
              - ledgerRoleName: Administrator
                principalId: 34621747-6fc8-4771-a2eb-72f31c461f2e
                tenantId: bce123b9-2b7b-4975-8360-5ca0b9b1cd08
            certBasedSecurityPrincipals:
              - cert: '-----BEGIN CERTIFICATE-----MIIBsjCCATigAwIBAgIUZWIbyG79TniQLd2UxJuU74tqrKcwCgYIKoZIzj0EAwMwEDEOMAwGA1UEAwwFdXNlcjAwHhcNMjEwMzE2MTgwNjExWhcNMjIwMzE2MTgwNjExWjAQMQ4wDAYDVQQDDAV1c2VyMDB2MBAGByqGSM49AgEGBSuBBAAiA2IABBiWSo/j8EFit7aUMm5lF+lUmCu+IgfnpFD+7QMgLKtxRJ3aGSqgS/GpqcYVGddnODtSarNE/HyGKUFUolLPQ5ybHcouUk0kyfA7XMeSoUA4lBz63Wha8wmXo+NdBRo39qNTMFEwHQYDVR0OBBYEFPtuhrwgGjDFHeUUT4nGsXaZn69KMB8GA1UdIwQYMBaAFPtuhrwgGjDFHeUUT4nGsXaZn69KMA8GA1UdEwEB/wQFMAMBAf8wCgYIKoZIzj0EAwMDaAAwZQIxAOnozm2CyqRwSSQLls5r+mUHRGRyXHXwYtM4Dcst/VEZdmS9fqvHRCHbjUlO/+HNfgIwMWZ4FmsjD3wnPxONOm9YdVn/PRD7SsPRPbOjwBiE4EBGaHDsLjYAGDSGi7NJnSkA-----END CERTIFICATE-----'
                ledgerRoleName: Reader
            ledgerSku: Standard
            ledgerType: Public
          resourceGroupName: DummyResourceGroupName
          tags:
            additionalProps1: additional properties
    

    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,
               resource_group_name: Optional[str] = None,
               ledger_name: Optional[str] = None,
               location: Optional[str] = None,
               properties: Optional[LedgerPropertiesArgs] = 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-native: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 AzureNative.ConfidentialLedger.Ledger("ledgerResource", new()
    {
        ResourceGroupName = "string",
        LedgerName = "string",
        Location = "string",
        Properties = new AzureNative.ConfidentialLedger.Inputs.LedgerPropertiesArgs
        {
            AadBasedSecurityPrincipals = new[]
            {
                new AzureNative.ConfidentialLedger.Inputs.AADBasedSecurityPrincipalArgs
                {
                    LedgerRoleName = "string",
                    PrincipalId = "string",
                    TenantId = "string",
                },
            },
            CertBasedSecurityPrincipals = new[]
            {
                new AzureNative.ConfidentialLedger.Inputs.CertBasedSecurityPrincipalArgs
                {
                    Cert = "string",
                    LedgerRoleName = "string",
                },
            },
            LedgerSku = "string",
            LedgerType = "string",
            RunningState = "string",
        },
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := confidentialledger.NewLedger(ctx, "ledgerResource", &confidentialledger.LedgerArgs{
    	ResourceGroupName: pulumi.String("string"),
    	LedgerName:        pulumi.String("string"),
    	Location:          pulumi.String("string"),
    	Properties: &confidentialledger.LedgerPropertiesArgs{
    		AadBasedSecurityPrincipals: confidentialledger.AADBasedSecurityPrincipalArray{
    			&confidentialledger.AADBasedSecurityPrincipalArgs{
    				LedgerRoleName: pulumi.String("string"),
    				PrincipalId:    pulumi.String("string"),
    				TenantId:       pulumi.String("string"),
    			},
    		},
    		CertBasedSecurityPrincipals: confidentialledger.CertBasedSecurityPrincipalArray{
    			&confidentialledger.CertBasedSecurityPrincipalArgs{
    				Cert:           pulumi.String("string"),
    				LedgerRoleName: pulumi.String("string"),
    			},
    		},
    		LedgerSku:    pulumi.String("string"),
    		LedgerType:   pulumi.String("string"),
    		RunningState: pulumi.String("string"),
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var ledgerResource = new Ledger("ledgerResource", LedgerArgs.builder()
        .resourceGroupName("string")
        .ledgerName("string")
        .location("string")
        .properties(LedgerPropertiesArgs.builder()
            .aadBasedSecurityPrincipals(AADBasedSecurityPrincipalArgs.builder()
                .ledgerRoleName("string")
                .principalId("string")
                .tenantId("string")
                .build())
            .certBasedSecurityPrincipals(CertBasedSecurityPrincipalArgs.builder()
                .cert("string")
                .ledgerRoleName("string")
                .build())
            .ledgerSku("string")
            .ledgerType("string")
            .runningState("string")
            .build())
        .tags(Map.of("string", "string"))
        .build());
    
    ledger_resource = azure_native.confidentialledger.Ledger("ledgerResource",
        resource_group_name="string",
        ledger_name="string",
        location="string",
        properties={
            "aad_based_security_principals": [{
                "ledger_role_name": "string",
                "principal_id": "string",
                "tenant_id": "string",
            }],
            "cert_based_security_principals": [{
                "cert": "string",
                "ledger_role_name": "string",
            }],
            "ledger_sku": "string",
            "ledger_type": "string",
            "running_state": "string",
        },
        tags={
            "string": "string",
        })
    
    const ledgerResource = new azure_native.confidentialledger.Ledger("ledgerResource", {
        resourceGroupName: "string",
        ledgerName: "string",
        location: "string",
        properties: {
            aadBasedSecurityPrincipals: [{
                ledgerRoleName: "string",
                principalId: "string",
                tenantId: "string",
            }],
            certBasedSecurityPrincipals: [{
                cert: "string",
                ledgerRoleName: "string",
            }],
            ledgerSku: "string",
            ledgerType: "string",
            runningState: "string",
        },
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:confidentialledger:Ledger
    properties:
        ledgerName: string
        location: string
        properties:
            aadBasedSecurityPrincipals:
                - ledgerRoleName: string
                  principalId: string
                  tenantId: string
            certBasedSecurityPrincipals:
                - cert: string
                  ledgerRoleName: string
            ledgerSku: string
            ledgerType: string
            runningState: 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:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    LedgerName string
    Name of the Confidential Ledger
    Location string
    The geo-location where the resource lives
    Properties Pulumi.AzureNative.ConfidentialLedger.Inputs.LedgerProperties
    Properties of Confidential Ledger Resource.
    Tags Dictionary<string, string>
    Resource tags.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    LedgerName string
    Name of the Confidential Ledger
    Location string
    The geo-location where the resource lives
    Properties LedgerPropertiesArgs
    Properties of Confidential Ledger Resource.
    Tags map[string]string
    Resource tags.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    ledgerName String
    Name of the Confidential Ledger
    location String
    The geo-location where the resource lives
    properties LedgerProperties
    Properties of Confidential Ledger Resource.
    tags Map<String,String>
    Resource tags.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    ledgerName string
    Name of the Confidential Ledger
    location string
    The geo-location where the resource lives
    properties LedgerProperties
    Properties of Confidential Ledger Resource.
    tags {[key: string]: string}
    Resource tags.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    ledger_name str
    Name of the Confidential Ledger
    location str
    The geo-location where the resource lives
    properties LedgerPropertiesArgs
    Properties of Confidential Ledger Resource.
    tags Mapping[str, str]
    Resource tags.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    ledgerName String
    Name of the Confidential Ledger
    location String
    The geo-location where the resource lives
    properties Property Map
    Properties of Confidential Ledger Resource.
    tags Map<String>
    Resource tags.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Ledger resource produces the following output properties:

    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    SystemData Pulumi.AzureNative.ConfidentialLedger.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion string
    The Azure API version of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azure_api_version str
    The Azure API version of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    AADBasedSecurityPrincipal, AADBasedSecurityPrincipalArgs

    LedgerRoleName string | Pulumi.AzureNative.ConfidentialLedger.LedgerRoleName
    LedgerRole associated with the Security Principal of Ledger
    PrincipalId string
    UUID/GUID based Principal Id of the Security Principal
    TenantId string
    UUID/GUID based Tenant Id of the Security Principal
    LedgerRoleName string | LedgerRoleName
    LedgerRole associated with the Security Principal of Ledger
    PrincipalId string
    UUID/GUID based Principal Id of the Security Principal
    TenantId string
    UUID/GUID based Tenant Id of the Security Principal
    ledgerRoleName String | LedgerRoleName
    LedgerRole associated with the Security Principal of Ledger
    principalId String
    UUID/GUID based Principal Id of the Security Principal
    tenantId String
    UUID/GUID based Tenant Id of the Security Principal
    ledgerRoleName string | LedgerRoleName
    LedgerRole associated with the Security Principal of Ledger
    principalId string
    UUID/GUID based Principal Id of the Security Principal
    tenantId string
    UUID/GUID based Tenant Id of the Security Principal
    ledger_role_name str | LedgerRoleName
    LedgerRole associated with the Security Principal of Ledger
    principal_id str
    UUID/GUID based Principal Id of the Security Principal
    tenant_id str
    UUID/GUID based Tenant Id of the Security Principal
    ledgerRoleName String | "Reader" | "Contributor" | "Administrator"
    LedgerRole associated with the Security Principal of Ledger
    principalId String
    UUID/GUID based Principal Id of the Security Principal
    tenantId String
    UUID/GUID based Tenant Id of the Security Principal

    AADBasedSecurityPrincipalResponse, AADBasedSecurityPrincipalResponseArgs

    LedgerRoleName string
    LedgerRole associated with the Security Principal of Ledger
    PrincipalId string
    UUID/GUID based Principal Id of the Security Principal
    TenantId string
    UUID/GUID based Tenant Id of the Security Principal
    LedgerRoleName string
    LedgerRole associated with the Security Principal of Ledger
    PrincipalId string
    UUID/GUID based Principal Id of the Security Principal
    TenantId string
    UUID/GUID based Tenant Id of the Security Principal
    ledgerRoleName String
    LedgerRole associated with the Security Principal of Ledger
    principalId String
    UUID/GUID based Principal Id of the Security Principal
    tenantId String
    UUID/GUID based Tenant Id of the Security Principal
    ledgerRoleName string
    LedgerRole associated with the Security Principal of Ledger
    principalId string
    UUID/GUID based Principal Id of the Security Principal
    tenantId string
    UUID/GUID based Tenant Id of the Security Principal
    ledger_role_name str
    LedgerRole associated with the Security Principal of Ledger
    principal_id str
    UUID/GUID based Principal Id of the Security Principal
    tenant_id str
    UUID/GUID based Tenant Id of the Security Principal
    ledgerRoleName String
    LedgerRole associated with the Security Principal of Ledger
    principalId String
    UUID/GUID based Principal Id of the Security Principal
    tenantId String
    UUID/GUID based Tenant Id of the Security Principal

    CertBasedSecurityPrincipal, CertBasedSecurityPrincipalArgs

    Cert string
    Public key of the user cert (.pem or .cer)
    LedgerRoleName string | Pulumi.AzureNative.ConfidentialLedger.LedgerRoleName
    LedgerRole associated with the Security Principal of Ledger
    Cert string
    Public key of the user cert (.pem or .cer)
    LedgerRoleName string | LedgerRoleName
    LedgerRole associated with the Security Principal of Ledger
    cert String
    Public key of the user cert (.pem or .cer)
    ledgerRoleName String | LedgerRoleName
    LedgerRole associated with the Security Principal of Ledger
    cert string
    Public key of the user cert (.pem or .cer)
    ledgerRoleName string | LedgerRoleName
    LedgerRole associated with the Security Principal of Ledger
    cert str
    Public key of the user cert (.pem or .cer)
    ledger_role_name str | LedgerRoleName
    LedgerRole associated with the Security Principal of Ledger
    cert String
    Public key of the user cert (.pem or .cer)
    ledgerRoleName String | "Reader" | "Contributor" | "Administrator"
    LedgerRole associated with the Security Principal of Ledger

    CertBasedSecurityPrincipalResponse, CertBasedSecurityPrincipalResponseArgs

    Cert string
    Public key of the user cert (.pem or .cer)
    LedgerRoleName string
    LedgerRole associated with the Security Principal of Ledger
    Cert string
    Public key of the user cert (.pem or .cer)
    LedgerRoleName string
    LedgerRole associated with the Security Principal of Ledger
    cert String
    Public key of the user cert (.pem or .cer)
    ledgerRoleName String
    LedgerRole associated with the Security Principal of Ledger
    cert string
    Public key of the user cert (.pem or .cer)
    ledgerRoleName string
    LedgerRole associated with the Security Principal of Ledger
    cert str
    Public key of the user cert (.pem or .cer)
    ledger_role_name str
    LedgerRole associated with the Security Principal of Ledger
    cert String
    Public key of the user cert (.pem or .cer)
    ledgerRoleName String
    LedgerRole associated with the Security Principal of Ledger

    LedgerProperties, LedgerPropertiesArgs

    AadBasedSecurityPrincipals []AADBasedSecurityPrincipal
    Array of all AAD based Security Principals.
    CertBasedSecurityPrincipals []CertBasedSecurityPrincipal
    Array of all cert based Security Principals.
    LedgerSku string | LedgerSku
    SKU associated with the ledger
    LedgerType string | LedgerType
    Type of Confidential Ledger
    RunningState string | RunningState
    Object representing RunningState for Ledger.
    aadBasedSecurityPrincipals List<AADBasedSecurityPrincipal>
    Array of all AAD based Security Principals.
    certBasedSecurityPrincipals List<CertBasedSecurityPrincipal>
    Array of all cert based Security Principals.
    ledgerSku String | LedgerSku
    SKU associated with the ledger
    ledgerType String | LedgerType
    Type of Confidential Ledger
    runningState String | RunningState
    Object representing RunningState for Ledger.
    aadBasedSecurityPrincipals AADBasedSecurityPrincipal[]
    Array of all AAD based Security Principals.
    certBasedSecurityPrincipals CertBasedSecurityPrincipal[]
    Array of all cert based Security Principals.
    ledgerSku string | LedgerSku
    SKU associated with the ledger
    ledgerType string | LedgerType
    Type of Confidential Ledger
    runningState string | RunningState
    Object representing RunningState for Ledger.
    aad_based_security_principals Sequence[AADBasedSecurityPrincipal]
    Array of all AAD based Security Principals.
    cert_based_security_principals Sequence[CertBasedSecurityPrincipal]
    Array of all cert based Security Principals.
    ledger_sku str | LedgerSku
    SKU associated with the ledger
    ledger_type str | LedgerType
    Type of Confidential Ledger
    running_state str | RunningState
    Object representing RunningState for Ledger.
    aadBasedSecurityPrincipals List<Property Map>
    Array of all AAD based Security Principals.
    certBasedSecurityPrincipals List<Property Map>
    Array of all cert based Security Principals.
    ledgerSku String | "Standard" | "Basic" | "Unknown"
    SKU associated with the ledger
    ledgerType String | "Unknown" | "Public" | "Private"
    Type of Confidential Ledger
    runningState String | "Active" | "Paused" | "Unknown" | "Pausing" | "Resuming"
    Object representing RunningState for Ledger.

    LedgerPropertiesResponse, LedgerPropertiesResponseArgs

    IdentityServiceUri string
    Endpoint for accessing network identity.
    LedgerInternalNamespace string
    Internal namespace for the Ledger
    LedgerName string
    Unique name for the Confidential Ledger.
    LedgerUri string
    Endpoint for calling Ledger Service.
    ProvisioningState string
    Provisioning state of Ledger Resource
    AadBasedSecurityPrincipals List<Pulumi.AzureNative.ConfidentialLedger.Inputs.AADBasedSecurityPrincipalResponse>
    Array of all AAD based Security Principals.
    CertBasedSecurityPrincipals List<Pulumi.AzureNative.ConfidentialLedger.Inputs.CertBasedSecurityPrincipalResponse>
    Array of all cert based Security Principals.
    LedgerSku string
    SKU associated with the ledger
    LedgerType string
    Type of Confidential Ledger
    RunningState string
    Object representing RunningState for Ledger.
    IdentityServiceUri string
    Endpoint for accessing network identity.
    LedgerInternalNamespace string
    Internal namespace for the Ledger
    LedgerName string
    Unique name for the Confidential Ledger.
    LedgerUri string
    Endpoint for calling Ledger Service.
    ProvisioningState string
    Provisioning state of Ledger Resource
    AadBasedSecurityPrincipals []AADBasedSecurityPrincipalResponse
    Array of all AAD based Security Principals.
    CertBasedSecurityPrincipals []CertBasedSecurityPrincipalResponse
    Array of all cert based Security Principals.
    LedgerSku string
    SKU associated with the ledger
    LedgerType string
    Type of Confidential Ledger
    RunningState string
    Object representing RunningState for Ledger.
    identityServiceUri String
    Endpoint for accessing network identity.
    ledgerInternalNamespace String
    Internal namespace for the Ledger
    ledgerName String
    Unique name for the Confidential Ledger.
    ledgerUri String
    Endpoint for calling Ledger Service.
    provisioningState String
    Provisioning state of Ledger Resource
    aadBasedSecurityPrincipals List<AADBasedSecurityPrincipalResponse>
    Array of all AAD based Security Principals.
    certBasedSecurityPrincipals List<CertBasedSecurityPrincipalResponse>
    Array of all cert based Security Principals.
    ledgerSku String
    SKU associated with the ledger
    ledgerType String
    Type of Confidential Ledger
    runningState String
    Object representing RunningState for Ledger.
    identityServiceUri string
    Endpoint for accessing network identity.
    ledgerInternalNamespace string
    Internal namespace for the Ledger
    ledgerName string
    Unique name for the Confidential Ledger.
    ledgerUri string
    Endpoint for calling Ledger Service.
    provisioningState string
    Provisioning state of Ledger Resource
    aadBasedSecurityPrincipals AADBasedSecurityPrincipalResponse[]
    Array of all AAD based Security Principals.
    certBasedSecurityPrincipals CertBasedSecurityPrincipalResponse[]
    Array of all cert based Security Principals.
    ledgerSku string
    SKU associated with the ledger
    ledgerType string
    Type of Confidential Ledger
    runningState string
    Object representing RunningState for Ledger.
    identity_service_uri str
    Endpoint for accessing network identity.
    ledger_internal_namespace str
    Internal namespace for the Ledger
    ledger_name str
    Unique name for the Confidential Ledger.
    ledger_uri str
    Endpoint for calling Ledger Service.
    provisioning_state str
    Provisioning state of Ledger Resource
    aad_based_security_principals Sequence[AADBasedSecurityPrincipalResponse]
    Array of all AAD based Security Principals.
    cert_based_security_principals Sequence[CertBasedSecurityPrincipalResponse]
    Array of all cert based Security Principals.
    ledger_sku str
    SKU associated with the ledger
    ledger_type str
    Type of Confidential Ledger
    running_state str
    Object representing RunningState for Ledger.
    identityServiceUri String
    Endpoint for accessing network identity.
    ledgerInternalNamespace String
    Internal namespace for the Ledger
    ledgerName String
    Unique name for the Confidential Ledger.
    ledgerUri String
    Endpoint for calling Ledger Service.
    provisioningState String
    Provisioning state of Ledger Resource
    aadBasedSecurityPrincipals List<Property Map>
    Array of all AAD based Security Principals.
    certBasedSecurityPrincipals List<Property Map>
    Array of all cert based Security Principals.
    ledgerSku String
    SKU associated with the ledger
    ledgerType String
    Type of Confidential Ledger
    runningState String
    Object representing RunningState for Ledger.

    LedgerRoleName, LedgerRoleNameArgs

    Reader
    Reader
    Contributor
    Contributor
    Administrator
    Administrator
    LedgerRoleNameReader
    Reader
    LedgerRoleNameContributor
    Contributor
    LedgerRoleNameAdministrator
    Administrator
    Reader
    Reader
    Contributor
    Contributor
    Administrator
    Administrator
    Reader
    Reader
    Contributor
    Contributor
    Administrator
    Administrator
    READER
    Reader
    CONTRIBUTOR
    Contributor
    ADMINISTRATOR
    Administrator
    "Reader"
    Reader
    "Contributor"
    Contributor
    "Administrator"
    Administrator

    LedgerSku, LedgerSkuArgs

    Standard
    Standard
    Basic
    Basic
    Unknown
    Unknown
    LedgerSkuStandard
    Standard
    LedgerSkuBasic
    Basic
    LedgerSkuUnknown
    Unknown
    Standard
    Standard
    Basic
    Basic
    Unknown
    Unknown
    Standard
    Standard
    Basic
    Basic
    Unknown
    Unknown
    STANDARD
    Standard
    BASIC
    Basic
    UNKNOWN
    Unknown
    "Standard"
    Standard
    "Basic"
    Basic
    "Unknown"
    Unknown

    LedgerType, LedgerTypeArgs

    Unknown
    Unknown
    Public
    Public
    Private
    Private
    LedgerTypeUnknown
    Unknown
    LedgerTypePublic
    Public
    LedgerTypePrivate
    Private
    Unknown
    Unknown
    Public
    Public
    Private
    Private
    Unknown
    Unknown
    Public
    Public
    Private
    Private
    UNKNOWN
    Unknown
    PUBLIC
    Public
    PRIVATE
    Private
    "Unknown"
    Unknown
    "Public"
    Public
    "Private"
    Private

    RunningState, RunningStateArgs

    Active
    Active
    Paused
    Paused
    Unknown
    Unknown
    Pausing
    Pausing
    Resuming
    Resuming
    RunningStateActive
    Active
    RunningStatePaused
    Paused
    RunningStateUnknown
    Unknown
    RunningStatePausing
    Pausing
    RunningStateResuming
    Resuming
    Active
    Active
    Paused
    Paused
    Unknown
    Unknown
    Pausing
    Pausing
    Resuming
    Resuming
    Active
    Active
    Paused
    Paused
    Unknown
    Unknown
    Pausing
    Pausing
    Resuming
    Resuming
    ACTIVE
    Active
    PAUSED
    Paused
    UNKNOWN
    Unknown
    PAUSING
    Pausing
    RESUMING
    Resuming
    "Active"
    Active
    "Paused"
    Paused
    "Unknown"
    Unknown
    "Pausing"
    Pausing
    "Resuming"
    Resuming

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Import

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

    $ pulumi import azure-native:confidentialledger:Ledger DummyLedgerName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/ledgers/{ledgerName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi