import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages an Azure Maps Account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const exampleAccount = new azure.maps.Account("example", { * name: "example-maps-account", * resourceGroupName: example.name, * skuName: "S1", * localAuthenticationEnabled: true, * tags: { * environment: "Test", * }, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Maps` - 2023-06-01 * * ## Import * * A Maps Account can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:maps/account:Account example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Maps/accounts/my-maps-account * ``` */ export declare class Account extends pulumi.CustomResource { /** * Get an existing Account resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: AccountState, opts?: pulumi.CustomResourceOptions): Account; /** * Returns true if the given object is an instance of Account. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Account; /** * A `cors` block as defined below */ readonly cors: pulumi.Output; /** * One or more `dataStore` blocks as defined below. */ readonly dataStores: pulumi.Output; /** * An `identity` block as defined below. */ readonly identity: pulumi.Output; /** * Is local authentication enabled for this Azure Maps Account? When `false`, all authentication to the Azure Maps data-plane REST API is disabled, except Azure AD authentication. Defaults to `true`. */ readonly localAuthenticationEnabled: pulumi.Output; /** * The Location in which the Azure Maps Account should be provisioned. Changing this forces a new resource to be created. */ readonly location: pulumi.Output; /** * The name of the Azure Maps Account. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * The primary key used to authenticate and authorize access to the Maps REST APIs. */ readonly primaryAccessKey: pulumi.Output; /** * The name of the Resource Group in which the Azure Maps Account should exist. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * The secondary key used to authenticate and authorize access to the Maps REST APIs. */ readonly secondaryAccessKey: pulumi.Output; /** * The SKU of the Azure Maps Account. Possible values are `S0`, `S1` and `G2`. Changing this forces a new resource to be created. * * > **Note:** Gen1 SKUs (`S0` and `S1`) are deprecated and can no longer be used for new deployments, which should instead use a Gen2 SKU (`G2`) - more information can be found [in the Azure documentation](https://learn.microsoft.com/azure/azure-maps/how-to-manage-pricing-tier). */ readonly skuName: pulumi.Output; /** * A mapping of tags to assign to the Azure Maps Account. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * A unique identifier for the Maps Account. */ readonly xMsClientId: pulumi.Output; /** * Create a Account resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AccountArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Account resources. */ export interface AccountState { /** * A `cors` block as defined below */ cors?: pulumi.Input; /** * One or more `dataStore` blocks as defined below. */ dataStores?: pulumi.Input[]>; /** * An `identity` block as defined below. */ identity?: pulumi.Input; /** * Is local authentication enabled for this Azure Maps Account? When `false`, all authentication to the Azure Maps data-plane REST API is disabled, except Azure AD authentication. Defaults to `true`. */ localAuthenticationEnabled?: pulumi.Input; /** * The Location in which the Azure Maps Account should be provisioned. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * The name of the Azure Maps Account. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The primary key used to authenticate and authorize access to the Maps REST APIs. */ primaryAccessKey?: pulumi.Input; /** * The name of the Resource Group in which the Azure Maps Account should exist. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; /** * The secondary key used to authenticate and authorize access to the Maps REST APIs. */ secondaryAccessKey?: pulumi.Input; /** * The SKU of the Azure Maps Account. Possible values are `S0`, `S1` and `G2`. Changing this forces a new resource to be created. * * > **Note:** Gen1 SKUs (`S0` and `S1`) are deprecated and can no longer be used for new deployments, which should instead use a Gen2 SKU (`G2`) - more information can be found [in the Azure documentation](https://learn.microsoft.com/azure/azure-maps/how-to-manage-pricing-tier). */ skuName?: pulumi.Input; /** * A mapping of tags to assign to the Azure Maps Account. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * A unique identifier for the Maps Account. */ xMsClientId?: pulumi.Input; } /** * The set of arguments for constructing a Account resource. */ export interface AccountArgs { /** * A `cors` block as defined below */ cors?: pulumi.Input; /** * One or more `dataStore` blocks as defined below. */ dataStores?: pulumi.Input[]>; /** * An `identity` block as defined below. */ identity?: pulumi.Input; /** * Is local authentication enabled for this Azure Maps Account? When `false`, all authentication to the Azure Maps data-plane REST API is disabled, except Azure AD authentication. Defaults to `true`. */ localAuthenticationEnabled?: pulumi.Input; /** * The Location in which the Azure Maps Account should be provisioned. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * The name of the Azure Maps Account. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the Resource Group in which the Azure Maps Account should exist. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * The SKU of the Azure Maps Account. Possible values are `S0`, `S1` and `G2`. Changing this forces a new resource to be created. * * > **Note:** Gen1 SKUs (`S0` and `S1`) are deprecated and can no longer be used for new deployments, which should instead use a Gen2 SKU (`G2`) - more information can be found [in the Azure documentation](https://learn.microsoft.com/azure/azure-maps/how-to-manage-pricing-tier). */ skuName: pulumi.Input; /** * A mapping of tags to assign to the Azure Maps Account. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }