Azure Native

v1.78.0 published on Wednesday, Sep 14, 2022 by Pulumi

Creator

An Azure resource which represents Maps Creator product and provides ability to manage private location data. API Version: 2020-02-01-preview.

Example Usage

CreatePrivateAtlas

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var creator = new AzureNative.Maps.Creator("creator", new()
    {
        AccountName = "myMapsAccount",
        CreatorName = "myCreator",
        Location = "unitedstates",
        ResourceGroupName = "myResourceGroup",
        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.NewCreator(ctx, "creator", &maps.CreatorArgs{
			AccountName:       pulumi.String("myMapsAccount"),
			CreatorName:       pulumi.String("myCreator"),
			Location:          pulumi.String("unitedstates"),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			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.Creator;
import com.pulumi.azurenative.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 creator = new Creator("creator", CreatorArgs.builder()        
            .accountName("myMapsAccount")
            .creatorName("myCreator")
            .location("unitedstates")
            .resourceGroupName("myResourceGroup")
            .tags(Map.of("test", "true"))
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

creator = azure_native.maps.Creator("creator",
    account_name="myMapsAccount",
    creator_name="myCreator",
    location="unitedstates",
    resource_group_name="myResourceGroup",
    tags={
        "test": "true",
    })
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const creator = new azure_native.maps.Creator("creator", {
    accountName: "myMapsAccount",
    creatorName: "myCreator",
    location: "unitedstates",
    resourceGroupName: "myResourceGroup",
    tags: {
        test: "true",
    },
});
resources:
  creator:
    type: azure-native:maps:Creator
    properties:
      accountName: myMapsAccount
      creatorName: myCreator
      location: unitedstates
      resourceGroupName: myResourceGroup
      tags:
        test: true

Create a Creator Resource

new Creator(name: string, args: CreatorArgs, opts?: CustomResourceOptions);
@overload
def Creator(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            account_name: Optional[str] = None,
            creator_name: Optional[str] = None,
            location: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None)
@overload
def Creator(resource_name: str,
            args: CreatorArgs,
            opts: Optional[ResourceOptions] = 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-native:maps:Creator
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args CreatorArgs
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 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 string
The unique name of the resource.
args CreatorArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CreatorArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args CreatorArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

The Creator resource accepts the following input properties:

AccountName string

The name of the Maps Account.

ResourceGroupName string

The name of the resource group. The name is case insensitive.

CreatorName string

The name of the Maps Creator instance.

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.

AccountName string

The name of the Maps Account.

ResourceGroupName string

The name of the resource group. The name is case insensitive.

CreatorName string

The name of the Maps Creator instance.

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.

accountName String

The name of the Maps Account.

resourceGroupName String

The name of the resource group. The name is case insensitive.

creatorName String

The name of the Maps Creator instance.

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.

accountName string

The name of the Maps Account.

resourceGroupName string

The name of the resource group. The name is case insensitive.

creatorName string

The name of the Maps Creator instance.

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.

account_name str

The name of the Maps Account.

resource_group_name str

The name of the resource group. The name is case insensitive.

creator_name str

The name of the Maps Creator instance.

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.

accountName String

The name of the Maps Account.

resourceGroupName String

The name of the resource group. The name is case insensitive.

creatorName String

The name of the Maps Creator instance.

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 Creator resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the resource

Properties Pulumi.AzureNative.Maps.Outputs.CreatorPropertiesResponse

The Creator resource properties.

Type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the resource

Properties CreatorPropertiesResponse

The Creator resource properties.

Type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the resource

properties CreatorPropertiesResponse

The Creator resource properties.

type String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

id string

The provider-assigned unique ID for this managed resource.

name string

The name of the resource

properties CreatorPropertiesResponse

The Creator resource properties.

type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

id str

The provider-assigned unique ID for this managed resource.

name str

The name of the resource

properties CreatorPropertiesResponse

The Creator resource properties.

type str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the resource

properties Property Map

The Creator resource properties.

type String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

CreatorPropertiesResponse

ProvisioningState string

The state of the resource provisioning, terminal states: Succeeded, Failed, Canceled

ProvisioningState string

The state of the resource provisioning, terminal states: Succeeded, Failed, Canceled

provisioningState String

The state of the resource provisioning, terminal states: Succeeded, Failed, Canceled

provisioningState string

The state of the resource provisioning, terminal states: Succeeded, Failed, Canceled

provisioning_state str

The state of the resource provisioning, terminal states: Succeeded, Failed, Canceled

provisioningState String

The state of the resource provisioning, terminal states: Succeeded, Failed, Canceled

Import

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

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

Package Details

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