1. Packages
  2. Azure Native v1
  3. API Docs
  4. azurestack
  5. getLinkedSubscription
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.azurestack.getLinkedSubscription

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Returns the properties of a Linked Subscription resource. 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:azurestack:getLinkedSubscription
      arguments:
        # arguments dictionary

    The following arguments are supported:

    LinkedSubscriptionName string
    Name of the Linked Subscription resource.
    ResourceGroup string
    Name of the resource group.
    LinkedSubscriptionName string
    Name of the Linked Subscription resource.
    ResourceGroup string
    Name of the resource group.
    linkedSubscriptionName String
    Name of the Linked Subscription resource.
    resourceGroup String
    Name of the resource group.
    linkedSubscriptionName string
    Name of the Linked Subscription resource.
    resourceGroup string
    Name of the resource group.
    linked_subscription_name str
    Name of the Linked Subscription resource.
    resource_group str
    Name of the resource group.
    linkedSubscriptionName String
    Name of the Linked Subscription resource.
    resourceGroup String
    Name of the resource group.

    getLinkedSubscription Result

    The following output properties are available:

    DeviceConnectionStatus string
    The status of the remote management connection of the Azure Stack device.
    DeviceId string
    The identifier of the Azure Stack device for remote management.
    DeviceLinkState string
    The connection state of the Azure Stack device.
    DeviceObjectId string
    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.
    LastConnectedTime string
    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.AzureNative.AzureStack.Outputs.SystemDataResponse
    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.
    LinkedSubscriptionId string
    The identifier associated with the device subscription.
    RegistrationResourceId string
    The identifier associated with the device registration.
    Tags Dictionary<string, string>
    Custom tags for the resource.
    DeviceConnectionStatus string
    The status of the remote management connection of the Azure Stack device.
    DeviceId string
    The identifier of the Azure Stack device for remote management.
    DeviceLinkState string
    The connection state of the Azure Stack device.
    DeviceObjectId string
    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.
    LastConnectedTime string
    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 SystemDataResponse
    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.
    LinkedSubscriptionId string
    The identifier associated with the device subscription.
    RegistrationResourceId string
    The identifier associated with the device registration.
    Tags map[string]string
    Custom tags for the resource.
    deviceConnectionStatus String
    The status of the remote management connection of the Azure Stack device.
    deviceId String
    The identifier of the Azure Stack device for remote management.
    deviceLinkState String
    The connection state of the Azure Stack device.
    deviceObjectId String
    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.
    lastConnectedTime String
    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 SystemDataResponse
    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.
    linkedSubscriptionId String
    The identifier associated with the device subscription.
    registrationResourceId String
    The identifier associated with the device registration.
    tags Map<String,String>
    Custom tags for the resource.
    deviceConnectionStatus string
    The status of the remote management connection of the Azure Stack device.
    deviceId string
    The identifier of the Azure Stack device for remote management.
    deviceLinkState string
    The connection state of the Azure Stack device.
    deviceObjectId string
    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.
    lastConnectedTime string
    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 SystemDataResponse
    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.
    linkedSubscriptionId string
    The identifier associated with the device subscription.
    registrationResourceId string
    The identifier associated with the device registration.
    tags {[key: string]: string}
    Custom tags for the resource.
    device_connection_status str
    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_state str
    The connection state of the Azure Stack device.
    device_object_id str
    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_time str
    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 SystemDataResponse
    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_id str
    The identifier associated with the device subscription.
    registration_resource_id str
    The identifier associated with the device registration.
    tags Mapping[str, str]
    Custom tags for the resource.
    deviceConnectionStatus String
    The status of the remote management connection of the Azure Stack device.
    deviceId String
    The identifier of the Azure Stack device for remote management.
    deviceLinkState String
    The connection state of the Azure Stack device.
    deviceObjectId String
    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.
    lastConnectedTime String
    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.
    linkedSubscriptionId String
    The identifier associated with the device subscription.
    registrationResourceId String
    The identifier associated with the device registration.
    tags 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.
    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-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi