你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WorkspaceConnectionOAuth2 Class

Definition

ClientId and ClientSecret are required. Other properties are optional depending on each OAuth2 provider's implementation.

public class WorkspaceConnectionOAuth2 : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.MachineLearning.Models.WorkspaceConnectionOAuth2>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.MachineLearning.Models.WorkspaceConnectionOAuth2>
type WorkspaceConnectionOAuth2 = class
    interface IJsonModel<WorkspaceConnectionOAuth2>
    interface IPersistableModel<WorkspaceConnectionOAuth2>
Public Class WorkspaceConnectionOAuth2
Implements IJsonModel(Of WorkspaceConnectionOAuth2), IPersistableModel(Of WorkspaceConnectionOAuth2)
Inheritance
WorkspaceConnectionOAuth2
Implements

Constructors

WorkspaceConnectionOAuth2()

Initializes a new instance of WorkspaceConnectionOAuth2.

Properties

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

Explicit Interface Implementations

IJsonModel<WorkspaceConnectionOAuth2>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<WorkspaceConnectionOAuth2>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<WorkspaceConnectionOAuth2>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WorkspaceConnectionOAuth2>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<WorkspaceConnectionOAuth2>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to