1. Packages
  2. Azure Native
  3. API Docs
  4. maps
  5. Account
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.29.0 published on Friday, Feb 16, 2024 by Pulumi

azure-native.maps.Account

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.29.0 published on Friday, Feb 16, 2024 by Pulumi

    An Azure resource which represents access to a suite of Maps REST APIs. Azure REST API version: 2021-02-01. Prior API version in Azure Native 1.x: 2018-05-01.

    Other available API versions: 2018-05-01, 2021-12-01-preview, 2023-06-01, 2023-08-01-preview, 2023-12-01-preview.

    Example Usage

    Create Gen1 Account

    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",
            Kind = "Gen1",
            Location = "global",
            Properties = new AzureNative.Maps.Inputs.MapsAccountPropertiesArgs
            {
                DisableLocalAuth = false,
            },
            ResourceGroupName = "myResourceGroup",
            Sku = new AzureNative.Maps.Inputs.SkuArgs
            {
                Name = "S0",
            },
            Tags = 
            {
                { "test", "true" },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/maps/v2"
    	"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"),
    			Kind:        pulumi.String("Gen1"),
    			Location:    pulumi.String("global"),
    			Properties: &maps.MapsAccountPropertiesArgs{
    				DisableLocalAuth: pulumi.Bool(false),
    			},
    			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")
                .kind("Gen1")
                .location("global")
                .properties(Map.of("disableLocalAuth", false))
                .resourceGroupName("myResourceGroup")
                .sku(Map.of("name", "S0"))
                .tags(Map.of("test", "true"))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    account = azure_native.maps.Account("account",
        account_name="myMapsAccount",
        kind="Gen1",
        location="global",
        properties=azure_native.maps.MapsAccountPropertiesArgs(
            disable_local_auth=False,
        ),
        resource_group_name="myResourceGroup",
        sku=azure_native.maps.SkuArgs(
            name="S0",
        ),
        tags={
            "test": "true",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const account = new azure_native.maps.Account("account", {
        accountName: "myMapsAccount",
        kind: "Gen1",
        location: "global",
        properties: {
            disableLocalAuth: false,
        },
        resourceGroupName: "myResourceGroup",
        sku: {
            name: "S0",
        },
        tags: {
            test: "true",
        },
    });
    
    resources:
      account:
        type: azure-native:maps:Account
        properties:
          accountName: myMapsAccount
          kind: Gen1
          location: global
          properties:
            disableLocalAuth: false
          resourceGroupName: myResourceGroup
          sku:
            name: S0
          tags:
            test: 'true'
    

    Create Gen2 Account

    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",
            Kind = "Gen2",
            Location = "global",
            Properties = new AzureNative.Maps.Inputs.MapsAccountPropertiesArgs
            {
                DisableLocalAuth = true,
            },
            ResourceGroupName = "myResourceGroup",
            Sku = new AzureNative.Maps.Inputs.SkuArgs
            {
                Name = "G2",
            },
            Tags = 
            {
                { "test", "true" },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/maps/v2"
    	"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"),
    			Kind:        pulumi.String("Gen2"),
    			Location:    pulumi.String("global"),
    			Properties: &maps.MapsAccountPropertiesArgs{
    				DisableLocalAuth: pulumi.Bool(true),
    			},
    			ResourceGroupName: pulumi.String("myResourceGroup"),
    			Sku: &maps.SkuArgs{
    				Name: pulumi.String("G2"),
    			},
    			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")
                .kind("Gen2")
                .location("global")
                .properties(Map.of("disableLocalAuth", true))
                .resourceGroupName("myResourceGroup")
                .sku(Map.of("name", "G2"))
                .tags(Map.of("test", "true"))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    account = azure_native.maps.Account("account",
        account_name="myMapsAccount",
        kind="Gen2",
        location="global",
        properties=azure_native.maps.MapsAccountPropertiesArgs(
            disable_local_auth=True,
        ),
        resource_group_name="myResourceGroup",
        sku=azure_native.maps.SkuArgs(
            name="G2",
        ),
        tags={
            "test": "true",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const account = new azure_native.maps.Account("account", {
        accountName: "myMapsAccount",
        kind: "Gen2",
        location: "global",
        properties: {
            disableLocalAuth: true,
        },
        resourceGroupName: "myResourceGroup",
        sku: {
            name: "G2",
        },
        tags: {
            test: "true",
        },
    });
    
    resources:
      account:
        type: azure-native:maps:Account
        properties:
          accountName: myMapsAccount
          kind: Gen2
          location: global
          properties:
            disableLocalAuth: true
          resourceGroupName: myResourceGroup
          sku:
            name: G2
          tags:
            test: 'true'
    

    Create Account Resource

    new Account(name: string, args: AccountArgs, opts?: CustomResourceOptions);
    @overload
    def Account(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                account_name: Optional[str] = None,
                kind: Optional[Union[str, Kind]] = None,
                location: Optional[str] = None,
                properties: Optional[MapsAccountPropertiesArgs] = None,
                resource_group_name: Optional[str] = None,
                sku: Optional[SkuArgs] = None,
                tags: Optional[Mapping[str, str]] = None)
    @overload
    def Account(resource_name: str,
                args: AccountArgs,
                opts: Optional[ResourceOptions] = None)
    func NewAccount(ctx *Context, name string, args AccountArgs, opts ...ResourceOption) (*Account, error)
    public Account(string name, AccountArgs args, CustomResourceOptions? opts = null)
    public Account(String name, AccountArgs args)
    public Account(String name, AccountArgs args, CustomResourceOptions options)
    
    type: azure-native:maps:Account
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args AccountArgs
    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 AccountArgs
    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 AccountArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AccountArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AccountArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Sku Pulumi.AzureNative.Maps.Inputs.Sku
    The SKU of this account.
    AccountName string
    The name of the Maps Account.
    Kind string | Pulumi.AzureNative.Maps.Kind
    Get or Set Kind property.
    Location string
    The geo-location where the resource lives
    Properties Pulumi.AzureNative.Maps.Inputs.MapsAccountProperties
    The map account properties.
    Tags Dictionary<string, string>
    Resource tags.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Sku SkuArgs
    The SKU of this account.
    AccountName string
    The name of the Maps Account.
    Kind string | Kind
    Get or Set Kind property.
    Location string
    The geo-location where the resource lives
    Properties MapsAccountPropertiesArgs
    The map account properties.
    Tags map[string]string
    Resource tags.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    sku Sku
    The SKU of this account.
    accountName String
    The name of the Maps Account.
    kind String | Kind
    Get or Set Kind property.
    location String
    The geo-location where the resource lives
    properties MapsAccountProperties
    The map account properties.
    tags Map<String,String>
    Resource tags.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    sku Sku
    The SKU of this account.
    accountName string
    The name of the Maps Account.
    kind string | Kind
    Get or Set Kind property.
    location string
    The geo-location where the resource lives
    properties MapsAccountProperties
    The map account properties.
    tags {[key: string]: string}
    Resource tags.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    sku SkuArgs
    The SKU of this account.
    account_name str
    The name of the Maps Account.
    kind str | Kind
    Get or Set Kind property.
    location str
    The geo-location where the resource lives
    properties MapsAccountPropertiesArgs
    The map account properties.
    tags Mapping[str, str]
    Resource tags.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    sku Property Map
    The SKU of this account.
    accountName String
    The name of the Maps Account.
    kind String | "Gen1" | "Gen2"
    Get or Set Kind property.
    location String
    The geo-location where the resource lives
    properties Property Map
    The map account properties.
    tags Map<String>
    Resource tags.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    SystemData Pulumi.AzureNative.Maps.Outputs.SystemDataResponse
    The system meta data relating to this resource.
    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
    SystemData SystemDataResponse
    The system meta data relating to this resource.
    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
    systemData SystemDataResponse
    The system meta data relating to this resource.
    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
    systemData SystemDataResponse
    The system meta data relating to this resource.
    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
    system_data SystemDataResponse
    The system meta data relating to this resource.
    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
    systemData Property Map
    The system meta data relating to this resource.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    Kind, KindArgs

    Gen1
    Gen1
    Gen2
    Gen2
    KindGen1
    Gen1
    KindGen2
    Gen2
    Gen1
    Gen1
    Gen2
    Gen2
    Gen1
    Gen1
    Gen2
    Gen2
    GEN1
    Gen1
    GEN2
    Gen2
    "Gen1"
    Gen1
    "Gen2"
    Gen2

    MapsAccountProperties, MapsAccountPropertiesArgs

    DisableLocalAuth bool
    Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys authentication from any usage.
    DisableLocalAuth bool
    Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys authentication from any usage.
    disableLocalAuth Boolean
    Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys authentication from any usage.
    disableLocalAuth boolean
    Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys authentication from any usage.
    disable_local_auth bool
    Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys authentication from any usage.
    disableLocalAuth Boolean
    Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys authentication from any usage.

    MapsAccountPropertiesResponse, MapsAccountPropertiesResponseArgs

    ProvisioningState string
    the state of the provisioning.
    UniqueId string
    A unique identifier for the maps account
    DisableLocalAuth bool
    Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys authentication from any usage.
    ProvisioningState string
    the state of the provisioning.
    UniqueId string
    A unique identifier for the maps account
    DisableLocalAuth bool
    Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys authentication from any usage.
    provisioningState String
    the state of the provisioning.
    uniqueId String
    A unique identifier for the maps account
    disableLocalAuth Boolean
    Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys authentication from any usage.
    provisioningState string
    the state of the provisioning.
    uniqueId string
    A unique identifier for the maps account
    disableLocalAuth boolean
    Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys authentication from any usage.
    provisioning_state str
    the state of the provisioning.
    unique_id str
    A unique identifier for the maps account
    disable_local_auth bool
    Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys authentication from any usage.
    provisioningState String
    the state of the provisioning.
    uniqueId String
    A unique identifier for the maps account
    disableLocalAuth Boolean
    Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys authentication from any usage.

    Name, NameArgs

    S0
    S0
    S1
    S1
    G2
    G2
    NameS0
    S0
    NameS1
    S1
    NameG2
    G2
    S0
    S0
    S1
    S1
    G2
    G2
    S0
    S0
    S1
    S1
    G2
    G2
    S0
    S0
    S1
    S1
    G2
    G2
    "S0"
    S0
    "S1"
    S1
    "G2"
    G2

    Sku, SkuArgs

    Name string | Pulumi.AzureNative.Maps.Name
    The name of the SKU, in standard format (such as S0).
    Name string | Name
    The name of the SKU, in standard format (such as S0).
    name String | Name
    The name of the SKU, in standard format (such as S0).
    name string | Name
    The name of the SKU, in standard format (such as S0).
    name str | Name
    The name of the SKU, in standard format (such as S0).
    name String | "S0" | "S1" | "G2"
    The name of the SKU, in standard format (such as S0).

    SkuResponse, SkuResponseArgs

    Name string
    The name of the SKU, in standard format (such as S0).
    Tier string
    Gets the sku tier. This is based on the SKU name.
    Name string
    The name of the SKU, in standard format (such as S0).
    Tier string
    Gets the sku tier. This is based on the SKU name.
    name String
    The name of the SKU, in standard format (such as S0).
    tier String
    Gets the sku tier. This is based on the SKU name.
    name string
    The name of the SKU, in standard format (such as S0).
    tier string
    Gets the sku tier. This is based on the SKU name.
    name str
    The name of the SKU, in standard format (such as S0).
    tier str
    Gets the sku tier. This is based on the SKU name.
    name String
    The name of the SKU, in standard format (such as S0).
    tier String
    Gets the sku tier. This is based on the SKU name.

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Import

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

    $ pulumi import azure-native:maps:Account myMapsAccount /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName} 
    

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.29.0 published on Friday, Feb 16, 2024 by Pulumi