azure-native-v2.azurestack.LinkedSubscription
Explore with Pulumi AI
Linked Subscription information. Azure REST API version: 2020-06-01-preview. Prior API version in Azure Native 1.x: 2020-06-01-preview.
Create LinkedSubscription Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LinkedSubscription(name: string, args: LinkedSubscriptionArgs, opts?: CustomResourceOptions);
@overload
def LinkedSubscription(resource_name: str,
args: LinkedSubscriptionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LinkedSubscription(resource_name: str,
opts: Optional[ResourceOptions] = None,
linked_subscription_id: Optional[str] = None,
registration_resource_id: Optional[str] = None,
resource_group: Optional[str] = None,
linked_subscription_name: Optional[str] = None,
location: Optional[Union[str, Location]] = None)
func NewLinkedSubscription(ctx *Context, name string, args LinkedSubscriptionArgs, opts ...ResourceOption) (*LinkedSubscription, error)
public LinkedSubscription(string name, LinkedSubscriptionArgs args, CustomResourceOptions? opts = null)
public LinkedSubscription(String name, LinkedSubscriptionArgs args)
public LinkedSubscription(String name, LinkedSubscriptionArgs args, CustomResourceOptions options)
type: azure-native:azurestack:LinkedSubscription
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. LinkedSubscriptionArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. LinkedSubscriptionArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. LinkedSubscriptionArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. LinkedSubscriptionArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. LinkedSubscriptionArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var linkedSubscriptionResource = new AzureNative.Azurestack.LinkedSubscription("linkedSubscriptionResource", new()
{
LinkedSubscriptionId = "string",
RegistrationResourceId = "string",
ResourceGroup = "string",
LinkedSubscriptionName = "string",
Location = "string",
});
example, err := azurestack.NewLinkedSubscription(ctx, "linkedSubscriptionResource", &azurestack.LinkedSubscriptionArgs{
LinkedSubscriptionId: "string",
RegistrationResourceId: "string",
ResourceGroup: "string",
LinkedSubscriptionName: "string",
Location: "string",
})
var linkedSubscriptionResource = new LinkedSubscription("linkedSubscriptionResource", LinkedSubscriptionArgs.builder()
.linkedSubscriptionId("string")
.registrationResourceId("string")
.resourceGroup("string")
.linkedSubscriptionName("string")
.location("string")
.build());
linked_subscription_resource = azure_native.azurestack.LinkedSubscription("linkedSubscriptionResource",
linked_subscription_id=string,
registration_resource_id=string,
resource_group=string,
linked_subscription_name=string,
location=string)
const linkedSubscriptionResource = new azure_native.azurestack.LinkedSubscription("linkedSubscriptionResource", {
linkedSubscriptionId: "string",
registrationResourceId: "string",
resourceGroup: "string",
linkedSubscriptionName: "string",
location: "string",
});
type: azure-native:azurestack:LinkedSubscription
properties:
linkedSubscriptionId: string
linkedSubscriptionName: string
location: string
registrationResourceId: string
resourceGroup: string
LinkedSubscription Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The LinkedSubscription resource accepts the following input properties:
- Linked
Subscription Id This property is required. string - The identifier associated with the device subscription.
- Registration
Resource Id This property is required. string - The identifier associated with the device registration.
- Resource
Group This property is required. Changes to this property will trigger replacement.
- Name of the resource group.
- Linked
Subscription Name Changes to this property will trigger replacement.
- Name of the Linked Subscription resource.
- Location
Changes to this property will trigger replacement.
Azure Native. Azure Stack. Location - Location of the resource.
- Linked
Subscription Id This property is required. string - The identifier associated with the device subscription.
- Registration
Resource Id This property is required. string - The identifier associated with the device registration.
- Resource
Group This property is required. Changes to this property will trigger replacement.
- Name of the resource group.
- Linked
Subscription Name Changes to this property will trigger replacement.
- Name of the Linked Subscription resource.
- Location
Changes to this property will trigger replacement.
- Location of the resource.
- linked
Subscription Id This property is required. String - The identifier associated with the device subscription.
- registration
Resource Id This property is required. String - The identifier associated with the device registration.
- resource
Group This property is required. Changes to this property will trigger replacement.
- Name of the resource group.
- linked
Subscription Name Changes to this property will trigger replacement.
- Name of the Linked Subscription resource.
- location
Changes to this property will trigger replacement.
- Location of the resource.
- linked
Subscription Id This property is required. string - The identifier associated with the device subscription.
- registration
Resource Id This property is required. string - The identifier associated with the device registration.
- resource
Group This property is required. Changes to this property will trigger replacement.
- Name of the resource group.
- linked
Subscription Name Changes to this property will trigger replacement.
- Name of the Linked Subscription resource.
- location
Changes to this property will trigger replacement.
- Location of the resource.
- linked_
subscription_ id This property is required. str - The identifier associated with the device subscription.
- registration_
resource_ id This property is required. str - The identifier associated with the device registration.
- resource_
group This property is required. Changes to this property will trigger replacement.
- Name of the resource group.
- linked_
subscription_ name Changes to this property will trigger replacement.
- Name of the Linked Subscription resource.
- location
Changes to this property will trigger replacement.
- Location of the resource.
- linked
Subscription Id This property is required. String - The identifier associated with the device subscription.
- registration
Resource Id This property is required. String - The identifier associated with the device registration.
- resource
Group This property is required. Changes to this property will trigger replacement.
- Name of the resource group.
- linked
Subscription Name Changes to this property will trigger replacement.
- Name of the Linked Subscription resource.
- location
Changes to this property will trigger replacement.
- Location of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the LinkedSubscription resource produces the following output properties:
- Device
Connection stringStatus - The status of the remote management connection of the Azure Stack device.
- Device
Id string - The identifier of the Azure Stack device for remote management.
- Device
Link stringState - The connection state of the Azure Stack device.
- Device
Object stringId - The object identifier associated with the Azure Stack device connecting to Azure.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kind string
- The kind of the resource.
- Last
Connected stringTime - The last remote management connection time for the Azure Stack device connected to the linked subscription resource.
- Name string
- Name of the resource.
- System
Data 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.
- Dictionary<string, string>
- Custom tags for the resource.
- Device
Connection stringStatus - The status of the remote management connection of the Azure Stack device.
- Device
Id string - The identifier of the Azure Stack device for remote management.
- Device
Link stringState - The connection state of the Azure Stack device.
- Device
Object stringId - The object identifier associated with the Azure Stack device connecting to Azure.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kind string
- The kind of the resource.
- Last
Connected stringTime - The last remote management connection time for the Azure Stack device connected to the linked subscription resource.
- Name string
- Name of the resource.
- System
Data 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.
- map[string]string
- Custom tags for the resource.
- device
Connection StringStatus - The status of the remote management connection of the Azure Stack device.
- device
Id String - The identifier of the Azure Stack device for remote management.
- device
Link StringState - The connection state of the Azure Stack device.
- device
Object StringId - The object identifier associated with the Azure Stack device connecting to Azure.
- id String
- The provider-assigned unique ID for this managed resource.
- kind String
- The kind of the resource.
- last
Connected StringTime - The last remote management connection time for the Azure Stack device connected to the linked subscription resource.
- name String
- Name of the resource.
- system
Data 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.
- Map<String,String>
- Custom tags for the resource.
- device
Connection stringStatus - The status of the remote management connection of the Azure Stack device.
- device
Id string - The identifier of the Azure Stack device for remote management.
- device
Link stringState - The connection state of the Azure Stack device.
- device
Object stringId - The object identifier associated with the Azure Stack device connecting to Azure.
- id string
- The provider-assigned unique ID for this managed resource.
- kind string
- The kind of the resource.
- last
Connected stringTime - The last remote management connection time for the Azure Stack device connected to the linked subscription resource.
- name string
- Name of the resource.
- system
Data 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.
- {[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
- The provider-assigned unique ID for this managed 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.
- 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.
- Mapping[str, str]
- Custom tags for the resource.
- device
Connection StringStatus - The status of the remote management connection of the Azure Stack device.
- device
Id String - The identifier of the Azure Stack device for remote management.
- device
Link StringState - The connection state of the Azure Stack device.
- device
Object StringId - The object identifier associated with the Azure Stack device connecting to Azure.
- id String
- The provider-assigned unique ID for this managed resource.
- kind String
- The kind of the resource.
- last
Connected StringTime - The last remote management connection time for the Azure Stack device connected to the linked subscription resource.
- name String
- Name of the resource.
- system
Data 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.
- Map<String>
- Custom tags for the resource.
Supporting Types
Location, LocationArgs
- @Global
- global
- Location
Global - global
- Global
- global
- Global
- global
- GLOBAL_
- global
- "global"
- global
SystemDataResponse, SystemDataResponseArgs
- 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.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:azurestack:LinkedSubscription testLinkedSubscription /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/linkedSubscriptions/{linkedSubscriptionName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0