Creator
An Azure resource which represents Maps Creator product and provides ability to manage private location data. Uses Azure REST API version 2024-07-01-preview. In version 2.x of the Azure Native provider, it used API version 2021-02-01. Other available API versions: 2020-02-01-preview, 2021-02-01, 2021-07-01-preview, 2021-12-01-preview, 2023-06-01, 2023-08-01-preview, 2023-12-01-preview, 2024-01-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native maps [ApiVersion]
. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.
Example Usage
Create Creator Resource
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 = "eastus2",
Properties = new AzureNative.Maps.Inputs.CreatorPropertiesArgs
{
StorageUnits = 5,
},
ResourceGroupName = "myResourceGroup",
Tags =
{
{ "test", "true" },
},
});
});
package main
import (
maps "github.com/pulumi/pulumi-azure-native-sdk/maps/v3"
"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("eastus2"),
Properties: &maps.CreatorPropertiesArgs{
StorageUnits: pulumi.Int(5),
},
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 com.pulumi.azurenative.maps.inputs.CreatorPropertiesArgs;
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("eastus2")
.properties(CreatorPropertiesArgs.builder()
.storageUnits(5)
.build())
.resourceGroupName("myResourceGroup")
.tags(Map.of("test", "true"))
.build());
}
}
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:maps:Creator myCreator /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/creators/{creatorName}
Properties
The Azure API version of the resource.
The Creator resource properties.
Azure Resource Manager metadata containing createdBy and modifiedBy information.