cognitive

package
v6.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AIServices

type AIServices struct {
	pulumi.CustomResourceState

	// 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.
	CustomSubdomainName pulumi.StringPtrOutput `pulumi:"customSubdomainName"`
	// A `customerManagedKey` block as documented below.
	CustomerManagedKey AIServicesCustomerManagedKeyPtrOutput `pulumi:"customerManagedKey"`
	// The endpoint used to connect to the AI Services Account.
	Endpoint pulumi.StringOutput `pulumi:"endpoint"`
	// List of FQDNs allowed for the AI Services Account.
	Fqdns pulumi.StringArrayOutput `pulumi:"fqdns"`
	// An `identity` block as defined below.
	Identity AIServicesIdentityPtrOutput `pulumi:"identity"`
	// Whether local authentication is enabled for the AI Services Account. Defaults to `true`.
	LocalAuthenticationEnabled pulumi.BoolPtrOutput `pulumi:"localAuthenticationEnabled"`
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name of the AI Services Account. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// A `networkAcls` block as defined below. When this property is specified, `customSubdomainName` is also required to be set.
	NetworkAcls AIServicesNetworkAclsPtrOutput `pulumi:"networkAcls"`
	// Whether outbound network access is restricted for the AI Services Account. Defaults to `false`.
	OutboundNetworkAccessRestricted pulumi.BoolPtrOutput `pulumi:"outboundNetworkAccessRestricted"`
	// A primary access key which can be used to connect to the AI Services Account.
	PrimaryAccessKey pulumi.StringOutput `pulumi:"primaryAccessKey"`
	// Whether public network access is allowed for the AI Services Account. Possible values are `Enabled` and `Disabled`. Defaults to `Enabled`.
	PublicNetworkAccess pulumi.StringPtrOutput `pulumi:"publicNetworkAccess"`
	// 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.StringOutput `pulumi:"resourceGroupName"`
	// The secondary access key which can be used to connect to the AI Services Account.
	SecondaryAccessKey pulumi.StringOutput `pulumi:"secondaryAccessKey"`
	// 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.StringOutput `pulumi:"skuName"`
	// A `storage` block as defined below.
	Storages AIServicesStorageArrayOutput `pulumi:"storages"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages an AI Services account.

## Example Usage

```go 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
	})
}

```

## 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 ```

func GetAIServices

func GetAIServices(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AIServicesState, opts ...pulumi.ResourceOption) (*AIServices, error)

GetAIServices gets an existing AIServices resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAIServices

func NewAIServices(ctx *pulumi.Context,
	name string, args *AIServicesArgs, opts ...pulumi.ResourceOption) (*AIServices, error)

NewAIServices registers a new resource with the given unique name, arguments, and options.

func (*AIServices) ElementType

func (*AIServices) ElementType() reflect.Type

func (*AIServices) ToAIServicesOutput

func (i *AIServices) ToAIServicesOutput() AIServicesOutput

func (*AIServices) ToAIServicesOutputWithContext

func (i *AIServices) ToAIServicesOutputWithContext(ctx context.Context) AIServicesOutput

type AIServicesArgs

type AIServicesArgs struct {
	// 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.
	CustomSubdomainName pulumi.StringPtrInput
	// A `customerManagedKey` block as documented below.
	CustomerManagedKey AIServicesCustomerManagedKeyPtrInput
	// List of FQDNs allowed for the AI Services Account.
	Fqdns pulumi.StringArrayInput
	// An `identity` block as defined below.
	Identity AIServicesIdentityPtrInput
	// Whether local authentication is enabled for the AI Services Account. Defaults to `true`.
	LocalAuthenticationEnabled pulumi.BoolPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the AI Services Account. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A `networkAcls` block as defined below. When this property is specified, `customSubdomainName` is also required to be set.
	NetworkAcls AIServicesNetworkAclsPtrInput
	// Whether outbound network access is restricted for the AI Services Account. Defaults to `false`.
	OutboundNetworkAccessRestricted pulumi.BoolPtrInput
	// Whether public network access is allowed for the AI Services Account. Possible values are `Enabled` and `Disabled`. Defaults to `Enabled`.
	PublicNetworkAccess pulumi.StringPtrInput
	// 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.StringInput
	// 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.StringInput
	// A `storage` block as defined below.
	Storages AIServicesStorageArrayInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a AIServices resource.

func (AIServicesArgs) ElementType

func (AIServicesArgs) ElementType() reflect.Type

type AIServicesArray

type AIServicesArray []AIServicesInput

func (AIServicesArray) ElementType

func (AIServicesArray) ElementType() reflect.Type

func (AIServicesArray) ToAIServicesArrayOutput

func (i AIServicesArray) ToAIServicesArrayOutput() AIServicesArrayOutput

func (AIServicesArray) ToAIServicesArrayOutputWithContext

func (i AIServicesArray) ToAIServicesArrayOutputWithContext(ctx context.Context) AIServicesArrayOutput

type AIServicesArrayInput

type AIServicesArrayInput interface {
	pulumi.Input

	ToAIServicesArrayOutput() AIServicesArrayOutput
	ToAIServicesArrayOutputWithContext(context.Context) AIServicesArrayOutput
}

AIServicesArrayInput is an input type that accepts AIServicesArray and AIServicesArrayOutput values. You can construct a concrete instance of `AIServicesArrayInput` via:

AIServicesArray{ AIServicesArgs{...} }

type AIServicesArrayOutput

type AIServicesArrayOutput struct{ *pulumi.OutputState }

func (AIServicesArrayOutput) ElementType

func (AIServicesArrayOutput) ElementType() reflect.Type

func (AIServicesArrayOutput) Index

func (AIServicesArrayOutput) ToAIServicesArrayOutput

func (o AIServicesArrayOutput) ToAIServicesArrayOutput() AIServicesArrayOutput

func (AIServicesArrayOutput) ToAIServicesArrayOutputWithContext

func (o AIServicesArrayOutput) ToAIServicesArrayOutputWithContext(ctx context.Context) AIServicesArrayOutput

type AIServicesCustomerManagedKey

type AIServicesCustomerManagedKey struct {
	// 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.
	IdentityClientId *string `pulumi:"identityClientId"`
	// The ID of the Key Vault Key which should be used to encrypt the data in this AI Services Account. Exactly one of `keyVaultKeyId`, `managedHsmKeyId` must be specified.
	KeyVaultKeyId *string `pulumi:"keyVaultKeyId"`
	// The ID of the managed HSM Key which should be used to encrypt the data in this AI Services Account. Exactly one of `keyVaultKeyId`, `managedHsmKeyId` must be specified.
	ManagedHsmKeyId *string `pulumi:"managedHsmKeyId"`
}

type AIServicesCustomerManagedKeyArgs

type AIServicesCustomerManagedKeyArgs struct {
	// 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.
	IdentityClientId pulumi.StringPtrInput `pulumi:"identityClientId"`
	// The ID of the Key Vault Key which should be used to encrypt the data in this AI Services Account. Exactly one of `keyVaultKeyId`, `managedHsmKeyId` must be specified.
	KeyVaultKeyId pulumi.StringPtrInput `pulumi:"keyVaultKeyId"`
	// The ID of the managed HSM Key which should be used to encrypt the data in this AI Services Account. Exactly one of `keyVaultKeyId`, `managedHsmKeyId` must be specified.
	ManagedHsmKeyId pulumi.StringPtrInput `pulumi:"managedHsmKeyId"`
}

func (AIServicesCustomerManagedKeyArgs) ElementType

func (AIServicesCustomerManagedKeyArgs) ToAIServicesCustomerManagedKeyOutput

func (i AIServicesCustomerManagedKeyArgs) ToAIServicesCustomerManagedKeyOutput() AIServicesCustomerManagedKeyOutput

func (AIServicesCustomerManagedKeyArgs) ToAIServicesCustomerManagedKeyOutputWithContext

func (i AIServicesCustomerManagedKeyArgs) ToAIServicesCustomerManagedKeyOutputWithContext(ctx context.Context) AIServicesCustomerManagedKeyOutput

func (AIServicesCustomerManagedKeyArgs) ToAIServicesCustomerManagedKeyPtrOutput

func (i AIServicesCustomerManagedKeyArgs) ToAIServicesCustomerManagedKeyPtrOutput() AIServicesCustomerManagedKeyPtrOutput

func (AIServicesCustomerManagedKeyArgs) ToAIServicesCustomerManagedKeyPtrOutputWithContext

func (i AIServicesCustomerManagedKeyArgs) ToAIServicesCustomerManagedKeyPtrOutputWithContext(ctx context.Context) AIServicesCustomerManagedKeyPtrOutput

type AIServicesCustomerManagedKeyInput

type AIServicesCustomerManagedKeyInput interface {
	pulumi.Input

	ToAIServicesCustomerManagedKeyOutput() AIServicesCustomerManagedKeyOutput
	ToAIServicesCustomerManagedKeyOutputWithContext(context.Context) AIServicesCustomerManagedKeyOutput
}

AIServicesCustomerManagedKeyInput is an input type that accepts AIServicesCustomerManagedKeyArgs and AIServicesCustomerManagedKeyOutput values. You can construct a concrete instance of `AIServicesCustomerManagedKeyInput` via:

AIServicesCustomerManagedKeyArgs{...}

type AIServicesCustomerManagedKeyOutput

type AIServicesCustomerManagedKeyOutput struct{ *pulumi.OutputState }

func (AIServicesCustomerManagedKeyOutput) ElementType

func (AIServicesCustomerManagedKeyOutput) IdentityClientId

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.

func (AIServicesCustomerManagedKeyOutput) KeyVaultKeyId

The ID of the Key Vault Key which should be used to encrypt the data in this AI Services Account. Exactly one of `keyVaultKeyId`, `managedHsmKeyId` must be specified.

func (AIServicesCustomerManagedKeyOutput) ManagedHsmKeyId

The ID of the managed HSM Key which should be used to encrypt the data in this AI Services Account. Exactly one of `keyVaultKeyId`, `managedHsmKeyId` must be specified.

func (AIServicesCustomerManagedKeyOutput) ToAIServicesCustomerManagedKeyOutput

func (o AIServicesCustomerManagedKeyOutput) ToAIServicesCustomerManagedKeyOutput() AIServicesCustomerManagedKeyOutput

func (AIServicesCustomerManagedKeyOutput) ToAIServicesCustomerManagedKeyOutputWithContext

func (o AIServicesCustomerManagedKeyOutput) ToAIServicesCustomerManagedKeyOutputWithContext(ctx context.Context) AIServicesCustomerManagedKeyOutput

func (AIServicesCustomerManagedKeyOutput) ToAIServicesCustomerManagedKeyPtrOutput

func (o AIServicesCustomerManagedKeyOutput) ToAIServicesCustomerManagedKeyPtrOutput() AIServicesCustomerManagedKeyPtrOutput

func (AIServicesCustomerManagedKeyOutput) ToAIServicesCustomerManagedKeyPtrOutputWithContext

func (o AIServicesCustomerManagedKeyOutput) ToAIServicesCustomerManagedKeyPtrOutputWithContext(ctx context.Context) AIServicesCustomerManagedKeyPtrOutput

type AIServicesCustomerManagedKeyPtrInput

type AIServicesCustomerManagedKeyPtrInput interface {
	pulumi.Input

	ToAIServicesCustomerManagedKeyPtrOutput() AIServicesCustomerManagedKeyPtrOutput
	ToAIServicesCustomerManagedKeyPtrOutputWithContext(context.Context) AIServicesCustomerManagedKeyPtrOutput
}

AIServicesCustomerManagedKeyPtrInput is an input type that accepts AIServicesCustomerManagedKeyArgs, AIServicesCustomerManagedKeyPtr and AIServicesCustomerManagedKeyPtrOutput values. You can construct a concrete instance of `AIServicesCustomerManagedKeyPtrInput` via:

        AIServicesCustomerManagedKeyArgs{...}

or:

        nil

type AIServicesCustomerManagedKeyPtrOutput

type AIServicesCustomerManagedKeyPtrOutput struct{ *pulumi.OutputState }

func (AIServicesCustomerManagedKeyPtrOutput) Elem

func (AIServicesCustomerManagedKeyPtrOutput) ElementType

func (AIServicesCustomerManagedKeyPtrOutput) IdentityClientId

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.

func (AIServicesCustomerManagedKeyPtrOutput) KeyVaultKeyId

The ID of the Key Vault Key which should be used to encrypt the data in this AI Services Account. Exactly one of `keyVaultKeyId`, `managedHsmKeyId` must be specified.

func (AIServicesCustomerManagedKeyPtrOutput) ManagedHsmKeyId

The ID of the managed HSM Key which should be used to encrypt the data in this AI Services Account. Exactly one of `keyVaultKeyId`, `managedHsmKeyId` must be specified.

func (AIServicesCustomerManagedKeyPtrOutput) ToAIServicesCustomerManagedKeyPtrOutput

func (o AIServicesCustomerManagedKeyPtrOutput) ToAIServicesCustomerManagedKeyPtrOutput() AIServicesCustomerManagedKeyPtrOutput

func (AIServicesCustomerManagedKeyPtrOutput) ToAIServicesCustomerManagedKeyPtrOutputWithContext

func (o AIServicesCustomerManagedKeyPtrOutput) ToAIServicesCustomerManagedKeyPtrOutputWithContext(ctx context.Context) AIServicesCustomerManagedKeyPtrOutput

type AIServicesIdentity

type AIServicesIdentity struct {
	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this AI Services Account.
	//
	// > **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
	IdentityIds []string `pulumi:"identityIds"`
	// The Principal ID associated with this Managed Service Identity.
	PrincipalId *string `pulumi:"principalId"`
	// The Tenant ID associated with this Managed Service Identity.
	TenantId *string `pulumi:"tenantId"`
	// Specifies the type of Managed Service Identity that should be configured on this AI Services Account. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned`
	Type string `pulumi:"type"`
}

type AIServicesIdentityArgs

type AIServicesIdentityArgs struct {
	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this AI Services Account.
	//
	// > **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
	IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"`
	// The Principal ID associated with this Managed Service Identity.
	PrincipalId pulumi.StringPtrInput `pulumi:"principalId"`
	// The Tenant ID associated with this Managed Service Identity.
	TenantId pulumi.StringPtrInput `pulumi:"tenantId"`
	// Specifies the type of Managed Service Identity that should be configured on this AI Services Account. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned`
	Type pulumi.StringInput `pulumi:"type"`
}

func (AIServicesIdentityArgs) ElementType

func (AIServicesIdentityArgs) ElementType() reflect.Type

func (AIServicesIdentityArgs) ToAIServicesIdentityOutput

func (i AIServicesIdentityArgs) ToAIServicesIdentityOutput() AIServicesIdentityOutput

func (AIServicesIdentityArgs) ToAIServicesIdentityOutputWithContext

func (i AIServicesIdentityArgs) ToAIServicesIdentityOutputWithContext(ctx context.Context) AIServicesIdentityOutput

func (AIServicesIdentityArgs) ToAIServicesIdentityPtrOutput

func (i AIServicesIdentityArgs) ToAIServicesIdentityPtrOutput() AIServicesIdentityPtrOutput

func (AIServicesIdentityArgs) ToAIServicesIdentityPtrOutputWithContext

func (i AIServicesIdentityArgs) ToAIServicesIdentityPtrOutputWithContext(ctx context.Context) AIServicesIdentityPtrOutput

type AIServicesIdentityInput

type AIServicesIdentityInput interface {
	pulumi.Input

	ToAIServicesIdentityOutput() AIServicesIdentityOutput
	ToAIServicesIdentityOutputWithContext(context.Context) AIServicesIdentityOutput
}

AIServicesIdentityInput is an input type that accepts AIServicesIdentityArgs and AIServicesIdentityOutput values. You can construct a concrete instance of `AIServicesIdentityInput` via:

AIServicesIdentityArgs{...}

type AIServicesIdentityOutput

type AIServicesIdentityOutput struct{ *pulumi.OutputState }

func (AIServicesIdentityOutput) ElementType

func (AIServicesIdentityOutput) ElementType() reflect.Type

func (AIServicesIdentityOutput) IdentityIds

Specifies a list of User Assigned Managed Identity IDs to be assigned to this AI Services Account.

> **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.

func (AIServicesIdentityOutput) PrincipalId

The Principal ID associated with this Managed Service Identity.

func (AIServicesIdentityOutput) TenantId

The Tenant ID associated with this Managed Service Identity.

func (AIServicesIdentityOutput) ToAIServicesIdentityOutput

func (o AIServicesIdentityOutput) ToAIServicesIdentityOutput() AIServicesIdentityOutput

func (AIServicesIdentityOutput) ToAIServicesIdentityOutputWithContext

func (o AIServicesIdentityOutput) ToAIServicesIdentityOutputWithContext(ctx context.Context) AIServicesIdentityOutput

func (AIServicesIdentityOutput) ToAIServicesIdentityPtrOutput

func (o AIServicesIdentityOutput) ToAIServicesIdentityPtrOutput() AIServicesIdentityPtrOutput

func (AIServicesIdentityOutput) ToAIServicesIdentityPtrOutputWithContext

func (o AIServicesIdentityOutput) ToAIServicesIdentityPtrOutputWithContext(ctx context.Context) AIServicesIdentityPtrOutput

func (AIServicesIdentityOutput) Type

Specifies the type of Managed Service Identity that should be configured on this AI Services Account. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned`

type AIServicesIdentityPtrInput

type AIServicesIdentityPtrInput interface {
	pulumi.Input

	ToAIServicesIdentityPtrOutput() AIServicesIdentityPtrOutput
	ToAIServicesIdentityPtrOutputWithContext(context.Context) AIServicesIdentityPtrOutput
}

AIServicesIdentityPtrInput is an input type that accepts AIServicesIdentityArgs, AIServicesIdentityPtr and AIServicesIdentityPtrOutput values. You can construct a concrete instance of `AIServicesIdentityPtrInput` via:

        AIServicesIdentityArgs{...}

or:

        nil

type AIServicesIdentityPtrOutput

type AIServicesIdentityPtrOutput struct{ *pulumi.OutputState }

func (AIServicesIdentityPtrOutput) Elem

func (AIServicesIdentityPtrOutput) ElementType

func (AIServicesIdentityPtrOutput) IdentityIds

Specifies a list of User Assigned Managed Identity IDs to be assigned to this AI Services Account.

> **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.

func (AIServicesIdentityPtrOutput) PrincipalId

The Principal ID associated with this Managed Service Identity.

func (AIServicesIdentityPtrOutput) TenantId

The Tenant ID associated with this Managed Service Identity.

func (AIServicesIdentityPtrOutput) ToAIServicesIdentityPtrOutput

func (o AIServicesIdentityPtrOutput) ToAIServicesIdentityPtrOutput() AIServicesIdentityPtrOutput

func (AIServicesIdentityPtrOutput) ToAIServicesIdentityPtrOutputWithContext

func (o AIServicesIdentityPtrOutput) ToAIServicesIdentityPtrOutputWithContext(ctx context.Context) AIServicesIdentityPtrOutput

func (AIServicesIdentityPtrOutput) Type

Specifies the type of Managed Service Identity that should be configured on this AI Services Account. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned`

type AIServicesInput

type AIServicesInput interface {
	pulumi.Input

	ToAIServicesOutput() AIServicesOutput
	ToAIServicesOutputWithContext(ctx context.Context) AIServicesOutput
}

type AIServicesMap

type AIServicesMap map[string]AIServicesInput

func (AIServicesMap) ElementType

func (AIServicesMap) ElementType() reflect.Type

func (AIServicesMap) ToAIServicesMapOutput

func (i AIServicesMap) ToAIServicesMapOutput() AIServicesMapOutput

func (AIServicesMap) ToAIServicesMapOutputWithContext

func (i AIServicesMap) ToAIServicesMapOutputWithContext(ctx context.Context) AIServicesMapOutput

type AIServicesMapInput

type AIServicesMapInput interface {
	pulumi.Input

	ToAIServicesMapOutput() AIServicesMapOutput
	ToAIServicesMapOutputWithContext(context.Context) AIServicesMapOutput
}

AIServicesMapInput is an input type that accepts AIServicesMap and AIServicesMapOutput values. You can construct a concrete instance of `AIServicesMapInput` via:

AIServicesMap{ "key": AIServicesArgs{...} }

type AIServicesMapOutput

type AIServicesMapOutput struct{ *pulumi.OutputState }

func (AIServicesMapOutput) ElementType

func (AIServicesMapOutput) ElementType() reflect.Type

func (AIServicesMapOutput) MapIndex

func (AIServicesMapOutput) ToAIServicesMapOutput

func (o AIServicesMapOutput) ToAIServicesMapOutput() AIServicesMapOutput

func (AIServicesMapOutput) ToAIServicesMapOutputWithContext

func (o AIServicesMapOutput) ToAIServicesMapOutputWithContext(ctx context.Context) AIServicesMapOutput

type AIServicesNetworkAcls

type AIServicesNetworkAcls struct {
	// The Default Action to use when no rules match from `ipRules` / `virtualNetworkRules`. Possible values are `Allow` and `Deny`.
	DefaultAction string `pulumi:"defaultAction"`
	// One or more IP Addresses, or CIDR Blocks which should be able to access the AI Services Account.
	IpRules []string `pulumi:"ipRules"`
	// A `virtualNetworkRules` block as defined below.
	VirtualNetworkRules []AIServicesNetworkAclsVirtualNetworkRule `pulumi:"virtualNetworkRules"`
}

type AIServicesNetworkAclsArgs

type AIServicesNetworkAclsArgs struct {
	// The Default Action to use when no rules match from `ipRules` / `virtualNetworkRules`. Possible values are `Allow` and `Deny`.
	DefaultAction pulumi.StringInput `pulumi:"defaultAction"`
	// One or more IP Addresses, or CIDR Blocks which should be able to access the AI Services Account.
	IpRules pulumi.StringArrayInput `pulumi:"ipRules"`
	// A `virtualNetworkRules` block as defined below.
	VirtualNetworkRules AIServicesNetworkAclsVirtualNetworkRuleArrayInput `pulumi:"virtualNetworkRules"`
}

func (AIServicesNetworkAclsArgs) ElementType

func (AIServicesNetworkAclsArgs) ElementType() reflect.Type

func (AIServicesNetworkAclsArgs) ToAIServicesNetworkAclsOutput

func (i AIServicesNetworkAclsArgs) ToAIServicesNetworkAclsOutput() AIServicesNetworkAclsOutput

func (AIServicesNetworkAclsArgs) ToAIServicesNetworkAclsOutputWithContext

func (i AIServicesNetworkAclsArgs) ToAIServicesNetworkAclsOutputWithContext(ctx context.Context) AIServicesNetworkAclsOutput

func (AIServicesNetworkAclsArgs) ToAIServicesNetworkAclsPtrOutput

func (i AIServicesNetworkAclsArgs) ToAIServicesNetworkAclsPtrOutput() AIServicesNetworkAclsPtrOutput

func (AIServicesNetworkAclsArgs) ToAIServicesNetworkAclsPtrOutputWithContext

func (i AIServicesNetworkAclsArgs) ToAIServicesNetworkAclsPtrOutputWithContext(ctx context.Context) AIServicesNetworkAclsPtrOutput

type AIServicesNetworkAclsInput

type AIServicesNetworkAclsInput interface {
	pulumi.Input

	ToAIServicesNetworkAclsOutput() AIServicesNetworkAclsOutput
	ToAIServicesNetworkAclsOutputWithContext(context.Context) AIServicesNetworkAclsOutput
}

AIServicesNetworkAclsInput is an input type that accepts AIServicesNetworkAclsArgs and AIServicesNetworkAclsOutput values. You can construct a concrete instance of `AIServicesNetworkAclsInput` via:

AIServicesNetworkAclsArgs{...}

type AIServicesNetworkAclsOutput

type AIServicesNetworkAclsOutput struct{ *pulumi.OutputState }

func (AIServicesNetworkAclsOutput) DefaultAction

The Default Action to use when no rules match from `ipRules` / `virtualNetworkRules`. Possible values are `Allow` and `Deny`.

func (AIServicesNetworkAclsOutput) ElementType

func (AIServicesNetworkAclsOutput) IpRules

One or more IP Addresses, or CIDR Blocks which should be able to access the AI Services Account.

func (AIServicesNetworkAclsOutput) ToAIServicesNetworkAclsOutput

func (o AIServicesNetworkAclsOutput) ToAIServicesNetworkAclsOutput() AIServicesNetworkAclsOutput

func (AIServicesNetworkAclsOutput) ToAIServicesNetworkAclsOutputWithContext

func (o AIServicesNetworkAclsOutput) ToAIServicesNetworkAclsOutputWithContext(ctx context.Context) AIServicesNetworkAclsOutput

func (AIServicesNetworkAclsOutput) ToAIServicesNetworkAclsPtrOutput

func (o AIServicesNetworkAclsOutput) ToAIServicesNetworkAclsPtrOutput() AIServicesNetworkAclsPtrOutput

func (AIServicesNetworkAclsOutput) ToAIServicesNetworkAclsPtrOutputWithContext

func (o AIServicesNetworkAclsOutput) ToAIServicesNetworkAclsPtrOutputWithContext(ctx context.Context) AIServicesNetworkAclsPtrOutput

func (AIServicesNetworkAclsOutput) VirtualNetworkRules

A `virtualNetworkRules` block as defined below.

type AIServicesNetworkAclsPtrInput

type AIServicesNetworkAclsPtrInput interface {
	pulumi.Input

	ToAIServicesNetworkAclsPtrOutput() AIServicesNetworkAclsPtrOutput
	ToAIServicesNetworkAclsPtrOutputWithContext(context.Context) AIServicesNetworkAclsPtrOutput
}

AIServicesNetworkAclsPtrInput is an input type that accepts AIServicesNetworkAclsArgs, AIServicesNetworkAclsPtr and AIServicesNetworkAclsPtrOutput values. You can construct a concrete instance of `AIServicesNetworkAclsPtrInput` via:

        AIServicesNetworkAclsArgs{...}

or:

        nil

type AIServicesNetworkAclsPtrOutput

type AIServicesNetworkAclsPtrOutput struct{ *pulumi.OutputState }

func (AIServicesNetworkAclsPtrOutput) DefaultAction

The Default Action to use when no rules match from `ipRules` / `virtualNetworkRules`. Possible values are `Allow` and `Deny`.

func (AIServicesNetworkAclsPtrOutput) Elem

func (AIServicesNetworkAclsPtrOutput) ElementType

func (AIServicesNetworkAclsPtrOutput) IpRules

One or more IP Addresses, or CIDR Blocks which should be able to access the AI Services Account.

func (AIServicesNetworkAclsPtrOutput) ToAIServicesNetworkAclsPtrOutput

func (o AIServicesNetworkAclsPtrOutput) ToAIServicesNetworkAclsPtrOutput() AIServicesNetworkAclsPtrOutput

func (AIServicesNetworkAclsPtrOutput) ToAIServicesNetworkAclsPtrOutputWithContext

func (o AIServicesNetworkAclsPtrOutput) ToAIServicesNetworkAclsPtrOutputWithContext(ctx context.Context) AIServicesNetworkAclsPtrOutput

func (AIServicesNetworkAclsPtrOutput) VirtualNetworkRules

A `virtualNetworkRules` block as defined below.

type AIServicesNetworkAclsVirtualNetworkRule

type AIServicesNetworkAclsVirtualNetworkRule struct {
	// Whether to ignore a missing Virtual Network Service Endpoint or not. Default to `false`.
	IgnoreMissingVnetServiceEndpoint *bool `pulumi:"ignoreMissingVnetServiceEndpoint"`
	// The ID of the subnet which should be able to access this AI Services Account.
	SubnetId string `pulumi:"subnetId"`
}

type AIServicesNetworkAclsVirtualNetworkRuleArgs

type AIServicesNetworkAclsVirtualNetworkRuleArgs struct {
	// Whether to ignore a missing Virtual Network Service Endpoint or not. Default to `false`.
	IgnoreMissingVnetServiceEndpoint pulumi.BoolPtrInput `pulumi:"ignoreMissingVnetServiceEndpoint"`
	// The ID of the subnet which should be able to access this AI Services Account.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
}

func (AIServicesNetworkAclsVirtualNetworkRuleArgs) ElementType

func (AIServicesNetworkAclsVirtualNetworkRuleArgs) ToAIServicesNetworkAclsVirtualNetworkRuleOutput

func (i AIServicesNetworkAclsVirtualNetworkRuleArgs) ToAIServicesNetworkAclsVirtualNetworkRuleOutput() AIServicesNetworkAclsVirtualNetworkRuleOutput

func (AIServicesNetworkAclsVirtualNetworkRuleArgs) ToAIServicesNetworkAclsVirtualNetworkRuleOutputWithContext

func (i AIServicesNetworkAclsVirtualNetworkRuleArgs) ToAIServicesNetworkAclsVirtualNetworkRuleOutputWithContext(ctx context.Context) AIServicesNetworkAclsVirtualNetworkRuleOutput

type AIServicesNetworkAclsVirtualNetworkRuleArray

type AIServicesNetworkAclsVirtualNetworkRuleArray []AIServicesNetworkAclsVirtualNetworkRuleInput

func (AIServicesNetworkAclsVirtualNetworkRuleArray) ElementType

func (AIServicesNetworkAclsVirtualNetworkRuleArray) ToAIServicesNetworkAclsVirtualNetworkRuleArrayOutput

func (i AIServicesNetworkAclsVirtualNetworkRuleArray) ToAIServicesNetworkAclsVirtualNetworkRuleArrayOutput() AIServicesNetworkAclsVirtualNetworkRuleArrayOutput

func (AIServicesNetworkAclsVirtualNetworkRuleArray) ToAIServicesNetworkAclsVirtualNetworkRuleArrayOutputWithContext

func (i AIServicesNetworkAclsVirtualNetworkRuleArray) ToAIServicesNetworkAclsVirtualNetworkRuleArrayOutputWithContext(ctx context.Context) AIServicesNetworkAclsVirtualNetworkRuleArrayOutput

type AIServicesNetworkAclsVirtualNetworkRuleArrayInput

type AIServicesNetworkAclsVirtualNetworkRuleArrayInput interface {
	pulumi.Input

	ToAIServicesNetworkAclsVirtualNetworkRuleArrayOutput() AIServicesNetworkAclsVirtualNetworkRuleArrayOutput
	ToAIServicesNetworkAclsVirtualNetworkRuleArrayOutputWithContext(context.Context) AIServicesNetworkAclsVirtualNetworkRuleArrayOutput
}

AIServicesNetworkAclsVirtualNetworkRuleArrayInput is an input type that accepts AIServicesNetworkAclsVirtualNetworkRuleArray and AIServicesNetworkAclsVirtualNetworkRuleArrayOutput values. You can construct a concrete instance of `AIServicesNetworkAclsVirtualNetworkRuleArrayInput` via:

AIServicesNetworkAclsVirtualNetworkRuleArray{ AIServicesNetworkAclsVirtualNetworkRuleArgs{...} }

type AIServicesNetworkAclsVirtualNetworkRuleArrayOutput

type AIServicesNetworkAclsVirtualNetworkRuleArrayOutput struct{ *pulumi.OutputState }

func (AIServicesNetworkAclsVirtualNetworkRuleArrayOutput) ElementType

func (AIServicesNetworkAclsVirtualNetworkRuleArrayOutput) Index

func (AIServicesNetworkAclsVirtualNetworkRuleArrayOutput) ToAIServicesNetworkAclsVirtualNetworkRuleArrayOutput

func (o AIServicesNetworkAclsVirtualNetworkRuleArrayOutput) ToAIServicesNetworkAclsVirtualNetworkRuleArrayOutput() AIServicesNetworkAclsVirtualNetworkRuleArrayOutput

func (AIServicesNetworkAclsVirtualNetworkRuleArrayOutput) ToAIServicesNetworkAclsVirtualNetworkRuleArrayOutputWithContext

func (o AIServicesNetworkAclsVirtualNetworkRuleArrayOutput) ToAIServicesNetworkAclsVirtualNetworkRuleArrayOutputWithContext(ctx context.Context) AIServicesNetworkAclsVirtualNetworkRuleArrayOutput

type AIServicesNetworkAclsVirtualNetworkRuleInput

type AIServicesNetworkAclsVirtualNetworkRuleInput interface {
	pulumi.Input

	ToAIServicesNetworkAclsVirtualNetworkRuleOutput() AIServicesNetworkAclsVirtualNetworkRuleOutput
	ToAIServicesNetworkAclsVirtualNetworkRuleOutputWithContext(context.Context) AIServicesNetworkAclsVirtualNetworkRuleOutput
}

AIServicesNetworkAclsVirtualNetworkRuleInput is an input type that accepts AIServicesNetworkAclsVirtualNetworkRuleArgs and AIServicesNetworkAclsVirtualNetworkRuleOutput values. You can construct a concrete instance of `AIServicesNetworkAclsVirtualNetworkRuleInput` via:

AIServicesNetworkAclsVirtualNetworkRuleArgs{...}

type AIServicesNetworkAclsVirtualNetworkRuleOutput

type AIServicesNetworkAclsVirtualNetworkRuleOutput struct{ *pulumi.OutputState }

func (AIServicesNetworkAclsVirtualNetworkRuleOutput) ElementType

func (AIServicesNetworkAclsVirtualNetworkRuleOutput) IgnoreMissingVnetServiceEndpoint

func (o AIServicesNetworkAclsVirtualNetworkRuleOutput) IgnoreMissingVnetServiceEndpoint() pulumi.BoolPtrOutput

Whether to ignore a missing Virtual Network Service Endpoint or not. Default to `false`.

func (AIServicesNetworkAclsVirtualNetworkRuleOutput) SubnetId

The ID of the subnet which should be able to access this AI Services Account.

func (AIServicesNetworkAclsVirtualNetworkRuleOutput) ToAIServicesNetworkAclsVirtualNetworkRuleOutput

func (o AIServicesNetworkAclsVirtualNetworkRuleOutput) ToAIServicesNetworkAclsVirtualNetworkRuleOutput() AIServicesNetworkAclsVirtualNetworkRuleOutput

func (AIServicesNetworkAclsVirtualNetworkRuleOutput) ToAIServicesNetworkAclsVirtualNetworkRuleOutputWithContext

func (o AIServicesNetworkAclsVirtualNetworkRuleOutput) ToAIServicesNetworkAclsVirtualNetworkRuleOutputWithContext(ctx context.Context) AIServicesNetworkAclsVirtualNetworkRuleOutput

type AIServicesOutput

type AIServicesOutput struct{ *pulumi.OutputState }

func (AIServicesOutput) CustomSubdomainName

func (o AIServicesOutput) CustomSubdomainName() pulumi.StringPtrOutput

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.

func (AIServicesOutput) CustomerManagedKey

A `customerManagedKey` block as documented below.

func (AIServicesOutput) ElementType

func (AIServicesOutput) ElementType() reflect.Type

func (AIServicesOutput) Endpoint

func (o AIServicesOutput) Endpoint() pulumi.StringOutput

The endpoint used to connect to the AI Services Account.

func (AIServicesOutput) Fqdns

List of FQDNs allowed for the AI Services Account.

func (AIServicesOutput) Identity

An `identity` block as defined below.

func (AIServicesOutput) LocalAuthenticationEnabled

func (o AIServicesOutput) LocalAuthenticationEnabled() pulumi.BoolPtrOutput

Whether local authentication is enabled for the AI Services Account. Defaults to `true`.

func (AIServicesOutput) Location

func (o AIServicesOutput) Location() pulumi.StringOutput

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (AIServicesOutput) Name

Specifies the name of the AI Services Account. Changing this forces a new resource to be created.

func (AIServicesOutput) NetworkAcls

A `networkAcls` block as defined below. When this property is specified, `customSubdomainName` is also required to be set.

func (AIServicesOutput) OutboundNetworkAccessRestricted

func (o AIServicesOutput) OutboundNetworkAccessRestricted() pulumi.BoolPtrOutput

Whether outbound network access is restricted for the AI Services Account. Defaults to `false`.

func (AIServicesOutput) PrimaryAccessKey

func (o AIServicesOutput) PrimaryAccessKey() pulumi.StringOutput

A primary access key which can be used to connect to the AI Services Account.

func (AIServicesOutput) PublicNetworkAccess

func (o AIServicesOutput) PublicNetworkAccess() pulumi.StringPtrOutput

Whether public network access is allowed for the AI Services Account. Possible values are `Enabled` and `Disabled`. Defaults to `Enabled`.

func (AIServicesOutput) ResourceGroupName

func (o AIServicesOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which the AI Services Account is created. Changing this forces a new resource to be created.

func (AIServicesOutput) SecondaryAccessKey

func (o AIServicesOutput) SecondaryAccessKey() pulumi.StringOutput

The secondary access key which can be used to connect to the AI Services Account.

func (AIServicesOutput) SkuName

func (o AIServicesOutput) SkuName() pulumi.StringOutput

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).

func (AIServicesOutput) Storages

A `storage` block as defined below.

func (AIServicesOutput) Tags

A mapping of tags to assign to the resource.

func (AIServicesOutput) ToAIServicesOutput

func (o AIServicesOutput) ToAIServicesOutput() AIServicesOutput

func (AIServicesOutput) ToAIServicesOutputWithContext

func (o AIServicesOutput) ToAIServicesOutputWithContext(ctx context.Context) AIServicesOutput

type AIServicesState

type AIServicesState struct {
	// 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.
	CustomSubdomainName pulumi.StringPtrInput
	// A `customerManagedKey` block as documented below.
	CustomerManagedKey AIServicesCustomerManagedKeyPtrInput
	// The endpoint used to connect to the AI Services Account.
	Endpoint pulumi.StringPtrInput
	// List of FQDNs allowed for the AI Services Account.
	Fqdns pulumi.StringArrayInput
	// An `identity` block as defined below.
	Identity AIServicesIdentityPtrInput
	// Whether local authentication is enabled for the AI Services Account. Defaults to `true`.
	LocalAuthenticationEnabled pulumi.BoolPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the AI Services Account. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A `networkAcls` block as defined below. When this property is specified, `customSubdomainName` is also required to be set.
	NetworkAcls AIServicesNetworkAclsPtrInput
	// Whether outbound network access is restricted for the AI Services Account. Defaults to `false`.
	OutboundNetworkAccessRestricted pulumi.BoolPtrInput
	// A primary access key which can be used to connect to the AI Services Account.
	PrimaryAccessKey pulumi.StringPtrInput
	// Whether public network access is allowed for the AI Services Account. Possible values are `Enabled` and `Disabled`. Defaults to `Enabled`.
	PublicNetworkAccess pulumi.StringPtrInput
	// 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.StringPtrInput
	// The secondary access key which can be used to connect to the AI Services Account.
	SecondaryAccessKey pulumi.StringPtrInput
	// 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.StringPtrInput
	// A `storage` block as defined below.
	Storages AIServicesStorageArrayInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (AIServicesState) ElementType

func (AIServicesState) ElementType() reflect.Type

type AIServicesStorage

type AIServicesStorage struct {
	// The client ID of the Managed Identity associated with the Storage Account.
	IdentityClientId *string `pulumi:"identityClientId"`
	// The ID of the Storage Account.
	StorageAccountId string `pulumi:"storageAccountId"`
}

type AIServicesStorageArgs

type AIServicesStorageArgs struct {
	// The client ID of the Managed Identity associated with the Storage Account.
	IdentityClientId pulumi.StringPtrInput `pulumi:"identityClientId"`
	// The ID of the Storage Account.
	StorageAccountId pulumi.StringInput `pulumi:"storageAccountId"`
}

func (AIServicesStorageArgs) ElementType

func (AIServicesStorageArgs) ElementType() reflect.Type

func (AIServicesStorageArgs) ToAIServicesStorageOutput

func (i AIServicesStorageArgs) ToAIServicesStorageOutput() AIServicesStorageOutput

func (AIServicesStorageArgs) ToAIServicesStorageOutputWithContext

func (i AIServicesStorageArgs) ToAIServicesStorageOutputWithContext(ctx context.Context) AIServicesStorageOutput

type AIServicesStorageArray

type AIServicesStorageArray []AIServicesStorageInput

func (AIServicesStorageArray) ElementType

func (AIServicesStorageArray) ElementType() reflect.Type

func (AIServicesStorageArray) ToAIServicesStorageArrayOutput

func (i AIServicesStorageArray) ToAIServicesStorageArrayOutput() AIServicesStorageArrayOutput

func (AIServicesStorageArray) ToAIServicesStorageArrayOutputWithContext

func (i AIServicesStorageArray) ToAIServicesStorageArrayOutputWithContext(ctx context.Context) AIServicesStorageArrayOutput

type AIServicesStorageArrayInput

type AIServicesStorageArrayInput interface {
	pulumi.Input

	ToAIServicesStorageArrayOutput() AIServicesStorageArrayOutput
	ToAIServicesStorageArrayOutputWithContext(context.Context) AIServicesStorageArrayOutput
}

AIServicesStorageArrayInput is an input type that accepts AIServicesStorageArray and AIServicesStorageArrayOutput values. You can construct a concrete instance of `AIServicesStorageArrayInput` via:

AIServicesStorageArray{ AIServicesStorageArgs{...} }

type AIServicesStorageArrayOutput

type AIServicesStorageArrayOutput struct{ *pulumi.OutputState }

func (AIServicesStorageArrayOutput) ElementType

func (AIServicesStorageArrayOutput) Index

func (AIServicesStorageArrayOutput) ToAIServicesStorageArrayOutput

func (o AIServicesStorageArrayOutput) ToAIServicesStorageArrayOutput() AIServicesStorageArrayOutput

func (AIServicesStorageArrayOutput) ToAIServicesStorageArrayOutputWithContext

func (o AIServicesStorageArrayOutput) ToAIServicesStorageArrayOutputWithContext(ctx context.Context) AIServicesStorageArrayOutput

type AIServicesStorageInput

type AIServicesStorageInput interface {
	pulumi.Input

	ToAIServicesStorageOutput() AIServicesStorageOutput
	ToAIServicesStorageOutputWithContext(context.Context) AIServicesStorageOutput
}

AIServicesStorageInput is an input type that accepts AIServicesStorageArgs and AIServicesStorageOutput values. You can construct a concrete instance of `AIServicesStorageInput` via:

AIServicesStorageArgs{...}

type AIServicesStorageOutput

type AIServicesStorageOutput struct{ *pulumi.OutputState }

func (AIServicesStorageOutput) ElementType

func (AIServicesStorageOutput) ElementType() reflect.Type

func (AIServicesStorageOutput) IdentityClientId

func (o AIServicesStorageOutput) IdentityClientId() pulumi.StringPtrOutput

The client ID of the Managed Identity associated with the Storage Account.

func (AIServicesStorageOutput) StorageAccountId

func (o AIServicesStorageOutput) StorageAccountId() pulumi.StringOutput

The ID of the Storage Account.

func (AIServicesStorageOutput) ToAIServicesStorageOutput

func (o AIServicesStorageOutput) ToAIServicesStorageOutput() AIServicesStorageOutput

func (AIServicesStorageOutput) ToAIServicesStorageOutputWithContext

func (o AIServicesStorageOutput) ToAIServicesStorageOutputWithContext(ctx context.Context) AIServicesStorageOutput

type Account

type Account struct {
	pulumi.CustomResourceState

	// If `kind` is `TextAnalytics` this specifies the ID of the Search service.
	CustomQuestionAnsweringSearchServiceId pulumi.StringPtrOutput `pulumi:"customQuestionAnsweringSearchServiceId"`
	// If `kind` is `TextAnalytics` this specifies the key of the Search service.
	//
	// > **NOTE:** `customQuestionAnsweringSearchServiceId` and `customQuestionAnsweringSearchServiceKey` are used for [Custom Question Answering, the renamed version of QnA Maker](https://docs.microsoft.com/azure/cognitive-services/qnamaker/custom-question-answering), while `qnaRuntimeEndpoint` is used for [the old version of QnA Maker](https://docs.microsoft.com/azure/cognitive-services/qnamaker/overview/overview)
	CustomQuestionAnsweringSearchServiceKey pulumi.StringPtrOutput `pulumi:"customQuestionAnsweringSearchServiceKey"`
	// The subdomain name used for token-based authentication. This property is required when `networkAcls` is specified. This property is also required when using the OpenAI service with libraries which assume the Azure OpenAI endpoint is a subdomain on `https://openai.azure.com/`, eg. `https://<custom_subdomain_name>.openai.azure.com/`.  Changing this forces a new resource to be created.
	CustomSubdomainName pulumi.StringPtrOutput `pulumi:"customSubdomainName"`
	// A `customerManagedKey` block as documented below.
	CustomerManagedKey AccountCustomerManagedKeyTypePtrOutput `pulumi:"customerManagedKey"`
	// Whether to enable the dynamic throttling for this Cognitive Service Account.
	DynamicThrottlingEnabled pulumi.BoolPtrOutput `pulumi:"dynamicThrottlingEnabled"`
	// The endpoint used to connect to the Cognitive Service Account.
	Endpoint pulumi.StringOutput `pulumi:"endpoint"`
	// List of FQDNs allowed for the Cognitive Account.
	Fqdns pulumi.StringArrayOutput `pulumi:"fqdns"`
	// An `identity` block as defined below.
	Identity AccountIdentityPtrOutput `pulumi:"identity"`
	// Specifies the type of Cognitive Service Account that should be created. Possible values are `Academic`, `AnomalyDetector`, `Bing.Autosuggest`, `Bing.Autosuggest.v7`, `Bing.CustomSearch`, `Bing.Search`, `Bing.Search.v7`, `Bing.Speech`, `Bing.SpellCheck`, `Bing.SpellCheck.v7`, `CognitiveServices`, `ComputerVision`, `ContentModerator`, `ContentSafety`, `CustomSpeech`, `CustomVision.Prediction`, `CustomVision.Training`, `Emotion`, `Face`, `FormRecognizer`, `ImmersiveReader`, `LUIS`, `LUIS.Authoring`, `MetricsAdvisor`, `OpenAI`, `Personalizer`, `QnAMaker`, `Recommendations`, `SpeakerRecognition`, `Speech`, `SpeechServices`, `SpeechTranslation`, `TextAnalytics`, `TextTranslation` and `WebLM`. Changing this forces a new resource to be created.
	//
	// > **NOTE:** New Bing Search resources cannot be created as their APIs are moving from Cognitive Services Platform to new surface area under Microsoft.com. Starting from October 30, 2020, existing instances of Bing Search APIs provisioned via Cognitive Services will be continuously supported for next 3 years or till the end of respective Enterprise Agreement, whichever happens first.
	//
	// > **NOTE:** You must create your first Face, Text Analytics, or Computer Vision resources from the Azure portal to review and acknowledge the terms and conditions. In Azure Portal, the checkbox to accept terms and conditions is only displayed when a US region is selected. More information on [Prerequisites](https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account-cli?tabs=windows#prerequisites).
	Kind pulumi.StringOutput `pulumi:"kind"`
	// Whether local authentication methods is enabled for the Cognitive Account. Defaults to `true`.
	LocalAuthEnabled pulumi.BoolPtrOutput `pulumi:"localAuthEnabled"`
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The Azure AD Client ID (Application ID). This attribute is only set when kind is `MetricsAdvisor`. Changing this forces a new resource to be created.
	MetricsAdvisorAadClientId pulumi.StringPtrOutput `pulumi:"metricsAdvisorAadClientId"`
	// The Azure AD Tenant ID. This attribute is only set when kind is `MetricsAdvisor`. Changing this forces a new resource to be created.
	MetricsAdvisorAadTenantId pulumi.StringPtrOutput `pulumi:"metricsAdvisorAadTenantId"`
	// The super user of Metrics Advisor. This attribute is only set when kind is `MetricsAdvisor`. Changing this forces a new resource to be created.
	MetricsAdvisorSuperUserName pulumi.StringPtrOutput `pulumi:"metricsAdvisorSuperUserName"`
	// The website name of Metrics Advisor. This attribute is only set when kind is `MetricsAdvisor`. Changing this forces a new resource to be created.
	//
	// > **NOTE:** This URL is mandatory if the `kind` is set to `QnAMaker`.
	MetricsAdvisorWebsiteName pulumi.StringPtrOutput `pulumi:"metricsAdvisorWebsiteName"`
	// Specifies the name of the Cognitive Service Account. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// A `networkAcls` block as defined below. When this property is specified, `customSubdomainName` is also required to be set.
	NetworkAcls AccountNetworkAclsPtrOutput `pulumi:"networkAcls"`
	// Whether outbound network access is restricted for the Cognitive Account. Defaults to `false`.
	OutboundNetworkAccessRestricted pulumi.BoolPtrOutput `pulumi:"outboundNetworkAccessRestricted"`
	// A primary access key which can be used to connect to the Cognitive Service Account.
	PrimaryAccessKey pulumi.StringOutput `pulumi:"primaryAccessKey"`
	// Whether public network access is allowed for the Cognitive Account. Defaults to `true`.
	PublicNetworkAccessEnabled pulumi.BoolPtrOutput `pulumi:"publicNetworkAccessEnabled"`
	// A URL to link a QnAMaker cognitive account to a QnA runtime.
	QnaRuntimeEndpoint pulumi.StringPtrOutput `pulumi:"qnaRuntimeEndpoint"`
	// The name of the resource group in which the Cognitive Service Account is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The secondary access key which can be used to connect to the Cognitive Service Account.
	SecondaryAccessKey pulumi.StringOutput `pulumi:"secondaryAccessKey"`
	// Specifies the SKU Name for this Cognitive Service 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 Cognitive Services 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.StringOutput `pulumi:"skuName"`
	// A `storage` block as defined below.
	Storages AccountStorageArrayOutput `pulumi:"storages"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Cognitive Services Account.

> **Note:** Version v2.65.0 of the Azure Provider and later will attempt to Purge the Cognitive Account during deletion. This feature can be disabled using the `features` block within the `provider` block, see the provider documentation on the features block for more information.

## Example Usage

```go 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.NewAccount(ctx, "example", &cognitive.AccountArgs{
			Name:              pulumi.String("example-account"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			Kind:              pulumi.String("Face"),
			SkuName:           pulumi.String("S0"),
			Tags: pulumi.StringMap{
				"Acceptance": pulumi.String("Test"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cognitive Service Accounts can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:cognitive/account:Account account1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.CognitiveServices/accounts/account1 ```

func GetAccount

func GetAccount(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AccountState, opts ...pulumi.ResourceOption) (*Account, error)

GetAccount gets an existing Account resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAccount

func NewAccount(ctx *pulumi.Context,
	name string, args *AccountArgs, opts ...pulumi.ResourceOption) (*Account, error)

NewAccount registers a new resource with the given unique name, arguments, and options.

func (*Account) ElementType

func (*Account) ElementType() reflect.Type

func (*Account) ToAccountOutput

func (i *Account) ToAccountOutput() AccountOutput

func (*Account) ToAccountOutputWithContext

func (i *Account) ToAccountOutputWithContext(ctx context.Context) AccountOutput

type AccountArgs

type AccountArgs struct {
	// If `kind` is `TextAnalytics` this specifies the ID of the Search service.
	CustomQuestionAnsweringSearchServiceId pulumi.StringPtrInput
	// If `kind` is `TextAnalytics` this specifies the key of the Search service.
	//
	// > **NOTE:** `customQuestionAnsweringSearchServiceId` and `customQuestionAnsweringSearchServiceKey` are used for [Custom Question Answering, the renamed version of QnA Maker](https://docs.microsoft.com/azure/cognitive-services/qnamaker/custom-question-answering), while `qnaRuntimeEndpoint` is used for [the old version of QnA Maker](https://docs.microsoft.com/azure/cognitive-services/qnamaker/overview/overview)
	CustomQuestionAnsweringSearchServiceKey pulumi.StringPtrInput
	// The subdomain name used for token-based authentication. This property is required when `networkAcls` is specified. This property is also required when using the OpenAI service with libraries which assume the Azure OpenAI endpoint is a subdomain on `https://openai.azure.com/`, eg. `https://<custom_subdomain_name>.openai.azure.com/`.  Changing this forces a new resource to be created.
	CustomSubdomainName pulumi.StringPtrInput
	// A `customerManagedKey` block as documented below.
	CustomerManagedKey AccountCustomerManagedKeyTypePtrInput
	// Whether to enable the dynamic throttling for this Cognitive Service Account.
	DynamicThrottlingEnabled pulumi.BoolPtrInput
	// List of FQDNs allowed for the Cognitive Account.
	Fqdns pulumi.StringArrayInput
	// An `identity` block as defined below.
	Identity AccountIdentityPtrInput
	// Specifies the type of Cognitive Service Account that should be created. Possible values are `Academic`, `AnomalyDetector`, `Bing.Autosuggest`, `Bing.Autosuggest.v7`, `Bing.CustomSearch`, `Bing.Search`, `Bing.Search.v7`, `Bing.Speech`, `Bing.SpellCheck`, `Bing.SpellCheck.v7`, `CognitiveServices`, `ComputerVision`, `ContentModerator`, `ContentSafety`, `CustomSpeech`, `CustomVision.Prediction`, `CustomVision.Training`, `Emotion`, `Face`, `FormRecognizer`, `ImmersiveReader`, `LUIS`, `LUIS.Authoring`, `MetricsAdvisor`, `OpenAI`, `Personalizer`, `QnAMaker`, `Recommendations`, `SpeakerRecognition`, `Speech`, `SpeechServices`, `SpeechTranslation`, `TextAnalytics`, `TextTranslation` and `WebLM`. Changing this forces a new resource to be created.
	//
	// > **NOTE:** New Bing Search resources cannot be created as their APIs are moving from Cognitive Services Platform to new surface area under Microsoft.com. Starting from October 30, 2020, existing instances of Bing Search APIs provisioned via Cognitive Services will be continuously supported for next 3 years or till the end of respective Enterprise Agreement, whichever happens first.
	//
	// > **NOTE:** You must create your first Face, Text Analytics, or Computer Vision resources from the Azure portal to review and acknowledge the terms and conditions. In Azure Portal, the checkbox to accept terms and conditions is only displayed when a US region is selected. More information on [Prerequisites](https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account-cli?tabs=windows#prerequisites).
	Kind pulumi.StringInput
	// Whether local authentication methods is enabled for the Cognitive Account. Defaults to `true`.
	LocalAuthEnabled pulumi.BoolPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The Azure AD Client ID (Application ID). This attribute is only set when kind is `MetricsAdvisor`. Changing this forces a new resource to be created.
	MetricsAdvisorAadClientId pulumi.StringPtrInput
	// The Azure AD Tenant ID. This attribute is only set when kind is `MetricsAdvisor`. Changing this forces a new resource to be created.
	MetricsAdvisorAadTenantId pulumi.StringPtrInput
	// The super user of Metrics Advisor. This attribute is only set when kind is `MetricsAdvisor`. Changing this forces a new resource to be created.
	MetricsAdvisorSuperUserName pulumi.StringPtrInput
	// The website name of Metrics Advisor. This attribute is only set when kind is `MetricsAdvisor`. Changing this forces a new resource to be created.
	//
	// > **NOTE:** This URL is mandatory if the `kind` is set to `QnAMaker`.
	MetricsAdvisorWebsiteName pulumi.StringPtrInput
	// Specifies the name of the Cognitive Service Account. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A `networkAcls` block as defined below. When this property is specified, `customSubdomainName` is also required to be set.
	NetworkAcls AccountNetworkAclsPtrInput
	// Whether outbound network access is restricted for the Cognitive Account. Defaults to `false`.
	OutboundNetworkAccessRestricted pulumi.BoolPtrInput
	// Whether public network access is allowed for the Cognitive Account. Defaults to `true`.
	PublicNetworkAccessEnabled pulumi.BoolPtrInput
	// A URL to link a QnAMaker cognitive account to a QnA runtime.
	QnaRuntimeEndpoint pulumi.StringPtrInput
	// The name of the resource group in which the Cognitive Service Account is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// Specifies the SKU Name for this Cognitive Service 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 Cognitive Services 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.StringInput
	// A `storage` block as defined below.
	Storages AccountStorageArrayInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Account resource.

func (AccountArgs) ElementType

func (AccountArgs) ElementType() reflect.Type

type AccountArray

type AccountArray []AccountInput

func (AccountArray) ElementType

func (AccountArray) ElementType() reflect.Type

func (AccountArray) ToAccountArrayOutput

func (i AccountArray) ToAccountArrayOutput() AccountArrayOutput

func (AccountArray) ToAccountArrayOutputWithContext

func (i AccountArray) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput

type AccountArrayInput

type AccountArrayInput interface {
	pulumi.Input

	ToAccountArrayOutput() AccountArrayOutput
	ToAccountArrayOutputWithContext(context.Context) AccountArrayOutput
}

AccountArrayInput is an input type that accepts AccountArray and AccountArrayOutput values. You can construct a concrete instance of `AccountArrayInput` via:

AccountArray{ AccountArgs{...} }

type AccountArrayOutput

type AccountArrayOutput struct{ *pulumi.OutputState }

func (AccountArrayOutput) ElementType

func (AccountArrayOutput) ElementType() reflect.Type

func (AccountArrayOutput) Index

func (AccountArrayOutput) ToAccountArrayOutput

func (o AccountArrayOutput) ToAccountArrayOutput() AccountArrayOutput

func (AccountArrayOutput) ToAccountArrayOutputWithContext

func (o AccountArrayOutput) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput

type AccountCustomerManagedKey

type AccountCustomerManagedKey struct {
	pulumi.CustomResourceState

	// The ID of the Cognitive Account. Changing this forces a new resource to be created.
	CognitiveAccountId pulumi.StringOutput `pulumi:"cognitiveAccountId"`
	// The Client ID of the User Assigned Identity that has access to the key. This property only needs to be specified when there're multiple identities attached to the Cognitive Account.
	IdentityClientId pulumi.StringPtrOutput `pulumi:"identityClientId"`
	// The ID of the Key Vault Key which should be used to Encrypt the data in this Cognitive Account.
	KeyVaultKeyId pulumi.StringOutput `pulumi:"keyVaultKeyId"`
}

Manages a Customer Managed Key for a Cognitive Services Account.

> **NOTE:** It's possible to define a Customer Managed Key both within the `cognitive.Account` resource via the `customerManagedKey` block and by using the `cognitive.AccountCustomerManagedKey` resource. However it's not possible to use both methods to manage a Customer Managed Key for a Cognitive Account, since there'll be conflicts.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/authorization"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/cognitive"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/keyvault"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West US"),
		})
		if err != nil {
			return err
		}
		exampleUserAssignedIdentity, err := authorization.NewUserAssignedIdentity(ctx, "example", &authorization.UserAssignedIdentityArgs{
			ResourceGroupName: example.Name,
			Location:          example.Location,
			Name:              pulumi.String("example-identity"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := cognitive.NewAccount(ctx, "example", &cognitive.AccountArgs{
			Name:                pulumi.String("example-account"),
			Location:            example.Location,
			ResourceGroupName:   example.Name,
			Kind:                pulumi.String("Face"),
			SkuName:             pulumi.String("E0"),
			CustomSubdomainName: pulumi.String("example-account"),
			Identity: &cognitive.AccountIdentityArgs{
				Type: pulumi.String("SystemAssigned, UserAssigned"),
				IdentityIds: pulumi.StringArray{
					exampleUserAssignedIdentity.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		exampleKeyVault, err := keyvault.NewKeyVault(ctx, "example", &keyvault.KeyVaultArgs{
			Name:                   pulumi.String("example-vault"),
			Location:               example.Location,
			ResourceGroupName:      example.Name,
			TenantId:               pulumi.String(current.TenantId),
			SkuName:                pulumi.String("standard"),
			PurgeProtectionEnabled: pulumi.Bool(true),
			AccessPolicies: keyvault.KeyVaultAccessPolicyArray{
				&keyvault.KeyVaultAccessPolicyArgs{
					TenantId: exampleAccount.Identity.ApplyT(func(identity cognitive.AccountIdentity) (*string, error) {
						return &identity.TenantId, nil
					}).(pulumi.StringPtrOutput),
					ObjectId: exampleAccount.Identity.ApplyT(func(identity cognitive.AccountIdentity) (*string, error) {
						return &identity.PrincipalId, nil
					}).(pulumi.StringPtrOutput),
					KeyPermissions: pulumi.StringArray{
						pulumi.String("Get"),
						pulumi.String("Create"),
						pulumi.String("List"),
						pulumi.String("Restore"),
						pulumi.String("Recover"),
						pulumi.String("UnwrapKey"),
						pulumi.String("WrapKey"),
						pulumi.String("Purge"),
						pulumi.String("Encrypt"),
						pulumi.String("Decrypt"),
						pulumi.String("Sign"),
						pulumi.String("Verify"),
					},
					SecretPermissions: pulumi.StringArray{
						pulumi.String("Get"),
					},
				},
				&keyvault.KeyVaultAccessPolicyArgs{
					TenantId: pulumi.String(current.TenantId),
					ObjectId: pulumi.String(current.ObjectId),
					KeyPermissions: pulumi.StringArray{
						pulumi.String("Get"),
						pulumi.String("Create"),
						pulumi.String("Delete"),
						pulumi.String("List"),
						pulumi.String("Restore"),
						pulumi.String("Recover"),
						pulumi.String("UnwrapKey"),
						pulumi.String("WrapKey"),
						pulumi.String("Purge"),
						pulumi.String("Encrypt"),
						pulumi.String("Decrypt"),
						pulumi.String("Sign"),
						pulumi.String("Verify"),
						pulumi.String("GetRotationPolicy"),
					},
					SecretPermissions: pulumi.StringArray{
						pulumi.String("Get"),
					},
				},
				&keyvault.KeyVaultAccessPolicyArgs{
					TenantId: exampleUserAssignedIdentity.TenantId,
					ObjectId: exampleUserAssignedIdentity.PrincipalId,
					KeyPermissions: pulumi.StringArray{
						pulumi.String("Get"),
						pulumi.String("Create"),
						pulumi.String("Delete"),
						pulumi.String("List"),
						pulumi.String("Restore"),
						pulumi.String("Recover"),
						pulumi.String("UnwrapKey"),
						pulumi.String("WrapKey"),
						pulumi.String("Purge"),
						pulumi.String("Encrypt"),
						pulumi.String("Decrypt"),
						pulumi.String("Sign"),
						pulumi.String("Verify"),
					},
					SecretPermissions: pulumi.StringArray{
						pulumi.String("Get"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		exampleKey, err := keyvault.NewKey(ctx, "example", &keyvault.KeyArgs{
			Name:       pulumi.String("example-key"),
			KeyVaultId: exampleKeyVault.ID(),
			KeyType:    pulumi.String("RSA"),
			KeySize:    pulumi.Int(2048),
			KeyOpts: pulumi.StringArray{
				pulumi.String("decrypt"),
				pulumi.String("encrypt"),
				pulumi.String("sign"),
				pulumi.String("unwrapKey"),
				pulumi.String("verify"),
				pulumi.String("wrapKey"),
			},
		})
		if err != nil {
			return err
		}
		_, err = cognitive.NewAccountCustomerManagedKey(ctx, "example", &cognitive.AccountCustomerManagedKeyArgs{
			CognitiveAccountId: exampleAccount.ID(),
			KeyVaultKeyId:      exampleKey.ID(),
			IdentityClientId:   exampleUserAssignedIdentity.ClientId,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Customer Managed Keys for a Cognitive Account can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:cognitive/accountCustomerManagedKey:AccountCustomerManagedKey example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.CognitiveServices/accounts/account1 ```

func GetAccountCustomerManagedKey

func GetAccountCustomerManagedKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AccountCustomerManagedKeyState, opts ...pulumi.ResourceOption) (*AccountCustomerManagedKey, error)

GetAccountCustomerManagedKey gets an existing AccountCustomerManagedKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAccountCustomerManagedKey

func NewAccountCustomerManagedKey(ctx *pulumi.Context,
	name string, args *AccountCustomerManagedKeyArgs, opts ...pulumi.ResourceOption) (*AccountCustomerManagedKey, error)

NewAccountCustomerManagedKey registers a new resource with the given unique name, arguments, and options.

func (*AccountCustomerManagedKey) ElementType

func (*AccountCustomerManagedKey) ElementType() reflect.Type

func (*AccountCustomerManagedKey) ToAccountCustomerManagedKeyOutput

func (i *AccountCustomerManagedKey) ToAccountCustomerManagedKeyOutput() AccountCustomerManagedKeyOutput

func (*AccountCustomerManagedKey) ToAccountCustomerManagedKeyOutputWithContext

func (i *AccountCustomerManagedKey) ToAccountCustomerManagedKeyOutputWithContext(ctx context.Context) AccountCustomerManagedKeyOutput

type AccountCustomerManagedKeyArgs

type AccountCustomerManagedKeyArgs struct {
	// The ID of the Cognitive Account. Changing this forces a new resource to be created.
	CognitiveAccountId pulumi.StringInput
	// The Client ID of the User Assigned Identity that has access to the key. This property only needs to be specified when there're multiple identities attached to the Cognitive Account.
	IdentityClientId pulumi.StringPtrInput
	// The ID of the Key Vault Key which should be used to Encrypt the data in this Cognitive Account.
	KeyVaultKeyId pulumi.StringInput
}

The set of arguments for constructing a AccountCustomerManagedKey resource.

func (AccountCustomerManagedKeyArgs) ElementType

type AccountCustomerManagedKeyArray

type AccountCustomerManagedKeyArray []AccountCustomerManagedKeyInput

func (AccountCustomerManagedKeyArray) ElementType

func (AccountCustomerManagedKeyArray) ToAccountCustomerManagedKeyArrayOutput

func (i AccountCustomerManagedKeyArray) ToAccountCustomerManagedKeyArrayOutput() AccountCustomerManagedKeyArrayOutput

func (AccountCustomerManagedKeyArray) ToAccountCustomerManagedKeyArrayOutputWithContext

func (i AccountCustomerManagedKeyArray) ToAccountCustomerManagedKeyArrayOutputWithContext(ctx context.Context) AccountCustomerManagedKeyArrayOutput

type AccountCustomerManagedKeyArrayInput

type AccountCustomerManagedKeyArrayInput interface {
	pulumi.Input

	ToAccountCustomerManagedKeyArrayOutput() AccountCustomerManagedKeyArrayOutput
	ToAccountCustomerManagedKeyArrayOutputWithContext(context.Context) AccountCustomerManagedKeyArrayOutput
}

AccountCustomerManagedKeyArrayInput is an input type that accepts AccountCustomerManagedKeyArray and AccountCustomerManagedKeyArrayOutput values. You can construct a concrete instance of `AccountCustomerManagedKeyArrayInput` via:

AccountCustomerManagedKeyArray{ AccountCustomerManagedKeyArgs{...} }

type AccountCustomerManagedKeyArrayOutput

type AccountCustomerManagedKeyArrayOutput struct{ *pulumi.OutputState }

func (AccountCustomerManagedKeyArrayOutput) ElementType

func (AccountCustomerManagedKeyArrayOutput) Index

func (AccountCustomerManagedKeyArrayOutput) ToAccountCustomerManagedKeyArrayOutput

func (o AccountCustomerManagedKeyArrayOutput) ToAccountCustomerManagedKeyArrayOutput() AccountCustomerManagedKeyArrayOutput

func (AccountCustomerManagedKeyArrayOutput) ToAccountCustomerManagedKeyArrayOutputWithContext

func (o AccountCustomerManagedKeyArrayOutput) ToAccountCustomerManagedKeyArrayOutputWithContext(ctx context.Context) AccountCustomerManagedKeyArrayOutput

type AccountCustomerManagedKeyInput

type AccountCustomerManagedKeyInput interface {
	pulumi.Input

	ToAccountCustomerManagedKeyOutput() AccountCustomerManagedKeyOutput
	ToAccountCustomerManagedKeyOutputWithContext(ctx context.Context) AccountCustomerManagedKeyOutput
}

type AccountCustomerManagedKeyMap

type AccountCustomerManagedKeyMap map[string]AccountCustomerManagedKeyInput

func (AccountCustomerManagedKeyMap) ElementType

func (AccountCustomerManagedKeyMap) ToAccountCustomerManagedKeyMapOutput

func (i AccountCustomerManagedKeyMap) ToAccountCustomerManagedKeyMapOutput() AccountCustomerManagedKeyMapOutput

func (AccountCustomerManagedKeyMap) ToAccountCustomerManagedKeyMapOutputWithContext

func (i AccountCustomerManagedKeyMap) ToAccountCustomerManagedKeyMapOutputWithContext(ctx context.Context) AccountCustomerManagedKeyMapOutput

type AccountCustomerManagedKeyMapInput

type AccountCustomerManagedKeyMapInput interface {
	pulumi.Input

	ToAccountCustomerManagedKeyMapOutput() AccountCustomerManagedKeyMapOutput
	ToAccountCustomerManagedKeyMapOutputWithContext(context.Context) AccountCustomerManagedKeyMapOutput
}

AccountCustomerManagedKeyMapInput is an input type that accepts AccountCustomerManagedKeyMap and AccountCustomerManagedKeyMapOutput values. You can construct a concrete instance of `AccountCustomerManagedKeyMapInput` via:

AccountCustomerManagedKeyMap{ "key": AccountCustomerManagedKeyArgs{...} }

type AccountCustomerManagedKeyMapOutput

type AccountCustomerManagedKeyMapOutput struct{ *pulumi.OutputState }

func (AccountCustomerManagedKeyMapOutput) ElementType

func (AccountCustomerManagedKeyMapOutput) MapIndex

func (AccountCustomerManagedKeyMapOutput) ToAccountCustomerManagedKeyMapOutput

func (o AccountCustomerManagedKeyMapOutput) ToAccountCustomerManagedKeyMapOutput() AccountCustomerManagedKeyMapOutput

func (AccountCustomerManagedKeyMapOutput) ToAccountCustomerManagedKeyMapOutputWithContext

func (o AccountCustomerManagedKeyMapOutput) ToAccountCustomerManagedKeyMapOutputWithContext(ctx context.Context) AccountCustomerManagedKeyMapOutput

type AccountCustomerManagedKeyOutput

type AccountCustomerManagedKeyOutput struct{ *pulumi.OutputState }

func (AccountCustomerManagedKeyOutput) CognitiveAccountId

func (o AccountCustomerManagedKeyOutput) CognitiveAccountId() pulumi.StringOutput

The ID of the Cognitive Account. Changing this forces a new resource to be created.

func (AccountCustomerManagedKeyOutput) ElementType

func (AccountCustomerManagedKeyOutput) IdentityClientId

The Client ID of the User Assigned Identity that has access to the key. This property only needs to be specified when there're multiple identities attached to the Cognitive Account.

func (AccountCustomerManagedKeyOutput) KeyVaultKeyId

The ID of the Key Vault Key which should be used to Encrypt the data in this Cognitive Account.

func (AccountCustomerManagedKeyOutput) ToAccountCustomerManagedKeyOutput

func (o AccountCustomerManagedKeyOutput) ToAccountCustomerManagedKeyOutput() AccountCustomerManagedKeyOutput

func (AccountCustomerManagedKeyOutput) ToAccountCustomerManagedKeyOutputWithContext

func (o AccountCustomerManagedKeyOutput) ToAccountCustomerManagedKeyOutputWithContext(ctx context.Context) AccountCustomerManagedKeyOutput

type AccountCustomerManagedKeyState

type AccountCustomerManagedKeyState struct {
	// The ID of the Cognitive Account. Changing this forces a new resource to be created.
	CognitiveAccountId pulumi.StringPtrInput
	// The Client ID of the User Assigned Identity that has access to the key. This property only needs to be specified when there're multiple identities attached to the Cognitive Account.
	IdentityClientId pulumi.StringPtrInput
	// The ID of the Key Vault Key which should be used to Encrypt the data in this Cognitive Account.
	KeyVaultKeyId pulumi.StringPtrInput
}

func (AccountCustomerManagedKeyState) ElementType

type AccountCustomerManagedKeyType

type AccountCustomerManagedKeyType struct {
	// The Client ID of the User Assigned Identity that has access to the key. This property only needs to be specified when there're multiple identities attached to the Cognitive Account.
	IdentityClientId *string `pulumi:"identityClientId"`
	// The ID of the Key Vault Key which should be used to Encrypt the data in this Cognitive Account.
	KeyVaultKeyId string `pulumi:"keyVaultKeyId"`
}

type AccountCustomerManagedKeyTypeArgs

type AccountCustomerManagedKeyTypeArgs struct {
	// The Client ID of the User Assigned Identity that has access to the key. This property only needs to be specified when there're multiple identities attached to the Cognitive Account.
	IdentityClientId pulumi.StringPtrInput `pulumi:"identityClientId"`
	// The ID of the Key Vault Key which should be used to Encrypt the data in this Cognitive Account.
	KeyVaultKeyId pulumi.StringInput `pulumi:"keyVaultKeyId"`
}

func (AccountCustomerManagedKeyTypeArgs) ElementType

func (AccountCustomerManagedKeyTypeArgs) ToAccountCustomerManagedKeyTypeOutput

func (i AccountCustomerManagedKeyTypeArgs) ToAccountCustomerManagedKeyTypeOutput() AccountCustomerManagedKeyTypeOutput

func (AccountCustomerManagedKeyTypeArgs) ToAccountCustomerManagedKeyTypeOutputWithContext

func (i AccountCustomerManagedKeyTypeArgs) ToAccountCustomerManagedKeyTypeOutputWithContext(ctx context.Context) AccountCustomerManagedKeyTypeOutput

func (AccountCustomerManagedKeyTypeArgs) ToAccountCustomerManagedKeyTypePtrOutput

func (i AccountCustomerManagedKeyTypeArgs) ToAccountCustomerManagedKeyTypePtrOutput() AccountCustomerManagedKeyTypePtrOutput

func (AccountCustomerManagedKeyTypeArgs) ToAccountCustomerManagedKeyTypePtrOutputWithContext

func (i AccountCustomerManagedKeyTypeArgs) ToAccountCustomerManagedKeyTypePtrOutputWithContext(ctx context.Context) AccountCustomerManagedKeyTypePtrOutput

type AccountCustomerManagedKeyTypeInput

type AccountCustomerManagedKeyTypeInput interface {
	pulumi.Input

	ToAccountCustomerManagedKeyTypeOutput() AccountCustomerManagedKeyTypeOutput
	ToAccountCustomerManagedKeyTypeOutputWithContext(context.Context) AccountCustomerManagedKeyTypeOutput
}

AccountCustomerManagedKeyTypeInput is an input type that accepts AccountCustomerManagedKeyTypeArgs and AccountCustomerManagedKeyTypeOutput values. You can construct a concrete instance of `AccountCustomerManagedKeyTypeInput` via:

AccountCustomerManagedKeyTypeArgs{...}

type AccountCustomerManagedKeyTypeOutput

type AccountCustomerManagedKeyTypeOutput struct{ *pulumi.OutputState }

func (AccountCustomerManagedKeyTypeOutput) ElementType

func (AccountCustomerManagedKeyTypeOutput) IdentityClientId

The Client ID of the User Assigned Identity that has access to the key. This property only needs to be specified when there're multiple identities attached to the Cognitive Account.

func (AccountCustomerManagedKeyTypeOutput) KeyVaultKeyId

The ID of the Key Vault Key which should be used to Encrypt the data in this Cognitive Account.

func (AccountCustomerManagedKeyTypeOutput) ToAccountCustomerManagedKeyTypeOutput

func (o AccountCustomerManagedKeyTypeOutput) ToAccountCustomerManagedKeyTypeOutput() AccountCustomerManagedKeyTypeOutput

func (AccountCustomerManagedKeyTypeOutput) ToAccountCustomerManagedKeyTypeOutputWithContext

func (o AccountCustomerManagedKeyTypeOutput) ToAccountCustomerManagedKeyTypeOutputWithContext(ctx context.Context) AccountCustomerManagedKeyTypeOutput

func (AccountCustomerManagedKeyTypeOutput) ToAccountCustomerManagedKeyTypePtrOutput

func (o AccountCustomerManagedKeyTypeOutput) ToAccountCustomerManagedKeyTypePtrOutput() AccountCustomerManagedKeyTypePtrOutput

func (AccountCustomerManagedKeyTypeOutput) ToAccountCustomerManagedKeyTypePtrOutputWithContext

func (o AccountCustomerManagedKeyTypeOutput) ToAccountCustomerManagedKeyTypePtrOutputWithContext(ctx context.Context) AccountCustomerManagedKeyTypePtrOutput

type AccountCustomerManagedKeyTypePtrInput

type AccountCustomerManagedKeyTypePtrInput interface {
	pulumi.Input

	ToAccountCustomerManagedKeyTypePtrOutput() AccountCustomerManagedKeyTypePtrOutput
	ToAccountCustomerManagedKeyTypePtrOutputWithContext(context.Context) AccountCustomerManagedKeyTypePtrOutput
}

AccountCustomerManagedKeyTypePtrInput is an input type that accepts AccountCustomerManagedKeyTypeArgs, AccountCustomerManagedKeyTypePtr and AccountCustomerManagedKeyTypePtrOutput values. You can construct a concrete instance of `AccountCustomerManagedKeyTypePtrInput` via:

        AccountCustomerManagedKeyTypeArgs{...}

or:

        nil

type AccountCustomerManagedKeyTypePtrOutput

type AccountCustomerManagedKeyTypePtrOutput struct{ *pulumi.OutputState }

func (AccountCustomerManagedKeyTypePtrOutput) Elem

func (AccountCustomerManagedKeyTypePtrOutput) ElementType

func (AccountCustomerManagedKeyTypePtrOutput) IdentityClientId

The Client ID of the User Assigned Identity that has access to the key. This property only needs to be specified when there're multiple identities attached to the Cognitive Account.

func (AccountCustomerManagedKeyTypePtrOutput) KeyVaultKeyId

The ID of the Key Vault Key which should be used to Encrypt the data in this Cognitive Account.

func (AccountCustomerManagedKeyTypePtrOutput) ToAccountCustomerManagedKeyTypePtrOutput

func (o AccountCustomerManagedKeyTypePtrOutput) ToAccountCustomerManagedKeyTypePtrOutput() AccountCustomerManagedKeyTypePtrOutput

func (AccountCustomerManagedKeyTypePtrOutput) ToAccountCustomerManagedKeyTypePtrOutputWithContext

func (o AccountCustomerManagedKeyTypePtrOutput) ToAccountCustomerManagedKeyTypePtrOutputWithContext(ctx context.Context) AccountCustomerManagedKeyTypePtrOutput

type AccountIdentity

type AccountIdentity struct {
	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this Cognitive Account.
	//
	// > **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
	IdentityIds []string `pulumi:"identityIds"`
	// The Principal ID associated with this Managed Service Identity.
	PrincipalId *string `pulumi:"principalId"`
	// The Tenant ID associated with this Managed Service Identity.
	TenantId *string `pulumi:"tenantId"`
	// Specifies the type of Managed Service Identity that should be configured on this Cognitive Account. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).
	Type string `pulumi:"type"`
}

type AccountIdentityArgs

type AccountIdentityArgs struct {
	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this Cognitive Account.
	//
	// > **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
	IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"`
	// The Principal ID associated with this Managed Service Identity.
	PrincipalId pulumi.StringPtrInput `pulumi:"principalId"`
	// The Tenant ID associated with this Managed Service Identity.
	TenantId pulumi.StringPtrInput `pulumi:"tenantId"`
	// Specifies the type of Managed Service Identity that should be configured on this Cognitive Account. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).
	Type pulumi.StringInput `pulumi:"type"`
}

func (AccountIdentityArgs) ElementType

func (AccountIdentityArgs) ElementType() reflect.Type

func (AccountIdentityArgs) ToAccountIdentityOutput

func (i AccountIdentityArgs) ToAccountIdentityOutput() AccountIdentityOutput

func (AccountIdentityArgs) ToAccountIdentityOutputWithContext

func (i AccountIdentityArgs) ToAccountIdentityOutputWithContext(ctx context.Context) AccountIdentityOutput

func (AccountIdentityArgs) ToAccountIdentityPtrOutput

func (i AccountIdentityArgs) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput

func (AccountIdentityArgs) ToAccountIdentityPtrOutputWithContext

func (i AccountIdentityArgs) ToAccountIdentityPtrOutputWithContext(ctx context.Context) AccountIdentityPtrOutput

type AccountIdentityInput

type AccountIdentityInput interface {
	pulumi.Input

	ToAccountIdentityOutput() AccountIdentityOutput
	ToAccountIdentityOutputWithContext(context.Context) AccountIdentityOutput
}

AccountIdentityInput is an input type that accepts AccountIdentityArgs and AccountIdentityOutput values. You can construct a concrete instance of `AccountIdentityInput` via:

AccountIdentityArgs{...}

type AccountIdentityOutput

type AccountIdentityOutput struct{ *pulumi.OutputState }

func (AccountIdentityOutput) ElementType

func (AccountIdentityOutput) ElementType() reflect.Type

func (AccountIdentityOutput) IdentityIds

Specifies a list of User Assigned Managed Identity IDs to be assigned to this Cognitive Account.

> **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.

func (AccountIdentityOutput) PrincipalId

The Principal ID associated with this Managed Service Identity.

func (AccountIdentityOutput) TenantId

The Tenant ID associated with this Managed Service Identity.

func (AccountIdentityOutput) ToAccountIdentityOutput

func (o AccountIdentityOutput) ToAccountIdentityOutput() AccountIdentityOutput

func (AccountIdentityOutput) ToAccountIdentityOutputWithContext

func (o AccountIdentityOutput) ToAccountIdentityOutputWithContext(ctx context.Context) AccountIdentityOutput

func (AccountIdentityOutput) ToAccountIdentityPtrOutput

func (o AccountIdentityOutput) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput

func (AccountIdentityOutput) ToAccountIdentityPtrOutputWithContext

func (o AccountIdentityOutput) ToAccountIdentityPtrOutputWithContext(ctx context.Context) AccountIdentityPtrOutput

func (AccountIdentityOutput) Type

Specifies the type of Managed Service Identity that should be configured on this Cognitive Account. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).

type AccountIdentityPtrInput

type AccountIdentityPtrInput interface {
	pulumi.Input

	ToAccountIdentityPtrOutput() AccountIdentityPtrOutput
	ToAccountIdentityPtrOutputWithContext(context.Context) AccountIdentityPtrOutput
}

AccountIdentityPtrInput is an input type that accepts AccountIdentityArgs, AccountIdentityPtr and AccountIdentityPtrOutput values. You can construct a concrete instance of `AccountIdentityPtrInput` via:

        AccountIdentityArgs{...}

or:

        nil

type AccountIdentityPtrOutput

type AccountIdentityPtrOutput struct{ *pulumi.OutputState }

func (AccountIdentityPtrOutput) Elem

func (AccountIdentityPtrOutput) ElementType

func (AccountIdentityPtrOutput) ElementType() reflect.Type

func (AccountIdentityPtrOutput) IdentityIds

Specifies a list of User Assigned Managed Identity IDs to be assigned to this Cognitive Account.

> **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.

func (AccountIdentityPtrOutput) PrincipalId

The Principal ID associated with this Managed Service Identity.

func (AccountIdentityPtrOutput) TenantId

The Tenant ID associated with this Managed Service Identity.

func (AccountIdentityPtrOutput) ToAccountIdentityPtrOutput

func (o AccountIdentityPtrOutput) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput

func (AccountIdentityPtrOutput) ToAccountIdentityPtrOutputWithContext

func (o AccountIdentityPtrOutput) ToAccountIdentityPtrOutputWithContext(ctx context.Context) AccountIdentityPtrOutput

func (AccountIdentityPtrOutput) Type

Specifies the type of Managed Service Identity that should be configured on this Cognitive Account. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).

type AccountInput

type AccountInput interface {
	pulumi.Input

	ToAccountOutput() AccountOutput
	ToAccountOutputWithContext(ctx context.Context) AccountOutput
}

type AccountMap

type AccountMap map[string]AccountInput

func (AccountMap) ElementType

func (AccountMap) ElementType() reflect.Type

func (AccountMap) ToAccountMapOutput

func (i AccountMap) ToAccountMapOutput() AccountMapOutput

func (AccountMap) ToAccountMapOutputWithContext

func (i AccountMap) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput

type AccountMapInput

type AccountMapInput interface {
	pulumi.Input

	ToAccountMapOutput() AccountMapOutput
	ToAccountMapOutputWithContext(context.Context) AccountMapOutput
}

AccountMapInput is an input type that accepts AccountMap and AccountMapOutput values. You can construct a concrete instance of `AccountMapInput` via:

AccountMap{ "key": AccountArgs{...} }

type AccountMapOutput

type AccountMapOutput struct{ *pulumi.OutputState }

func (AccountMapOutput) ElementType

func (AccountMapOutput) ElementType() reflect.Type

func (AccountMapOutput) MapIndex

func (AccountMapOutput) ToAccountMapOutput

func (o AccountMapOutput) ToAccountMapOutput() AccountMapOutput

func (AccountMapOutput) ToAccountMapOutputWithContext

func (o AccountMapOutput) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput

type AccountNetworkAcls

type AccountNetworkAcls struct {
	// The Default Action to use when no rules match from `ipRules` / `virtualNetworkRules`. Possible values are `Allow` and `Deny`.
	DefaultAction string `pulumi:"defaultAction"`
	// One or more IP Addresses, or CIDR Blocks which should be able to access the Cognitive Account.
	IpRules []string `pulumi:"ipRules"`
	// A `virtualNetworkRules` block as defined below.
	VirtualNetworkRules []AccountNetworkAclsVirtualNetworkRule `pulumi:"virtualNetworkRules"`
}

type AccountNetworkAclsArgs

type AccountNetworkAclsArgs struct {
	// The Default Action to use when no rules match from `ipRules` / `virtualNetworkRules`. Possible values are `Allow` and `Deny`.
	DefaultAction pulumi.StringInput `pulumi:"defaultAction"`
	// One or more IP Addresses, or CIDR Blocks which should be able to access the Cognitive Account.
	IpRules pulumi.StringArrayInput `pulumi:"ipRules"`
	// A `virtualNetworkRules` block as defined below.
	VirtualNetworkRules AccountNetworkAclsVirtualNetworkRuleArrayInput `pulumi:"virtualNetworkRules"`
}

func (AccountNetworkAclsArgs) ElementType

func (AccountNetworkAclsArgs) ElementType() reflect.Type

func (AccountNetworkAclsArgs) ToAccountNetworkAclsOutput

func (i AccountNetworkAclsArgs) ToAccountNetworkAclsOutput() AccountNetworkAclsOutput

func (AccountNetworkAclsArgs) ToAccountNetworkAclsOutputWithContext

func (i AccountNetworkAclsArgs) ToAccountNetworkAclsOutputWithContext(ctx context.Context) AccountNetworkAclsOutput

func (AccountNetworkAclsArgs) ToAccountNetworkAclsPtrOutput

func (i AccountNetworkAclsArgs) ToAccountNetworkAclsPtrOutput() AccountNetworkAclsPtrOutput

func (AccountNetworkAclsArgs) ToAccountNetworkAclsPtrOutputWithContext

func (i AccountNetworkAclsArgs) ToAccountNetworkAclsPtrOutputWithContext(ctx context.Context) AccountNetworkAclsPtrOutput

type AccountNetworkAclsInput

type AccountNetworkAclsInput interface {
	pulumi.Input

	ToAccountNetworkAclsOutput() AccountNetworkAclsOutput
	ToAccountNetworkAclsOutputWithContext(context.Context) AccountNetworkAclsOutput
}

AccountNetworkAclsInput is an input type that accepts AccountNetworkAclsArgs and AccountNetworkAclsOutput values. You can construct a concrete instance of `AccountNetworkAclsInput` via:

AccountNetworkAclsArgs{...}

type AccountNetworkAclsOutput

type AccountNetworkAclsOutput struct{ *pulumi.OutputState }

func (AccountNetworkAclsOutput) DefaultAction

func (o AccountNetworkAclsOutput) DefaultAction() pulumi.StringOutput

The Default Action to use when no rules match from `ipRules` / `virtualNetworkRules`. Possible values are `Allow` and `Deny`.

func (AccountNetworkAclsOutput) ElementType

func (AccountNetworkAclsOutput) ElementType() reflect.Type

func (AccountNetworkAclsOutput) IpRules

One or more IP Addresses, or CIDR Blocks which should be able to access the Cognitive Account.

func (AccountNetworkAclsOutput) ToAccountNetworkAclsOutput

func (o AccountNetworkAclsOutput) ToAccountNetworkAclsOutput() AccountNetworkAclsOutput

func (AccountNetworkAclsOutput) ToAccountNetworkAclsOutputWithContext

func (o AccountNetworkAclsOutput) ToAccountNetworkAclsOutputWithContext(ctx context.Context) AccountNetworkAclsOutput

func (AccountNetworkAclsOutput) ToAccountNetworkAclsPtrOutput

func (o AccountNetworkAclsOutput) ToAccountNetworkAclsPtrOutput() AccountNetworkAclsPtrOutput

func (AccountNetworkAclsOutput) ToAccountNetworkAclsPtrOutputWithContext

func (o AccountNetworkAclsOutput) ToAccountNetworkAclsPtrOutputWithContext(ctx context.Context) AccountNetworkAclsPtrOutput

func (AccountNetworkAclsOutput) VirtualNetworkRules

A `virtualNetworkRules` block as defined below.

type AccountNetworkAclsPtrInput

type AccountNetworkAclsPtrInput interface {
	pulumi.Input

	ToAccountNetworkAclsPtrOutput() AccountNetworkAclsPtrOutput
	ToAccountNetworkAclsPtrOutputWithContext(context.Context) AccountNetworkAclsPtrOutput
}

AccountNetworkAclsPtrInput is an input type that accepts AccountNetworkAclsArgs, AccountNetworkAclsPtr and AccountNetworkAclsPtrOutput values. You can construct a concrete instance of `AccountNetworkAclsPtrInput` via:

        AccountNetworkAclsArgs{...}

or:

        nil

type AccountNetworkAclsPtrOutput

type AccountNetworkAclsPtrOutput struct{ *pulumi.OutputState }

func (AccountNetworkAclsPtrOutput) DefaultAction

The Default Action to use when no rules match from `ipRules` / `virtualNetworkRules`. Possible values are `Allow` and `Deny`.

func (AccountNetworkAclsPtrOutput) Elem

func (AccountNetworkAclsPtrOutput) ElementType

func (AccountNetworkAclsPtrOutput) IpRules

One or more IP Addresses, or CIDR Blocks which should be able to access the Cognitive Account.

func (AccountNetworkAclsPtrOutput) ToAccountNetworkAclsPtrOutput

func (o AccountNetworkAclsPtrOutput) ToAccountNetworkAclsPtrOutput() AccountNetworkAclsPtrOutput

func (AccountNetworkAclsPtrOutput) ToAccountNetworkAclsPtrOutputWithContext

func (o AccountNetworkAclsPtrOutput) ToAccountNetworkAclsPtrOutputWithContext(ctx context.Context) AccountNetworkAclsPtrOutput

func (AccountNetworkAclsPtrOutput) VirtualNetworkRules

A `virtualNetworkRules` block as defined below.

type AccountNetworkAclsVirtualNetworkRule

type AccountNetworkAclsVirtualNetworkRule struct {
	// Whether ignore missing vnet service endpoint or not. Default to `false`.
	IgnoreMissingVnetServiceEndpoint *bool `pulumi:"ignoreMissingVnetServiceEndpoint"`
	// The ID of the subnet which should be able to access this Cognitive Account.
	SubnetId string `pulumi:"subnetId"`
}

type AccountNetworkAclsVirtualNetworkRuleArgs

type AccountNetworkAclsVirtualNetworkRuleArgs struct {
	// Whether ignore missing vnet service endpoint or not. Default to `false`.
	IgnoreMissingVnetServiceEndpoint pulumi.BoolPtrInput `pulumi:"ignoreMissingVnetServiceEndpoint"`
	// The ID of the subnet which should be able to access this Cognitive Account.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
}

func (AccountNetworkAclsVirtualNetworkRuleArgs) ElementType

func (AccountNetworkAclsVirtualNetworkRuleArgs) ToAccountNetworkAclsVirtualNetworkRuleOutput

func (i AccountNetworkAclsVirtualNetworkRuleArgs) ToAccountNetworkAclsVirtualNetworkRuleOutput() AccountNetworkAclsVirtualNetworkRuleOutput

func (AccountNetworkAclsVirtualNetworkRuleArgs) ToAccountNetworkAclsVirtualNetworkRuleOutputWithContext

func (i AccountNetworkAclsVirtualNetworkRuleArgs) ToAccountNetworkAclsVirtualNetworkRuleOutputWithContext(ctx context.Context) AccountNetworkAclsVirtualNetworkRuleOutput

type AccountNetworkAclsVirtualNetworkRuleArray

type AccountNetworkAclsVirtualNetworkRuleArray []AccountNetworkAclsVirtualNetworkRuleInput

func (AccountNetworkAclsVirtualNetworkRuleArray) ElementType

func (AccountNetworkAclsVirtualNetworkRuleArray) ToAccountNetworkAclsVirtualNetworkRuleArrayOutput

func (i AccountNetworkAclsVirtualNetworkRuleArray) ToAccountNetworkAclsVirtualNetworkRuleArrayOutput() AccountNetworkAclsVirtualNetworkRuleArrayOutput

func (AccountNetworkAclsVirtualNetworkRuleArray) ToAccountNetworkAclsVirtualNetworkRuleArrayOutputWithContext

func (i AccountNetworkAclsVirtualNetworkRuleArray) ToAccountNetworkAclsVirtualNetworkRuleArrayOutputWithContext(ctx context.Context) AccountNetworkAclsVirtualNetworkRuleArrayOutput

type AccountNetworkAclsVirtualNetworkRuleArrayInput

type AccountNetworkAclsVirtualNetworkRuleArrayInput interface {
	pulumi.Input

	ToAccountNetworkAclsVirtualNetworkRuleArrayOutput() AccountNetworkAclsVirtualNetworkRuleArrayOutput
	ToAccountNetworkAclsVirtualNetworkRuleArrayOutputWithContext(context.Context) AccountNetworkAclsVirtualNetworkRuleArrayOutput
}

AccountNetworkAclsVirtualNetworkRuleArrayInput is an input type that accepts AccountNetworkAclsVirtualNetworkRuleArray and AccountNetworkAclsVirtualNetworkRuleArrayOutput values. You can construct a concrete instance of `AccountNetworkAclsVirtualNetworkRuleArrayInput` via:

AccountNetworkAclsVirtualNetworkRuleArray{ AccountNetworkAclsVirtualNetworkRuleArgs{...} }

type AccountNetworkAclsVirtualNetworkRuleArrayOutput

type AccountNetworkAclsVirtualNetworkRuleArrayOutput struct{ *pulumi.OutputState }

func (AccountNetworkAclsVirtualNetworkRuleArrayOutput) ElementType

func (AccountNetworkAclsVirtualNetworkRuleArrayOutput) Index

func (AccountNetworkAclsVirtualNetworkRuleArrayOutput) ToAccountNetworkAclsVirtualNetworkRuleArrayOutput

func (o AccountNetworkAclsVirtualNetworkRuleArrayOutput) ToAccountNetworkAclsVirtualNetworkRuleArrayOutput() AccountNetworkAclsVirtualNetworkRuleArrayOutput

func (AccountNetworkAclsVirtualNetworkRuleArrayOutput) ToAccountNetworkAclsVirtualNetworkRuleArrayOutputWithContext

func (o AccountNetworkAclsVirtualNetworkRuleArrayOutput) ToAccountNetworkAclsVirtualNetworkRuleArrayOutputWithContext(ctx context.Context) AccountNetworkAclsVirtualNetworkRuleArrayOutput

type AccountNetworkAclsVirtualNetworkRuleInput

type AccountNetworkAclsVirtualNetworkRuleInput interface {
	pulumi.Input

	ToAccountNetworkAclsVirtualNetworkRuleOutput() AccountNetworkAclsVirtualNetworkRuleOutput
	ToAccountNetworkAclsVirtualNetworkRuleOutputWithContext(context.Context) AccountNetworkAclsVirtualNetworkRuleOutput
}

AccountNetworkAclsVirtualNetworkRuleInput is an input type that accepts AccountNetworkAclsVirtualNetworkRuleArgs and AccountNetworkAclsVirtualNetworkRuleOutput values. You can construct a concrete instance of `AccountNetworkAclsVirtualNetworkRuleInput` via:

AccountNetworkAclsVirtualNetworkRuleArgs{...}

type AccountNetworkAclsVirtualNetworkRuleOutput

type AccountNetworkAclsVirtualNetworkRuleOutput struct{ *pulumi.OutputState }

func (AccountNetworkAclsVirtualNetworkRuleOutput) ElementType

func (AccountNetworkAclsVirtualNetworkRuleOutput) IgnoreMissingVnetServiceEndpoint

func (o AccountNetworkAclsVirtualNetworkRuleOutput) IgnoreMissingVnetServiceEndpoint() pulumi.BoolPtrOutput

Whether ignore missing vnet service endpoint or not. Default to `false`.

func (AccountNetworkAclsVirtualNetworkRuleOutput) SubnetId

The ID of the subnet which should be able to access this Cognitive Account.

func (AccountNetworkAclsVirtualNetworkRuleOutput) ToAccountNetworkAclsVirtualNetworkRuleOutput

func (o AccountNetworkAclsVirtualNetworkRuleOutput) ToAccountNetworkAclsVirtualNetworkRuleOutput() AccountNetworkAclsVirtualNetworkRuleOutput

func (AccountNetworkAclsVirtualNetworkRuleOutput) ToAccountNetworkAclsVirtualNetworkRuleOutputWithContext

func (o AccountNetworkAclsVirtualNetworkRuleOutput) ToAccountNetworkAclsVirtualNetworkRuleOutputWithContext(ctx context.Context) AccountNetworkAclsVirtualNetworkRuleOutput

type AccountOutput

type AccountOutput struct{ *pulumi.OutputState }

func (AccountOutput) CustomQuestionAnsweringSearchServiceId

func (o AccountOutput) CustomQuestionAnsweringSearchServiceId() pulumi.StringPtrOutput

If `kind` is `TextAnalytics` this specifies the ID of the Search service.

func (AccountOutput) CustomQuestionAnsweringSearchServiceKey

func (o AccountOutput) CustomQuestionAnsweringSearchServiceKey() pulumi.StringPtrOutput

If `kind` is `TextAnalytics` this specifies the key of the Search service.

> **NOTE:** `customQuestionAnsweringSearchServiceId` and `customQuestionAnsweringSearchServiceKey` are used for [Custom Question Answering, the renamed version of QnA Maker](https://docs.microsoft.com/azure/cognitive-services/qnamaker/custom-question-answering), while `qnaRuntimeEndpoint` is used for [the old version of QnA Maker](https://docs.microsoft.com/azure/cognitive-services/qnamaker/overview/overview)

func (AccountOutput) CustomSubdomainName

func (o AccountOutput) CustomSubdomainName() pulumi.StringPtrOutput

The subdomain name used for token-based authentication. This property is required when `networkAcls` is specified. This property is also required when using the OpenAI service with libraries which assume the Azure OpenAI endpoint is a subdomain on `https://openai.azure.com/`, eg. `https://<custom_subdomain_name>.openai.azure.com/`. Changing this forces a new resource to be created.

func (AccountOutput) CustomerManagedKey

A `customerManagedKey` block as documented below.

func (AccountOutput) DynamicThrottlingEnabled

func (o AccountOutput) DynamicThrottlingEnabled() pulumi.BoolPtrOutput

Whether to enable the dynamic throttling for this Cognitive Service Account.

func (AccountOutput) ElementType

func (AccountOutput) ElementType() reflect.Type

func (AccountOutput) Endpoint

func (o AccountOutput) Endpoint() pulumi.StringOutput

The endpoint used to connect to the Cognitive Service Account.

func (AccountOutput) Fqdns

List of FQDNs allowed for the Cognitive Account.

func (AccountOutput) Identity

An `identity` block as defined below.

func (AccountOutput) Kind

Specifies the type of Cognitive Service Account that should be created. Possible values are `Academic`, `AnomalyDetector`, `Bing.Autosuggest`, `Bing.Autosuggest.v7`, `Bing.CustomSearch`, `Bing.Search`, `Bing.Search.v7`, `Bing.Speech`, `Bing.SpellCheck`, `Bing.SpellCheck.v7`, `CognitiveServices`, `ComputerVision`, `ContentModerator`, `ContentSafety`, `CustomSpeech`, `CustomVision.Prediction`, `CustomVision.Training`, `Emotion`, `Face`, `FormRecognizer`, `ImmersiveReader`, `LUIS`, `LUIS.Authoring`, `MetricsAdvisor`, `OpenAI`, `Personalizer`, `QnAMaker`, `Recommendations`, `SpeakerRecognition`, `Speech`, `SpeechServices`, `SpeechTranslation`, `TextAnalytics`, `TextTranslation` and `WebLM`. Changing this forces a new resource to be created.

> **NOTE:** New Bing Search resources cannot be created as their APIs are moving from Cognitive Services Platform to new surface area under Microsoft.com. Starting from October 30, 2020, existing instances of Bing Search APIs provisioned via Cognitive Services will be continuously supported for next 3 years or till the end of respective Enterprise Agreement, whichever happens first.

> **NOTE:** You must create your first Face, Text Analytics, or Computer Vision resources from the Azure portal to review and acknowledge the terms and conditions. In Azure Portal, the checkbox to accept terms and conditions is only displayed when a US region is selected. More information on [Prerequisites](https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account-cli?tabs=windows#prerequisites).

func (AccountOutput) LocalAuthEnabled

func (o AccountOutput) LocalAuthEnabled() pulumi.BoolPtrOutput

Whether local authentication methods is enabled for the Cognitive Account. Defaults to `true`.

func (AccountOutput) Location

func (o AccountOutput) Location() pulumi.StringOutput

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (AccountOutput) MetricsAdvisorAadClientId

func (o AccountOutput) MetricsAdvisorAadClientId() pulumi.StringPtrOutput

The Azure AD Client ID (Application ID). This attribute is only set when kind is `MetricsAdvisor`. Changing this forces a new resource to be created.

func (AccountOutput) MetricsAdvisorAadTenantId

func (o AccountOutput) MetricsAdvisorAadTenantId() pulumi.StringPtrOutput

The Azure AD Tenant ID. This attribute is only set when kind is `MetricsAdvisor`. Changing this forces a new resource to be created.

func (AccountOutput) MetricsAdvisorSuperUserName

func (o AccountOutput) MetricsAdvisorSuperUserName() pulumi.StringPtrOutput

The super user of Metrics Advisor. This attribute is only set when kind is `MetricsAdvisor`. Changing this forces a new resource to be created.

func (AccountOutput) MetricsAdvisorWebsiteName

func (o AccountOutput) MetricsAdvisorWebsiteName() pulumi.StringPtrOutput

The website name of Metrics Advisor. This attribute is only set when kind is `MetricsAdvisor`. Changing this forces a new resource to be created.

> **NOTE:** This URL is mandatory if the `kind` is set to `QnAMaker`.

func (AccountOutput) Name

Specifies the name of the Cognitive Service Account. Changing this forces a new resource to be created.

func (AccountOutput) NetworkAcls

A `networkAcls` block as defined below. When this property is specified, `customSubdomainName` is also required to be set.

func (AccountOutput) OutboundNetworkAccessRestricted

func (o AccountOutput) OutboundNetworkAccessRestricted() pulumi.BoolPtrOutput

Whether outbound network access is restricted for the Cognitive Account. Defaults to `false`.

func (AccountOutput) PrimaryAccessKey

func (o AccountOutput) PrimaryAccessKey() pulumi.StringOutput

A primary access key which can be used to connect to the Cognitive Service Account.

func (AccountOutput) PublicNetworkAccessEnabled

func (o AccountOutput) PublicNetworkAccessEnabled() pulumi.BoolPtrOutput

Whether public network access is allowed for the Cognitive Account. Defaults to `true`.

func (AccountOutput) QnaRuntimeEndpoint

func (o AccountOutput) QnaRuntimeEndpoint() pulumi.StringPtrOutput

A URL to link a QnAMaker cognitive account to a QnA runtime.

func (AccountOutput) ResourceGroupName

func (o AccountOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which the Cognitive Service Account is created. Changing this forces a new resource to be created.

func (AccountOutput) SecondaryAccessKey

func (o AccountOutput) SecondaryAccessKey() pulumi.StringOutput

The secondary access key which can be used to connect to the Cognitive Service Account.

func (AccountOutput) SkuName

func (o AccountOutput) SkuName() pulumi.StringOutput

Specifies the SKU Name for this Cognitive Service 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 Cognitive Services 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).

func (AccountOutput) Storages

A `storage` block as defined below.

func (AccountOutput) Tags

A mapping of tags to assign to the resource.

func (AccountOutput) ToAccountOutput

func (o AccountOutput) ToAccountOutput() AccountOutput

func (AccountOutput) ToAccountOutputWithContext

func (o AccountOutput) ToAccountOutputWithContext(ctx context.Context) AccountOutput

type AccountState

type AccountState struct {
	// If `kind` is `TextAnalytics` this specifies the ID of the Search service.
	CustomQuestionAnsweringSearchServiceId pulumi.StringPtrInput
	// If `kind` is `TextAnalytics` this specifies the key of the Search service.
	//
	// > **NOTE:** `customQuestionAnsweringSearchServiceId` and `customQuestionAnsweringSearchServiceKey` are used for [Custom Question Answering, the renamed version of QnA Maker](https://docs.microsoft.com/azure/cognitive-services/qnamaker/custom-question-answering), while `qnaRuntimeEndpoint` is used for [the old version of QnA Maker](https://docs.microsoft.com/azure/cognitive-services/qnamaker/overview/overview)
	CustomQuestionAnsweringSearchServiceKey pulumi.StringPtrInput
	// The subdomain name used for token-based authentication. This property is required when `networkAcls` is specified. This property is also required when using the OpenAI service with libraries which assume the Azure OpenAI endpoint is a subdomain on `https://openai.azure.com/`, eg. `https://<custom_subdomain_name>.openai.azure.com/`.  Changing this forces a new resource to be created.
	CustomSubdomainName pulumi.StringPtrInput
	// A `customerManagedKey` block as documented below.
	CustomerManagedKey AccountCustomerManagedKeyTypePtrInput
	// Whether to enable the dynamic throttling for this Cognitive Service Account.
	DynamicThrottlingEnabled pulumi.BoolPtrInput
	// The endpoint used to connect to the Cognitive Service Account.
	Endpoint pulumi.StringPtrInput
	// List of FQDNs allowed for the Cognitive Account.
	Fqdns pulumi.StringArrayInput
	// An `identity` block as defined below.
	Identity AccountIdentityPtrInput
	// Specifies the type of Cognitive Service Account that should be created. Possible values are `Academic`, `AnomalyDetector`, `Bing.Autosuggest`, `Bing.Autosuggest.v7`, `Bing.CustomSearch`, `Bing.Search`, `Bing.Search.v7`, `Bing.Speech`, `Bing.SpellCheck`, `Bing.SpellCheck.v7`, `CognitiveServices`, `ComputerVision`, `ContentModerator`, `ContentSafety`, `CustomSpeech`, `CustomVision.Prediction`, `CustomVision.Training`, `Emotion`, `Face`, `FormRecognizer`, `ImmersiveReader`, `LUIS`, `LUIS.Authoring`, `MetricsAdvisor`, `OpenAI`, `Personalizer`, `QnAMaker`, `Recommendations`, `SpeakerRecognition`, `Speech`, `SpeechServices`, `SpeechTranslation`, `TextAnalytics`, `TextTranslation` and `WebLM`. Changing this forces a new resource to be created.
	//
	// > **NOTE:** New Bing Search resources cannot be created as their APIs are moving from Cognitive Services Platform to new surface area under Microsoft.com. Starting from October 30, 2020, existing instances of Bing Search APIs provisioned via Cognitive Services will be continuously supported for next 3 years or till the end of respective Enterprise Agreement, whichever happens first.
	//
	// > **NOTE:** You must create your first Face, Text Analytics, or Computer Vision resources from the Azure portal to review and acknowledge the terms and conditions. In Azure Portal, the checkbox to accept terms and conditions is only displayed when a US region is selected. More information on [Prerequisites](https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account-cli?tabs=windows#prerequisites).
	Kind pulumi.StringPtrInput
	// Whether local authentication methods is enabled for the Cognitive Account. Defaults to `true`.
	LocalAuthEnabled pulumi.BoolPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The Azure AD Client ID (Application ID). This attribute is only set when kind is `MetricsAdvisor`. Changing this forces a new resource to be created.
	MetricsAdvisorAadClientId pulumi.StringPtrInput
	// The Azure AD Tenant ID. This attribute is only set when kind is `MetricsAdvisor`. Changing this forces a new resource to be created.
	MetricsAdvisorAadTenantId pulumi.StringPtrInput
	// The super user of Metrics Advisor. This attribute is only set when kind is `MetricsAdvisor`. Changing this forces a new resource to be created.
	MetricsAdvisorSuperUserName pulumi.StringPtrInput
	// The website name of Metrics Advisor. This attribute is only set when kind is `MetricsAdvisor`. Changing this forces a new resource to be created.
	//
	// > **NOTE:** This URL is mandatory if the `kind` is set to `QnAMaker`.
	MetricsAdvisorWebsiteName pulumi.StringPtrInput
	// Specifies the name of the Cognitive Service Account. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A `networkAcls` block as defined below. When this property is specified, `customSubdomainName` is also required to be set.
	NetworkAcls AccountNetworkAclsPtrInput
	// Whether outbound network access is restricted for the Cognitive Account. Defaults to `false`.
	OutboundNetworkAccessRestricted pulumi.BoolPtrInput
	// A primary access key which can be used to connect to the Cognitive Service Account.
	PrimaryAccessKey pulumi.StringPtrInput
	// Whether public network access is allowed for the Cognitive Account. Defaults to `true`.
	PublicNetworkAccessEnabled pulumi.BoolPtrInput
	// A URL to link a QnAMaker cognitive account to a QnA runtime.
	QnaRuntimeEndpoint pulumi.StringPtrInput
	// The name of the resource group in which the Cognitive Service Account is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The secondary access key which can be used to connect to the Cognitive Service Account.
	SecondaryAccessKey pulumi.StringPtrInput
	// Specifies the SKU Name for this Cognitive Service 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 Cognitive Services 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.StringPtrInput
	// A `storage` block as defined below.
	Storages AccountStorageArrayInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (AccountState) ElementType

func (AccountState) ElementType() reflect.Type

type AccountStorage

type AccountStorage struct {
	// The client ID of the managed identity associated with the storage resource.
	//
	// > **NOTE:** Not all `kind` support a `storage` block. For example the `kind` `OpenAI` does not support it.
	IdentityClientId *string `pulumi:"identityClientId"`
	// Full resource id of a Microsoft.Storage resource.
	StorageAccountId string `pulumi:"storageAccountId"`
}

type AccountStorageArgs

type AccountStorageArgs struct {
	// The client ID of the managed identity associated with the storage resource.
	//
	// > **NOTE:** Not all `kind` support a `storage` block. For example the `kind` `OpenAI` does not support it.
	IdentityClientId pulumi.StringPtrInput `pulumi:"identityClientId"`
	// Full resource id of a Microsoft.Storage resource.
	StorageAccountId pulumi.StringInput `pulumi:"storageAccountId"`
}

func (AccountStorageArgs) ElementType

func (AccountStorageArgs) ElementType() reflect.Type

func (AccountStorageArgs) ToAccountStorageOutput

func (i AccountStorageArgs) ToAccountStorageOutput() AccountStorageOutput

func (AccountStorageArgs) ToAccountStorageOutputWithContext

func (i AccountStorageArgs) ToAccountStorageOutputWithContext(ctx context.Context) AccountStorageOutput

type AccountStorageArray

type AccountStorageArray []AccountStorageInput

func (AccountStorageArray) ElementType

func (AccountStorageArray) ElementType() reflect.Type

func (AccountStorageArray) ToAccountStorageArrayOutput

func (i AccountStorageArray) ToAccountStorageArrayOutput() AccountStorageArrayOutput

func (AccountStorageArray) ToAccountStorageArrayOutputWithContext

func (i AccountStorageArray) ToAccountStorageArrayOutputWithContext(ctx context.Context) AccountStorageArrayOutput

type AccountStorageArrayInput

type AccountStorageArrayInput interface {
	pulumi.Input

	ToAccountStorageArrayOutput() AccountStorageArrayOutput
	ToAccountStorageArrayOutputWithContext(context.Context) AccountStorageArrayOutput
}

AccountStorageArrayInput is an input type that accepts AccountStorageArray and AccountStorageArrayOutput values. You can construct a concrete instance of `AccountStorageArrayInput` via:

AccountStorageArray{ AccountStorageArgs{...} }

type AccountStorageArrayOutput

type AccountStorageArrayOutput struct{ *pulumi.OutputState }

func (AccountStorageArrayOutput) ElementType

func (AccountStorageArrayOutput) ElementType() reflect.Type

func (AccountStorageArrayOutput) Index

func (AccountStorageArrayOutput) ToAccountStorageArrayOutput

func (o AccountStorageArrayOutput) ToAccountStorageArrayOutput() AccountStorageArrayOutput

func (AccountStorageArrayOutput) ToAccountStorageArrayOutputWithContext

func (o AccountStorageArrayOutput) ToAccountStorageArrayOutputWithContext(ctx context.Context) AccountStorageArrayOutput

type AccountStorageInput

type AccountStorageInput interface {
	pulumi.Input

	ToAccountStorageOutput() AccountStorageOutput
	ToAccountStorageOutputWithContext(context.Context) AccountStorageOutput
}

AccountStorageInput is an input type that accepts AccountStorageArgs and AccountStorageOutput values. You can construct a concrete instance of `AccountStorageInput` via:

AccountStorageArgs{...}

type AccountStorageOutput

type AccountStorageOutput struct{ *pulumi.OutputState }

func (AccountStorageOutput) ElementType

func (AccountStorageOutput) ElementType() reflect.Type

func (AccountStorageOutput) IdentityClientId

func (o AccountStorageOutput) IdentityClientId() pulumi.StringPtrOutput

The client ID of the managed identity associated with the storage resource.

> **NOTE:** Not all `kind` support a `storage` block. For example the `kind` `OpenAI` does not support it.

func (AccountStorageOutput) StorageAccountId

func (o AccountStorageOutput) StorageAccountId() pulumi.StringOutput

Full resource id of a Microsoft.Storage resource.

func (AccountStorageOutput) ToAccountStorageOutput

func (o AccountStorageOutput) ToAccountStorageOutput() AccountStorageOutput

func (AccountStorageOutput) ToAccountStorageOutputWithContext

func (o AccountStorageOutput) ToAccountStorageOutputWithContext(ctx context.Context) AccountStorageOutput

type Deployment

type Deployment struct {
	pulumi.CustomResourceState

	// The ID of the Cognitive Services Account. Changing this forces a new resource to be created.
	CognitiveAccountId pulumi.StringOutput `pulumi:"cognitiveAccountId"`
	// A `model` block as defined below. Changing this forces a new resource to be created.
	Model DeploymentModelOutput `pulumi:"model"`
	// The name of the Cognitive Services Account Deployment. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of RAI policy.
	RaiPolicyName pulumi.StringPtrOutput `pulumi:"raiPolicyName"`
	// A `sku` block as defined below.
	Sku DeploymentSkuOutput `pulumi:"sku"`
	// Deployment model version upgrade option. Possible values are `OnceNewDefaultVersionAvailable`, `OnceCurrentVersionExpired`, and `NoAutoUpgrade`. Defaults to `OnceNewDefaultVersionAvailable`.
	VersionUpgradeOption pulumi.StringPtrOutput `pulumi:"versionUpgradeOption"`
}

Manages a Cognitive Services Account Deployment.

## Example Usage

```go 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
		}
		exampleAccount, err := cognitive.NewAccount(ctx, "example", &cognitive.AccountArgs{
			Name:              pulumi.String("example-ca"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			Kind:              pulumi.String("OpenAI"),
			SkuName:           pulumi.String("S0"),
		})
		if err != nil {
			return err
		}
		_, err = cognitive.NewDeployment(ctx, "example", &cognitive.DeploymentArgs{
			Name:               pulumi.String("example-cd"),
			CognitiveAccountId: exampleAccount.ID(),
			Model: &cognitive.DeploymentModelArgs{
				Format:  pulumi.String("OpenAI"),
				Name:    pulumi.String("text-curie-001"),
				Version: pulumi.String("1"),
			},
			Sku: &cognitive.DeploymentSkuArgs{
				Name: pulumi.String("Standard"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cognitive Services Account Deployment can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:cognitive/deployment:Deployment example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.CognitiveServices/accounts/account1/deployments/deployment1 ```

func GetDeployment

func GetDeployment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DeploymentState, opts ...pulumi.ResourceOption) (*Deployment, error)

GetDeployment gets an existing Deployment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDeployment

func NewDeployment(ctx *pulumi.Context,
	name string, args *DeploymentArgs, opts ...pulumi.ResourceOption) (*Deployment, error)

NewDeployment registers a new resource with the given unique name, arguments, and options.

func (*Deployment) ElementType

func (*Deployment) ElementType() reflect.Type

func (*Deployment) ToDeploymentOutput

func (i *Deployment) ToDeploymentOutput() DeploymentOutput

func (*Deployment) ToDeploymentOutputWithContext

func (i *Deployment) ToDeploymentOutputWithContext(ctx context.Context) DeploymentOutput

type DeploymentArgs

type DeploymentArgs struct {
	// The ID of the Cognitive Services Account. Changing this forces a new resource to be created.
	CognitiveAccountId pulumi.StringInput
	// A `model` block as defined below. Changing this forces a new resource to be created.
	Model DeploymentModelInput
	// The name of the Cognitive Services Account Deployment. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of RAI policy.
	RaiPolicyName pulumi.StringPtrInput
	// A `sku` block as defined below.
	Sku DeploymentSkuInput
	// Deployment model version upgrade option. Possible values are `OnceNewDefaultVersionAvailable`, `OnceCurrentVersionExpired`, and `NoAutoUpgrade`. Defaults to `OnceNewDefaultVersionAvailable`.
	VersionUpgradeOption pulumi.StringPtrInput
}

The set of arguments for constructing a Deployment resource.

func (DeploymentArgs) ElementType

func (DeploymentArgs) ElementType() reflect.Type

type DeploymentArray

type DeploymentArray []DeploymentInput

func (DeploymentArray) ElementType

func (DeploymentArray) ElementType() reflect.Type

func (DeploymentArray) ToDeploymentArrayOutput

func (i DeploymentArray) ToDeploymentArrayOutput() DeploymentArrayOutput

func (DeploymentArray) ToDeploymentArrayOutputWithContext

func (i DeploymentArray) ToDeploymentArrayOutputWithContext(ctx context.Context) DeploymentArrayOutput

type DeploymentArrayInput

type DeploymentArrayInput interface {
	pulumi.Input

	ToDeploymentArrayOutput() DeploymentArrayOutput
	ToDeploymentArrayOutputWithContext(context.Context) DeploymentArrayOutput
}

DeploymentArrayInput is an input type that accepts DeploymentArray and DeploymentArrayOutput values. You can construct a concrete instance of `DeploymentArrayInput` via:

DeploymentArray{ DeploymentArgs{...} }

type DeploymentArrayOutput

type DeploymentArrayOutput struct{ *pulumi.OutputState }

func (DeploymentArrayOutput) ElementType

func (DeploymentArrayOutput) ElementType() reflect.Type

func (DeploymentArrayOutput) Index

func (DeploymentArrayOutput) ToDeploymentArrayOutput

func (o DeploymentArrayOutput) ToDeploymentArrayOutput() DeploymentArrayOutput

func (DeploymentArrayOutput) ToDeploymentArrayOutputWithContext

func (o DeploymentArrayOutput) ToDeploymentArrayOutputWithContext(ctx context.Context) DeploymentArrayOutput

type DeploymentInput

type DeploymentInput interface {
	pulumi.Input

	ToDeploymentOutput() DeploymentOutput
	ToDeploymentOutputWithContext(ctx context.Context) DeploymentOutput
}

type DeploymentMap

type DeploymentMap map[string]DeploymentInput

func (DeploymentMap) ElementType

func (DeploymentMap) ElementType() reflect.Type

func (DeploymentMap) ToDeploymentMapOutput

func (i DeploymentMap) ToDeploymentMapOutput() DeploymentMapOutput

func (DeploymentMap) ToDeploymentMapOutputWithContext

func (i DeploymentMap) ToDeploymentMapOutputWithContext(ctx context.Context) DeploymentMapOutput

type DeploymentMapInput

type DeploymentMapInput interface {
	pulumi.Input

	ToDeploymentMapOutput() DeploymentMapOutput
	ToDeploymentMapOutputWithContext(context.Context) DeploymentMapOutput
}

DeploymentMapInput is an input type that accepts DeploymentMap and DeploymentMapOutput values. You can construct a concrete instance of `DeploymentMapInput` via:

DeploymentMap{ "key": DeploymentArgs{...} }

type DeploymentMapOutput

type DeploymentMapOutput struct{ *pulumi.OutputState }

func (DeploymentMapOutput) ElementType

func (DeploymentMapOutput) ElementType() reflect.Type

func (DeploymentMapOutput) MapIndex

func (DeploymentMapOutput) ToDeploymentMapOutput

func (o DeploymentMapOutput) ToDeploymentMapOutput() DeploymentMapOutput

func (DeploymentMapOutput) ToDeploymentMapOutputWithContext

func (o DeploymentMapOutput) ToDeploymentMapOutputWithContext(ctx context.Context) DeploymentMapOutput

type DeploymentModel

type DeploymentModel struct {
	// The format of the Cognitive Services Account Deployment model. Changing this forces a new resource to be created. Possible value is `OpenAI`.
	Format string `pulumi:"format"`
	// The name of the Cognitive Services Account Deployment model. Changing this forces a new resource to be created.
	Name string `pulumi:"name"`
	// The version of Cognitive Services Account Deployment model. If `version` is not specified, the default version of the model at the time will be assigned.
	Version *string `pulumi:"version"`
}

type DeploymentModelArgs

type DeploymentModelArgs struct {
	// The format of the Cognitive Services Account Deployment model. Changing this forces a new resource to be created. Possible value is `OpenAI`.
	Format pulumi.StringInput `pulumi:"format"`
	// The name of the Cognitive Services Account Deployment model. Changing this forces a new resource to be created.
	Name pulumi.StringInput `pulumi:"name"`
	// The version of Cognitive Services Account Deployment model. If `version` is not specified, the default version of the model at the time will be assigned.
	Version pulumi.StringPtrInput `pulumi:"version"`
}

func (DeploymentModelArgs) ElementType

func (DeploymentModelArgs) ElementType() reflect.Type

func (DeploymentModelArgs) ToDeploymentModelOutput

func (i DeploymentModelArgs) ToDeploymentModelOutput() DeploymentModelOutput

func (DeploymentModelArgs) ToDeploymentModelOutputWithContext

func (i DeploymentModelArgs) ToDeploymentModelOutputWithContext(ctx context.Context) DeploymentModelOutput

func (DeploymentModelArgs) ToDeploymentModelPtrOutput

func (i DeploymentModelArgs) ToDeploymentModelPtrOutput() DeploymentModelPtrOutput

func (DeploymentModelArgs) ToDeploymentModelPtrOutputWithContext

func (i DeploymentModelArgs) ToDeploymentModelPtrOutputWithContext(ctx context.Context) DeploymentModelPtrOutput

type DeploymentModelInput

type DeploymentModelInput interface {
	pulumi.Input

	ToDeploymentModelOutput() DeploymentModelOutput
	ToDeploymentModelOutputWithContext(context.Context) DeploymentModelOutput
}

DeploymentModelInput is an input type that accepts DeploymentModelArgs and DeploymentModelOutput values. You can construct a concrete instance of `DeploymentModelInput` via:

DeploymentModelArgs{...}

type DeploymentModelOutput

type DeploymentModelOutput struct{ *pulumi.OutputState }

func (DeploymentModelOutput) ElementType

func (DeploymentModelOutput) ElementType() reflect.Type

func (DeploymentModelOutput) Format

The format of the Cognitive Services Account Deployment model. Changing this forces a new resource to be created. Possible value is `OpenAI`.

func (DeploymentModelOutput) Name

The name of the Cognitive Services Account Deployment model. Changing this forces a new resource to be created.

func (DeploymentModelOutput) ToDeploymentModelOutput

func (o DeploymentModelOutput) ToDeploymentModelOutput() DeploymentModelOutput

func (DeploymentModelOutput) ToDeploymentModelOutputWithContext

func (o DeploymentModelOutput) ToDeploymentModelOutputWithContext(ctx context.Context) DeploymentModelOutput

func (DeploymentModelOutput) ToDeploymentModelPtrOutput

func (o DeploymentModelOutput) ToDeploymentModelPtrOutput() DeploymentModelPtrOutput

func (DeploymentModelOutput) ToDeploymentModelPtrOutputWithContext

func (o DeploymentModelOutput) ToDeploymentModelPtrOutputWithContext(ctx context.Context) DeploymentModelPtrOutput

func (DeploymentModelOutput) Version

The version of Cognitive Services Account Deployment model. If `version` is not specified, the default version of the model at the time will be assigned.

type DeploymentModelPtrInput

type DeploymentModelPtrInput interface {
	pulumi.Input

	ToDeploymentModelPtrOutput() DeploymentModelPtrOutput
	ToDeploymentModelPtrOutputWithContext(context.Context) DeploymentModelPtrOutput
}

DeploymentModelPtrInput is an input type that accepts DeploymentModelArgs, DeploymentModelPtr and DeploymentModelPtrOutput values. You can construct a concrete instance of `DeploymentModelPtrInput` via:

        DeploymentModelArgs{...}

or:

        nil

type DeploymentModelPtrOutput

type DeploymentModelPtrOutput struct{ *pulumi.OutputState }

func (DeploymentModelPtrOutput) Elem

func (DeploymentModelPtrOutput) ElementType

func (DeploymentModelPtrOutput) ElementType() reflect.Type

func (DeploymentModelPtrOutput) Format

The format of the Cognitive Services Account Deployment model. Changing this forces a new resource to be created. Possible value is `OpenAI`.

func (DeploymentModelPtrOutput) Name

The name of the Cognitive Services Account Deployment model. Changing this forces a new resource to be created.

func (DeploymentModelPtrOutput) ToDeploymentModelPtrOutput

func (o DeploymentModelPtrOutput) ToDeploymentModelPtrOutput() DeploymentModelPtrOutput

func (DeploymentModelPtrOutput) ToDeploymentModelPtrOutputWithContext

func (o DeploymentModelPtrOutput) ToDeploymentModelPtrOutputWithContext(ctx context.Context) DeploymentModelPtrOutput

func (DeploymentModelPtrOutput) Version

The version of Cognitive Services Account Deployment model. If `version` is not specified, the default version of the model at the time will be assigned.

type DeploymentOutput

type DeploymentOutput struct{ *pulumi.OutputState }

func (DeploymentOutput) CognitiveAccountId

func (o DeploymentOutput) CognitiveAccountId() pulumi.StringOutput

The ID of the Cognitive Services Account. Changing this forces a new resource to be created.

func (DeploymentOutput) ElementType

func (DeploymentOutput) ElementType() reflect.Type

func (DeploymentOutput) Model

A `model` block as defined below. Changing this forces a new resource to be created.

func (DeploymentOutput) Name

The name of the Cognitive Services Account Deployment. Changing this forces a new resource to be created.

func (DeploymentOutput) RaiPolicyName

func (o DeploymentOutput) RaiPolicyName() pulumi.StringPtrOutput

The name of RAI policy.

func (DeploymentOutput) Sku

A `sku` block as defined below.

func (DeploymentOutput) ToDeploymentOutput

func (o DeploymentOutput) ToDeploymentOutput() DeploymentOutput

func (DeploymentOutput) ToDeploymentOutputWithContext

func (o DeploymentOutput) ToDeploymentOutputWithContext(ctx context.Context) DeploymentOutput

func (DeploymentOutput) VersionUpgradeOption

func (o DeploymentOutput) VersionUpgradeOption() pulumi.StringPtrOutput

Deployment model version upgrade option. Possible values are `OnceNewDefaultVersionAvailable`, `OnceCurrentVersionExpired`, and `NoAutoUpgrade`. Defaults to `OnceNewDefaultVersionAvailable`.

type DeploymentSku

type DeploymentSku struct {
	// Tokens-per-Minute (TPM). The unit of measure for this field is in the thousands of Tokens-per-Minute. Defaults to `1` which means that the limitation is `1000` tokens per minute. If the resources SKU supports scale in/out then the capacity field should be included in the resources' configuration. If the scale in/out is not supported by the resources SKU then this field can be safely omitted. For more information about TPM please see the [product documentation](https://learn.microsoft.com/azure/ai-services/openai/how-to/quota?tabs=rest).
	Capacity *int `pulumi:"capacity"`
	// If the service has different generations of hardware, for the same SKU, then that can be captured here. Changing this forces a new resource to be created.
	Family *string `pulumi:"family"`
	// The name of the SKU. Possible values include `Standard`, `GlobalBatch`, `GlobalStandard` and `ProvisionedManaged`.
	Name string `pulumi:"name"`
	// The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. Changing this forces a new resource to be created.
	Size *string `pulumi:"size"`
	// Possible values are `Free`, `Basic`, `Standard`, `Premium`, `Enterprise`. Changing this forces a new resource to be created.
	Tier *string `pulumi:"tier"`
}

type DeploymentSkuArgs

type DeploymentSkuArgs struct {
	// Tokens-per-Minute (TPM). The unit of measure for this field is in the thousands of Tokens-per-Minute. Defaults to `1` which means that the limitation is `1000` tokens per minute. If the resources SKU supports scale in/out then the capacity field should be included in the resources' configuration. If the scale in/out is not supported by the resources SKU then this field can be safely omitted. For more information about TPM please see the [product documentation](https://learn.microsoft.com/azure/ai-services/openai/how-to/quota?tabs=rest).
	Capacity pulumi.IntPtrInput `pulumi:"capacity"`
	// If the service has different generations of hardware, for the same SKU, then that can be captured here. Changing this forces a new resource to be created.
	Family pulumi.StringPtrInput `pulumi:"family"`
	// The name of the SKU. Possible values include `Standard`, `GlobalBatch`, `GlobalStandard` and `ProvisionedManaged`.
	Name pulumi.StringInput `pulumi:"name"`
	// The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. Changing this forces a new resource to be created.
	Size pulumi.StringPtrInput `pulumi:"size"`
	// Possible values are `Free`, `Basic`, `Standard`, `Premium`, `Enterprise`. Changing this forces a new resource to be created.
	Tier pulumi.StringPtrInput `pulumi:"tier"`
}

func (DeploymentSkuArgs) ElementType

func (DeploymentSkuArgs) ElementType() reflect.Type

func (DeploymentSkuArgs) ToDeploymentSkuOutput

func (i DeploymentSkuArgs) ToDeploymentSkuOutput() DeploymentSkuOutput

func (DeploymentSkuArgs) ToDeploymentSkuOutputWithContext

func (i DeploymentSkuArgs) ToDeploymentSkuOutputWithContext(ctx context.Context) DeploymentSkuOutput

func (DeploymentSkuArgs) ToDeploymentSkuPtrOutput

func (i DeploymentSkuArgs) ToDeploymentSkuPtrOutput() DeploymentSkuPtrOutput

func (DeploymentSkuArgs) ToDeploymentSkuPtrOutputWithContext

func (i DeploymentSkuArgs) ToDeploymentSkuPtrOutputWithContext(ctx context.Context) DeploymentSkuPtrOutput

type DeploymentSkuInput

type DeploymentSkuInput interface {
	pulumi.Input

	ToDeploymentSkuOutput() DeploymentSkuOutput
	ToDeploymentSkuOutputWithContext(context.Context) DeploymentSkuOutput
}

DeploymentSkuInput is an input type that accepts DeploymentSkuArgs and DeploymentSkuOutput values. You can construct a concrete instance of `DeploymentSkuInput` via:

DeploymentSkuArgs{...}

type DeploymentSkuOutput

type DeploymentSkuOutput struct{ *pulumi.OutputState }

func (DeploymentSkuOutput) Capacity

Tokens-per-Minute (TPM). The unit of measure for this field is in the thousands of Tokens-per-Minute. Defaults to `1` which means that the limitation is `1000` tokens per minute. If the resources SKU supports scale in/out then the capacity field should be included in the resources' configuration. If the scale in/out is not supported by the resources SKU then this field can be safely omitted. For more information about TPM please see the [product documentation](https://learn.microsoft.com/azure/ai-services/openai/how-to/quota?tabs=rest).

func (DeploymentSkuOutput) ElementType

func (DeploymentSkuOutput) ElementType() reflect.Type

func (DeploymentSkuOutput) Family

If the service has different generations of hardware, for the same SKU, then that can be captured here. Changing this forces a new resource to be created.

func (DeploymentSkuOutput) Name

The name of the SKU. Possible values include `Standard`, `GlobalBatch`, `GlobalStandard` and `ProvisionedManaged`.

func (DeploymentSkuOutput) Size

The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. Changing this forces a new resource to be created.

func (DeploymentSkuOutput) Tier

Possible values are `Free`, `Basic`, `Standard`, `Premium`, `Enterprise`. Changing this forces a new resource to be created.

func (DeploymentSkuOutput) ToDeploymentSkuOutput

func (o DeploymentSkuOutput) ToDeploymentSkuOutput() DeploymentSkuOutput

func (DeploymentSkuOutput) ToDeploymentSkuOutputWithContext

func (o DeploymentSkuOutput) ToDeploymentSkuOutputWithContext(ctx context.Context) DeploymentSkuOutput

func (DeploymentSkuOutput) ToDeploymentSkuPtrOutput

func (o DeploymentSkuOutput) ToDeploymentSkuPtrOutput() DeploymentSkuPtrOutput

func (DeploymentSkuOutput) ToDeploymentSkuPtrOutputWithContext

func (o DeploymentSkuOutput) ToDeploymentSkuPtrOutputWithContext(ctx context.Context) DeploymentSkuPtrOutput

type DeploymentSkuPtrInput

type DeploymentSkuPtrInput interface {
	pulumi.Input

	ToDeploymentSkuPtrOutput() DeploymentSkuPtrOutput
	ToDeploymentSkuPtrOutputWithContext(context.Context) DeploymentSkuPtrOutput
}

DeploymentSkuPtrInput is an input type that accepts DeploymentSkuArgs, DeploymentSkuPtr and DeploymentSkuPtrOutput values. You can construct a concrete instance of `DeploymentSkuPtrInput` via:

        DeploymentSkuArgs{...}

or:

        nil

type DeploymentSkuPtrOutput

type DeploymentSkuPtrOutput struct{ *pulumi.OutputState }

func (DeploymentSkuPtrOutput) Capacity

Tokens-per-Minute (TPM). The unit of measure for this field is in the thousands of Tokens-per-Minute. Defaults to `1` which means that the limitation is `1000` tokens per minute. If the resources SKU supports scale in/out then the capacity field should be included in the resources' configuration. If the scale in/out is not supported by the resources SKU then this field can be safely omitted. For more information about TPM please see the [product documentation](https://learn.microsoft.com/azure/ai-services/openai/how-to/quota?tabs=rest).

func (DeploymentSkuPtrOutput) Elem

func (DeploymentSkuPtrOutput) ElementType

func (DeploymentSkuPtrOutput) ElementType() reflect.Type

func (DeploymentSkuPtrOutput) Family

If the service has different generations of hardware, for the same SKU, then that can be captured here. Changing this forces a new resource to be created.

func (DeploymentSkuPtrOutput) Name

The name of the SKU. Possible values include `Standard`, `GlobalBatch`, `GlobalStandard` and `ProvisionedManaged`.

func (DeploymentSkuPtrOutput) Size

The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. Changing this forces a new resource to be created.

func (DeploymentSkuPtrOutput) Tier

Possible values are `Free`, `Basic`, `Standard`, `Premium`, `Enterprise`. Changing this forces a new resource to be created.

func (DeploymentSkuPtrOutput) ToDeploymentSkuPtrOutput

func (o DeploymentSkuPtrOutput) ToDeploymentSkuPtrOutput() DeploymentSkuPtrOutput

func (DeploymentSkuPtrOutput) ToDeploymentSkuPtrOutputWithContext

func (o DeploymentSkuPtrOutput) ToDeploymentSkuPtrOutputWithContext(ctx context.Context) DeploymentSkuPtrOutput

type DeploymentState

type DeploymentState struct {
	// The ID of the Cognitive Services Account. Changing this forces a new resource to be created.
	CognitiveAccountId pulumi.StringPtrInput
	// A `model` block as defined below. Changing this forces a new resource to be created.
	Model DeploymentModelPtrInput
	// The name of the Cognitive Services Account Deployment. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of RAI policy.
	RaiPolicyName pulumi.StringPtrInput
	// A `sku` block as defined below.
	Sku DeploymentSkuPtrInput
	// Deployment model version upgrade option. Possible values are `OnceNewDefaultVersionAvailable`, `OnceCurrentVersionExpired`, and `NoAutoUpgrade`. Defaults to `OnceNewDefaultVersionAvailable`.
	VersionUpgradeOption pulumi.StringPtrInput
}

func (DeploymentState) ElementType

func (DeploymentState) ElementType() reflect.Type

type GetAccountIdentity

type GetAccountIdentity struct {
	// The list of User Assigned Managed Identity IDs assigned to this Cognitive Account.
	IdentityIds []string `pulumi:"identityIds"`
	// The Principal ID of the System Assigned Managed Service Identity that is configured on this Cognitive Account.
	PrincipalId string `pulumi:"principalId"`
	// The Tenant ID of the System Assigned Managed Service Identity that is configured on this Cognitive Account.
	TenantId string `pulumi:"tenantId"`
	// The type of Managed Service Identity that is configured on this Cognitive Account.
	Type string `pulumi:"type"`
}

type GetAccountIdentityArgs

type GetAccountIdentityArgs struct {
	// The list of User Assigned Managed Identity IDs assigned to this Cognitive Account.
	IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"`
	// The Principal ID of the System Assigned Managed Service Identity that is configured on this Cognitive Account.
	PrincipalId pulumi.StringInput `pulumi:"principalId"`
	// The Tenant ID of the System Assigned Managed Service Identity that is configured on this Cognitive Account.
	TenantId pulumi.StringInput `pulumi:"tenantId"`
	// The type of Managed Service Identity that is configured on this Cognitive Account.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetAccountIdentityArgs) ElementType

func (GetAccountIdentityArgs) ElementType() reflect.Type

func (GetAccountIdentityArgs) ToGetAccountIdentityOutput

func (i GetAccountIdentityArgs) ToGetAccountIdentityOutput() GetAccountIdentityOutput

func (GetAccountIdentityArgs) ToGetAccountIdentityOutputWithContext

func (i GetAccountIdentityArgs) ToGetAccountIdentityOutputWithContext(ctx context.Context) GetAccountIdentityOutput

type GetAccountIdentityArray

type GetAccountIdentityArray []GetAccountIdentityInput

func (GetAccountIdentityArray) ElementType

func (GetAccountIdentityArray) ElementType() reflect.Type

func (GetAccountIdentityArray) ToGetAccountIdentityArrayOutput

func (i GetAccountIdentityArray) ToGetAccountIdentityArrayOutput() GetAccountIdentityArrayOutput

func (GetAccountIdentityArray) ToGetAccountIdentityArrayOutputWithContext

func (i GetAccountIdentityArray) ToGetAccountIdentityArrayOutputWithContext(ctx context.Context) GetAccountIdentityArrayOutput

type GetAccountIdentityArrayInput

type GetAccountIdentityArrayInput interface {
	pulumi.Input

	ToGetAccountIdentityArrayOutput() GetAccountIdentityArrayOutput
	ToGetAccountIdentityArrayOutputWithContext(context.Context) GetAccountIdentityArrayOutput
}

GetAccountIdentityArrayInput is an input type that accepts GetAccountIdentityArray and GetAccountIdentityArrayOutput values. You can construct a concrete instance of `GetAccountIdentityArrayInput` via:

GetAccountIdentityArray{ GetAccountIdentityArgs{...} }

type GetAccountIdentityArrayOutput

type GetAccountIdentityArrayOutput struct{ *pulumi.OutputState }

func (GetAccountIdentityArrayOutput) ElementType

func (GetAccountIdentityArrayOutput) Index

func (GetAccountIdentityArrayOutput) ToGetAccountIdentityArrayOutput

func (o GetAccountIdentityArrayOutput) ToGetAccountIdentityArrayOutput() GetAccountIdentityArrayOutput

func (GetAccountIdentityArrayOutput) ToGetAccountIdentityArrayOutputWithContext

func (o GetAccountIdentityArrayOutput) ToGetAccountIdentityArrayOutputWithContext(ctx context.Context) GetAccountIdentityArrayOutput

type GetAccountIdentityInput

type GetAccountIdentityInput interface {
	pulumi.Input

	ToGetAccountIdentityOutput() GetAccountIdentityOutput
	ToGetAccountIdentityOutputWithContext(context.Context) GetAccountIdentityOutput
}

GetAccountIdentityInput is an input type that accepts GetAccountIdentityArgs and GetAccountIdentityOutput values. You can construct a concrete instance of `GetAccountIdentityInput` via:

GetAccountIdentityArgs{...}

type GetAccountIdentityOutput

type GetAccountIdentityOutput struct{ *pulumi.OutputState }

func (GetAccountIdentityOutput) ElementType

func (GetAccountIdentityOutput) ElementType() reflect.Type

func (GetAccountIdentityOutput) IdentityIds

The list of User Assigned Managed Identity IDs assigned to this Cognitive Account.

func (GetAccountIdentityOutput) PrincipalId

The Principal ID of the System Assigned Managed Service Identity that is configured on this Cognitive Account.

func (GetAccountIdentityOutput) TenantId

The Tenant ID of the System Assigned Managed Service Identity that is configured on this Cognitive Account.

func (GetAccountIdentityOutput) ToGetAccountIdentityOutput

func (o GetAccountIdentityOutput) ToGetAccountIdentityOutput() GetAccountIdentityOutput

func (GetAccountIdentityOutput) ToGetAccountIdentityOutputWithContext

func (o GetAccountIdentityOutput) ToGetAccountIdentityOutputWithContext(ctx context.Context) GetAccountIdentityOutput

func (GetAccountIdentityOutput) Type

The type of Managed Service Identity that is configured on this Cognitive Account.

type LookupAccountArgs

type LookupAccountArgs struct {
	// Specifies the name of the Cognitive Services Account.
	Name string `pulumi:"name"`
	// Specifies the name of the resource group where the Cognitive Services Account resides.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// A mapping of tags to assigned to the resource.
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getAccount.

type LookupAccountOutputArgs

type LookupAccountOutputArgs struct {
	// Specifies the name of the Cognitive Services Account.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the name of the resource group where the Cognitive Services Account resides.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
	// A mapping of tags to assigned to the resource.
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getAccount.

func (LookupAccountOutputArgs) ElementType

func (LookupAccountOutputArgs) ElementType() reflect.Type

type LookupAccountResult

type LookupAccountResult struct {
	// The endpoint of the Cognitive Services Account
	Endpoint string `pulumi:"endpoint"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A `identity` block as defined below.
	Identities []GetAccountIdentity `pulumi:"identities"`
	// The kind of the Cognitive Services Account
	Kind string `pulumi:"kind"`
	// The Azure location where the Cognitive Services Account exists
	Location string `pulumi:"location"`
	Name     string `pulumi:"name"`
	// The primary access key of the Cognitive Services Account
	PrimaryAccessKey string `pulumi:"primaryAccessKey"`
	// If `kind` is `QnAMaker` the link to the QNA runtime.
	QnaRuntimeEndpoint string `pulumi:"qnaRuntimeEndpoint"`
	ResourceGroupName  string `pulumi:"resourceGroupName"`
	// The secondary access key of the Cognitive Services Account
	SecondaryAccessKey string `pulumi:"secondaryAccessKey"`
	// The SKU name of the Cognitive Services Account
	SkuName string `pulumi:"skuName"`
	// A mapping of tags to assigned to the resource.
	Tags map[string]string `pulumi:"tags"`
}

A collection of values returned by getAccount.

func LookupAccount

func LookupAccount(ctx *pulumi.Context, args *LookupAccountArgs, opts ...pulumi.InvokeOption) (*LookupAccountResult, error)

Use this data source to access information about an existing Cognitive Services Account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/cognitive"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		test, err := cognitive.LookupAccount(ctx, &cognitive.LookupAccountArgs{
			Name:              "example-account",
			ResourceGroupName: "cognitive_account_rg",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("primaryAccessKey", test.PrimaryAccessKey)
		return nil
	})
}

```

type LookupAccountResultOutput

type LookupAccountResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAccount.

func (LookupAccountResultOutput) ElementType

func (LookupAccountResultOutput) ElementType() reflect.Type

func (LookupAccountResultOutput) Endpoint

The endpoint of the Cognitive Services Account

func (LookupAccountResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupAccountResultOutput) Identities

A `identity` block as defined below.

func (LookupAccountResultOutput) Kind

The kind of the Cognitive Services Account

func (LookupAccountResultOutput) Location

The Azure location where the Cognitive Services Account exists

func (LookupAccountResultOutput) Name

func (LookupAccountResultOutput) PrimaryAccessKey

func (o LookupAccountResultOutput) PrimaryAccessKey() pulumi.StringOutput

The primary access key of the Cognitive Services Account

func (LookupAccountResultOutput) QnaRuntimeEndpoint

func (o LookupAccountResultOutput) QnaRuntimeEndpoint() pulumi.StringOutput

If `kind` is `QnAMaker` the link to the QNA runtime.

func (LookupAccountResultOutput) ResourceGroupName

func (o LookupAccountResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupAccountResultOutput) SecondaryAccessKey

func (o LookupAccountResultOutput) SecondaryAccessKey() pulumi.StringOutput

The secondary access key of the Cognitive Services Account

func (LookupAccountResultOutput) SkuName

The SKU name of the Cognitive Services Account

func (LookupAccountResultOutput) Tags

A mapping of tags to assigned to the resource.

func (LookupAccountResultOutput) ToLookupAccountResultOutput

func (o LookupAccountResultOutput) ToLookupAccountResultOutput() LookupAccountResultOutput

func (LookupAccountResultOutput) ToLookupAccountResultOutputWithContext

func (o LookupAccountResultOutput) ToLookupAccountResultOutputWithContext(ctx context.Context) LookupAccountResultOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL