import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages an AI Services 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 exampleAIServices = new azure.cognitive.AIServices("example", { * name: "example-account", * location: example.location, * resourceGroupName: example.name, * skuName: "S0", * tags: { * Acceptance: "Test", * }, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.CognitiveServices` - 2025-06-01 * * ## Import * * AI Services Account can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:cognitive/aIServices:AIServices account1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.CognitiveServices/accounts/account1 * ``` */ export declare class AIServices extends pulumi.CustomResource { /** * Get an existing AIServices 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?: AIServicesState, opts?: pulumi.CustomResourceOptions): AIServices; /** * Returns true if the given object is an instance of AIServices. 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 AIServices; /** * The subdomain name used for token-based authentication. This property is required when `networkAcls` is specified. Changing this forces a new resource to be created. * * > **Note:** If you do not specify a `customSubdomainName` then you will not be able to attach a Private Endpoint to the resource. */ readonly customSubdomainName: pulumi.Output; /** * A `customerManagedKey` block as documented below. */ readonly customerManagedKey: pulumi.Output; /** * The endpoint used to connect to the AI Services Account. */ readonly endpoint: pulumi.Output; /** * List of FQDNs allowed for the AI Services Account. */ readonly fqdns: pulumi.Output; /** * An `identity` block as defined below. */ readonly identity: pulumi.Output; /** * Whether local authentication is enabled for the AI Services Account. Defaults to `true`. */ readonly localAuthenticationEnabled: pulumi.Output; /** * Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. */ readonly location: pulumi.Output; /** * Specifies the name of the AI Services Account. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * A `networkAcls` block as defined below. When this property is specified, `customSubdomainName` is also required to be set. */ readonly networkAcls: pulumi.Output; /** * Whether outbound network access is restricted for the AI Services Account. Defaults to `false`. */ readonly outboundNetworkAccessRestricted: pulumi.Output; /** * A primary access key which can be used to connect to the AI Services Account. */ readonly primaryAccessKey: pulumi.Output; /** * Whether public network access is allowed for the AI Services Account. Possible values are `Enabled` and `Disabled`. Defaults to `Enabled`. */ readonly publicNetworkAccess: pulumi.Output; /** * The name of the resource group in which the AI Services Account is created. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * The secondary access key which can be used to connect to the AI Services Account. */ readonly secondaryAccessKey: pulumi.Output; /** * Specifies the SKU Name for this AI Services Account. Possible values are `F0`, `F1`, `S0`, `S`, `S1`, `S2`, `S3`, `S4`, `S5`, `S6`, `P0`, `P1`, `P2`, `E0` and `DC0`. * * > **Note:** SKU `DC0` is the commitment tier for AI Services Account containers running in disconnected environments. You must obtain approval from Microsoft by submitting the [request form](https://aka.ms/csdisconnectedcontainers) first, before you can use this SKU. More information on [Purchase a commitment plan to use containers in disconnected environments](https://learn.microsoft.com/en-us/azure/cognitive-services/containers/disconnected-containers?tabs=stt#purchase-a-commitment-plan-to-use-containers-in-disconnected-environments). */ readonly skuName: pulumi.Output; /** * A `storage` block as defined below. */ readonly storages: pulumi.Output; /** * A mapping of tags to assign to the resource. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a AIServices 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: AIServicesArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AIServices resources. */ export interface AIServicesState { /** * The subdomain name used for token-based authentication. This property is required when `networkAcls` is specified. Changing this forces a new resource to be created. * * > **Note:** If you do not specify a `customSubdomainName` then you will not be able to attach a Private Endpoint to the resource. */ customSubdomainName?: pulumi.Input; /** * A `customerManagedKey` block as documented below. */ customerManagedKey?: pulumi.Input; /** * The endpoint used to connect to the AI Services Account. */ endpoint?: pulumi.Input; /** * List of FQDNs allowed for the AI Services Account. */ fqdns?: pulumi.Input[]>; /** * An `identity` block as defined below. */ identity?: pulumi.Input; /** * Whether local authentication is enabled for the AI Services Account. Defaults to `true`. */ localAuthenticationEnabled?: pulumi.Input; /** * Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * Specifies the name of the AI Services Account. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * A `networkAcls` block as defined below. When this property is specified, `customSubdomainName` is also required to be set. */ networkAcls?: pulumi.Input; /** * Whether outbound network access is restricted for the AI Services Account. Defaults to `false`. */ outboundNetworkAccessRestricted?: pulumi.Input; /** * A primary access key which can be used to connect to the AI Services Account. */ primaryAccessKey?: pulumi.Input; /** * Whether public network access is allowed for the AI Services Account. Possible values are `Enabled` and `Disabled`. Defaults to `Enabled`. */ publicNetworkAccess?: pulumi.Input; /** * The name of the resource group in which the AI Services Account is created. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; /** * The secondary access key which can be used to connect to the AI Services Account. */ secondaryAccessKey?: pulumi.Input; /** * Specifies the SKU Name for this AI Services Account. Possible values are `F0`, `F1`, `S0`, `S`, `S1`, `S2`, `S3`, `S4`, `S5`, `S6`, `P0`, `P1`, `P2`, `E0` and `DC0`. * * > **Note:** SKU `DC0` is the commitment tier for AI Services Account containers running in disconnected environments. You must obtain approval from Microsoft by submitting the [request form](https://aka.ms/csdisconnectedcontainers) first, before you can use this SKU. More information on [Purchase a commitment plan to use containers in disconnected environments](https://learn.microsoft.com/en-us/azure/cognitive-services/containers/disconnected-containers?tabs=stt#purchase-a-commitment-plan-to-use-containers-in-disconnected-environments). */ skuName?: pulumi.Input; /** * A `storage` block as defined below. */ storages?: pulumi.Input[]>; /** * A mapping of tags to assign to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; } /** * The set of arguments for constructing a AIServices resource. */ export interface AIServicesArgs { /** * The subdomain name used for token-based authentication. This property is required when `networkAcls` is specified. Changing this forces a new resource to be created. * * > **Note:** If you do not specify a `customSubdomainName` then you will not be able to attach a Private Endpoint to the resource. */ customSubdomainName?: pulumi.Input; /** * A `customerManagedKey` block as documented below. */ customerManagedKey?: pulumi.Input; /** * List of FQDNs allowed for the AI Services Account. */ fqdns?: pulumi.Input[]>; /** * An `identity` block as defined below. */ identity?: pulumi.Input; /** * Whether local authentication is enabled for the AI Services Account. Defaults to `true`. */ localAuthenticationEnabled?: pulumi.Input; /** * Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * Specifies the name of the AI Services Account. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * A `networkAcls` block as defined below. When this property is specified, `customSubdomainName` is also required to be set. */ networkAcls?: pulumi.Input; /** * Whether outbound network access is restricted for the AI Services Account. Defaults to `false`. */ outboundNetworkAccessRestricted?: pulumi.Input; /** * Whether public network access is allowed for the AI Services Account. Possible values are `Enabled` and `Disabled`. Defaults to `Enabled`. */ publicNetworkAccess?: pulumi.Input; /** * The name of the resource group in which the AI Services Account is created. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * Specifies the SKU Name for this AI Services Account. Possible values are `F0`, `F1`, `S0`, `S`, `S1`, `S2`, `S3`, `S4`, `S5`, `S6`, `P0`, `P1`, `P2`, `E0` and `DC0`. * * > **Note:** SKU `DC0` is the commitment tier for AI Services Account containers running in disconnected environments. You must obtain approval from Microsoft by submitting the [request form](https://aka.ms/csdisconnectedcontainers) first, before you can use this SKU. More information on [Purchase a commitment plan to use containers in disconnected environments](https://learn.microsoft.com/en-us/azure/cognitive-services/containers/disconnected-containers?tabs=stt#purchase-a-commitment-plan-to-use-containers-in-disconnected-environments). */ skuName: pulumi.Input; /** * A `storage` block as defined below. */ storages?: pulumi.Input[]>; /** * A mapping of tags to assign to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }