OAuth2AuthTypeWorkspaceConnectionProperties 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.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.OAuth2AuthTypeWorkspaceConnectionPropertiesTypeConverter))]
public class OAuth2AuthTypeWorkspaceConnectionProperties : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IOAuth2AuthTypeWorkspaceConnectionProperties, Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.OAuth2AuthTypeWorkspaceConnectionPropertiesTypeConverter))>]
type OAuth2AuthTypeWorkspaceConnectionProperties = class
interface IOAuth2AuthTypeWorkspaceConnectionProperties
interface IJsonSerializable
interface IWorkspaceConnectionPropertiesV2
interface IValidates
Public Class OAuth2AuthTypeWorkspaceConnectionProperties
Implements IOAuth2AuthTypeWorkspaceConnectionProperties, IValidates
- Inheritance
-
OAuth2AuthTypeWorkspaceConnectionProperties
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| OAuth2AuthTypeWorkspaceConnectionProperties() |
Creates an new OAuth2AuthTypeWorkspaceConnectionProperties instance. |
Properties
| Name | Description |
|---|---|
| AuthType |
Authentication type of the connection target |
| Category |
Category of the connection |
| CreatedByWorkspaceArmId | |
| CredentialsAuthUrl |
Required by Concur connection category |
| CredentialsClientId |
Client id in the format of UUID |
| CredentialsClientSecret | |
| CredentialsDeveloperToken |
Required by GoogleAdWords connection category |
| CredentialsPassword | |
| CredentialsRefreshToken |
Required by GoogleBigQuery, GoogleAdWords, Hubspot, QuickBooks, Square, Xero, Zoho where user needs to get RefreshToken offline |
| CredentialsTenantId |
Required by QuickBooks and Xero connection categories |
| CredentialsUsername |
Concur, ServiceNow auth server AccessToken grant type is 'Password' which requires UsernamePassword |
| ExpiryTime | |
| Group |
Group based on connection category |
| IsSharedToAll | |
| Metadata |
Store user metadata for this connection |
| SharedUserList | |
| Target | |
| Value |
Value details of the workspace connection. |
| ValueFormat |
format for the workspace connection value |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of OAuth2AuthTypeWorkspaceConnectionProperties. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of OAuth2AuthTypeWorkspaceConnectionProperties. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IOAuth2AuthTypeWorkspaceConnectionProperties. |
| FromJsonString(String) |
Creates a new instance of OAuth2AuthTypeWorkspaceConnectionProperties, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of OAuth2AuthTypeWorkspaceConnectionProperties into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |
| Validate(IEventListener) |
Validates that this object meets the validation criteria. |