Azure Native

Pulumi Official
Package maintained by Pulumi
v1.67.0 published on Tuesday, Jul 12, 2022 by Pulumi

Account

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

Example Usage

CreateAccount

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var account = new AzureNative.Maps.Account("account", new AzureNative.Maps.AccountArgs
        {
            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/go/azure/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 java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

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 a Account Resource

new Account(name: string, args: AccountArgs, opts?: CustomResourceOptions);
@overload
def Account(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            account_name: Optional[str] = None,
            location: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            sku: Optional[SkuArgs] = None,
            tags: Optional[Mapping[str, str]] = None)
@overload
def Account(resource_name: str,
            args: AccountArgs,
            opts: Optional[ResourceOptions] = 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.

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.

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.SkuArgs

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 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 SkuArgs

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

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

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

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 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0