Documentation ¶
Index ¶
- type Account
- func (r *Account) Endpoint() *pulumi.StringOutput
- func (r *Account) ID() *pulumi.IDOutput
- func (r *Account) Kind() *pulumi.StringOutput
- func (r *Account) Location() *pulumi.StringOutput
- func (r *Account) Name() *pulumi.StringOutput
- func (r *Account) PrimaryAccessKey() *pulumi.StringOutput
- func (r *Account) ResourceGroupName() *pulumi.StringOutput
- func (r *Account) SecondaryAccessKey() *pulumi.StringOutput
- func (r *Account) Sku() *pulumi.Output
- func (r *Account) Tags() *pulumi.MapOutput
- func (r *Account) URN() *pulumi.URNOutput
- type AccountArgs
- type AccountState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
// contains filtered or unexported fields
}
Manages a Cognitive Services Account.
func GetAccount ¶
func GetAccount(ctx *pulumi.Context, name string, id pulumi.ID, state *AccountState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*Account, error)
NewAccount registers a new resource with the given unique name, arguments, and options.
func (*Account) Endpoint ¶
func (r *Account) Endpoint() *pulumi.StringOutput
The endpoint used to connect to the Cognitive Service Account.
func (*Account) Kind ¶
func (r *Account) Kind() *pulumi.StringOutput
Specifies the type of Cognitive Service Account that should be created. Possible values are `Academic`, `Bing.Autosuggest`, `Bing.Autosuggest.v7`, `Bing.CustomSearch`, `Bing.Search`, `Bing.Search.v7`, `Bing.Speech`, `Bing.SpellCheck`, `Bing.SpellCheck.v7`, `ComputerVision`, `ContentModerator`, `CustomSpeech`, `Emotion`, `Face`, `LUIS`, `Recommendations`, `SpeakerRecognition`, `Speech`, `SpeechServices`, `SpeechTranslation`, `TextAnalytics`, `TextTranslation` and `WebLM`. Changing this forces a new resource to be created.
func (*Account) Location ¶
func (r *Account) Location() *pulumi.StringOutput
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
func (*Account) Name ¶
func (r *Account) Name() *pulumi.StringOutput
Specifies the name of the Cognitive Service Account. Changing this forces a new resource to be created.
func (*Account) PrimaryAccessKey ¶ added in v0.16.8
func (r *Account) PrimaryAccessKey() *pulumi.StringOutput
A primary access key which can be used to connect to the Cognitive Service Account.
func (*Account) ResourceGroupName ¶
func (r *Account) 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 (*Account) SecondaryAccessKey ¶ added in v0.16.8
func (r *Account) SecondaryAccessKey() *pulumi.StringOutput
The secondary access key which can be used to connect to the Cognitive Service Account.
type AccountArgs ¶
type AccountArgs struct { // Specifies the type of Cognitive Service Account that should be created. Possible values are `Academic`, `Bing.Autosuggest`, `Bing.Autosuggest.v7`, `Bing.CustomSearch`, `Bing.Search`, `Bing.Search.v7`, `Bing.Speech`, `Bing.SpellCheck`, `Bing.SpellCheck.v7`, `ComputerVision`, `ContentModerator`, `CustomSpeech`, `Emotion`, `Face`, `LUIS`, `Recommendations`, `SpeakerRecognition`, `Speech`, `SpeechServices`, `SpeechTranslation`, `TextAnalytics`, `TextTranslation` and `WebLM`. Changing this forces a new resource to be created. Kind interface{} // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location interface{} // Specifies the name of the Cognitive Service Account. Changing this forces a new resource to be created. Name interface{} // The name of the resource group in which the Cognitive Service Account is created. Changing this forces a new resource to be created. ResourceGroupName interface{} // A `sku` block as defined below. Sku interface{} // A mapping of tags to assign to the resource. Tags interface{} }
The set of arguments for constructing a Account resource.
type AccountState ¶
type AccountState struct { // The endpoint used to connect to the Cognitive Service Account. Endpoint interface{} // Specifies the type of Cognitive Service Account that should be created. Possible values are `Academic`, `Bing.Autosuggest`, `Bing.Autosuggest.v7`, `Bing.CustomSearch`, `Bing.Search`, `Bing.Search.v7`, `Bing.Speech`, `Bing.SpellCheck`, `Bing.SpellCheck.v7`, `ComputerVision`, `ContentModerator`, `CustomSpeech`, `Emotion`, `Face`, `LUIS`, `Recommendations`, `SpeakerRecognition`, `Speech`, `SpeechServices`, `SpeechTranslation`, `TextAnalytics`, `TextTranslation` and `WebLM`. Changing this forces a new resource to be created. Kind interface{} // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location interface{} // Specifies the name of the Cognitive Service Account. Changing this forces a new resource to be created. Name interface{} // A primary access key which can be used to connect to the Cognitive Service Account. PrimaryAccessKey interface{} // The name of the resource group in which the Cognitive Service Account is created. Changing this forces a new resource to be created. ResourceGroupName interface{} // The secondary access key which can be used to connect to the Cognitive Service Account. SecondaryAccessKey interface{} // A `sku` block as defined below. Sku interface{} // A mapping of tags to assign to the resource. Tags interface{} }
Input properties used for looking up and filtering Account resources.