import * as pulumi from "@pulumi/pulumi"; /** * Manages an Azure Bot Service. * * ## Import * * Azure Bot Services can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:bot/serviceAzureBot:ServiceAzureBot example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.BotService/botServices/botService1 * ``` */ export declare class ServiceAzureBot extends pulumi.CustomResource { /** * Get an existing ServiceAzureBot 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?: ServiceAzureBotState, opts?: pulumi.CustomResourceOptions): ServiceAzureBot; /** * Returns true if the given object is an instance of ServiceAzureBot. 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 ServiceAzureBot; /** * The CMK Key Vault Key URL that will be used to encrypt the Bot with the Customer Managed Encryption Key. * * > **Note:** In order to utilize CMEK, you must add the `Key Vault Crypto Service Encryption User` role to the Azure-defined `Bot Service CMEK Prod` Service Principal. You must also enable `softDeleteEnabled` and `purgeProtectionEnabled` on the `azure.keyvault.KeyVault` that `cmkKeyVaultKeyUrl` refers to. [See Azure Documentation](https://learn.microsoft.com/en-us/azure/bot-service/bot-service-encryption?view=azure-bot-service-4.0#how-to-configure-your-azure-key-vault-instance) */ readonly cmkKeyVaultKeyUrl: pulumi.Output; /** * The Application Insights API Key to associate with this Azure Bot Service. */ readonly developerAppInsightsApiKey: pulumi.Output; /** * The resource ID of the Application Insights instance to associate with this Azure Bot Service. */ readonly developerAppInsightsApplicationId: pulumi.Output; /** * The Application Insight Key to associate with this Azure Bot Service. */ readonly developerAppInsightsKey: pulumi.Output; /** * The name that the Azure Bot Service will be displayed as. This defaults to the value set for `name` if not specified. */ readonly displayName: pulumi.Output; /** * The Azure Bot Service endpoint. */ readonly endpoint: pulumi.Output; /** * The Icon Url of the Azure Bot Service. Defaults to `https://docs.botframework.com/static/devportal/client/images/bot-framework-default.png`. */ readonly iconUrl: pulumi.Output; /** * Is local authentication enabled? Defaults to `true`. */ readonly localAuthenticationEnabled: pulumi.Output; /** * The supported Azure location where the Azure Bot Service should exist. Changing this forces a new resource to be created. */ readonly location: pulumi.Output; /** * A list of LUIS App IDs to associate with this Azure Bot Service. */ readonly luisAppIds: pulumi.Output; /** * The LUIS key to associate with this Azure Bot Service. */ readonly luisKey: pulumi.Output; /** * The Microsoft Application ID for the Azure Bot Service. Changing this forces a new resource to be created. */ readonly microsoftAppId: pulumi.Output; /** * The ID of the Microsoft App Managed Identity for this Azure Bot Service. Changing this forces a new resource to be created. */ readonly microsoftAppMsiId: pulumi.Output; /** * The Tenant ID of the Microsoft App for this Azure Bot Service. Changing this forces a new resource to be created. */ readonly microsoftAppTenantId: pulumi.Output; /** * The Microsoft App Type for this Azure Bot Service. Possible values are `MultiTenant`, `SingleTenant` and `UserAssignedMSI`. Changing this forces a new resource to be created. * * > **Note:** Creation of `azure.bot.ServiceAzureBot` resources using the `MultiTenant` type is no longer supported by Azure, existing resources can continue using this type. */ readonly microsoftAppType: pulumi.Output; /** * The name which should be used for this Azure Bot Service. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * Whether public network access is enabled. Defaults to `true`. */ readonly publicNetworkAccessEnabled: pulumi.Output; /** * The name of the Resource Group where the Azure Bot Service should exist. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * The SKU of the Azure Bot Service. Accepted values are `F0` or `S1`. Changing this forces a new resource to be created. */ readonly sku: pulumi.Output; /** * Is the streaming endpoint enabled for this Azure Bot Service. Defaults to `false`. */ readonly streamingEndpointEnabled: pulumi.Output; /** * A mapping of tags which should be assigned to this Azure Bot Service. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a ServiceAzureBot 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: ServiceAzureBotArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ServiceAzureBot resources. */ export interface ServiceAzureBotState { /** * The CMK Key Vault Key URL that will be used to encrypt the Bot with the Customer Managed Encryption Key. * * > **Note:** In order to utilize CMEK, you must add the `Key Vault Crypto Service Encryption User` role to the Azure-defined `Bot Service CMEK Prod` Service Principal. You must also enable `softDeleteEnabled` and `purgeProtectionEnabled` on the `azure.keyvault.KeyVault` that `cmkKeyVaultKeyUrl` refers to. [See Azure Documentation](https://learn.microsoft.com/en-us/azure/bot-service/bot-service-encryption?view=azure-bot-service-4.0#how-to-configure-your-azure-key-vault-instance) */ cmkKeyVaultKeyUrl?: pulumi.Input; /** * The Application Insights API Key to associate with this Azure Bot Service. */ developerAppInsightsApiKey?: pulumi.Input; /** * The resource ID of the Application Insights instance to associate with this Azure Bot Service. */ developerAppInsightsApplicationId?: pulumi.Input; /** * The Application Insight Key to associate with this Azure Bot Service. */ developerAppInsightsKey?: pulumi.Input; /** * The name that the Azure Bot Service will be displayed as. This defaults to the value set for `name` if not specified. */ displayName?: pulumi.Input; /** * The Azure Bot Service endpoint. */ endpoint?: pulumi.Input; /** * The Icon Url of the Azure Bot Service. Defaults to `https://docs.botframework.com/static/devportal/client/images/bot-framework-default.png`. */ iconUrl?: pulumi.Input; /** * Is local authentication enabled? Defaults to `true`. */ localAuthenticationEnabled?: pulumi.Input; /** * The supported Azure location where the Azure Bot Service should exist. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * A list of LUIS App IDs to associate with this Azure Bot Service. */ luisAppIds?: pulumi.Input[]>; /** * The LUIS key to associate with this Azure Bot Service. */ luisKey?: pulumi.Input; /** * The Microsoft Application ID for the Azure Bot Service. Changing this forces a new resource to be created. */ microsoftAppId?: pulumi.Input; /** * The ID of the Microsoft App Managed Identity for this Azure Bot Service. Changing this forces a new resource to be created. */ microsoftAppMsiId?: pulumi.Input; /** * The Tenant ID of the Microsoft App for this Azure Bot Service. Changing this forces a new resource to be created. */ microsoftAppTenantId?: pulumi.Input; /** * The Microsoft App Type for this Azure Bot Service. Possible values are `MultiTenant`, `SingleTenant` and `UserAssignedMSI`. Changing this forces a new resource to be created. * * > **Note:** Creation of `azure.bot.ServiceAzureBot` resources using the `MultiTenant` type is no longer supported by Azure, existing resources can continue using this type. */ microsoftAppType?: pulumi.Input; /** * The name which should be used for this Azure Bot Service. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * Whether public network access is enabled. Defaults to `true`. */ publicNetworkAccessEnabled?: pulumi.Input; /** * The name of the Resource Group where the Azure Bot Service should exist. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; /** * The SKU of the Azure Bot Service. Accepted values are `F0` or `S1`. Changing this forces a new resource to be created. */ sku?: pulumi.Input; /** * Is the streaming endpoint enabled for this Azure Bot Service. Defaults to `false`. */ streamingEndpointEnabled?: pulumi.Input; /** * A mapping of tags which should be assigned to this Azure Bot Service. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; } /** * The set of arguments for constructing a ServiceAzureBot resource. */ export interface ServiceAzureBotArgs { /** * The CMK Key Vault Key URL that will be used to encrypt the Bot with the Customer Managed Encryption Key. * * > **Note:** In order to utilize CMEK, you must add the `Key Vault Crypto Service Encryption User` role to the Azure-defined `Bot Service CMEK Prod` Service Principal. You must also enable `softDeleteEnabled` and `purgeProtectionEnabled` on the `azure.keyvault.KeyVault` that `cmkKeyVaultKeyUrl` refers to. [See Azure Documentation](https://learn.microsoft.com/en-us/azure/bot-service/bot-service-encryption?view=azure-bot-service-4.0#how-to-configure-your-azure-key-vault-instance) */ cmkKeyVaultKeyUrl?: pulumi.Input; /** * The Application Insights API Key to associate with this Azure Bot Service. */ developerAppInsightsApiKey?: pulumi.Input; /** * The resource ID of the Application Insights instance to associate with this Azure Bot Service. */ developerAppInsightsApplicationId?: pulumi.Input; /** * The Application Insight Key to associate with this Azure Bot Service. */ developerAppInsightsKey?: pulumi.Input; /** * The name that the Azure Bot Service will be displayed as. This defaults to the value set for `name` if not specified. */ displayName?: pulumi.Input; /** * The Azure Bot Service endpoint. */ endpoint?: pulumi.Input; /** * The Icon Url of the Azure Bot Service. Defaults to `https://docs.botframework.com/static/devportal/client/images/bot-framework-default.png`. */ iconUrl?: pulumi.Input; /** * Is local authentication enabled? Defaults to `true`. */ localAuthenticationEnabled?: pulumi.Input; /** * The supported Azure location where the Azure Bot Service should exist. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * A list of LUIS App IDs to associate with this Azure Bot Service. */ luisAppIds?: pulumi.Input[]>; /** * The LUIS key to associate with this Azure Bot Service. */ luisKey?: pulumi.Input; /** * The Microsoft Application ID for the Azure Bot Service. Changing this forces a new resource to be created. */ microsoftAppId: pulumi.Input; /** * The ID of the Microsoft App Managed Identity for this Azure Bot Service. Changing this forces a new resource to be created. */ microsoftAppMsiId?: pulumi.Input; /** * The Tenant ID of the Microsoft App for this Azure Bot Service. Changing this forces a new resource to be created. */ microsoftAppTenantId?: pulumi.Input; /** * The Microsoft App Type for this Azure Bot Service. Possible values are `MultiTenant`, `SingleTenant` and `UserAssignedMSI`. Changing this forces a new resource to be created. * * > **Note:** Creation of `azure.bot.ServiceAzureBot` resources using the `MultiTenant` type is no longer supported by Azure, existing resources can continue using this type. */ microsoftAppType?: pulumi.Input; /** * The name which should be used for this Azure Bot Service. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * Whether public network access is enabled. Defaults to `true`. */ publicNetworkAccessEnabled?: pulumi.Input; /** * The name of the Resource Group where the Azure Bot Service should exist. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * The SKU of the Azure Bot Service. Accepted values are `F0` or `S1`. Changing this forces a new resource to be created. */ sku: pulumi.Input; /** * Is the streaming endpoint enabled for this Azure Bot Service. Defaults to `false`. */ streamingEndpointEnabled?: pulumi.Input; /** * A mapping of tags which should be assigned to this Azure Bot Service. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }