1. Packages
  2. Azure Native v1
  3. API Docs
  4. azurestack
  5. Registration
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.Registration

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

    Registration information. API Version: 2017-06-01.

    Example Usage

    Create or update an Azure Stack registration.

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var registration = new AzureNative.AzureStack.Registration("registration", new()
        {
            Location = "global",
            RegistrationName = "testregistration",
            RegistrationToken = "EyjIAWXSAw5nTw9KZWWiOiJeZxZlbg9wBwvUdCiSIM9iaMVjdeLkijoinwIzyJa2Ytgtowm2yy00OdG4lTlLyJmtztHjZGfJZTC0NZK1iIWiY2XvdWRJzCi6iJy5nDy0oDk1LTNHmWeTnDUwyS05oDI0LTrINzYwoGq5mjAzziIsim1HCmtldHBsYwnLu3LuZGljYXrpB25FBmfIbgVkIJp0CNvLLCJOYXJkd2FYzuLUZM8iOlt7IM51bunvcMVZiJoYlCjcaw9ZiJPBIjNkzDJHmda3yte5ndqZMdq4YmZkZmi5oDM3OTY3ZwNMIL0SIM5PyYI6WyJLZTy0ztJJMwZKy2m0OWNLODDLMwm2zTm0ymzKyjmWySisiJA3njlHmtdlY2q4NjRjnwFIZtC1YZi5ZGyZodM3Y2vjIl0siMnwDsi6wyi2oDUZoTbiY2RhNDa0ymrKoWe4YtK5otblzWrJzGyzNCISIjmYnzC4M2vmnZdIoDRKM2i5ytfkmJlhnDc1zdhLzWm1il0sim5HBwuiOijIqzF1MTvhmDIXmIIsimrpc2SiolsioWNlZjVhnZM1otQ0nDu3NmjlN2M3zmfjzmyZMTJhZtiiLcjLZjLmmZJhmWVhytG0NTu0OTqZNWu1Mda0MZbIYtfjyijdLCj1DWlKijoinwM5Mwu3NjytMju5Os00oTIwlWi0OdmTnGzHotiWm2RjyTCxIIwiBWvTb3J5ijPbijAYZDA3M2fjNzu0YTRMZTfhodkxzDnkogY5ZtAWzdyXIiwINZcWzThLnDQ4otrJndAzZGI5MGzlYtY1ZJA5ZdfiNMQIXX1DlcJpC3n1zxiiOijZb21lB25LIIWIdmVyC2LVbiI6IJeuMcJ9",
            ResourceGroup = "azurestack",
        });
    
    });
    
    package main
    
    import (
    	azurestack "github.com/pulumi/pulumi-azure-native-sdk/azurestack"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := azurestack.NewRegistration(ctx, "registration", &azurestack.RegistrationArgs{
    			Location:          pulumi.String("global"),
    			RegistrationName:  pulumi.String("testregistration"),
    			RegistrationToken: pulumi.String("EyjIAWXSAw5nTw9KZWWiOiJeZxZlbg9wBwvUdCiSIM9iaMVjdeLkijoinwIzyJa2Ytgtowm2yy00OdG4lTlLyJmtztHjZGfJZTC0NZK1iIWiY2XvdWRJzCi6iJy5nDy0oDk1LTNHmWeTnDUwyS05oDI0LTrINzYwoGq5mjAzziIsim1HCmtldHBsYwnLu3LuZGljYXrpB25FBmfIbgVkIJp0CNvLLCJOYXJkd2FYzuLUZM8iOlt7IM51bunvcMVZiJoYlCjcaw9ZiJPBIjNkzDJHmda3yte5ndqZMdq4YmZkZmi5oDM3OTY3ZwNMIL0SIM5PyYI6WyJLZTy0ztJJMwZKy2m0OWNLODDLMwm2zTm0ymzKyjmWySisiJA3njlHmtdlY2q4NjRjnwFIZtC1YZi5ZGyZodM3Y2vjIl0siMnwDsi6wyi2oDUZoTbiY2RhNDa0ymrKoWe4YtK5otblzWrJzGyzNCISIjmYnzC4M2vmnZdIoDRKM2i5ytfkmJlhnDc1zdhLzWm1il0sim5HBwuiOijIqzF1MTvhmDIXmIIsimrpc2SiolsioWNlZjVhnZM1otQ0nDu3NmjlN2M3zmfjzmyZMTJhZtiiLcjLZjLmmZJhmWVhytG0NTu0OTqZNWu1Mda0MZbIYtfjyijdLCj1DWlKijoinwM5Mwu3NjytMju5Os00oTIwlWi0OdmTnGzHotiWm2RjyTCxIIwiBWvTb3J5ijPbijAYZDA3M2fjNzu0YTRMZTfhodkxzDnkogY5ZtAWzdyXIiwINZcWzThLnDQ4otrJndAzZGI5MGzlYtY1ZJA5ZdfiNMQIXX1DlcJpC3n1zxiiOijZb21lB25LIIWIdmVyC2LVbiI6IJeuMcJ9"),
    			ResourceGroup:     pulumi.String("azurestack"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.azurestack.Registration;
    import com.pulumi.azurenative.azurestack.RegistrationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var registration = new Registration("registration", RegistrationArgs.builder()        
                .location("global")
                .registrationName("testregistration")
                .registrationToken("EyjIAWXSAw5nTw9KZWWiOiJeZxZlbg9wBwvUdCiSIM9iaMVjdeLkijoinwIzyJa2Ytgtowm2yy00OdG4lTlLyJmtztHjZGfJZTC0NZK1iIWiY2XvdWRJzCi6iJy5nDy0oDk1LTNHmWeTnDUwyS05oDI0LTrINzYwoGq5mjAzziIsim1HCmtldHBsYwnLu3LuZGljYXrpB25FBmfIbgVkIJp0CNvLLCJOYXJkd2FYzuLUZM8iOlt7IM51bunvcMVZiJoYlCjcaw9ZiJPBIjNkzDJHmda3yte5ndqZMdq4YmZkZmi5oDM3OTY3ZwNMIL0SIM5PyYI6WyJLZTy0ztJJMwZKy2m0OWNLODDLMwm2zTm0ymzKyjmWySisiJA3njlHmtdlY2q4NjRjnwFIZtC1YZi5ZGyZodM3Y2vjIl0siMnwDsi6wyi2oDUZoTbiY2RhNDa0ymrKoWe4YtK5otblzWrJzGyzNCISIjmYnzC4M2vmnZdIoDRKM2i5ytfkmJlhnDc1zdhLzWm1il0sim5HBwuiOijIqzF1MTvhmDIXmIIsimrpc2SiolsioWNlZjVhnZM1otQ0nDu3NmjlN2M3zmfjzmyZMTJhZtiiLcjLZjLmmZJhmWVhytG0NTu0OTqZNWu1Mda0MZbIYtfjyijdLCj1DWlKijoinwM5Mwu3NjytMju5Os00oTIwlWi0OdmTnGzHotiWm2RjyTCxIIwiBWvTb3J5ijPbijAYZDA3M2fjNzu0YTRMZTfhodkxzDnkogY5ZtAWzdyXIiwINZcWzThLnDQ4otrJndAzZGI5MGzlYtY1ZJA5ZdfiNMQIXX1DlcJpC3n1zxiiOijZb21lB25LIIWIdmVyC2LVbiI6IJeuMcJ9")
                .resourceGroup("azurestack")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    registration = azure_native.azurestack.Registration("registration",
        location="global",
        registration_name="testregistration",
        registration_token="EyjIAWXSAw5nTw9KZWWiOiJeZxZlbg9wBwvUdCiSIM9iaMVjdeLkijoinwIzyJa2Ytgtowm2yy00OdG4lTlLyJmtztHjZGfJZTC0NZK1iIWiY2XvdWRJzCi6iJy5nDy0oDk1LTNHmWeTnDUwyS05oDI0LTrINzYwoGq5mjAzziIsim1HCmtldHBsYwnLu3LuZGljYXrpB25FBmfIbgVkIJp0CNvLLCJOYXJkd2FYzuLUZM8iOlt7IM51bunvcMVZiJoYlCjcaw9ZiJPBIjNkzDJHmda3yte5ndqZMdq4YmZkZmi5oDM3OTY3ZwNMIL0SIM5PyYI6WyJLZTy0ztJJMwZKy2m0OWNLODDLMwm2zTm0ymzKyjmWySisiJA3njlHmtdlY2q4NjRjnwFIZtC1YZi5ZGyZodM3Y2vjIl0siMnwDsi6wyi2oDUZoTbiY2RhNDa0ymrKoWe4YtK5otblzWrJzGyzNCISIjmYnzC4M2vmnZdIoDRKM2i5ytfkmJlhnDc1zdhLzWm1il0sim5HBwuiOijIqzF1MTvhmDIXmIIsimrpc2SiolsioWNlZjVhnZM1otQ0nDu3NmjlN2M3zmfjzmyZMTJhZtiiLcjLZjLmmZJhmWVhytG0NTu0OTqZNWu1Mda0MZbIYtfjyijdLCj1DWlKijoinwM5Mwu3NjytMju5Os00oTIwlWi0OdmTnGzHotiWm2RjyTCxIIwiBWvTb3J5ijPbijAYZDA3M2fjNzu0YTRMZTfhodkxzDnkogY5ZtAWzdyXIiwINZcWzThLnDQ4otrJndAzZGI5MGzlYtY1ZJA5ZdfiNMQIXX1DlcJpC3n1zxiiOijZb21lB25LIIWIdmVyC2LVbiI6IJeuMcJ9",
        resource_group="azurestack")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const registration = new azure_native.azurestack.Registration("registration", {
        location: "global",
        registrationName: "testregistration",
        registrationToken: "EyjIAWXSAw5nTw9KZWWiOiJeZxZlbg9wBwvUdCiSIM9iaMVjdeLkijoinwIzyJa2Ytgtowm2yy00OdG4lTlLyJmtztHjZGfJZTC0NZK1iIWiY2XvdWRJzCi6iJy5nDy0oDk1LTNHmWeTnDUwyS05oDI0LTrINzYwoGq5mjAzziIsim1HCmtldHBsYwnLu3LuZGljYXrpB25FBmfIbgVkIJp0CNvLLCJOYXJkd2FYzuLUZM8iOlt7IM51bunvcMVZiJoYlCjcaw9ZiJPBIjNkzDJHmda3yte5ndqZMdq4YmZkZmi5oDM3OTY3ZwNMIL0SIM5PyYI6WyJLZTy0ztJJMwZKy2m0OWNLODDLMwm2zTm0ymzKyjmWySisiJA3njlHmtdlY2q4NjRjnwFIZtC1YZi5ZGyZodM3Y2vjIl0siMnwDsi6wyi2oDUZoTbiY2RhNDa0ymrKoWe4YtK5otblzWrJzGyzNCISIjmYnzC4M2vmnZdIoDRKM2i5ytfkmJlhnDc1zdhLzWm1il0sim5HBwuiOijIqzF1MTvhmDIXmIIsimrpc2SiolsioWNlZjVhnZM1otQ0nDu3NmjlN2M3zmfjzmyZMTJhZtiiLcjLZjLmmZJhmWVhytG0NTu0OTqZNWu1Mda0MZbIYtfjyijdLCj1DWlKijoinwM5Mwu3NjytMju5Os00oTIwlWi0OdmTnGzHotiWm2RjyTCxIIwiBWvTb3J5ijPbijAYZDA3M2fjNzu0YTRMZTfhodkxzDnkogY5ZtAWzdyXIiwINZcWzThLnDQ4otrJndAzZGI5MGzlYtY1ZJA5ZdfiNMQIXX1DlcJpC3n1zxiiOijZb21lB25LIIWIdmVyC2LVbiI6IJeuMcJ9",
        resourceGroup: "azurestack",
    });
    
    resources:
      registration:
        type: azure-native:azurestack:Registration
        properties:
          location: global
          registrationName: testregistration
          registrationToken: EyjIAWXSAw5nTw9KZWWiOiJeZxZlbg9wBwvUdCiSIM9iaMVjdeLkijoinwIzyJa2Ytgtowm2yy00OdG4lTlLyJmtztHjZGfJZTC0NZK1iIWiY2XvdWRJzCi6iJy5nDy0oDk1LTNHmWeTnDUwyS05oDI0LTrINzYwoGq5mjAzziIsim1HCmtldHBsYwnLu3LuZGljYXrpB25FBmfIbgVkIJp0CNvLLCJOYXJkd2FYzuLUZM8iOlt7IM51bunvcMVZiJoYlCjcaw9ZiJPBIjNkzDJHmda3yte5ndqZMdq4YmZkZmi5oDM3OTY3ZwNMIL0SIM5PyYI6WyJLZTy0ztJJMwZKy2m0OWNLODDLMwm2zTm0ymzKyjmWySisiJA3njlHmtdlY2q4NjRjnwFIZtC1YZi5ZGyZodM3Y2vjIl0siMnwDsi6wyi2oDUZoTbiY2RhNDa0ymrKoWe4YtK5otblzWrJzGyzNCISIjmYnzC4M2vmnZdIoDRKM2i5ytfkmJlhnDc1zdhLzWm1il0sim5HBwuiOijIqzF1MTvhmDIXmIIsimrpc2SiolsioWNlZjVhnZM1otQ0nDu3NmjlN2M3zmfjzmyZMTJhZtiiLcjLZjLmmZJhmWVhytG0NTu0OTqZNWu1Mda0MZbIYtfjyijdLCj1DWlKijoinwM5Mwu3NjytMju5Os00oTIwlWi0OdmTnGzHotiWm2RjyTCxIIwiBWvTb3J5ijPbijAYZDA3M2fjNzu0YTRMZTfhodkxzDnkogY5ZtAWzdyXIiwINZcWzThLnDQ4otrJndAzZGI5MGzlYtY1ZJA5ZdfiNMQIXX1DlcJpC3n1zxiiOijZb21lB25LIIWIdmVyC2LVbiI6IJeuMcJ9
          resourceGroup: azurestack
    

    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 string
    The unique name of the resource.
    args RegistrationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args 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 string
    The unique name of the resource.
    args RegistrationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RegistrationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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: "string",
    	ResourceGroup:     "string",
    	Location:          "string",
    	RegistrationName:  "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:

    RegistrationToken string
    The token identifying registered Azure Stack
    ResourceGroup string
    Name of the resource group.
    Location string | Pulumi.AzureNative.AzureStack.Location
    Location of the resource.
    RegistrationName string
    Name of the Azure Stack registration.
    RegistrationToken string
    The token identifying registered Azure Stack
    ResourceGroup string
    Name of the resource group.
    Location string | Location
    Location of the resource.
    RegistrationName string
    Name of the Azure Stack registration.
    registrationToken String
    The token identifying registered Azure Stack
    resourceGroup String
    Name of the resource group.
    location String | Location
    Location of the resource.
    registrationName String
    Name of the Azure Stack registration.
    registrationToken string
    The token identifying registered Azure Stack
    resourceGroup string
    Name of the resource group.
    location string | Location
    Location of the resource.
    registrationName string
    Name of the Azure Stack registration.
    registration_token str
    The token identifying registered Azure Stack
    resource_group str
    Name of the resource group.
    location str | Location
    Location of the resource.
    registration_name str
    Name of the Azure Stack registration.
    registrationToken String
    The token identifying registered Azure Stack
    resourceGroup String
    Name of the resource group.
    location String | "global"
    Location of the resource.
    registrationName String
    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:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of the resource.
    Type string
    Type of Resource.
    BillingModel string
    Specifies the billing mode for the Azure Stack registration.
    CloudId string
    The identifier of the registered Azure Stack.
    Etag string
    The entity tag used for optimistic concurrency when modifying the resource.
    ObjectId string
    The object identifier associated with the Azure Stack connecting to Azure.
    Tags Dictionary<string, string>
    Custom tags for the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of the resource.
    Type string
    Type of Resource.
    BillingModel string
    Specifies the billing mode for the Azure Stack registration.
    CloudId string
    The identifier of the registered Azure Stack.
    Etag string
    The entity tag used for optimistic concurrency when modifying the resource.
    ObjectId string
    The object identifier associated with the Azure Stack connecting to Azure.
    Tags map[string]string
    Custom tags for the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name of the resource.
    type String
    Type of Resource.
    billingModel String
    Specifies the billing mode for the Azure Stack registration.
    cloudId String
    The identifier of the registered Azure Stack.
    etag String
    The entity tag used for optimistic concurrency when modifying the resource.
    objectId String
    The object identifier associated with the Azure Stack connecting to Azure.
    tags Map<String,String>
    Custom tags for the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Name of the resource.
    type string
    Type of Resource.
    billingModel string
    Specifies the billing mode for the Azure Stack registration.
    cloudId string
    The identifier of the registered Azure Stack.
    etag string
    The entity tag used for optimistic concurrency when modifying the resource.
    objectId string
    The object identifier associated with the Azure Stack connecting to Azure.
    tags {[key: string]: string}
    Custom tags for 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.
    tags Mapping[str, str]
    Custom tags for the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name of the resource.
    type String
    Type of Resource.
    billingModel String
    Specifies the billing mode for the Azure Stack registration.
    cloudId String
    The identifier of the registered Azure Stack.
    etag String
    The entity tag used for optimistic concurrency when modifying the resource.
    objectId String
    The object identifier associated with the Azure Stack connecting to Azure.
    tags Map<String>
    Custom tags for the resource.

    Supporting Types

    Location, LocationArgs

    @Global
    global
    LocationGlobal
    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/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration 
    

    To learn more about importing existing cloud resources, see Importing resources.

    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