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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.digitaltwins.getDigitalTwin
Explore with Pulumi AI
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Get DigitalTwinsInstances resource. Azure REST API version: 2023-01-31.
Using getDigitalTwin
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 getDigitalTwin(args: GetDigitalTwinArgs, opts?: InvokeOptions): Promise<GetDigitalTwinResult>
function getDigitalTwinOutput(args: GetDigitalTwinOutputArgs, opts?: InvokeOptions): Output<GetDigitalTwinResult>def get_digital_twin(resource_group_name: Optional[str] = None,
                     resource_name: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetDigitalTwinResult
def get_digital_twin_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                     resource_name: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetDigitalTwinResult]func LookupDigitalTwin(ctx *Context, args *LookupDigitalTwinArgs, opts ...InvokeOption) (*LookupDigitalTwinResult, error)
func LookupDigitalTwinOutput(ctx *Context, args *LookupDigitalTwinOutputArgs, opts ...InvokeOption) LookupDigitalTwinResultOutput> Note: This function is named LookupDigitalTwin in the Go SDK.
public static class GetDigitalTwin 
{
    public static Task<GetDigitalTwinResult> InvokeAsync(GetDigitalTwinArgs args, InvokeOptions? opts = null)
    public static Output<GetDigitalTwinResult> Invoke(GetDigitalTwinInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDigitalTwinResult> getDigitalTwin(GetDigitalTwinArgs args, InvokeOptions options)
public static Output<GetDigitalTwinResult> getDigitalTwin(GetDigitalTwinArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:digitaltwins:getDigitalTwin
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResourceGroup stringName 
- The name of the resource group that contains the DigitalTwinsInstance.
- ResourceName string
- The name of the DigitalTwinsInstance.
- ResourceGroup stringName 
- The name of the resource group that contains the DigitalTwinsInstance.
- ResourceName string
- The name of the DigitalTwinsInstance.
- resourceGroup StringName 
- The name of the resource group that contains the DigitalTwinsInstance.
- resourceName String
- The name of the DigitalTwinsInstance.
- resourceGroup stringName 
- The name of the resource group that contains the DigitalTwinsInstance.
- resourceName string
- The name of the DigitalTwinsInstance.
- resource_group_ strname 
- The name of the resource group that contains the DigitalTwinsInstance.
- resource_name str
- The name of the DigitalTwinsInstance.
- resourceGroup StringName 
- The name of the resource group that contains the DigitalTwinsInstance.
- resourceName String
- The name of the DigitalTwinsInstance.
getDigitalTwin Result
The following output properties are available:
- CreatedTime string
- Time when DigitalTwinsInstance was created.
- HostName string
- Api endpoint to work with DigitalTwinsInstance.
- Id string
- The resource identifier.
- LastUpdated stringTime 
- Time when DigitalTwinsInstance was updated.
- Location string
- The resource location.
- Name string
- The resource name.
- ProvisioningState string
- The provisioning state.
- SystemData Pulumi.Azure Native. Digital Twins. Outputs. System Data Response 
- Metadata pertaining to creation and last modification of the DigitalTwinsInstance.
- Type string
- The resource type.
- Identity
Pulumi.Azure Native. Digital Twins. Outputs. Digital Twins Identity Response 
- The managed identity for the DigitalTwinsInstance.
- PrivateEndpoint List<Pulumi.Connections Azure Native. Digital Twins. Outputs. Private Endpoint Connection Response> 
- The private endpoint connections.
- PublicNetwork stringAccess 
- Public network access for the DigitalTwinsInstance.
- Dictionary<string, string>
- The resource tags.
- CreatedTime string
- Time when DigitalTwinsInstance was created.
- HostName string
- Api endpoint to work with DigitalTwinsInstance.
- Id string
- The resource identifier.
- LastUpdated stringTime 
- Time when DigitalTwinsInstance was updated.
- Location string
- The resource location.
- Name string
- The resource name.
- ProvisioningState string
- The provisioning state.
- SystemData SystemData Response 
- Metadata pertaining to creation and last modification of the DigitalTwinsInstance.
- Type string
- The resource type.
- Identity
DigitalTwins Identity Response 
- The managed identity for the DigitalTwinsInstance.
- PrivateEndpoint []PrivateConnections Endpoint Connection Response 
- The private endpoint connections.
- PublicNetwork stringAccess 
- Public network access for the DigitalTwinsInstance.
- map[string]string
- The resource tags.
- createdTime String
- Time when DigitalTwinsInstance was created.
- hostName String
- Api endpoint to work with DigitalTwinsInstance.
- id String
- The resource identifier.
- lastUpdated StringTime 
- Time when DigitalTwinsInstance was updated.
- location String
- The resource location.
- name String
- The resource name.
- provisioningState String
- The provisioning state.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the DigitalTwinsInstance.
- type String
- The resource type.
- identity
DigitalTwins Identity Response 
- The managed identity for the DigitalTwinsInstance.
- privateEndpoint List<PrivateConnections Endpoint Connection Response> 
- The private endpoint connections.
- publicNetwork StringAccess 
- Public network access for the DigitalTwinsInstance.
- Map<String,String>
- The resource tags.
- createdTime string
- Time when DigitalTwinsInstance was created.
- hostName string
- Api endpoint to work with DigitalTwinsInstance.
- id string
- The resource identifier.
- lastUpdated stringTime 
- Time when DigitalTwinsInstance was updated.
- location string
- The resource location.
- name string
- The resource name.
- provisioningState string
- The provisioning state.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the DigitalTwinsInstance.
- type string
- The resource type.
- identity
DigitalTwins Identity Response 
- The managed identity for the DigitalTwinsInstance.
- privateEndpoint PrivateConnections Endpoint Connection Response[] 
- The private endpoint connections.
- publicNetwork stringAccess 
- Public network access for the DigitalTwinsInstance.
- {[key: string]: string}
- The resource tags.
- created_time str
- Time when DigitalTwinsInstance was created.
- host_name str
- Api endpoint to work with DigitalTwinsInstance.
- id str
- The resource identifier.
- last_updated_ strtime 
- Time when DigitalTwinsInstance was updated.
- location str
- The resource location.
- name str
- The resource name.
- provisioning_state str
- The provisioning state.
- system_data SystemData Response 
- Metadata pertaining to creation and last modification of the DigitalTwinsInstance.
- type str
- The resource type.
- identity
DigitalTwins Identity Response 
- The managed identity for the DigitalTwinsInstance.
- private_endpoint_ Sequence[Privateconnections Endpoint Connection Response] 
- The private endpoint connections.
- public_network_ straccess 
- Public network access for the DigitalTwinsInstance.
- Mapping[str, str]
- The resource tags.
- createdTime String
- Time when DigitalTwinsInstance was created.
- hostName String
- Api endpoint to work with DigitalTwinsInstance.
- id String
- The resource identifier.
- lastUpdated StringTime 
- Time when DigitalTwinsInstance was updated.
- location String
- The resource location.
- name String
- The resource name.
- provisioningState String
- The provisioning state.
- systemData Property Map
- Metadata pertaining to creation and last modification of the DigitalTwinsInstance.
- type String
- The resource type.
- identity Property Map
- The managed identity for the DigitalTwinsInstance.
- privateEndpoint List<Property Map>Connections 
- The private endpoint connections.
- publicNetwork StringAccess 
- Public network access for the DigitalTwinsInstance.
- Map<String>
- The resource tags.
Supporting Types
ConnectionPropertiesResponse  
- ProvisioningState string
- The provisioning state.
- GroupIds List<string>
- The list of group ids for the private endpoint connection.
- PrivateEndpoint Pulumi.Azure Native. Digital Twins. Inputs. Private Endpoint Response 
- The private endpoint.
- PrivateLink Pulumi.Service Connection State Azure Native. Digital Twins. Inputs. Connection Properties Response Private Link Service Connection State 
- The connection state.
- ProvisioningState string
- The provisioning state.
- GroupIds []string
- The list of group ids for the private endpoint connection.
- PrivateEndpoint PrivateEndpoint Response 
- The private endpoint.
- PrivateLink ConnectionService Connection State Properties Response Private Link Service Connection State 
- The connection state.
- provisioningState String
- The provisioning state.
- groupIds List<String>
- The list of group ids for the private endpoint connection.
- privateEndpoint PrivateEndpoint Response 
- The private endpoint.
- privateLink ConnectionService Connection State Properties Response Private Link Service Connection State 
- The connection state.
- provisioningState string
- The provisioning state.
- groupIds string[]
- The list of group ids for the private endpoint connection.
- privateEndpoint PrivateEndpoint Response 
- The private endpoint.
- privateLink ConnectionService Connection State Properties Response Private Link Service Connection State 
- The connection state.
- provisioning_state str
- The provisioning state.
- group_ids Sequence[str]
- The list of group ids for the private endpoint connection.
- private_endpoint PrivateEndpoint Response 
- The private endpoint.
- private_link_ Connectionservice_ connection_ state Properties Response Private Link Service Connection State 
- The connection state.
- provisioningState String
- The provisioning state.
- groupIds List<String>
- The list of group ids for the private endpoint connection.
- privateEndpoint Property Map
- The private endpoint.
- privateLink Property MapService Connection State 
- The connection state.
ConnectionPropertiesResponsePrivateLinkServiceConnectionState       
- Description string
- The description for the current state of a private endpoint connection.
- Status string
- The status of a private endpoint connection.
- ActionsRequired string
- Actions required for a private endpoint connection.
- Description string
- The description for the current state of a private endpoint connection.
- Status string
- The status of a private endpoint connection.
- ActionsRequired string
- Actions required for a private endpoint connection.
- description String
- The description for the current state of a private endpoint connection.
- status String
- The status of a private endpoint connection.
- actionsRequired String
- Actions required for a private endpoint connection.
- description string
- The description for the current state of a private endpoint connection.
- status string
- The status of a private endpoint connection.
- actionsRequired string
- Actions required for a private endpoint connection.
- description str
- The description for the current state of a private endpoint connection.
- status str
- The status of a private endpoint connection.
- actions_required str
- Actions required for a private endpoint connection.
- description String
- The description for the current state of a private endpoint connection.
- status String
- The status of a private endpoint connection.
- actionsRequired String
- Actions required for a private endpoint connection.
DigitalTwinsIdentityResponse   
- PrincipalId string
- The object id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-identity-principal-id header in the PUT request if the resource has a systemAssigned(implicit) identity
- TenantId string
- The tenant id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-client-tenant-id header in the PUT request if the resource has a systemAssigned(implicit) identity
- Type string
- The type of Managed Identity used by the DigitalTwinsInstance.
- UserAssigned Dictionary<string, Pulumi.Identities Azure Native. Digital Twins. Inputs. User Assigned Identity Response> 
- The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. .
- PrincipalId string
- The object id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-identity-principal-id header in the PUT request if the resource has a systemAssigned(implicit) identity
- TenantId string
- The tenant id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-client-tenant-id header in the PUT request if the resource has a systemAssigned(implicit) identity
- Type string
- The type of Managed Identity used by the DigitalTwinsInstance.
- UserAssigned map[string]UserIdentities Assigned Identity Response 
- The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. .
- principalId String
- The object id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-identity-principal-id header in the PUT request if the resource has a systemAssigned(implicit) identity
- tenantId String
- The tenant id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-client-tenant-id header in the PUT request if the resource has a systemAssigned(implicit) identity
- type String
- The type of Managed Identity used by the DigitalTwinsInstance.
- userAssigned Map<String,UserIdentities Assigned Identity Response> 
- The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. .
- principalId string
- The object id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-identity-principal-id header in the PUT request if the resource has a systemAssigned(implicit) identity
- tenantId string
- The tenant id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-client-tenant-id header in the PUT request if the resource has a systemAssigned(implicit) identity
- type string
- The type of Managed Identity used by the DigitalTwinsInstance.
- userAssigned {[key: string]: UserIdentities Assigned Identity Response} 
- The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. .
- principal_id str
- The object id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-identity-principal-id header in the PUT request if the resource has a systemAssigned(implicit) identity
- tenant_id str
- The tenant id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-client-tenant-id header in the PUT request if the resource has a systemAssigned(implicit) identity
- type str
- The type of Managed Identity used by the DigitalTwinsInstance.
- user_assigned_ Mapping[str, Useridentities Assigned Identity Response] 
- The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. .
- principalId String
- The object id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-identity-principal-id header in the PUT request if the resource has a systemAssigned(implicit) identity
- tenantId String
- The tenant id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-client-tenant-id header in the PUT request if the resource has a systemAssigned(implicit) identity
- type String
- The type of Managed Identity used by the DigitalTwinsInstance.
- userAssigned Map<Property Map>Identities 
- The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. .
PrivateEndpointConnectionResponse   
- Id string
- The resource identifier.
- Name string
- The resource name.
- Properties
Pulumi.Azure Native. Digital Twins. Inputs. Connection Properties Response 
- The connection properties.
- SystemData Pulumi.Azure Native. Digital Twins. Inputs. System Data Response 
- Metadata pertaining to creation and last modification of the private endpoint connection.
- Type string
- The resource type.
- Id string
- The resource identifier.
- Name string
- The resource name.
- Properties
ConnectionProperties Response 
- The connection properties.
- SystemData SystemData Response 
- Metadata pertaining to creation and last modification of the private endpoint connection.
- Type string
- The resource type.
- id String
- The resource identifier.
- name String
- The resource name.
- properties
ConnectionProperties Response 
- The connection properties.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the private endpoint connection.
- type String
- The resource type.
- id string
- The resource identifier.
- name string
- The resource name.
- properties
ConnectionProperties Response 
- The connection properties.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the private endpoint connection.
- type string
- The resource type.
- id str
- The resource identifier.
- name str
- The resource name.
- properties
ConnectionProperties Response 
- The connection properties.
- system_data SystemData Response 
- Metadata pertaining to creation and last modification of the private endpoint connection.
- type str
- The resource type.
- id String
- The resource identifier.
- name String
- The resource name.
- properties Property Map
- The connection properties.
- systemData Property Map
- Metadata pertaining to creation and last modification of the private endpoint connection.
- type String
- The resource type.
PrivateEndpointResponse  
- Id string
- The resource identifier.
- Id string
- The resource identifier.
- id String
- The resource identifier.
- id string
- The resource identifier.
- id str
- The resource identifier.
- id String
- The resource identifier.
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified 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.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
UserAssignedIdentityResponse   
- ClientId string
- The client id of the User Assigned Identity Resource.
- PrincipalId string
- The object id of the User Assigned Identity Resource.
- ClientId string
- The client id of the User Assigned Identity Resource.
- PrincipalId string
- The object id of the User Assigned Identity Resource.
- clientId String
- The client id of the User Assigned Identity Resource.
- principalId String
- The object id of the User Assigned Identity Resource.
- clientId string
- The client id of the User Assigned Identity Resource.
- principalId string
- The object id of the User Assigned Identity Resource.
- client_id str
- The client id of the User Assigned Identity Resource.
- principal_id str
- The object id of the User Assigned Identity Resource.
- clientId String
- The client id of the User Assigned Identity Resource.
- principalId String
- The object id of the User Assigned Identity Resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi