azure-native.azurestack.Registration
Explore with Pulumi AI
Registration information.
Uses Azure REST API version 2022-06-01. In version 2.x of the Azure Native provider, it used API version 2022-06-01.
Other available API versions: 2020-06-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native azurestack [ApiVersion]
. See the version guide for details.
Create Registration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Registration(name: string, args: RegistrationArgs, opts?: CustomResourceOptions);
@overload
def Registration(resource_name: str,
args: RegistrationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Registration(resource_name: str,
opts: Optional[ResourceOptions] = None,
registration_token: Optional[str] = None,
resource_group: Optional[str] = None,
location: Optional[Union[str, Location]] = None,
registration_name: Optional[str] = None)
func NewRegistration(ctx *Context, name string, args RegistrationArgs, opts ...ResourceOption) (*Registration, error)
public Registration(string name, RegistrationArgs args, CustomResourceOptions? opts = null)
public Registration(String name, RegistrationArgs args)
public Registration(String name, RegistrationArgs args, CustomResourceOptions options)
type: azure-native:azurestack:Registration
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. RegistrationArgs - 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. RegistrationArgs - 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. RegistrationArgs - 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. RegistrationArgs - 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. RegistrationArgs - 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 registrationResource = new AzureNative.AzureStack.Registration("registrationResource", new()
{
RegistrationToken = "string",
ResourceGroup = "string",
Location = "string",
RegistrationName = "string",
});
example, err := azurestack.NewRegistration(ctx, "registrationResource", &azurestack.RegistrationArgs{
RegistrationToken: pulumi.String("string"),
ResourceGroup: pulumi.String("string"),
Location: pulumi.String("string"),
RegistrationName: pulumi.String("string"),
})
var registrationResource = new Registration("registrationResource", RegistrationArgs.builder()
.registrationToken("string")
.resourceGroup("string")
.location("string")
.registrationName("string")
.build());
registration_resource = azure_native.azurestack.Registration("registrationResource",
registration_token="string",
resource_group="string",
location="string",
registration_name="string")
const registrationResource = new azure_native.azurestack.Registration("registrationResource", {
registrationToken: "string",
resourceGroup: "string",
location: "string",
registrationName: "string",
});
type: azure-native:azurestack:Registration
properties:
location: string
registrationName: string
registrationToken: string
resourceGroup: string
Registration 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 Registration resource accepts the following input properties:
- Registration
Token This property is required. string - The token identifying registered Azure Stack
- Resource
Group This property is required. Changes to this property will trigger replacement.
- Name of the resource group.
- Location
Changes to this property will trigger replacement.
Azure Native. Azure Stack. Location - Location of the resource.
- Registration
Name Changes to this property will trigger replacement.
- Name of the Azure Stack registration.
- Registration
Token This property is required. string - The token identifying registered Azure Stack
- Resource
Group This property is required. Changes to this property will trigger replacement.
- Name of the resource group.
- Location
Changes to this property will trigger replacement.
- Location of the resource.
- Registration
Name Changes to this property will trigger replacement.
- Name of the Azure Stack registration.
- registration
Token This property is required. String - The token identifying registered Azure Stack
- resource
Group This property is required. Changes to this property will trigger replacement.
- Name of the resource group.
- location
Changes to this property will trigger replacement.
- Location of the resource.
- registration
Name Changes to this property will trigger replacement.
- Name of the Azure Stack registration.
- registration
Token This property is required. string - The token identifying registered Azure Stack
- resource
Group This property is required. Changes to this property will trigger replacement.
- Name of the resource group.
- location
Changes to this property will trigger replacement.
- Location of the resource.
- registration
Name Changes to this property will trigger replacement.
- Name of the Azure Stack registration.
- registration_
token This property is required. str - The token identifying registered Azure Stack
- resource_
group This property is required. Changes to this property will trigger replacement.
- Name of the resource group.
- location
Changes to this property will trigger replacement.
- Location of the resource.
- registration_
name Changes to this property will trigger replacement.
- Name of the Azure Stack registration.
- registration
Token This property is required. String - The token identifying registered Azure Stack
- resource
Group This property is required. Changes to this property will trigger replacement.
- Name of the resource group.
- location
Changes to this property will trigger replacement.
- Location of the resource.
- registration
Name Changes to this property will trigger replacement.
- Name of the Azure Stack registration.
Outputs
All input properties are implicitly available as output properties. Additionally, the Registration resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the resource.
- Type string
- Type of Resource.
- Billing
Model string - Specifies the billing mode for the Azure Stack registration.
- Cloud
Id string - The identifier of the registered Azure Stack.
- Etag string
- The entity tag used for optimistic concurrency when modifying the resource.
- Object
Id string - The object identifier associated with the Azure Stack connecting to Azure.
- Dictionary<string, string>
- Custom tags for the resource.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the resource.
- Type string
- Type of Resource.
- Billing
Model string - Specifies the billing mode for the Azure Stack registration.
- Cloud
Id string - The identifier of the registered Azure Stack.
- Etag string
- The entity tag used for optimistic concurrency when modifying the resource.
- Object
Id string - The object identifier associated with the Azure Stack connecting to Azure.
- map[string]string
- Custom tags for the resource.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the resource.
- type String
- Type of Resource.
- billing
Model String - Specifies the billing mode for the Azure Stack registration.
- cloud
Id String - The identifier of the registered Azure Stack.
- etag String
- The entity tag used for optimistic concurrency when modifying the resource.
- object
Id String - The object identifier associated with the Azure Stack connecting to Azure.
- Map<String,String>
- Custom tags for the resource.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Name of the resource.
- type string
- Type of Resource.
- billing
Model string - Specifies the billing mode for the Azure Stack registration.
- cloud
Id string - The identifier of the registered Azure Stack.
- etag string
- The entity tag used for optimistic concurrency when modifying the resource.
- object
Id string - The object identifier associated with the Azure Stack connecting to Azure.
- {[key: string]: string}
- Custom tags for the resource.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Name of the resource.
- type str
- Type of Resource.
- billing_
model str - Specifies the billing mode for the Azure Stack registration.
- cloud_
id str - The identifier of the registered Azure Stack.
- etag str
- The entity tag used for optimistic concurrency when modifying the resource.
- object_
id str - The object identifier associated with the Azure Stack connecting to Azure.
- Mapping[str, str]
- Custom tags for the resource.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the resource.
- type String
- Type of Resource.
- billing
Model String - Specifies the billing mode for the Azure Stack registration.
- cloud
Id String - The identifier of the registered Azure Stack.
- etag String
- The entity tag used for optimistic concurrency when modifying the resource.
- object
Id String - The object identifier associated with the Azure Stack connecting to Azure.
- Map<String>
- Custom tags for the resource.
Supporting Types
Location, LocationArgs
- @Global
- global
- Location
Global - global
- Global
- global
- Global
- global
- GLOBAL_
- global
- "global"
- global
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:azurestack:Registration testregistration /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0