Account

class Account : KotlinCustomResource

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

Example Usage

CreateAccount

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var account = new AzureNative.Maps.Account("account", new()
{
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/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 com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.maps.Account;
import com.pulumi.azurenative.maps.AccountArgs;
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 account = new Account("account", AccountArgs.builder()
.accountName("myMapsAccount")
.location("global")
.resourceGroupName("myResourceGroup")
.sku(Map.of("name", "S0"))
.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:Account myMapsAccount /subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Maps/accounts/myMapsAccount

Properties

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

The location of the resource.

Link copied to clipboard
val name: Output<String>

The name of the Maps Account, which is unique within a Resource Group.

Link copied to clipboard

The map account properties.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val sku: Output<SkuResponse>

The SKU of this account.

Link copied to clipboard
val tags: Output<Map<String, String>>

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

Link copied to clipboard
val type: Output<String>

Azure resource type.

Link copied to clipboard
val urn: Output<String>