azure-native.confidentialledger.getLedger
Explore with Pulumi AI
Retrieves the properties of a Confidential Ledger.
Uses Azure REST API version 2023-06-28-preview.
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.
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)
public static Output<GetLedgerResult> getLedger(GetLedgerArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:confidentialledger:getLedger
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Ledger
Name string - Name of the Confidential Ledger
 - Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 
- Ledger
Name string - Name of the Confidential Ledger
 - Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 
- ledger
Name String - Name of the Confidential Ledger
 - resource
Group StringName  - The name of the resource group. The name is case insensitive.
 
- ledger
Name string - Name of the Confidential Ledger
 - resource
Group stringName  - The name of the resource group. The name is case insensitive.
 
- ledger_
name str - Name of the Confidential Ledger
 - resource_
group_ strname  - The name of the resource group. The name is case insensitive.
 
- ledger
Name String - Name of the Confidential Ledger
 - resource
Group StringName  - The name of the resource group. The name is case insensitive.
 
getLedger Result
The following output properties are available:
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Id string
 - Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
 - Location string
 - The geo-location where the resource lives
 - Name string
 - The name of the resource
 - Properties
Pulumi.
Azure Native. Confidential Ledger. Outputs. Ledger Properties Response  - Properties of Confidential Ledger Resource.
 - System
Data Pulumi.Azure Native. Confidential Ledger. Outputs. System Data Response  - 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"
 - Dictionary<string, string>
 - Resource tags.
 
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Id string
 - Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
 - Location string
 - The geo-location where the resource lives
 - Name string
 - The name of the resource
 - Properties
Ledger
Properties Response  - Properties of Confidential Ledger Resource.
 - System
Data SystemData Response  - 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"
 - map[string]string
 - Resource tags.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - id String
 - Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
 - location String
 - The geo-location where the resource lives
 - name String
 - The name of the resource
 - properties
Ledger
Properties Response  - Properties of Confidential Ledger Resource.
 - system
Data SystemData Response  - 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"
 - Map<String,String>
 - Resource tags.
 
- azure
Api stringVersion  - The Azure API version of the resource.
 - id string
 - Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
 - location string
 - The geo-location where the resource lives
 - name string
 - The name of the resource
 - properties
Ledger
Properties Response  - Properties of Confidential Ledger Resource.
 - system
Data SystemData Response  - 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"
 - {[key: string]: string}
 - Resource tags.
 
- azure_
api_ strversion  - The Azure API version of the resource.
 - id str
 - Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
 - location str
 - The geo-location where the resource lives
 - name str
 - The name of the resource
 - properties
Ledger
Properties Response  - Properties of Confidential Ledger Resource.
 - system_
data SystemData Response  - 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"
 - Mapping[str, str]
 - Resource tags.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - id String
 - Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
 - location String
 - The geo-location where the resource lives
 - name String
 - The name of the resource
 - properties Property Map
 - Properties of Confidential Ledger Resource.
 - system
Data 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"
 - Map<String>
 - Resource tags.
 
Supporting Types
AADBasedSecurityPrincipalResponse   
- Ledger
Role stringName  - LedgerRole associated with the Security Principal of Ledger
 - Principal
Id string - UUID/GUID based Principal Id of the Security Principal
 - Tenant
Id string - UUID/GUID based Tenant Id of the Security Principal
 
- Ledger
Role stringName  - LedgerRole associated with the Security Principal of Ledger
 - Principal
Id string - UUID/GUID based Principal Id of the Security Principal
 - Tenant
Id string - UUID/GUID based Tenant Id of the Security Principal
 
- ledger
Role StringName  - LedgerRole associated with the Security Principal of Ledger
 - principal
Id String - UUID/GUID based Principal Id of the Security Principal
 - tenant
Id String - UUID/GUID based Tenant Id of the Security Principal
 
- ledger
Role stringName  - LedgerRole associated with the Security Principal of Ledger
 - principal
Id string - UUID/GUID based Principal Id of the Security Principal
 - tenant
Id string - UUID/GUID based Tenant Id of the Security Principal
 
- ledger_
role_ strname  - 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
 
- ledger
Role StringName  - LedgerRole associated with the Security Principal of Ledger
 - principal
Id String - UUID/GUID based Principal Id of the Security Principal
 - tenant
Id String - UUID/GUID based Tenant Id of the Security Principal
 
CertBasedSecurityPrincipalResponse    
- Cert string
 - Public key of the user cert (.pem or .cer)
 - Ledger
Role stringName  - LedgerRole associated with the Security Principal of Ledger
 
- Cert string
 - Public key of the user cert (.pem or .cer)
 - Ledger
Role stringName  - LedgerRole associated with the Security Principal of Ledger
 
- cert String
 - Public key of the user cert (.pem or .cer)
 - ledger
Role StringName  - LedgerRole associated with the Security Principal of Ledger
 
- cert string
 - Public key of the user cert (.pem or .cer)
 - ledger
Role stringName  - LedgerRole associated with the Security Principal of Ledger
 
- cert str
 - Public key of the user cert (.pem or .cer)
 - ledger_
role_ strname  - LedgerRole associated with the Security Principal of Ledger
 
- cert String
 - Public key of the user cert (.pem or .cer)
 - ledger
Role StringName  - LedgerRole associated with the Security Principal of Ledger
 
LedgerPropertiesResponse  
- Identity
Service stringUri  - Endpoint for accessing network identity.
 - Ledger
Internal stringNamespace  - Internal namespace for the Ledger
 - Ledger
Name string - Unique name for the Confidential Ledger.
 - Ledger
Uri string - Endpoint for calling Ledger Service.
 - Provisioning
State string - Provisioning state of Ledger Resource
 - Aad
Based List<Pulumi.Security Principals Azure Native. Confidential Ledger. Inputs. AADBased Security Principal Response>  - Array of all AAD based Security Principals.
 - Cert
Based List<Pulumi.Security Principals Azure Native. Confidential Ledger. Inputs. Cert Based Security Principal Response>  - Array of all cert based Security Principals.
 - Ledger
Sku string - SKU associated with the ledger
 - Ledger
Type string - Type of Confidential Ledger
 - Running
State string - Object representing RunningState for Ledger.
 
- Identity
Service stringUri  - Endpoint for accessing network identity.
 - Ledger
Internal stringNamespace  - Internal namespace for the Ledger
 - Ledger
Name string - Unique name for the Confidential Ledger.
 - Ledger
Uri string - Endpoint for calling Ledger Service.
 - Provisioning
State string - Provisioning state of Ledger Resource
 - Aad
Based []AADBasedSecurity Principals Security Principal Response  - Array of all AAD based Security Principals.
 - Cert
Based []CertSecurity Principals Based Security Principal Response  - Array of all cert based Security Principals.
 - Ledger
Sku string - SKU associated with the ledger
 - Ledger
Type string - Type of Confidential Ledger
 - Running
State string - Object representing RunningState for Ledger.
 
- identity
Service StringUri  - Endpoint for accessing network identity.
 - ledger
Internal StringNamespace  - Internal namespace for the Ledger
 - ledger
Name String - Unique name for the Confidential Ledger.
 - ledger
Uri String - Endpoint for calling Ledger Service.
 - provisioning
State String - Provisioning state of Ledger Resource
 - aad
Based List<AADBasedSecurity Principals Security Principal Response>  - Array of all AAD based Security Principals.
 - cert
Based List<CertSecurity Principals Based Security Principal Response>  - Array of all cert based Security Principals.
 - ledger
Sku String - SKU associated with the ledger
 - ledger
Type String - Type of Confidential Ledger
 - running
State String - Object representing RunningState for Ledger.
 
- identity
Service stringUri  - Endpoint for accessing network identity.
 - ledger
Internal stringNamespace  - Internal namespace for the Ledger
 - ledger
Name string - Unique name for the Confidential Ledger.
 - ledger
Uri string - Endpoint for calling Ledger Service.
 - provisioning
State string - Provisioning state of Ledger Resource
 - aad
Based AADBasedSecurity Principals Security Principal Response[]  - Array of all AAD based Security Principals.
 - cert
Based CertSecurity Principals Based Security Principal Response[]  - Array of all cert based Security Principals.
 - ledger
Sku string - SKU associated with the ledger
 - ledger
Type string - Type of Confidential Ledger
 - running
State string - Object representing RunningState for Ledger.
 
- identity_
service_ struri  - Endpoint for accessing network identity.
 - ledger_
internal_ strnamespace  - 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_ Sequence[AADBasedsecurity_ principals Security Principal Response]  - Array of all AAD based Security Principals.
 - cert_
based_ Sequence[Certsecurity_ principals Based Security Principal Response]  - 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.
 
- identity
Service StringUri  - Endpoint for accessing network identity.
 - ledger
Internal StringNamespace  - Internal namespace for the Ledger
 - ledger
Name String - Unique name for the Confidential Ledger.
 - ledger
Uri String - Endpoint for calling Ledger Service.
 - provisioning
State String - Provisioning state of Ledger Resource
 - aad
Based List<Property Map>Security Principals  - Array of all AAD based Security Principals.
 - cert
Based List<Property Map>Security Principals  - Array of all cert based Security Principals.
 - ledger
Sku String - SKU associated with the ledger
 - ledger
Type String - Type of Confidential Ledger
 - running
State String - Object representing RunningState for Ledger.
 
SystemDataResponse  
- Created
At string - The timestamp of resource creation (UTC).
 - Created
By string - The identity that created the resource.
 - Created
By stringType  - The type of identity that created the resource.
 - Last
Modified stringAt  - The timestamp of resource last modification (UTC)
 - Last
Modified stringBy  - The identity that last modified the resource.
 - Last
Modified stringBy Type  - The type of identity that last modified the resource.
 
- Created
At string - The timestamp of resource creation (UTC).
 - Created
By string - The identity that created the resource.
 - Created
By stringType  - The type of identity that created the resource.
 - Last
Modified stringAt  - The timestamp of resource last modification (UTC)
 - Last
Modified stringBy  - The identity that last modified the resource.
 - Last
Modified stringBy Type  - The type of identity that last modified the resource.
 
- created
At String - The timestamp of resource creation (UTC).
 - created
By String - The identity that created the resource.
 - created
By StringType  - The type of identity that created the resource.
 - last
Modified StringAt  - The timestamp of resource last modification (UTC)
 - last
Modified StringBy  - The identity that last modified the resource.
 - last
Modified StringBy Type  - The type of identity that last modified the resource.
 
- created
At string - The timestamp of resource creation (UTC).
 - created
By string - The identity that created the resource.
 - created
By stringType  - The type of identity that created the resource.
 - last
Modified stringAt  - The timestamp of resource last modification (UTC)
 - last
Modified stringBy  - The identity that last modified the resource.
 - last
Modified stringBy Type  - 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_ strtype  - The type of identity that created the resource.
 - last_
modified_ strat  - The timestamp of resource last modification (UTC)
 - last_
modified_ strby  - The identity that last modified the resource.
 - last_
modified_ strby_ type  - The type of identity that last modified the resource.
 
- created
At String - The timestamp of resource creation (UTC).
 - created
By String - The identity that created the resource.
 - created
By StringType  - The type of identity that created the resource.
 - last
Modified StringAt  - The timestamp of resource last modification (UTC)
 - last
Modified StringBy  - The identity that last modified the resource.
 - last
Modified StringBy Type  - The type of identity that last modified the resource.
 
Package Details
- Repository
 - Azure Native pulumi/pulumi-azure-native
 - License
 - Apache-2.0