Documentation
¶
Index ¶
- type CognitiveServicesAccount
- type CognitiveServicesAccountArgs
- type CognitiveServicesAccountState
- type ListCognitiveServicesAccountKeysArgs
- type ListCognitiveServicesAccountKeysResult
- type LookupCognitiveServicesAccountArgs
- type LookupCognitiveServicesAccountResult
- type Sku
- type SkuArgs
- type SkuInput
- type SkuOutput
- func (SkuOutput) ElementType() reflect.Type
- func (o SkuOutput) Name() pulumi.StringOutput
- func (o SkuOutput) ToSkuOutput() SkuOutput
- func (o SkuOutput) ToSkuOutputWithContext(ctx context.Context) SkuOutput
- func (o SkuOutput) ToSkuPtrOutput() SkuPtrOutput
- func (o SkuOutput) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput
- type SkuPtrInput
- type SkuPtrOutput
- type SkuResponse
- type SkuResponseArgs
- func (SkuResponseArgs) ElementType() reflect.Type
- func (i SkuResponseArgs) ToSkuResponseOutput() SkuResponseOutput
- func (i SkuResponseArgs) ToSkuResponseOutputWithContext(ctx context.Context) SkuResponseOutput
- func (i SkuResponseArgs) ToSkuResponsePtrOutput() SkuResponsePtrOutput
- func (i SkuResponseArgs) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput
- type SkuResponseInput
- type SkuResponseOutput
- func (SkuResponseOutput) ElementType() reflect.Type
- func (o SkuResponseOutput) Name() pulumi.StringOutput
- func (o SkuResponseOutput) Tier() pulumi.StringOutput
- func (o SkuResponseOutput) ToSkuResponseOutput() SkuResponseOutput
- func (o SkuResponseOutput) ToSkuResponseOutputWithContext(ctx context.Context) SkuResponseOutput
- func (o SkuResponseOutput) ToSkuResponsePtrOutput() SkuResponsePtrOutput
- func (o SkuResponseOutput) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput
- type SkuResponsePtrInput
- type SkuResponsePtrOutput
- func (o SkuResponsePtrOutput) Elem() SkuResponseOutput
- func (SkuResponsePtrOutput) ElementType() reflect.Type
- func (o SkuResponsePtrOutput) Name() pulumi.StringPtrOutput
- func (o SkuResponsePtrOutput) Tier() pulumi.StringPtrOutput
- func (o SkuResponsePtrOutput) ToSkuResponsePtrOutput() SkuResponsePtrOutput
- func (o SkuResponsePtrOutput) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CognitiveServicesAccount ¶
type CognitiveServicesAccount struct { pulumi.CustomResourceState // Endpoint of the created account Endpoint pulumi.StringPtrOutput `pulumi:"endpoint"` // Entity Tag Etag pulumi.StringPtrOutput `pulumi:"etag"` // Type of cognitive service account. Kind pulumi.StringPtrOutput `pulumi:"kind"` // The location of the resource Location pulumi.StringPtrOutput `pulumi:"location"` // The name of the created account Name pulumi.StringPtrOutput `pulumi:"name"` // Gets the status of the cognitive services account at the time the operation was called. ProvisioningState pulumi.StringOutput `pulumi:"provisioningState"` // The SKU of the cognitive services account. Sku SkuResponsePtrOutput `pulumi:"sku"` // Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. Tags pulumi.StringMapOutput `pulumi:"tags"` // Resource type Type pulumi.StringPtrOutput `pulumi:"type"` }
Cognitive Services Account is an Azure resource representing the provisioned account, its type, location and SKU.
func GetCognitiveServicesAccount ¶
func GetCognitiveServicesAccount(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CognitiveServicesAccountState, opts ...pulumi.ResourceOption) (*CognitiveServicesAccount, error)
GetCognitiveServicesAccount gets an existing CognitiveServicesAccount 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 NewCognitiveServicesAccount ¶
func NewCognitiveServicesAccount(ctx *pulumi.Context, name string, args *CognitiveServicesAccountArgs, opts ...pulumi.ResourceOption) (*CognitiveServicesAccount, error)
NewCognitiveServicesAccount registers a new resource with the given unique name, arguments, and options.
type CognitiveServicesAccountArgs ¶
type CognitiveServicesAccountArgs struct { // The name of the cognitive services account within the specified resource group. Cognitive Services account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. AccountName pulumi.StringInput // Required. Indicates the type of cognitive service account. Kind pulumi.StringInput // Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update the request will succeed. Location pulumi.StringInput // The name of the resource group within the user's subscription. ResourceGroupName pulumi.StringInput // The SKU of the cognitive services account. Sku SkuInput // Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. Tags pulumi.StringMapInput }
The set of arguments for constructing a CognitiveServicesAccount resource.
func (CognitiveServicesAccountArgs) ElementType ¶
func (CognitiveServicesAccountArgs) ElementType() reflect.Type
type CognitiveServicesAccountState ¶
type CognitiveServicesAccountState struct { // Endpoint of the created account Endpoint pulumi.StringPtrInput // Entity Tag Etag pulumi.StringPtrInput // Type of cognitive service account. Kind pulumi.StringPtrInput // The location of the resource Location pulumi.StringPtrInput // The name of the created account Name pulumi.StringPtrInput // Gets the status of the cognitive services account at the time the operation was called. ProvisioningState pulumi.StringPtrInput // The SKU of the cognitive services account. Sku SkuResponsePtrInput // Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. Tags pulumi.StringMapInput // Resource type Type pulumi.StringPtrInput }
func (CognitiveServicesAccountState) ElementType ¶
func (CognitiveServicesAccountState) ElementType() reflect.Type
type ListCognitiveServicesAccountKeysArgs ¶
type ListCognitiveServicesAccountKeysArgs struct { // The name of the cognitive services account within the specified resource group. Cognitive Services account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. AccountName string `pulumi:"accountName"` // The name of the resource group within the user's subscription. ResourceGroupName string `pulumi:"resourceGroupName"` }
type ListCognitiveServicesAccountKeysResult ¶
type ListCognitiveServicesAccountKeysResult struct { // Gets the value of key 1. Key1 *string `pulumi:"key1"` // Gets the value of key 2. Key2 *string `pulumi:"key2"` }
The access keys for the cognitive services account.
func ListCognitiveServicesAccountKeys ¶
func ListCognitiveServicesAccountKeys(ctx *pulumi.Context, args *ListCognitiveServicesAccountKeysArgs, opts ...pulumi.InvokeOption) (*ListCognitiveServicesAccountKeysResult, error)
type LookupCognitiveServicesAccountArgs ¶
type LookupCognitiveServicesAccountArgs struct { // The name of the cognitive services account within the specified resource group. Cognitive Services account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. AccountName string `pulumi:"accountName"` // The name of the resource group within the user's subscription. ResourceGroupName string `pulumi:"resourceGroupName"` }
type LookupCognitiveServicesAccountResult ¶
type LookupCognitiveServicesAccountResult struct { // Endpoint of the created account Endpoint *string `pulumi:"endpoint"` // Entity Tag Etag *string `pulumi:"etag"` // Type of cognitive service account. Kind *string `pulumi:"kind"` // The location of the resource Location *string `pulumi:"location"` // The name of the created account Name *string `pulumi:"name"` // Gets the status of the cognitive services account at the time the operation was called. ProvisioningState string `pulumi:"provisioningState"` // The SKU of the cognitive services account. Sku *SkuResponse `pulumi:"sku"` // Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. Tags map[string]string `pulumi:"tags"` // Resource type Type *string `pulumi:"type"` }
Cognitive Services Account is an Azure resource representing the provisioned account, its type, location and SKU.
func LookupCognitiveServicesAccount ¶
func LookupCognitiveServicesAccount(ctx *pulumi.Context, args *LookupCognitiveServicesAccountArgs, opts ...pulumi.InvokeOption) (*LookupCognitiveServicesAccountResult, error)
type Sku ¶
type Sku struct { // Gets or sets the sku name. Required for account creation, optional for update. Name string `pulumi:"name"` }
The SKU of the cognitive services account.
type SkuArgs ¶
type SkuArgs struct { // Gets or sets the sku name. Required for account creation, optional for update. Name pulumi.StringInput `pulumi:"name"` }
The SKU of the cognitive services account.
func (SkuArgs) ElementType ¶
func (SkuArgs) ToSkuOutput ¶
func (SkuArgs) ToSkuOutputWithContext ¶
func (SkuArgs) ToSkuPtrOutput ¶
func (i SkuArgs) ToSkuPtrOutput() SkuPtrOutput
func (SkuArgs) ToSkuPtrOutputWithContext ¶
func (i SkuArgs) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput
type SkuInput ¶
type SkuInput interface { pulumi.Input ToSkuOutput() SkuOutput ToSkuOutputWithContext(context.Context) SkuOutput }
SkuInput is an input type that accepts SkuArgs and SkuOutput values. You can construct a concrete instance of `SkuInput` via:
SkuArgs{...}
type SkuOutput ¶
type SkuOutput struct{ *pulumi.OutputState }
The SKU of the cognitive services account.
func (SkuOutput) ElementType ¶
func (SkuOutput) Name ¶
func (o SkuOutput) Name() pulumi.StringOutput
Gets or sets the sku name. Required for account creation, optional for update.
func (SkuOutput) ToSkuOutput ¶
func (SkuOutput) ToSkuOutputWithContext ¶
func (SkuOutput) ToSkuPtrOutput ¶
func (o SkuOutput) ToSkuPtrOutput() SkuPtrOutput
func (SkuOutput) ToSkuPtrOutputWithContext ¶
func (o SkuOutput) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput
type SkuPtrInput ¶
type SkuPtrInput interface { pulumi.Input ToSkuPtrOutput() SkuPtrOutput ToSkuPtrOutputWithContext(context.Context) SkuPtrOutput }
SkuPtrInput is an input type that accepts SkuArgs, SkuPtr and SkuPtrOutput values. You can construct a concrete instance of `SkuPtrInput` via:
SkuArgs{...} or: nil
func SkuPtr ¶
func SkuPtr(v *SkuArgs) SkuPtrInput
type SkuPtrOutput ¶
type SkuPtrOutput struct{ *pulumi.OutputState }
func (SkuPtrOutput) Elem ¶
func (o SkuPtrOutput) Elem() SkuOutput
func (SkuPtrOutput) ElementType ¶
func (SkuPtrOutput) ElementType() reflect.Type
func (SkuPtrOutput) Name ¶
func (o SkuPtrOutput) Name() pulumi.StringPtrOutput
Gets or sets the sku name. Required for account creation, optional for update.
func (SkuPtrOutput) ToSkuPtrOutput ¶
func (o SkuPtrOutput) ToSkuPtrOutput() SkuPtrOutput
func (SkuPtrOutput) ToSkuPtrOutputWithContext ¶
func (o SkuPtrOutput) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput
type SkuResponse ¶
type SkuResponse struct { // Gets or sets the sku name. Required for account creation, optional for update. Name string `pulumi:"name"` // Gets the sku tier. This is based on the SKU name. Tier string `pulumi:"tier"` }
The SKU of the cognitive services account.
type SkuResponseArgs ¶
type SkuResponseArgs struct { // Gets or sets the sku name. Required for account creation, optional for update. Name pulumi.StringInput `pulumi:"name"` // Gets the sku tier. This is based on the SKU name. Tier pulumi.StringInput `pulumi:"tier"` }
The SKU of the cognitive services account.
func (SkuResponseArgs) ElementType ¶
func (SkuResponseArgs) ElementType() reflect.Type
func (SkuResponseArgs) ToSkuResponseOutput ¶
func (i SkuResponseArgs) ToSkuResponseOutput() SkuResponseOutput
func (SkuResponseArgs) ToSkuResponseOutputWithContext ¶
func (i SkuResponseArgs) ToSkuResponseOutputWithContext(ctx context.Context) SkuResponseOutput
func (SkuResponseArgs) ToSkuResponsePtrOutput ¶
func (i SkuResponseArgs) ToSkuResponsePtrOutput() SkuResponsePtrOutput
func (SkuResponseArgs) ToSkuResponsePtrOutputWithContext ¶
func (i SkuResponseArgs) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput
type SkuResponseInput ¶
type SkuResponseInput interface { pulumi.Input ToSkuResponseOutput() SkuResponseOutput ToSkuResponseOutputWithContext(context.Context) SkuResponseOutput }
SkuResponseInput is an input type that accepts SkuResponseArgs and SkuResponseOutput values. You can construct a concrete instance of `SkuResponseInput` via:
SkuResponseArgs{...}
type SkuResponseOutput ¶
type SkuResponseOutput struct{ *pulumi.OutputState }
The SKU of the cognitive services account.
func (SkuResponseOutput) ElementType ¶
func (SkuResponseOutput) ElementType() reflect.Type
func (SkuResponseOutput) Name ¶
func (o SkuResponseOutput) Name() pulumi.StringOutput
Gets or sets the sku name. Required for account creation, optional for update.
func (SkuResponseOutput) Tier ¶
func (o SkuResponseOutput) Tier() pulumi.StringOutput
Gets the sku tier. This is based on the SKU name.
func (SkuResponseOutput) ToSkuResponseOutput ¶
func (o SkuResponseOutput) ToSkuResponseOutput() SkuResponseOutput
func (SkuResponseOutput) ToSkuResponseOutputWithContext ¶
func (o SkuResponseOutput) ToSkuResponseOutputWithContext(ctx context.Context) SkuResponseOutput
func (SkuResponseOutput) ToSkuResponsePtrOutput ¶
func (o SkuResponseOutput) ToSkuResponsePtrOutput() SkuResponsePtrOutput
func (SkuResponseOutput) ToSkuResponsePtrOutputWithContext ¶
func (o SkuResponseOutput) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput
type SkuResponsePtrInput ¶
type SkuResponsePtrInput interface { pulumi.Input ToSkuResponsePtrOutput() SkuResponsePtrOutput ToSkuResponsePtrOutputWithContext(context.Context) SkuResponsePtrOutput }
SkuResponsePtrInput is an input type that accepts SkuResponseArgs, SkuResponsePtr and SkuResponsePtrOutput values. You can construct a concrete instance of `SkuResponsePtrInput` via:
SkuResponseArgs{...} or: nil
func SkuResponsePtr ¶
func SkuResponsePtr(v *SkuResponseArgs) SkuResponsePtrInput
type SkuResponsePtrOutput ¶
type SkuResponsePtrOutput struct{ *pulumi.OutputState }
func (SkuResponsePtrOutput) Elem ¶
func (o SkuResponsePtrOutput) Elem() SkuResponseOutput
func (SkuResponsePtrOutput) ElementType ¶
func (SkuResponsePtrOutput) ElementType() reflect.Type
func (SkuResponsePtrOutput) Name ¶
func (o SkuResponsePtrOutput) Name() pulumi.StringPtrOutput
Gets or sets the sku name. Required for account creation, optional for update.
func (SkuResponsePtrOutput) Tier ¶
func (o SkuResponsePtrOutput) Tier() pulumi.StringPtrOutput
Gets the sku tier. This is based on the SKU name.
func (SkuResponsePtrOutput) ToSkuResponsePtrOutput ¶
func (o SkuResponsePtrOutput) ToSkuResponsePtrOutput() SkuResponsePtrOutput
func (SkuResponsePtrOutput) ToSkuResponsePtrOutputWithContext ¶
func (o SkuResponsePtrOutput) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput