We recommend using Azure Native.
azure.cognitive.AIServices
Manages an AI Services Account.
Example Usage
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",
    },
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
    name="example-resources",
    location="West Europe")
example_ai_services = azure.cognitive.AIServices("example",
    name="example-account",
    location=example.location,
    resource_group_name=example.name,
    sku_name="S0",
    tags={
        "Acceptance": "Test",
    })
package main
import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/cognitive"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = cognitive.NewAIServices(ctx, "example", &cognitive.AIServicesArgs{
			Name:              pulumi.String("example-account"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("S0"),
			Tags: pulumi.StringMap{
				"Acceptance": pulumi.String("Test"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() => 
{
    var example = new Azure.Core.ResourceGroup("example", new()
    {
        Name = "example-resources",
        Location = "West Europe",
    });
    var exampleAIServices = new Azure.Cognitive.AIServices("example", new()
    {
        Name = "example-account",
        Location = example.Location,
        ResourceGroupName = example.Name,
        SkuName = "S0",
        Tags = 
        {
            { "Acceptance", "Test" },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.cognitive.AIServices;
import com.pulumi.azure.cognitive.AIServicesArgs;
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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
            .name("example-resources")
            .location("West Europe")
            .build());
        var exampleAIServices = new AIServices("exampleAIServices", AIServicesArgs.builder()
            .name("example-account")
            .location(example.location())
            .resourceGroupName(example.name())
            .skuName("S0")
            .tags(Map.of("Acceptance", "Test"))
            .build());
    }
}
resources:
  example:
    type: azure:core:ResourceGroup
    properties:
      name: example-resources
      location: West Europe
  exampleAIServices:
    type: azure:cognitive:AIServices
    name: example
    properties:
      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
Create AIServices Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AIServices(name: string, args: AIServicesArgs, opts?: CustomResourceOptions);@overload
def AIServices(resource_name: str,
               args: AIServicesArgs,
               opts: Optional[ResourceOptions] = None)
@overload
def AIServices(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               resource_group_name: Optional[str] = None,
               sku_name: Optional[str] = None,
               name: Optional[str] = None,
               identity: Optional[AIServicesIdentityArgs] = None,
               local_authentication_enabled: Optional[bool] = None,
               location: Optional[str] = None,
               custom_subdomain_name: Optional[str] = None,
               network_acls: Optional[AIServicesNetworkAclsArgs] = None,
               outbound_network_access_restricted: Optional[bool] = None,
               public_network_access: Optional[str] = None,
               fqdns: Optional[Sequence[str]] = None,
               customer_managed_key: Optional[AIServicesCustomerManagedKeyArgs] = None,
               storages: Optional[Sequence[AIServicesStorageArgs]] = None,
               tags: Optional[Mapping[str, str]] = None)func NewAIServices(ctx *Context, name string, args AIServicesArgs, opts ...ResourceOption) (*AIServices, error)public AIServices(string name, AIServicesArgs args, CustomResourceOptions? opts = null)
public AIServices(String name, AIServicesArgs args)
public AIServices(String name, AIServicesArgs args, CustomResourceOptions options)
type: azure:cognitive:AIServices
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AIServicesArgs
- 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 AIServicesArgs
- 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 AIServicesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AIServicesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AIServicesArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var aiservicesResource = new Azure.Cognitive.AIServices("aiservicesResource", new()
{
    ResourceGroupName = "string",
    SkuName = "string",
    Name = "string",
    Identity = new Azure.Cognitive.Inputs.AIServicesIdentityArgs
    {
        Type = "string",
        IdentityIds = new[]
        {
            "string",
        },
        PrincipalId = "string",
        TenantId = "string",
    },
    LocalAuthenticationEnabled = false,
    Location = "string",
    CustomSubdomainName = "string",
    NetworkAcls = new Azure.Cognitive.Inputs.AIServicesNetworkAclsArgs
    {
        DefaultAction = "string",
        Bypass = "string",
        IpRules = new[]
        {
            "string",
        },
        VirtualNetworkRules = new[]
        {
            new Azure.Cognitive.Inputs.AIServicesNetworkAclsVirtualNetworkRuleArgs
            {
                SubnetId = "string",
                IgnoreMissingVnetServiceEndpoint = false,
            },
        },
    },
    OutboundNetworkAccessRestricted = false,
    PublicNetworkAccess = "string",
    Fqdns = new[]
    {
        "string",
    },
    CustomerManagedKey = new Azure.Cognitive.Inputs.AIServicesCustomerManagedKeyArgs
    {
        IdentityClientId = "string",
        KeyVaultKeyId = "string",
        ManagedHsmKeyId = "string",
    },
    Storages = new[]
    {
        new Azure.Cognitive.Inputs.AIServicesStorageArgs
        {
            StorageAccountId = "string",
            IdentityClientId = "string",
        },
    },
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := cognitive.NewAIServices(ctx, "aiservicesResource", &cognitive.AIServicesArgs{
	ResourceGroupName: pulumi.String("string"),
	SkuName:           pulumi.String("string"),
	Name:              pulumi.String("string"),
	Identity: &cognitive.AIServicesIdentityArgs{
		Type: pulumi.String("string"),
		IdentityIds: pulumi.StringArray{
			pulumi.String("string"),
		},
		PrincipalId: pulumi.String("string"),
		TenantId:    pulumi.String("string"),
	},
	LocalAuthenticationEnabled: pulumi.Bool(false),
	Location:                   pulumi.String("string"),
	CustomSubdomainName:        pulumi.String("string"),
	NetworkAcls: &cognitive.AIServicesNetworkAclsArgs{
		DefaultAction: pulumi.String("string"),
		Bypass:        pulumi.String("string"),
		IpRules: pulumi.StringArray{
			pulumi.String("string"),
		},
		VirtualNetworkRules: cognitive.AIServicesNetworkAclsVirtualNetworkRuleArray{
			&cognitive.AIServicesNetworkAclsVirtualNetworkRuleArgs{
				SubnetId:                         pulumi.String("string"),
				IgnoreMissingVnetServiceEndpoint: pulumi.Bool(false),
			},
		},
	},
	OutboundNetworkAccessRestricted: pulumi.Bool(false),
	PublicNetworkAccess:             pulumi.String("string"),
	Fqdns: pulumi.StringArray{
		pulumi.String("string"),
	},
	CustomerManagedKey: &cognitive.AIServicesCustomerManagedKeyArgs{
		IdentityClientId: pulumi.String("string"),
		KeyVaultKeyId:    pulumi.String("string"),
		ManagedHsmKeyId:  pulumi.String("string"),
	},
	Storages: cognitive.AIServicesStorageArray{
		&cognitive.AIServicesStorageArgs{
			StorageAccountId: pulumi.String("string"),
			IdentityClientId: pulumi.String("string"),
		},
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var aiservicesResource = new AIServices("aiservicesResource", AIServicesArgs.builder()
    .resourceGroupName("string")
    .skuName("string")
    .name("string")
    .identity(AIServicesIdentityArgs.builder()
        .type("string")
        .identityIds("string")
        .principalId("string")
        .tenantId("string")
        .build())
    .localAuthenticationEnabled(false)
    .location("string")
    .customSubdomainName("string")
    .networkAcls(AIServicesNetworkAclsArgs.builder()
        .defaultAction("string")
        .bypass("string")
        .ipRules("string")
        .virtualNetworkRules(AIServicesNetworkAclsVirtualNetworkRuleArgs.builder()
            .subnetId("string")
            .ignoreMissingVnetServiceEndpoint(false)
            .build())
        .build())
    .outboundNetworkAccessRestricted(false)
    .publicNetworkAccess("string")
    .fqdns("string")
    .customerManagedKey(AIServicesCustomerManagedKeyArgs.builder()
        .identityClientId("string")
        .keyVaultKeyId("string")
        .managedHsmKeyId("string")
        .build())
    .storages(AIServicesStorageArgs.builder()
        .storageAccountId("string")
        .identityClientId("string")
        .build())
    .tags(Map.of("string", "string"))
    .build());
aiservices_resource = azure.cognitive.AIServices("aiservicesResource",
    resource_group_name="string",
    sku_name="string",
    name="string",
    identity={
        "type": "string",
        "identity_ids": ["string"],
        "principal_id": "string",
        "tenant_id": "string",
    },
    local_authentication_enabled=False,
    location="string",
    custom_subdomain_name="string",
    network_acls={
        "default_action": "string",
        "bypass": "string",
        "ip_rules": ["string"],
        "virtual_network_rules": [{
            "subnet_id": "string",
            "ignore_missing_vnet_service_endpoint": False,
        }],
    },
    outbound_network_access_restricted=False,
    public_network_access="string",
    fqdns=["string"],
    customer_managed_key={
        "identity_client_id": "string",
        "key_vault_key_id": "string",
        "managed_hsm_key_id": "string",
    },
    storages=[{
        "storage_account_id": "string",
        "identity_client_id": "string",
    }],
    tags={
        "string": "string",
    })
const aiservicesResource = new azure.cognitive.AIServices("aiservicesResource", {
    resourceGroupName: "string",
    skuName: "string",
    name: "string",
    identity: {
        type: "string",
        identityIds: ["string"],
        principalId: "string",
        tenantId: "string",
    },
    localAuthenticationEnabled: false,
    location: "string",
    customSubdomainName: "string",
    networkAcls: {
        defaultAction: "string",
        bypass: "string",
        ipRules: ["string"],
        virtualNetworkRules: [{
            subnetId: "string",
            ignoreMissingVnetServiceEndpoint: false,
        }],
    },
    outboundNetworkAccessRestricted: false,
    publicNetworkAccess: "string",
    fqdns: ["string"],
    customerManagedKey: {
        identityClientId: "string",
        keyVaultKeyId: "string",
        managedHsmKeyId: "string",
    },
    storages: [{
        storageAccountId: "string",
        identityClientId: "string",
    }],
    tags: {
        string: "string",
    },
});
type: azure:cognitive:AIServices
properties:
    customSubdomainName: string
    customerManagedKey:
        identityClientId: string
        keyVaultKeyId: string
        managedHsmKeyId: string
    fqdns:
        - string
    identity:
        identityIds:
            - string
        principalId: string
        tenantId: string
        type: string
    localAuthenticationEnabled: false
    location: string
    name: string
    networkAcls:
        bypass: string
        defaultAction: string
        ipRules:
            - string
        virtualNetworkRules:
            - ignoreMissingVnetServiceEndpoint: false
              subnetId: string
    outboundNetworkAccessRestricted: false
    publicNetworkAccess: string
    resourceGroupName: string
    skuName: string
    storages:
        - identityClientId: string
          storageAccountId: string
    tags:
        string: string
AIServices Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AIServices resource accepts the following input properties:
- ResourceGroup stringName 
- The name of the resource group in which the AI Services Account is created. Changing this forces a new resource to be created.
- SkuName string
- 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,- E0and- DC0.- Note: SKU - DC0is the commitment tier for AI Services Account containers running in disconnected environments. You must obtain approval from Microsoft by submitting the request form first, before you can use this SKU. More information on Purchase a commitment plan to use containers in disconnected environments.
- CustomSubdomain stringName 
- The subdomain name used for token-based authentication. This property is required when - network_aclsis specified. Changing this forces a new resource to be created.- Note: If you do not specify a - custom_subdomain_namethen you will not be able to attach a Private Endpoint to the resource.
- CustomerManaged AIServicesKey Customer Managed Key 
- A customer_managed_keyblock as documented below.
- Fqdns List<string>
- List of FQDNs allowed for the AI Services Account.
- Identity
AIServicesIdentity 
- An identityblock as defined below.
- LocalAuthentication boolEnabled 
- Whether local authentication is enabled for the AI Services Account. Defaults to true.
- Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the AI Services Account. Changing this forces a new resource to be created.
- NetworkAcls AIServicesNetwork Acls 
- A network_aclsblock as defined below. When this property is specified,custom_subdomain_nameis also required to be set.
- OutboundNetwork boolAccess Restricted 
- Whether outbound network access is restricted for the AI Services Account. Defaults to false.
- PublicNetwork stringAccess 
- Whether public network access is allowed for the AI Services Account. Possible values are EnabledandDisabled. Defaults toEnabled.
- Storages
List<AIServicesStorage> 
- A storageblock as defined below.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- ResourceGroup stringName 
- The name of the resource group in which the AI Services Account is created. Changing this forces a new resource to be created.
- SkuName string
- 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,- E0and- DC0.- Note: SKU - DC0is the commitment tier for AI Services Account containers running in disconnected environments. You must obtain approval from Microsoft by submitting the request form first, before you can use this SKU. More information on Purchase a commitment plan to use containers in disconnected environments.
- CustomSubdomain stringName 
- The subdomain name used for token-based authentication. This property is required when - network_aclsis specified. Changing this forces a new resource to be created.- Note: If you do not specify a - custom_subdomain_namethen you will not be able to attach a Private Endpoint to the resource.
- CustomerManaged AIServicesKey Customer Managed Key Args 
- A customer_managed_keyblock as documented below.
- Fqdns []string
- List of FQDNs allowed for the AI Services Account.
- Identity
AIServicesIdentity Args 
- An identityblock as defined below.
- LocalAuthentication boolEnabled 
- Whether local authentication is enabled for the AI Services Account. Defaults to true.
- Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the AI Services Account. Changing this forces a new resource to be created.
- NetworkAcls AIServicesNetwork Acls Args 
- A network_aclsblock as defined below. When this property is specified,custom_subdomain_nameis also required to be set.
- OutboundNetwork boolAccess Restricted 
- Whether outbound network access is restricted for the AI Services Account. Defaults to false.
- PublicNetwork stringAccess 
- Whether public network access is allowed for the AI Services Account. Possible values are EnabledandDisabled. Defaults toEnabled.
- Storages
[]AIServicesStorage Args 
- A storageblock as defined below.
- map[string]string
- A mapping of tags to assign to the resource.
- resourceGroup StringName 
- The name of the resource group in which the AI Services Account is created. Changing this forces a new resource to be created.
- skuName String
- 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,- E0and- DC0.- Note: SKU - DC0is the commitment tier for AI Services Account containers running in disconnected environments. You must obtain approval from Microsoft by submitting the request form first, before you can use this SKU. More information on Purchase a commitment plan to use containers in disconnected environments.
- customSubdomain StringName 
- The subdomain name used for token-based authentication. This property is required when - network_aclsis specified. Changing this forces a new resource to be created.- Note: If you do not specify a - custom_subdomain_namethen you will not be able to attach a Private Endpoint to the resource.
- customerManaged AIServicesKey Customer Managed Key 
- A customer_managed_keyblock as documented below.
- fqdns List<String>
- List of FQDNs allowed for the AI Services Account.
- identity
AIServicesIdentity 
- An identityblock as defined below.
- localAuthentication BooleanEnabled 
- Whether local authentication is enabled for the AI Services Account. Defaults to true.
- location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the AI Services Account. Changing this forces a new resource to be created.
- networkAcls AIServicesNetwork Acls 
- A network_aclsblock as defined below. When this property is specified,custom_subdomain_nameis also required to be set.
- outboundNetwork BooleanAccess Restricted 
- Whether outbound network access is restricted for the AI Services Account. Defaults to false.
- publicNetwork StringAccess 
- Whether public network access is allowed for the AI Services Account. Possible values are EnabledandDisabled. Defaults toEnabled.
- storages
List<AIServicesStorage> 
- A storageblock as defined below.
- Map<String,String>
- A mapping of tags to assign to the resource.
- resourceGroup stringName 
- The name of the resource group in which the AI Services Account is created. Changing this forces a new resource to be created.
- skuName string
- 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,- E0and- DC0.- Note: SKU - DC0is the commitment tier for AI Services Account containers running in disconnected environments. You must obtain approval from Microsoft by submitting the request form first, before you can use this SKU. More information on Purchase a commitment plan to use containers in disconnected environments.
- customSubdomain stringName 
- The subdomain name used for token-based authentication. This property is required when - network_aclsis specified. Changing this forces a new resource to be created.- Note: If you do not specify a - custom_subdomain_namethen you will not be able to attach a Private Endpoint to the resource.
- customerManaged AIServicesKey Customer Managed Key 
- A customer_managed_keyblock as documented below.
- fqdns string[]
- List of FQDNs allowed for the AI Services Account.
- identity
AIServicesIdentity 
- An identityblock as defined below.
- localAuthentication booleanEnabled 
- Whether local authentication is enabled for the AI Services Account. Defaults to true.
- location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name string
- Specifies the name of the AI Services Account. Changing this forces a new resource to be created.
- networkAcls AIServicesNetwork Acls 
- A network_aclsblock as defined below. When this property is specified,custom_subdomain_nameis also required to be set.
- outboundNetwork booleanAccess Restricted 
- Whether outbound network access is restricted for the AI Services Account. Defaults to false.
- publicNetwork stringAccess 
- Whether public network access is allowed for the AI Services Account. Possible values are EnabledandDisabled. Defaults toEnabled.
- storages
AIServicesStorage[] 
- A storageblock as defined below.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- resource_group_ strname 
- The name of the resource group in which the AI Services Account is created. Changing this forces a new resource to be created.
- sku_name str
- 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,- E0and- DC0.- Note: SKU - DC0is the commitment tier for AI Services Account containers running in disconnected environments. You must obtain approval from Microsoft by submitting the request form first, before you can use this SKU. More information on Purchase a commitment plan to use containers in disconnected environments.
- custom_subdomain_ strname 
- The subdomain name used for token-based authentication. This property is required when - network_aclsis specified. Changing this forces a new resource to be created.- Note: If you do not specify a - custom_subdomain_namethen you will not be able to attach a Private Endpoint to the resource.
- customer_managed_ AIServiceskey Customer Managed Key Args 
- A customer_managed_keyblock as documented below.
- fqdns Sequence[str]
- List of FQDNs allowed for the AI Services Account.
- identity
AIServicesIdentity Args 
- An identityblock as defined below.
- local_authentication_ boolenabled 
- Whether local authentication is enabled for the AI Services Account. Defaults to true.
- location str
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name str
- Specifies the name of the AI Services Account. Changing this forces a new resource to be created.
- network_acls AIServicesNetwork Acls Args 
- A network_aclsblock as defined below. When this property is specified,custom_subdomain_nameis also required to be set.
- outbound_network_ boolaccess_ restricted 
- Whether outbound network access is restricted for the AI Services Account. Defaults to false.
- public_network_ straccess 
- Whether public network access is allowed for the AI Services Account. Possible values are EnabledandDisabled. Defaults toEnabled.
- storages
Sequence[AIServicesStorage Args] 
- A storageblock as defined below.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- resourceGroup StringName 
- The name of the resource group in which the AI Services Account is created. Changing this forces a new resource to be created.
- skuName String
- 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,- E0and- DC0.- Note: SKU - DC0is the commitment tier for AI Services Account containers running in disconnected environments. You must obtain approval from Microsoft by submitting the request form first, before you can use this SKU. More information on Purchase a commitment plan to use containers in disconnected environments.
- customSubdomain StringName 
- The subdomain name used for token-based authentication. This property is required when - network_aclsis specified. Changing this forces a new resource to be created.- Note: If you do not specify a - custom_subdomain_namethen you will not be able to attach a Private Endpoint to the resource.
- customerManaged Property MapKey 
- A customer_managed_keyblock as documented below.
- fqdns List<String>
- List of FQDNs allowed for the AI Services Account.
- identity Property Map
- An identityblock as defined below.
- localAuthentication BooleanEnabled 
- Whether local authentication is enabled for the AI Services Account. Defaults to true.
- location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the AI Services Account. Changing this forces a new resource to be created.
- networkAcls Property Map
- A network_aclsblock as defined below. When this property is specified,custom_subdomain_nameis also required to be set.
- outboundNetwork BooleanAccess Restricted 
- Whether outbound network access is restricted for the AI Services Account. Defaults to false.
- publicNetwork StringAccess 
- Whether public network access is allowed for the AI Services Account. Possible values are EnabledandDisabled. Defaults toEnabled.
- storages List<Property Map>
- A storageblock as defined below.
- Map<String>
- A mapping of tags to assign to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the AIServices resource produces the following output properties:
- Endpoint string
- The endpoint used to connect to the AI Services Account.
- Id string
- The provider-assigned unique ID for this managed resource.
- PrimaryAccess stringKey 
- A primary access key which can be used to connect to the AI Services Account.
- SecondaryAccess stringKey 
- The secondary access key which can be used to connect to the AI Services Account.
- Endpoint string
- The endpoint used to connect to the AI Services Account.
- Id string
- The provider-assigned unique ID for this managed resource.
- PrimaryAccess stringKey 
- A primary access key which can be used to connect to the AI Services Account.
- SecondaryAccess stringKey 
- The secondary access key which can be used to connect to the AI Services Account.
- endpoint String
- The endpoint used to connect to the AI Services Account.
- id String
- The provider-assigned unique ID for this managed resource.
- primaryAccess StringKey 
- A primary access key which can be used to connect to the AI Services Account.
- secondaryAccess StringKey 
- The secondary access key which can be used to connect to the AI Services Account.
- endpoint string
- The endpoint used to connect to the AI Services Account.
- id string
- The provider-assigned unique ID for this managed resource.
- primaryAccess stringKey 
- A primary access key which can be used to connect to the AI Services Account.
- secondaryAccess stringKey 
- The secondary access key which can be used to connect to the AI Services Account.
- endpoint str
- The endpoint used to connect to the AI Services Account.
- id str
- The provider-assigned unique ID for this managed resource.
- primary_access_ strkey 
- A primary access key which can be used to connect to the AI Services Account.
- secondary_access_ strkey 
- The secondary access key which can be used to connect to the AI Services Account.
- endpoint String
- The endpoint used to connect to the AI Services Account.
- id String
- The provider-assigned unique ID for this managed resource.
- primaryAccess StringKey 
- A primary access key which can be used to connect to the AI Services Account.
- secondaryAccess StringKey 
- The secondary access key which can be used to connect to the AI Services Account.
Look up Existing AIServices Resource
Get an existing AIServices resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AIServicesState, opts?: CustomResourceOptions): AIServices@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        custom_subdomain_name: Optional[str] = None,
        customer_managed_key: Optional[AIServicesCustomerManagedKeyArgs] = None,
        endpoint: Optional[str] = None,
        fqdns: Optional[Sequence[str]] = None,
        identity: Optional[AIServicesIdentityArgs] = None,
        local_authentication_enabled: Optional[bool] = None,
        location: Optional[str] = None,
        name: Optional[str] = None,
        network_acls: Optional[AIServicesNetworkAclsArgs] = None,
        outbound_network_access_restricted: Optional[bool] = None,
        primary_access_key: Optional[str] = None,
        public_network_access: Optional[str] = None,
        resource_group_name: Optional[str] = None,
        secondary_access_key: Optional[str] = None,
        sku_name: Optional[str] = None,
        storages: Optional[Sequence[AIServicesStorageArgs]] = None,
        tags: Optional[Mapping[str, str]] = None) -> AIServicesfunc GetAIServices(ctx *Context, name string, id IDInput, state *AIServicesState, opts ...ResourceOption) (*AIServices, error)public static AIServices Get(string name, Input<string> id, AIServicesState? state, CustomResourceOptions? opts = null)public static AIServices get(String name, Output<String> id, AIServicesState state, CustomResourceOptions options)resources:  _:    type: azure:cognitive:AIServices    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- CustomSubdomain stringName 
- The subdomain name used for token-based authentication. This property is required when - network_aclsis specified. Changing this forces a new resource to be created.- Note: If you do not specify a - custom_subdomain_namethen you will not be able to attach a Private Endpoint to the resource.
- CustomerManaged AIServicesKey Customer Managed Key 
- A customer_managed_keyblock as documented below.
- Endpoint string
- The endpoint used to connect to the AI Services Account.
- Fqdns List<string>
- List of FQDNs allowed for the AI Services Account.
- Identity
AIServicesIdentity 
- An identityblock as defined below.
- LocalAuthentication boolEnabled 
- Whether local authentication is enabled for the AI Services Account. Defaults to true.
- Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the AI Services Account. Changing this forces a new resource to be created.
- NetworkAcls AIServicesNetwork Acls 
- A network_aclsblock as defined below. When this property is specified,custom_subdomain_nameis also required to be set.
- OutboundNetwork boolAccess Restricted 
- Whether outbound network access is restricted for the AI Services Account. Defaults to false.
- PrimaryAccess stringKey 
- A primary access key which can be used to connect to the AI Services Account.
- PublicNetwork stringAccess 
- Whether public network access is allowed for the AI Services Account. Possible values are EnabledandDisabled. Defaults toEnabled.
- ResourceGroup stringName 
- The name of the resource group in which the AI Services Account is created. Changing this forces a new resource to be created.
- SecondaryAccess stringKey 
- The secondary access key which can be used to connect to the AI Services Account.
- SkuName string
- 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,- E0and- DC0.- Note: SKU - DC0is the commitment tier for AI Services Account containers running in disconnected environments. You must obtain approval from Microsoft by submitting the request form first, before you can use this SKU. More information on Purchase a commitment plan to use containers in disconnected environments.
- Storages
List<AIServicesStorage> 
- A storageblock as defined below.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- CustomSubdomain stringName 
- The subdomain name used for token-based authentication. This property is required when - network_aclsis specified. Changing this forces a new resource to be created.- Note: If you do not specify a - custom_subdomain_namethen you will not be able to attach a Private Endpoint to the resource.
- CustomerManaged AIServicesKey Customer Managed Key Args 
- A customer_managed_keyblock as documented below.
- Endpoint string
- The endpoint used to connect to the AI Services Account.
- Fqdns []string
- List of FQDNs allowed for the AI Services Account.
- Identity
AIServicesIdentity Args 
- An identityblock as defined below.
- LocalAuthentication boolEnabled 
- Whether local authentication is enabled for the AI Services Account. Defaults to true.
- Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the AI Services Account. Changing this forces a new resource to be created.
- NetworkAcls AIServicesNetwork Acls Args 
- A network_aclsblock as defined below. When this property is specified,custom_subdomain_nameis also required to be set.
- OutboundNetwork boolAccess Restricted 
- Whether outbound network access is restricted for the AI Services Account. Defaults to false.
- PrimaryAccess stringKey 
- A primary access key which can be used to connect to the AI Services Account.
- PublicNetwork stringAccess 
- Whether public network access is allowed for the AI Services Account. Possible values are EnabledandDisabled. Defaults toEnabled.
- ResourceGroup stringName 
- The name of the resource group in which the AI Services Account is created. Changing this forces a new resource to be created.
- SecondaryAccess stringKey 
- The secondary access key which can be used to connect to the AI Services Account.
- SkuName string
- 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,- E0and- DC0.- Note: SKU - DC0is the commitment tier for AI Services Account containers running in disconnected environments. You must obtain approval from Microsoft by submitting the request form first, before you can use this SKU. More information on Purchase a commitment plan to use containers in disconnected environments.
- Storages
[]AIServicesStorage Args 
- A storageblock as defined below.
- map[string]string
- A mapping of tags to assign to the resource.
- customSubdomain StringName 
- The subdomain name used for token-based authentication. This property is required when - network_aclsis specified. Changing this forces a new resource to be created.- Note: If you do not specify a - custom_subdomain_namethen you will not be able to attach a Private Endpoint to the resource.
- customerManaged AIServicesKey Customer Managed Key 
- A customer_managed_keyblock as documented below.
- endpoint String
- The endpoint used to connect to the AI Services Account.
- fqdns List<String>
- List of FQDNs allowed for the AI Services Account.
- identity
AIServicesIdentity 
- An identityblock as defined below.
- localAuthentication BooleanEnabled 
- Whether local authentication is enabled for the AI Services Account. Defaults to true.
- location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the AI Services Account. Changing this forces a new resource to be created.
- networkAcls AIServicesNetwork Acls 
- A network_aclsblock as defined below. When this property is specified,custom_subdomain_nameis also required to be set.
- outboundNetwork BooleanAccess Restricted 
- Whether outbound network access is restricted for the AI Services Account. Defaults to false.
- primaryAccess StringKey 
- A primary access key which can be used to connect to the AI Services Account.
- publicNetwork StringAccess 
- Whether public network access is allowed for the AI Services Account. Possible values are EnabledandDisabled. Defaults toEnabled.
- resourceGroup StringName 
- The name of the resource group in which the AI Services Account is created. Changing this forces a new resource to be created.
- secondaryAccess StringKey 
- The secondary access key which can be used to connect to the AI Services Account.
- skuName String
- 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,- E0and- DC0.- Note: SKU - DC0is the commitment tier for AI Services Account containers running in disconnected environments. You must obtain approval from Microsoft by submitting the request form first, before you can use this SKU. More information on Purchase a commitment plan to use containers in disconnected environments.
- storages
List<AIServicesStorage> 
- A storageblock as defined below.
- Map<String,String>
- A mapping of tags to assign to the resource.
- customSubdomain stringName 
- The subdomain name used for token-based authentication. This property is required when - network_aclsis specified. Changing this forces a new resource to be created.- Note: If you do not specify a - custom_subdomain_namethen you will not be able to attach a Private Endpoint to the resource.
- customerManaged AIServicesKey Customer Managed Key 
- A customer_managed_keyblock as documented below.
- endpoint string
- The endpoint used to connect to the AI Services Account.
- fqdns string[]
- List of FQDNs allowed for the AI Services Account.
- identity
AIServicesIdentity 
- An identityblock as defined below.
- localAuthentication booleanEnabled 
- Whether local authentication is enabled for the AI Services Account. Defaults to true.
- location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name string
- Specifies the name of the AI Services Account. Changing this forces a new resource to be created.
- networkAcls AIServicesNetwork Acls 
- A network_aclsblock as defined below. When this property is specified,custom_subdomain_nameis also required to be set.
- outboundNetwork booleanAccess Restricted 
- Whether outbound network access is restricted for the AI Services Account. Defaults to false.
- primaryAccess stringKey 
- A primary access key which can be used to connect to the AI Services Account.
- publicNetwork stringAccess 
- Whether public network access is allowed for the AI Services Account. Possible values are EnabledandDisabled. Defaults toEnabled.
- resourceGroup stringName 
- The name of the resource group in which the AI Services Account is created. Changing this forces a new resource to be created.
- secondaryAccess stringKey 
- The secondary access key which can be used to connect to the AI Services Account.
- skuName string
- 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,- E0and- DC0.- Note: SKU - DC0is the commitment tier for AI Services Account containers running in disconnected environments. You must obtain approval from Microsoft by submitting the request form first, before you can use this SKU. More information on Purchase a commitment plan to use containers in disconnected environments.
- storages
AIServicesStorage[] 
- A storageblock as defined below.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- custom_subdomain_ strname 
- The subdomain name used for token-based authentication. This property is required when - network_aclsis specified. Changing this forces a new resource to be created.- Note: If you do not specify a - custom_subdomain_namethen you will not be able to attach a Private Endpoint to the resource.
- customer_managed_ AIServiceskey Customer Managed Key Args 
- A customer_managed_keyblock as documented below.
- endpoint str
- The endpoint used to connect to the AI Services Account.
- fqdns Sequence[str]
- List of FQDNs allowed for the AI Services Account.
- identity
AIServicesIdentity Args 
- An identityblock as defined below.
- local_authentication_ boolenabled 
- Whether local authentication is enabled for the AI Services Account. Defaults to true.
- location str
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name str
- Specifies the name of the AI Services Account. Changing this forces a new resource to be created.
- network_acls AIServicesNetwork Acls Args 
- A network_aclsblock as defined below. When this property is specified,custom_subdomain_nameis also required to be set.
- outbound_network_ boolaccess_ restricted 
- Whether outbound network access is restricted for the AI Services Account. Defaults to false.
- primary_access_ strkey 
- A primary access key which can be used to connect to the AI Services Account.
- public_network_ straccess 
- Whether public network access is allowed for the AI Services Account. Possible values are EnabledandDisabled. Defaults toEnabled.
- resource_group_ strname 
- The name of the resource group in which the AI Services Account is created. Changing this forces a new resource to be created.
- secondary_access_ strkey 
- The secondary access key which can be used to connect to the AI Services Account.
- sku_name str
- 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,- E0and- DC0.- Note: SKU - DC0is the commitment tier for AI Services Account containers running in disconnected environments. You must obtain approval from Microsoft by submitting the request form first, before you can use this SKU. More information on Purchase a commitment plan to use containers in disconnected environments.
- storages
Sequence[AIServicesStorage Args] 
- A storageblock as defined below.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- customSubdomain StringName 
- The subdomain name used for token-based authentication. This property is required when - network_aclsis specified. Changing this forces a new resource to be created.- Note: If you do not specify a - custom_subdomain_namethen you will not be able to attach a Private Endpoint to the resource.
- customerManaged Property MapKey 
- A customer_managed_keyblock as documented below.
- endpoint String
- The endpoint used to connect to the AI Services Account.
- fqdns List<String>
- List of FQDNs allowed for the AI Services Account.
- identity Property Map
- An identityblock as defined below.
- localAuthentication BooleanEnabled 
- Whether local authentication is enabled for the AI Services Account. Defaults to true.
- location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the AI Services Account. Changing this forces a new resource to be created.
- networkAcls Property Map
- A network_aclsblock as defined below. When this property is specified,custom_subdomain_nameis also required to be set.
- outboundNetwork BooleanAccess Restricted 
- Whether outbound network access is restricted for the AI Services Account. Defaults to false.
- primaryAccess StringKey 
- A primary access key which can be used to connect to the AI Services Account.
- publicNetwork StringAccess 
- Whether public network access is allowed for the AI Services Account. Possible values are EnabledandDisabled. Defaults toEnabled.
- resourceGroup StringName 
- The name of the resource group in which the AI Services Account is created. Changing this forces a new resource to be created.
- secondaryAccess StringKey 
- The secondary access key which can be used to connect to the AI Services Account.
- skuName String
- 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,- E0and- DC0.- Note: SKU - DC0is the commitment tier for AI Services Account containers running in disconnected environments. You must obtain approval from Microsoft by submitting the request form first, before you can use this SKU. More information on Purchase a commitment plan to use containers in disconnected environments.
- storages List<Property Map>
- A storageblock as defined below.
- Map<String>
- A mapping of tags to assign to the resource.
Supporting Types
AIServicesCustomerManagedKey, AIServicesCustomerManagedKeyArgs        
- IdentityClient stringId 
- The Client ID of the User Assigned Identity that has access to the key. This property only needs to be specified when there are multiple identities attached to the Azure AI Service.
- KeyVault stringKey Id 
- The ID of the Key Vault Key which should be used to encrypt the data in this AI Services Account. Exactly one of key_vault_key_id,managed_hsm_key_idmust be specified.
- ManagedHsm stringKey Id 
- The ID of the managed HSM Key which should be used to encrypt the data in this AI Services Account. Exactly one of key_vault_key_id,managed_hsm_key_idmust be specified.
- IdentityClient stringId 
- The Client ID of the User Assigned Identity that has access to the key. This property only needs to be specified when there are multiple identities attached to the Azure AI Service.
- KeyVault stringKey Id 
- The ID of the Key Vault Key which should be used to encrypt the data in this AI Services Account. Exactly one of key_vault_key_id,managed_hsm_key_idmust be specified.
- ManagedHsm stringKey Id 
- The ID of the managed HSM Key which should be used to encrypt the data in this AI Services Account. Exactly one of key_vault_key_id,managed_hsm_key_idmust be specified.
- identityClient StringId 
- The Client ID of the User Assigned Identity that has access to the key. This property only needs to be specified when there are multiple identities attached to the Azure AI Service.
- keyVault StringKey Id 
- The ID of the Key Vault Key which should be used to encrypt the data in this AI Services Account. Exactly one of key_vault_key_id,managed_hsm_key_idmust be specified.
- managedHsm StringKey Id 
- The ID of the managed HSM Key which should be used to encrypt the data in this AI Services Account. Exactly one of key_vault_key_id,managed_hsm_key_idmust be specified.
- identityClient stringId 
- The Client ID of the User Assigned Identity that has access to the key. This property only needs to be specified when there are multiple identities attached to the Azure AI Service.
- keyVault stringKey Id 
- The ID of the Key Vault Key which should be used to encrypt the data in this AI Services Account. Exactly one of key_vault_key_id,managed_hsm_key_idmust be specified.
- managedHsm stringKey Id 
- The ID of the managed HSM Key which should be used to encrypt the data in this AI Services Account. Exactly one of key_vault_key_id,managed_hsm_key_idmust be specified.
- identity_client_ strid 
- The Client ID of the User Assigned Identity that has access to the key. This property only needs to be specified when there are multiple identities attached to the Azure AI Service.
- key_vault_ strkey_ id 
- The ID of the Key Vault Key which should be used to encrypt the data in this AI Services Account. Exactly one of key_vault_key_id,managed_hsm_key_idmust be specified.
- managed_hsm_ strkey_ id 
- The ID of the managed HSM Key which should be used to encrypt the data in this AI Services Account. Exactly one of key_vault_key_id,managed_hsm_key_idmust be specified.
- identityClient StringId 
- The Client ID of the User Assigned Identity that has access to the key. This property only needs to be specified when there are multiple identities attached to the Azure AI Service.
- keyVault StringKey Id 
- The ID of the Key Vault Key which should be used to encrypt the data in this AI Services Account. Exactly one of key_vault_key_id,managed_hsm_key_idmust be specified.
- managedHsm StringKey Id 
- The ID of the managed HSM Key which should be used to encrypt the data in this AI Services Account. Exactly one of key_vault_key_id,managed_hsm_key_idmust be specified.
AIServicesIdentity, AIServicesIdentityArgs    
- Type string
- Specifies the type of Managed Service Identity that should be configured on this AI Services Account. Possible values are SystemAssigned,UserAssigned,SystemAssigned, UserAssigned
- IdentityIds List<string>
- Specifies a list of User Assigned Managed Identity IDs to be assigned to this AI Services Account. - Note: This is required when - typeis set to- UserAssignedor- SystemAssigned, UserAssigned.
- PrincipalId string
- The Principal ID associated with this Managed Service Identity.
- TenantId string
- The Tenant ID associated with this Managed Service Identity.
- Type string
- Specifies the type of Managed Service Identity that should be configured on this AI Services Account. Possible values are SystemAssigned,UserAssigned,SystemAssigned, UserAssigned
- IdentityIds []string
- Specifies a list of User Assigned Managed Identity IDs to be assigned to this AI Services Account. - Note: This is required when - typeis set to- UserAssignedor- SystemAssigned, UserAssigned.
- PrincipalId string
- The Principal ID associated with this Managed Service Identity.
- TenantId string
- The Tenant ID associated with this Managed Service Identity.
- type String
- Specifies the type of Managed Service Identity that should be configured on this AI Services Account. Possible values are SystemAssigned,UserAssigned,SystemAssigned, UserAssigned
- identityIds List<String>
- Specifies a list of User Assigned Managed Identity IDs to be assigned to this AI Services Account. - Note: This is required when - typeis set to- UserAssignedor- SystemAssigned, UserAssigned.
- principalId String
- The Principal ID associated with this Managed Service Identity.
- tenantId String
- The Tenant ID associated with this Managed Service Identity.
- type string
- Specifies the type of Managed Service Identity that should be configured on this AI Services Account. Possible values are SystemAssigned,UserAssigned,SystemAssigned, UserAssigned
- identityIds string[]
- Specifies a list of User Assigned Managed Identity IDs to be assigned to this AI Services Account. - Note: This is required when - typeis set to- UserAssignedor- SystemAssigned, UserAssigned.
- principalId string
- The Principal ID associated with this Managed Service Identity.
- tenantId string
- The Tenant ID associated with this Managed Service Identity.
- type str
- Specifies the type of Managed Service Identity that should be configured on this AI Services Account. Possible values are SystemAssigned,UserAssigned,SystemAssigned, UserAssigned
- identity_ids Sequence[str]
- Specifies a list of User Assigned Managed Identity IDs to be assigned to this AI Services Account. - Note: This is required when - typeis set to- UserAssignedor- SystemAssigned, UserAssigned.
- principal_id str
- The Principal ID associated with this Managed Service Identity.
- tenant_id str
- The Tenant ID associated with this Managed Service Identity.
- type String
- Specifies the type of Managed Service Identity that should be configured on this AI Services Account. Possible values are SystemAssigned,UserAssigned,SystemAssigned, UserAssigned
- identityIds List<String>
- Specifies a list of User Assigned Managed Identity IDs to be assigned to this AI Services Account. - Note: This is required when - typeis set to- UserAssignedor- SystemAssigned, UserAssigned.
- principalId String
- The Principal ID associated with this Managed Service Identity.
- tenantId String
- The Tenant ID associated with this Managed Service Identity.
AIServicesNetworkAcls, AIServicesNetworkAclsArgs      
- DefaultAction string
- The Default Action to use when no rules match from ip_rules/virtual_network_rules. Possible values areAllowandDeny.
- Bypass string
- Whether to allow trusted Azure Services to access the service. Possible values are NoneandAzureServices. Defaults toAzureServices. *
- IpRules List<string>
- One or more IP Addresses, or CIDR Blocks which should be able to access the AI Services Account.
- VirtualNetwork List<AIServicesRules Network Acls Virtual Network Rule> 
- A virtual_network_rulesblock as defined below.
- DefaultAction string
- The Default Action to use when no rules match from ip_rules/virtual_network_rules. Possible values areAllowandDeny.
- Bypass string
- Whether to allow trusted Azure Services to access the service. Possible values are NoneandAzureServices. Defaults toAzureServices. *
- IpRules []string
- One or more IP Addresses, or CIDR Blocks which should be able to access the AI Services Account.
- VirtualNetwork []AIServicesRules Network Acls Virtual Network Rule 
- A virtual_network_rulesblock as defined below.
- defaultAction String
- The Default Action to use when no rules match from ip_rules/virtual_network_rules. Possible values areAllowandDeny.
- bypass String
- Whether to allow trusted Azure Services to access the service. Possible values are NoneandAzureServices. Defaults toAzureServices. *
- ipRules List<String>
- One or more IP Addresses, or CIDR Blocks which should be able to access the AI Services Account.
- virtualNetwork List<AIServicesRules Network Acls Virtual Network Rule> 
- A virtual_network_rulesblock as defined below.
- defaultAction string
- The Default Action to use when no rules match from ip_rules/virtual_network_rules. Possible values areAllowandDeny.
- bypass string
- Whether to allow trusted Azure Services to access the service. Possible values are NoneandAzureServices. Defaults toAzureServices. *
- ipRules string[]
- One or more IP Addresses, or CIDR Blocks which should be able to access the AI Services Account.
- virtualNetwork AIServicesRules Network Acls Virtual Network Rule[] 
- A virtual_network_rulesblock as defined below.
- default_action str
- The Default Action to use when no rules match from ip_rules/virtual_network_rules. Possible values areAllowandDeny.
- bypass str
- Whether to allow trusted Azure Services to access the service. Possible values are NoneandAzureServices. Defaults toAzureServices. *
- ip_rules Sequence[str]
- One or more IP Addresses, or CIDR Blocks which should be able to access the AI Services Account.
- virtual_network_ Sequence[AIServicesrules Network Acls Virtual Network Rule] 
- A virtual_network_rulesblock as defined below.
- defaultAction String
- The Default Action to use when no rules match from ip_rules/virtual_network_rules. Possible values areAllowandDeny.
- bypass String
- Whether to allow trusted Azure Services to access the service. Possible values are NoneandAzureServices. Defaults toAzureServices. *
- ipRules List<String>
- One or more IP Addresses, or CIDR Blocks which should be able to access the AI Services Account.
- virtualNetwork List<Property Map>Rules 
- A virtual_network_rulesblock as defined below.
AIServicesNetworkAclsVirtualNetworkRule, AIServicesNetworkAclsVirtualNetworkRuleArgs            
- SubnetId string
- The ID of the subnet which should be able to access this AI Services Account.
- IgnoreMissing boolVnet Service Endpoint 
- Whether to ignore a missing Virtual Network Service Endpoint or not. Default to false.
- SubnetId string
- The ID of the subnet which should be able to access this AI Services Account.
- IgnoreMissing boolVnet Service Endpoint 
- Whether to ignore a missing Virtual Network Service Endpoint or not. Default to false.
- subnetId String
- The ID of the subnet which should be able to access this AI Services Account.
- ignoreMissing BooleanVnet Service Endpoint 
- Whether to ignore a missing Virtual Network Service Endpoint or not. Default to false.
- subnetId string
- The ID of the subnet which should be able to access this AI Services Account.
- ignoreMissing booleanVnet Service Endpoint 
- Whether to ignore a missing Virtual Network Service Endpoint or not. Default to false.
- subnet_id str
- The ID of the subnet which should be able to access this AI Services Account.
- ignore_missing_ boolvnet_ service_ endpoint 
- Whether to ignore a missing Virtual Network Service Endpoint or not. Default to false.
- subnetId String
- The ID of the subnet which should be able to access this AI Services Account.
- ignoreMissing BooleanVnet Service Endpoint 
- Whether to ignore a missing Virtual Network Service Endpoint or not. Default to false.
AIServicesStorage, AIServicesStorageArgs    
- StorageAccount stringId 
- The ID of the Storage Account.
- IdentityClient stringId 
- The client ID of the Managed Identity associated with the Storage Account.
- StorageAccount stringId 
- The ID of the Storage Account.
- IdentityClient stringId 
- The client ID of the Managed Identity associated with the Storage Account.
- storageAccount StringId 
- The ID of the Storage Account.
- identityClient StringId 
- The client ID of the Managed Identity associated with the Storage Account.
- storageAccount stringId 
- The ID of the Storage Account.
- identityClient stringId 
- The client ID of the Managed Identity associated with the Storage Account.
- storage_account_ strid 
- The ID of the Storage Account.
- identity_client_ strid 
- The client ID of the Managed Identity associated with the Storage Account.
- storageAccount StringId 
- The ID of the Storage Account.
- identityClient StringId 
- The client ID of the Managed Identity associated with the Storage Account.
Import
AI Services Account can be imported using the resource id, e.g.
$ pulumi import azure:cognitive/aIServices:AIServices account1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.CognitiveServices/accounts/account1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azurermTerraform Provider.
