WorkspaceConnectionOAuth2 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.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.WorkspaceConnectionOAuth2TypeConverter))]
public class WorkspaceConnectionOAuth2 : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IWorkspaceConnectionOAuth2
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.WorkspaceConnectionOAuth2TypeConverter))>]
type WorkspaceConnectionOAuth2 = class
interface IWorkspaceConnectionOAuth2
interface IJsonSerializable
Public Class WorkspaceConnectionOAuth2
Implements IWorkspaceConnectionOAuth2
- Inheritance
-
WorkspaceConnectionOAuth2
- Attributes
- Implements
Constructors
WorkspaceConnectionOAuth2() |
Creates an new WorkspaceConnectionOAuth2 instance. |
Properties
AuthUrl |
Required by Concur connection category |
ClientId |
Client id in the format of UUID |
ClientSecret | |
DeveloperToken |
Required by GoogleAdWords connection category |
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
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of WorkspaceConnectionOAuth2. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of WorkspaceConnectionOAuth2. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IWorkspaceConnectionOAuth2. |
FromJsonString(String) |
Creates a new instance of WorkspaceConnectionOAuth2, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of WorkspaceConnectionOAuth2 into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |