CognitiveServicesConnectionOAuth2 Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
ClientId and ClientSecret are required. Other properties are optional depending on each OAuth2 provider's implementation.
public class CognitiveServicesConnectionOAuth2 : Azure.Provisioning.Primitives.ProvisionableConstruct
type CognitiveServicesConnectionOAuth2 = class
inherit ProvisionableConstruct
Public Class CognitiveServicesConnectionOAuth2
Inherits ProvisionableConstruct
- Inheritance
Constructors
| Name | Description |
|---|---|
| CognitiveServicesConnectionOAuth2() |
Creates a new CognitiveServicesConnectionOAuth2. |
Properties
| Name | Description |
|---|---|
| AuthUri |
Required by Concur connection category. |
| ClientId |
Client id in the format of UUID. |
| ClientSecret |
Gets or sets the client secret. |
| DeveloperToken |
Required by GoogleAdWords connection category. |
| Password |
Gets or sets the password. |
| RefreshToken |
Required by GoogleBigQuery, GoogleAdWords, Hubspot, QuickBooks, Square, Xero, Zoho where user needs to get RefreshToken offline |
| TenantId |
Required by QuickBooks and Xero connection categories. |
| Username |
Concur, ServiceNow auth server AccessToken grant type is 'Password' which requires UsernamePassword |
Methods
Explicit Interface Implementations
| Name | Description |
|---|---|
| IBicepValue.Assign(IBicepValue) |
Assign a value to this property. (Inherited from ProvisionableConstruct) |
| IBicepValue.Compile() |
Compile this value to a Bicep expression. (Inherited from ProvisionableConstruct) |
| IBicepValue.Expression |
Gets the expression for this value if it's not a literal. (Inherited from ProvisionableConstruct) |
| IBicepValue.IsEmpty |
Gets whether this value is unset or empty. (Inherited from ProvisionableConstruct) |
| IBicepValue.IsOutput |
Tracks whether this is an output only property. (Inherited from ProvisionableConstruct) |
| IBicepValue.IsRequired |
Tracks whether this property is required. (Inherited from ProvisionableConstruct) |
| IBicepValue.IsSecure |
Tracks whether this contains a secure value. (Inherited from ProvisionableConstruct) |
| IBicepValue.Kind |
Gets the kind of this value (a literal value, an expression, or it's unset). (Inherited from ProvisionableConstruct) |
| IBicepValue.LiteralValue |
Get the value of this expression, if it's literal. (Inherited from ProvisionableConstruct) |
| IBicepValue.Self |
Gets information about where this value was defined. (Inherited from ProvisionableConstruct) |
| IBicepValue.SetReadOnly() |
Make this value readonly. (Inherited from ProvisionableConstruct) |
| IBicepValue.Source |
Gets information about where this value was assigned from. (Inherited from ProvisionableConstruct) |
Extension Methods
| Name | Description |
|---|---|
| ToBicepExpression(IBicepValue) |
Convert a IBicepValue into a BicepExpression by its reference to represent its hierarchy. |