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

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

    An Azure resource which represents access to a suite of Maps REST APIs. API Version: 2018-05-01.

    Example Usage

    CreateAccount

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var account = new AzureNative.Maps.Account("account", new()
        {
            AccountName = "myMapsAccount",
            Location = "global",
            ResourceGroupName = "myResourceGroup",
            Sku = new AzureNative.Maps.Inputs.SkuArgs
            {
                Name = "S0",
            },
            Tags = 
            {
                { "test", "true" },
            },
        });
    
    });
    
    package main
    
    import (
    	maps "github.com/pulumi/pulumi-azure-native-sdk/maps"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := maps.NewAccount(ctx, "account", &maps.AccountArgs{
    			AccountName:       pulumi.String("myMapsAccount"),
    			Location:          pulumi.String("global"),
    			ResourceGroupName: pulumi.String("myResourceGroup"),
    			Sku: &maps.SkuArgs{
    				Name: pulumi.String("S0"),
    			},
    			Tags: pulumi.StringMap{
    				"test": pulumi.String("true"),
    			},
    		})
    		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.maps.Account;
    import com.pulumi.azurenative.maps.AccountArgs;
    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 account = new Account("account", AccountArgs.builder()        
                .accountName("myMapsAccount")
                .location("global")
                .resourceGroupName("myResourceGroup")
                .sku(Map.of("name", "S0"))
                .tags(Map.of("test", "true"))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    account = azure_native.maps.Account("account",
        account_name="myMapsAccount",
        location="global",
        resource_group_name="myResourceGroup",
        sku=azure_native.maps.SkuArgs(
            name="S0",
        ),
        tags={
            "test": "true",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const account = new azure_native.maps.Account("account", {
        accountName: "myMapsAccount",
        location: "global",
        resourceGroupName: "myResourceGroup",
        sku: {
            name: "S0",
        },
        tags: {
            test: "true",
        },
    });
    
    resources:
      account:
        type: azure-native:maps:Account
        properties:
          accountName: myMapsAccount
          location: global
          resourceGroupName: myResourceGroup
          sku:
            name: S0
          tags:
            test: 'true'
    

    Create Account Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Account(name: string, args: AccountArgs, opts?: CustomResourceOptions);
    @overload
    def Account(resource_name: str,
                args: AccountArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Account(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                resource_group_name: Optional[str] = None,
                sku: Optional[SkuArgs] = None,
                account_name: Optional[str] = None,
                location: Optional[str] = None,
                tags: Optional[Mapping[str, str]] = None)
    func NewAccount(ctx *Context, name string, args AccountArgs, opts ...ResourceOption) (*Account, error)
    public Account(string name, AccountArgs args, CustomResourceOptions? opts = null)
    public Account(String name, AccountArgs args)
    public Account(String name, AccountArgs args, CustomResourceOptions options)
    
    type: azure-native:maps:Account
    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 AccountArgs
    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 AccountArgs
    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 AccountArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AccountArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AccountArgs
    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 exampleaccountResourceResourceFromMaps = new AzureNative.Maps.Account("exampleaccountResourceResourceFromMaps", new()
    {
        ResourceGroupName = "string",
        Sku = 
        {
            { "name", "string" },
        },
        AccountName = "string",
        Location = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := maps.NewAccount(ctx, "exampleaccountResourceResourceFromMaps", &maps.AccountArgs{
    	ResourceGroupName: "string",
    	Sku: map[string]interface{}{
    		"name": "string",
    	},
    	AccountName: "string",
    	Location:    "string",
    	Tags: map[string]interface{}{
    		"string": "string",
    	},
    })
    
    var exampleaccountResourceResourceFromMaps = new Account("exampleaccountResourceResourceFromMaps", AccountArgs.builder()
        .resourceGroupName("string")
        .sku(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .accountName("string")
        .location("string")
        .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .build());
    
    exampleaccount_resource_resource_from_maps = azure_native.maps.Account("exampleaccountResourceResourceFromMaps",
        resource_group_name=string,
        sku={
            name: string,
        },
        account_name=string,
        location=string,
        tags={
            string: string,
        })
    
    const exampleaccountResourceResourceFromMaps = new azure_native.maps.Account("exampleaccountResourceResourceFromMaps", {
        resourceGroupName: "string",
        sku: {
            name: "string",
        },
        accountName: "string",
        location: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:maps:Account
    properties:
        accountName: string
        location: string
        resourceGroupName: string
        sku:
            name: string
        tags:
            string: string
    

    Account Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Account resource accepts the following input properties:

    ResourceGroupName string
    The name of the Azure Resource Group.
    Sku Pulumi.AzureNative.Maps.Inputs.Sku
    The SKU of this account.
    AccountName string
    The name of the Maps Account.
    Location string
    The location of the resource.
    Tags Dictionary<string, string>
    Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters.
    ResourceGroupName string
    The name of the Azure Resource Group.
    Sku SkuArgs
    The SKU of this account.
    AccountName string
    The name of the Maps Account.
    Location string
    The location of the resource.
    Tags map[string]string
    Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters.
    resourceGroupName String
    The name of the Azure Resource Group.
    sku Sku
    The SKU of this account.
    accountName String
    The name of the Maps Account.
    location String
    The location of the resource.
    tags Map<String,String>
    Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters.
    resourceGroupName string
    The name of the Azure Resource Group.
    sku Sku
    The SKU of this account.
    accountName string
    The name of the Maps Account.
    location string
    The location of the resource.
    tags {[key: string]: string}
    Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters.
    resource_group_name str
    The name of the Azure Resource Group.
    sku SkuArgs
    The SKU of this account.
    account_name str
    The name of the Maps Account.
    location str
    The location of the resource.
    tags Mapping[str, str]
    Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters.
    resourceGroupName String
    The name of the Azure Resource Group.
    sku Property Map
    The SKU of this account.
    accountName String
    The name of the Maps Account.
    location String
    The location of the resource.
    tags Map<String>
    Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Account resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the Maps Account, which is unique within a Resource Group.
    Properties Pulumi.AzureNative.Maps.Outputs.MapsAccountPropertiesResponse
    The map account properties.
    Type string
    Azure resource type.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the Maps Account, which is unique within a Resource Group.
    Properties MapsAccountPropertiesResponse
    The map account properties.
    Type string
    Azure resource type.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the Maps Account, which is unique within a Resource Group.
    properties MapsAccountPropertiesResponse
    The map account properties.
    type String
    Azure resource type.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the Maps Account, which is unique within a Resource Group.
    properties MapsAccountPropertiesResponse
    The map account properties.
    type string
    Azure resource type.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the Maps Account, which is unique within a Resource Group.
    properties MapsAccountPropertiesResponse
    The map account properties.
    type str
    Azure resource type.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the Maps Account, which is unique within a Resource Group.
    properties Property Map
    The map account properties.
    type String
    Azure resource type.

    Supporting Types

    MapsAccountPropertiesResponse, MapsAccountPropertiesResponseArgs

    XMsClientId string
    A unique identifier for the maps account
    XMsClientId string
    A unique identifier for the maps account
    xMsClientId String
    A unique identifier for the maps account
    xMsClientId string
    A unique identifier for the maps account
    x_ms_client_id str
    A unique identifier for the maps account
    xMsClientId String
    A unique identifier for the maps account

    Sku, SkuArgs

    Name string
    The name of the SKU, in standard format (such as S0).
    Name string
    The name of the SKU, in standard format (such as S0).
    name String
    The name of the SKU, in standard format (such as S0).
    name string
    The name of the SKU, in standard format (such as S0).
    name str
    The name of the SKU, in standard format (such as S0).
    name String
    The name of the SKU, in standard format (such as S0).

    SkuResponse, SkuResponseArgs

    Name string
    The name of the SKU, in standard format (such as S0).
    Tier string
    Gets the sku tier. This is based on the SKU name.
    Name string
    The name of the SKU, in standard format (such as S0).
    Tier string
    Gets the sku tier. This is based on the SKU name.
    name String
    The name of the SKU, in standard format (such as S0).
    tier String
    Gets the sku tier. This is based on the SKU name.
    name string
    The name of the SKU, in standard format (such as S0).
    tier string
    Gets the sku tier. This is based on the SKU name.
    name str
    The name of the SKU, in standard format (such as S0).
    tier str
    Gets the sku tier. This is based on the SKU name.
    name String
    The name of the SKU, in standard format (such as S0).
    tier String
    Gets the sku tier. This is based on the SKU name.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:maps:Account myMapsAccount /subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount 
    

    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