1. Packages
  2. Azure Classic
  3. API Docs
  4. maps
  5. Creator

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

azure.maps.Creator

Explore with Pulumi AI

Manages an Azure Maps Creator.

Note: The azure.maps.Creator resource has been deprecated because the service is retiring from 2024-09-23 and will be removed in v5.0 of the AzureRM Provider.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const example = new azure.core.ResourceGroup("example", {
    name: "example-resources",
    location: "West Europe",
});
const exampleAccount = new azure.maps.Account("example", {
    name: "example-maps-account",
    resourceGroupName: example.name,
    skuName: "G2",
    tags: {
        environment: "Test",
    },
});
const exampleCreator = new azure.maps.Creator("example", {
    name: "example-maps-creator",
    mapsAccountId: exampleAccount.id,
    location: example.location,
    storageUnits: 1,
    tags: {
        environment: "Test",
    },
});
Copy
import pulumi
import pulumi_azure as azure

example = azure.core.ResourceGroup("example",
    name="example-resources",
    location="West Europe")
example_account = azure.maps.Account("example",
    name="example-maps-account",
    resource_group_name=example.name,
    sku_name="G2",
    tags={
        "environment": "Test",
    })
example_creator = azure.maps.Creator("example",
    name="example-maps-creator",
    maps_account_id=example_account.id,
    location=example.location,
    storage_units=1,
    tags={
        "environment": "Test",
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/maps"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := maps.NewAccount(ctx, "example", &maps.AccountArgs{
			Name:              pulumi.String("example-maps-account"),
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("G2"),
			Tags: pulumi.StringMap{
				"environment": pulumi.String("Test"),
			},
		})
		if err != nil {
			return err
		}
		_, err = maps.NewCreator(ctx, "example", &maps.CreatorArgs{
			Name:          pulumi.String("example-maps-creator"),
			MapsAccountId: exampleAccount.ID(),
			Location:      example.Location,
			StorageUnits:  pulumi.Int(1),
			Tags: pulumi.StringMap{
				"environment": pulumi.String("Test"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;

return await Deployment.RunAsync(() => 
{
    var example = new Azure.Core.ResourceGroup("example", new()
    {
        Name = "example-resources",
        Location = "West Europe",
    });

    var exampleAccount = new Azure.Maps.Account("example", new()
    {
        Name = "example-maps-account",
        ResourceGroupName = example.Name,
        SkuName = "G2",
        Tags = 
        {
            { "environment", "Test" },
        },
    });

    var exampleCreator = new Azure.Maps.Creator("example", new()
    {
        Name = "example-maps-creator",
        MapsAccountId = exampleAccount.Id,
        Location = example.Location,
        StorageUnits = 1,
        Tags = 
        {
            { "environment", "Test" },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.maps.Account;
import com.pulumi.azure.maps.AccountArgs;
import com.pulumi.azure.maps.Creator;
import com.pulumi.azure.maps.CreatorArgs;
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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
            .name("example-resources")
            .location("West Europe")
            .build());

        var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
            .name("example-maps-account")
            .resourceGroupName(example.name())
            .skuName("G2")
            .tags(Map.of("environment", "Test"))
            .build());

        var exampleCreator = new Creator("exampleCreator", CreatorArgs.builder()
            .name("example-maps-creator")
            .mapsAccountId(exampleAccount.id())
            .location(example.location())
            .storageUnits(1)
            .tags(Map.of("environment", "Test"))
            .build());

    }
}
Copy
resources:
  example:
    type: azure:core:ResourceGroup
    properties:
      name: example-resources
      location: West Europe
  exampleAccount:
    type: azure:maps:Account
    name: example
    properties:
      name: example-maps-account
      resourceGroupName: ${example.name}
      skuName: G2
      tags:
        environment: Test
  exampleCreator:
    type: azure:maps:Creator
    name: example
    properties:
      name: example-maps-creator
      mapsAccountId: ${exampleAccount.id}
      location: ${example.location}
      storageUnits: 1
      tags:
        environment: Test
Copy

Create Creator Resource

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

Constructor syntax

new Creator(name: string, args: CreatorArgs, opts?: CustomResourceOptions);
@overload
def Creator(resource_name: str,
            args: CreatorArgs,
            opts: Optional[ResourceOptions] = None)

@overload
def Creator(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            maps_account_id: Optional[str] = None,
            storage_units: Optional[int] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None)
func NewCreator(ctx *Context, name string, args CreatorArgs, opts ...ResourceOption) (*Creator, error)
public Creator(string name, CreatorArgs args, CustomResourceOptions? opts = null)
public Creator(String name, CreatorArgs args)
public Creator(String name, CreatorArgs args, CustomResourceOptions options)
type: azure:maps:Creator
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. CreatorArgs
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. CreatorArgs
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. CreatorArgs
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. CreatorArgs
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. CreatorArgs
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 creatorResource = new Azure.Maps.Creator("creatorResource", new()
{
    MapsAccountId = "string",
    StorageUnits = 0,
    Location = "string",
    Name = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := maps.NewCreator(ctx, "creatorResource", &maps.CreatorArgs{
	MapsAccountId: pulumi.String("string"),
	StorageUnits:  pulumi.Int(0),
	Location:      pulumi.String("string"),
	Name:          pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var creatorResource = new Creator("creatorResource", CreatorArgs.builder()
    .mapsAccountId("string")
    .storageUnits(0)
    .location("string")
    .name("string")
    .tags(Map.of("string", "string"))
    .build());
Copy
creator_resource = azure.maps.Creator("creatorResource",
    maps_account_id="string",
    storage_units=0,
    location="string",
    name="string",
    tags={
        "string": "string",
    })
Copy
const creatorResource = new azure.maps.Creator("creatorResource", {
    mapsAccountId: "string",
    storageUnits: 0,
    location: "string",
    name: "string",
    tags: {
        string: "string",
    },
});
Copy
type: azure:maps:Creator
properties:
    location: string
    mapsAccountId: string
    name: string
    storageUnits: 0
    tags:
        string: string
Copy

Creator 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 Creator resource accepts the following input properties:

MapsAccountId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Azure Maps Creator. Changing this forces a new resource to be created.
StorageUnits This property is required. int
The storage units to be allocated. Integer values from 1 to 100, inclusive.
Location Changes to this property will trigger replacement. string
The Azure Region where the Azure Maps Creator should exist. Changing this forces a new resource to be created.
Name Changes to this property will trigger replacement. string
The name of the Azure Maps Creator. Changing this forces a new resource to be created.
Tags Dictionary<string, string>
A mapping of tags which should be assigned to the Azure Maps Creator.
MapsAccountId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Azure Maps Creator. Changing this forces a new resource to be created.
StorageUnits This property is required. int
The storage units to be allocated. Integer values from 1 to 100, inclusive.
Location Changes to this property will trigger replacement. string
The Azure Region where the Azure Maps Creator should exist. Changing this forces a new resource to be created.
Name Changes to this property will trigger replacement. string
The name of the Azure Maps Creator. Changing this forces a new resource to be created.
Tags map[string]string
A mapping of tags which should be assigned to the Azure Maps Creator.
mapsAccountId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the Azure Maps Creator. Changing this forces a new resource to be created.
storageUnits This property is required. Integer
The storage units to be allocated. Integer values from 1 to 100, inclusive.
location Changes to this property will trigger replacement. String
The Azure Region where the Azure Maps Creator should exist. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. String
The name of the Azure Maps Creator. Changing this forces a new resource to be created.
tags Map<String,String>
A mapping of tags which should be assigned to the Azure Maps Creator.
mapsAccountId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Azure Maps Creator. Changing this forces a new resource to be created.
storageUnits This property is required. number
The storage units to be allocated. Integer values from 1 to 100, inclusive.
location Changes to this property will trigger replacement. string
The Azure Region where the Azure Maps Creator should exist. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. string
The name of the Azure Maps Creator. Changing this forces a new resource to be created.
tags {[key: string]: string}
A mapping of tags which should be assigned to the Azure Maps Creator.
maps_account_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the Azure Maps Creator. Changing this forces a new resource to be created.
storage_units This property is required. int
The storage units to be allocated. Integer values from 1 to 100, inclusive.
location Changes to this property will trigger replacement. str
The Azure Region where the Azure Maps Creator should exist. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. str
The name of the Azure Maps Creator. Changing this forces a new resource to be created.
tags Mapping[str, str]
A mapping of tags which should be assigned to the Azure Maps Creator.
mapsAccountId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the Azure Maps Creator. Changing this forces a new resource to be created.
storageUnits This property is required. Number
The storage units to be allocated. Integer values from 1 to 100, inclusive.
location Changes to this property will trigger replacement. String
The Azure Region where the Azure Maps Creator should exist. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. String
The name of the Azure Maps Creator. Changing this forces a new resource to be created.
tags Map<String>
A mapping of tags which should be assigned to the Azure Maps Creator.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing Creator Resource

Get an existing Creator resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: CreatorState, opts?: CustomResourceOptions): Creator
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        location: Optional[str] = None,
        maps_account_id: Optional[str] = None,
        name: Optional[str] = None,
        storage_units: Optional[int] = None,
        tags: Optional[Mapping[str, str]] = None) -> Creator
func GetCreator(ctx *Context, name string, id IDInput, state *CreatorState, opts ...ResourceOption) (*Creator, error)
public static Creator Get(string name, Input<string> id, CreatorState? state, CustomResourceOptions? opts = null)
public static Creator get(String name, Output<String> id, CreatorState state, CustomResourceOptions options)
resources:  _:    type: azure:maps:Creator    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Location Changes to this property will trigger replacement. string
The Azure Region where the Azure Maps Creator should exist. Changing this forces a new resource to be created.
MapsAccountId Changes to this property will trigger replacement. string
The ID of the Azure Maps Creator. Changing this forces a new resource to be created.
Name Changes to this property will trigger replacement. string
The name of the Azure Maps Creator. Changing this forces a new resource to be created.
StorageUnits int
The storage units to be allocated. Integer values from 1 to 100, inclusive.
Tags Dictionary<string, string>
A mapping of tags which should be assigned to the Azure Maps Creator.
Location Changes to this property will trigger replacement. string
The Azure Region where the Azure Maps Creator should exist. Changing this forces a new resource to be created.
MapsAccountId Changes to this property will trigger replacement. string
The ID of the Azure Maps Creator. Changing this forces a new resource to be created.
Name Changes to this property will trigger replacement. string
The name of the Azure Maps Creator. Changing this forces a new resource to be created.
StorageUnits int
The storage units to be allocated. Integer values from 1 to 100, inclusive.
Tags map[string]string
A mapping of tags which should be assigned to the Azure Maps Creator.
location Changes to this property will trigger replacement. String
The Azure Region where the Azure Maps Creator should exist. Changing this forces a new resource to be created.
mapsAccountId Changes to this property will trigger replacement. String
The ID of the Azure Maps Creator. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. String
The name of the Azure Maps Creator. Changing this forces a new resource to be created.
storageUnits Integer
The storage units to be allocated. Integer values from 1 to 100, inclusive.
tags Map<String,String>
A mapping of tags which should be assigned to the Azure Maps Creator.
location Changes to this property will trigger replacement. string
The Azure Region where the Azure Maps Creator should exist. Changing this forces a new resource to be created.
mapsAccountId Changes to this property will trigger replacement. string
The ID of the Azure Maps Creator. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. string
The name of the Azure Maps Creator. Changing this forces a new resource to be created.
storageUnits number
The storage units to be allocated. Integer values from 1 to 100, inclusive.
tags {[key: string]: string}
A mapping of tags which should be assigned to the Azure Maps Creator.
location Changes to this property will trigger replacement. str
The Azure Region where the Azure Maps Creator should exist. Changing this forces a new resource to be created.
maps_account_id Changes to this property will trigger replacement. str
The ID of the Azure Maps Creator. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. str
The name of the Azure Maps Creator. Changing this forces a new resource to be created.
storage_units int
The storage units to be allocated. Integer values from 1 to 100, inclusive.
tags Mapping[str, str]
A mapping of tags which should be assigned to the Azure Maps Creator.
location Changes to this property will trigger replacement. String
The Azure Region where the Azure Maps Creator should exist. Changing this forces a new resource to be created.
mapsAccountId Changes to this property will trigger replacement. String
The ID of the Azure Maps Creator. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. String
The name of the Azure Maps Creator. Changing this forces a new resource to be created.
storageUnits Number
The storage units to be allocated. Integer values from 1 to 100, inclusive.
tags Map<String>
A mapping of tags which should be assigned to the Azure Maps Creator.

Import

An Azure Maps Creators can be imported using the resource id, e.g.

$ pulumi import azure:maps/creator:Creator example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Maps/accounts/account1/creators/creator1
Copy

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

Package Details

Repository
Azure Classic pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.