1. Packages
  2. Azure Native
  3. API Docs
  4. confidentialledger
  5. getLedger
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

azure-native.confidentialledger.getLedger

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

    Retrieves the properties of a Confidential Ledger. Azure REST API version: 2022-05-13.

    Other available API versions: 2023-01-26-preview, 2023-06-28-preview, 2024-07-09-preview.

    Using getLedger

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getLedger(args: GetLedgerArgs, opts?: InvokeOptions): Promise<GetLedgerResult>
    function getLedgerOutput(args: GetLedgerOutputArgs, opts?: InvokeOptions): Output<GetLedgerResult>
    def get_ledger(ledger_name: Optional[str] = None,
                   resource_group_name: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetLedgerResult
    def get_ledger_output(ledger_name: Optional[pulumi.Input[str]] = None,
                   resource_group_name: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetLedgerResult]
    func LookupLedger(ctx *Context, args *LookupLedgerArgs, opts ...InvokeOption) (*LookupLedgerResult, error)
    func LookupLedgerOutput(ctx *Context, args *LookupLedgerOutputArgs, opts ...InvokeOption) LookupLedgerResultOutput

    > Note: This function is named LookupLedger in the Go SDK.

    public static class GetLedger 
    {
        public static Task<GetLedgerResult> InvokeAsync(GetLedgerArgs args, InvokeOptions? opts = null)
        public static Output<GetLedgerResult> Invoke(GetLedgerInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLedgerResult> getLedger(GetLedgerArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:confidentialledger:getLedger
      arguments:
        # arguments dictionary

    The following arguments are supported:

    LedgerName string
    Name of the Confidential Ledger
    ResourceGroupName string
    The name of the resource group.
    LedgerName string
    Name of the Confidential Ledger
    ResourceGroupName string
    The name of the resource group.
    ledgerName String
    Name of the Confidential Ledger
    resourceGroupName String
    The name of the resource group.
    ledgerName string
    Name of the Confidential Ledger
    resourceGroupName string
    The name of the resource group.
    ledger_name str
    Name of the Confidential Ledger
    resource_group_name str
    The name of the resource group.
    ledgerName String
    Name of the Confidential Ledger
    resourceGroupName String
    The name of the resource group.

    getLedger Result

    The following output properties are available:

    Id string
    Fully qualified resource Id for the resource.
    Name string
    Name of the Resource.
    Properties Pulumi.AzureNative.ConfidentialLedger.Outputs.LedgerPropertiesResponse
    Properties of Confidential Ledger Resource.
    SystemData Pulumi.AzureNative.ConfidentialLedger.Outputs.SystemDataResponse
    Metadata pertaining to creation and last modification of the resource
    Type string
    The type of the resource.
    Location string
    The Azure location where the Confidential Ledger is running.
    Tags Dictionary<string, string>
    Additional tags for Confidential Ledger
    Id string
    Fully qualified resource Id for the resource.
    Name string
    Name of the Resource.
    Properties LedgerPropertiesResponse
    Properties of Confidential Ledger Resource.
    SystemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource
    Type string
    The type of the resource.
    Location string
    The Azure location where the Confidential Ledger is running.
    Tags map[string]string
    Additional tags for Confidential Ledger
    id String
    Fully qualified resource Id for the resource.
    name String
    Name of the Resource.
    properties LedgerPropertiesResponse
    Properties of Confidential Ledger Resource.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource
    type String
    The type of the resource.
    location String
    The Azure location where the Confidential Ledger is running.
    tags Map<String,String>
    Additional tags for Confidential Ledger
    id string
    Fully qualified resource Id for the resource.
    name string
    Name of the Resource.
    properties LedgerPropertiesResponse
    Properties of Confidential Ledger Resource.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource
    type string
    The type of the resource.
    location string
    The Azure location where the Confidential Ledger is running.
    tags {[key: string]: string}
    Additional tags for Confidential Ledger
    id str
    Fully qualified resource Id for the resource.
    name str
    Name of the Resource.
    properties LedgerPropertiesResponse
    Properties of Confidential Ledger Resource.
    system_data SystemDataResponse
    Metadata pertaining to creation and last modification of the resource
    type str
    The type of the resource.
    location str
    The Azure location where the Confidential Ledger is running.
    tags Mapping[str, str]
    Additional tags for Confidential Ledger
    id String
    Fully qualified resource Id for the resource.
    name String
    Name of the Resource.
    properties Property Map
    Properties of Confidential Ledger Resource.
    systemData Property Map
    Metadata pertaining to creation and last modification of the resource
    type String
    The type of the resource.
    location String
    The Azure location where the Confidential Ledger is running.
    tags Map<String>
    Additional tags for Confidential Ledger

    Supporting Types

    AADBasedSecurityPrincipalResponse

    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

    CertBasedSecurityPrincipalResponse

    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

    LedgerPropertiesResponse

    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.
    LedgerType string
    Type of Confidential 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.
    LedgerType string
    Type of Confidential 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.
    ledgerType String
    Type of Confidential 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.
    ledgerType string
    Type of Confidential 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_type str
    Type of Confidential 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.
    ledgerType String
    Type of Confidential Ledger

    SystemDataResponse

    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.

    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 v1 docs if using the v1 version of this package.
    Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi