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.azurestack.getLinkedSubscription
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
Returns the properties of a Linked Subscription resource. Azure REST API version: 2020-06-01-preview.
Using getLinkedSubscription
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 getLinkedSubscription(args: GetLinkedSubscriptionArgs, opts?: InvokeOptions): Promise<GetLinkedSubscriptionResult>
function getLinkedSubscriptionOutput(args: GetLinkedSubscriptionOutputArgs, opts?: InvokeOptions): Output<GetLinkedSubscriptionResult>def get_linked_subscription(linked_subscription_name: Optional[str] = None,
                            resource_group: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetLinkedSubscriptionResult
def get_linked_subscription_output(linked_subscription_name: Optional[pulumi.Input[str]] = None,
                            resource_group: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetLinkedSubscriptionResult]func LookupLinkedSubscription(ctx *Context, args *LookupLinkedSubscriptionArgs, opts ...InvokeOption) (*LookupLinkedSubscriptionResult, error)
func LookupLinkedSubscriptionOutput(ctx *Context, args *LookupLinkedSubscriptionOutputArgs, opts ...InvokeOption) LookupLinkedSubscriptionResultOutput> Note: This function is named LookupLinkedSubscription in the Go SDK.
public static class GetLinkedSubscription 
{
    public static Task<GetLinkedSubscriptionResult> InvokeAsync(GetLinkedSubscriptionArgs args, InvokeOptions? opts = null)
    public static Output<GetLinkedSubscriptionResult> Invoke(GetLinkedSubscriptionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetLinkedSubscriptionResult> getLinkedSubscription(GetLinkedSubscriptionArgs args, InvokeOptions options)
public static Output<GetLinkedSubscriptionResult> getLinkedSubscription(GetLinkedSubscriptionArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:azurestack:getLinkedSubscription
  arguments:
    # arguments dictionaryThe following arguments are supported:
- LinkedSubscription stringName 
- Name of the Linked Subscription resource.
- ResourceGroup string
- Name of the resource group.
- LinkedSubscription stringName 
- Name of the Linked Subscription resource.
- ResourceGroup string
- Name of the resource group.
- linkedSubscription StringName 
- Name of the Linked Subscription resource.
- resourceGroup String
- Name of the resource group.
- linkedSubscription stringName 
- Name of the Linked Subscription resource.
- resourceGroup string
- Name of the resource group.
- linked_subscription_ strname 
- Name of the Linked Subscription resource.
- resource_group str
- Name of the resource group.
- linkedSubscription StringName 
- Name of the Linked Subscription resource.
- resourceGroup String
- Name of the resource group.
getLinkedSubscription Result
The following output properties are available:
- DeviceConnection stringStatus 
- The status of the remote management connection of the Azure Stack device.
- DeviceId string
- The identifier of the Azure Stack device for remote management.
- DeviceLink stringState 
- The connection state of the Azure Stack device.
- DeviceObject stringId 
- The object identifier associated with the Azure Stack device connecting to Azure.
- Id string
- ID of the resource.
- Kind string
- The kind of the resource.
- LastConnected stringTime 
- The last remote management connection time for the Azure Stack device connected to the linked subscription resource.
- Location string
- Location of the resource.
- Name string
- Name of the resource.
- SystemData Pulumi.Azure Native. Azure Stack. Outputs. System Data Response 
- Metadata pertaining to creation and last modification of the resource.
- Type string
- Type of Resource.
- Etag string
- The entity tag used for optimistic concurrency when modifying the resource.
- LinkedSubscription stringId 
- The identifier associated with the device subscription.
- RegistrationResource stringId 
- The identifier associated with the device registration.
- Dictionary<string, string>
- Custom tags for the resource.
- DeviceConnection stringStatus 
- The status of the remote management connection of the Azure Stack device.
- DeviceId string
- The identifier of the Azure Stack device for remote management.
- DeviceLink stringState 
- The connection state of the Azure Stack device.
- DeviceObject stringId 
- The object identifier associated with the Azure Stack device connecting to Azure.
- Id string
- ID of the resource.
- Kind string
- The kind of the resource.
- LastConnected stringTime 
- The last remote management connection time for the Azure Stack device connected to the linked subscription resource.
- Location string
- Location of the resource.
- Name string
- Name of the resource.
- SystemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- Type string
- Type of Resource.
- Etag string
- The entity tag used for optimistic concurrency when modifying the resource.
- LinkedSubscription stringId 
- The identifier associated with the device subscription.
- RegistrationResource stringId 
- The identifier associated with the device registration.
- map[string]string
- Custom tags for the resource.
- deviceConnection StringStatus 
- The status of the remote management connection of the Azure Stack device.
- deviceId String
- The identifier of the Azure Stack device for remote management.
- deviceLink StringState 
- The connection state of the Azure Stack device.
- deviceObject StringId 
- The object identifier associated with the Azure Stack device connecting to Azure.
- id String
- ID of the resource.
- kind String
- The kind of the resource.
- lastConnected StringTime 
- The last remote management connection time for the Azure Stack device connected to the linked subscription resource.
- location String
- Location of the resource.
- name String
- Name of the resource.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- type String
- Type of Resource.
- etag String
- The entity tag used for optimistic concurrency when modifying the resource.
- linkedSubscription StringId 
- The identifier associated with the device subscription.
- registrationResource StringId 
- The identifier associated with the device registration.
- Map<String,String>
- Custom tags for the resource.
- deviceConnection stringStatus 
- The status of the remote management connection of the Azure Stack device.
- deviceId string
- The identifier of the Azure Stack device for remote management.
- deviceLink stringState 
- The connection state of the Azure Stack device.
- deviceObject stringId 
- The object identifier associated with the Azure Stack device connecting to Azure.
- id string
- ID of the resource.
- kind string
- The kind of the resource.
- lastConnected stringTime 
- The last remote management connection time for the Azure Stack device connected to the linked subscription resource.
- location string
- Location of the resource.
- name string
- Name of the resource.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- type string
- Type of Resource.
- etag string
- The entity tag used for optimistic concurrency when modifying the resource.
- linkedSubscription stringId 
- The identifier associated with the device subscription.
- registrationResource stringId 
- The identifier associated with the device registration.
- {[key: string]: string}
- Custom tags for the resource.
- device_connection_ strstatus 
- The status of the remote management connection of the Azure Stack device.
- device_id str
- The identifier of the Azure Stack device for remote management.
- device_link_ strstate 
- The connection state of the Azure Stack device.
- device_object_ strid 
- The object identifier associated with the Azure Stack device connecting to Azure.
- id str
- ID of the resource.
- kind str
- The kind of the resource.
- last_connected_ strtime 
- The last remote management connection time for the Azure Stack device connected to the linked subscription resource.
- location str
- Location of the resource.
- name str
- Name of the resource.
- system_data SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- type str
- Type of Resource.
- etag str
- The entity tag used for optimistic concurrency when modifying the resource.
- linked_subscription_ strid 
- The identifier associated with the device subscription.
- registration_resource_ strid 
- The identifier associated with the device registration.
- Mapping[str, str]
- Custom tags for the resource.
- deviceConnection StringStatus 
- The status of the remote management connection of the Azure Stack device.
- deviceId String
- The identifier of the Azure Stack device for remote management.
- deviceLink StringState 
- The connection state of the Azure Stack device.
- deviceObject StringId 
- The object identifier associated with the Azure Stack device connecting to Azure.
- id String
- ID of the resource.
- kind String
- The kind of the resource.
- lastConnected StringTime 
- The last remote management connection time for the Azure Stack device connected to the linked subscription resource.
- location String
- Location of the resource.
- name String
- Name of the resource.
- systemData Property Map
- Metadata pertaining to creation and last modification of the resource.
- type String
- Type of Resource.
- etag String
- The entity tag used for optimistic concurrency when modifying the resource.
- linkedSubscription StringId 
- The identifier associated with the device subscription.
- registrationResource StringId 
- The identifier associated with the device registration.
- Map<String>
- Custom tags for the resource.
Supporting Types
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.
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