azure-native.maps.Creator
Explore with Pulumi AI
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 System.Linq;
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/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 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,
account_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
creator_name: Optional[str] = None,
location: 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-native:maps:Creator
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 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var creatorResource = new AzureNative.Maps.Creator("creatorResource", new()
{
AccountName = "string",
ResourceGroupName = "string",
CreatorName = "string",
Location = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := maps.NewCreator(ctx, "creatorResource", &maps.CreatorArgs{
AccountName: "string",
ResourceGroupName: "string",
CreatorName: "string",
Location: "string",
Tags: map[string]interface{}{
"string": "string",
},
})
var creatorResource = new Creator("creatorResource", CreatorArgs.builder()
.accountName("string")
.resourceGroupName("string")
.creatorName("string")
.location("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
creator_resource = azure_native.maps.Creator("creatorResource",
account_name=string,
resource_group_name=string,
creator_name=string,
location=string,
tags={
string: string,
})
const creatorResource = new azure_native.maps.Creator("creatorResource", {
accountName: "string",
resourceGroupName: "string",
creatorName: "string",
location: "string",
tags: {
string: "string",
},
});
type: azure-native:maps:Creator
properties:
accountName: string
creatorName: string
location: string
resourceGroupName: string
tags:
string: string
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:
- Account
Name string - The name of the Maps Account.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Creator
Name string - The name of the Maps Creator instance.
- Location string
- The location of the resource.
- 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.
- Account
Name string - The name of the Maps Account.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Creator
Name string - The name of the Maps Creator instance.
- Location string
- The location of the resource.
- 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.
- account
Name String - The name of the Maps Account.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- creator
Name String - The name of the Maps Creator instance.
- location String
- The location of the resource.
- 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.
- account
Name string - The name of the Maps Account.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- creator
Name string - The name of the Maps Creator instance.
- location string
- The location of the resource.
- {[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_ strname - 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.
- 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.
- account
Name String - The name of the Maps Account.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- creator
Name String - The name of the Maps Creator instance.
- location String
- The location of the resource.
- 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.
Azure Native. Maps. Outputs. Creator Properties Response - 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
Creator
Properties Response - 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
Creator
Properties Response - 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
Creator
Properties Response - 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
Creator
Properties Response - 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, CreatorPropertiesResponseArgs
- Provisioning
State string - The state of the resource provisioning, terminal states: Succeeded, Failed, Canceled
- Provisioning
State string - The state of the resource provisioning, terminal states: Succeeded, Failed, Canceled
- provisioning
State String - The state of the resource provisioning, terminal states: Succeeded, Failed, Canceled
- provisioning
State 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
- provisioning
State 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
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