import * as pulumi from "@pulumi/pulumi"; /** * Manages a Microsoft Graph Services Account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * import * as azuread from "@pulumi/azuread"; * * const example = new azuread.Application("example", {displayName: "example-app"}); * const exampleResourceGroup = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const exampleServicesAccount = new azure.graph.ServicesAccount("example", { * name: "example", * resourceGroupName: exampleResourceGroup.name, * applicationId: example.applicationId, * tags: { * environment: "Production", * }, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.GraphServices` - 2023-04-13 * * ## Import * * An existing Account can be imported into Pulumi using the `resource id`, e.g. * * ```sh * $ pulumi import azure:graph/servicesAccount:ServicesAccount example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/example-resource-group/providers/Microsoft.GraphServices/accounts/account1 * ``` */ export declare class ServicesAccount extends pulumi.CustomResource { /** * Get an existing ServicesAccount 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?: ServicesAccountState, opts?: pulumi.CustomResourceOptions): ServicesAccount; /** * Returns true if the given object is an instance of ServicesAccount. 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 ServicesAccount; /** * Customer owned application ID. Changing this forces a new Account to be created. */ readonly applicationId: pulumi.Output; /** * Billing Plan Id. */ readonly billingPlanId: pulumi.Output; /** * Specifies the name of this Account. Changing this forces a new Account to be created. */ readonly name: pulumi.Output; /** * Specifies the name of the Resource Group within which this Account should exist. Changing this forces a new Account to be created. */ readonly resourceGroupName: pulumi.Output; /** * A mapping of tags which should be assigned to the Account. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a ServicesAccount 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: ServicesAccountArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ServicesAccount resources. */ export interface ServicesAccountState { /** * Customer owned application ID. Changing this forces a new Account to be created. */ applicationId?: pulumi.Input; /** * Billing Plan Id. */ billingPlanId?: pulumi.Input; /** * Specifies the name of this Account. Changing this forces a new Account to be created. */ name?: pulumi.Input; /** * Specifies the name of the Resource Group within which this Account should exist. Changing this forces a new Account to be created. */ resourceGroupName?: pulumi.Input; /** * A mapping of tags which should be assigned to the Account. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; } /** * The set of arguments for constructing a ServicesAccount resource. */ export interface ServicesAccountArgs { /** * Customer owned application ID. Changing this forces a new Account to be created. */ applicationId: pulumi.Input; /** * Specifies the name of this Account. Changing this forces a new Account to be created. */ name?: pulumi.Input; /** * Specifies the name of the Resource Group within which this Account should exist. Changing this forces a new Account to be created. */ resourceGroupName: pulumi.Input; /** * A mapping of tags which should be assigned to the Account. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }