共用方式為


ServiceAccountApiProperties Class

Definition

The api properties for special APIs.

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

Constructors

ServiceAccountApiProperties()

Initializes a new instance of ServiceAccountApiProperties.

Properties

AadClientId

(Metrics Advisor Only) The Azure AD Client Id (Application Id).

AadTenantId

(Metrics Advisor Only) The Azure AD Tenant Id.

AdditionalProperties

Additional Properties

To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

EnableStatistics

(Bing Search Only) The flag to enable statistics of Bing Search.

EventHubConnectionString

(Personalization Only) The flag to enable statistics of Bing Search.

QnaAzureSearchEndpointId

(QnAMaker Only) The Azure Search endpoint id of QnAMaker.

QnaAzureSearchEndpointKey

(QnAMaker Only) The Azure Search endpoint key of QnAMaker.

QnaRuntimeEndpoint

(QnAMaker Only) The runtime endpoint of QnAMaker.

StorageAccountConnectionString

(Personalization Only) The storage account connection string.

SuperUser

(Metrics Advisor Only) The super user of Metrics Advisor.

WebsiteName

(Metrics Advisor Only) The website name of Metrics Advisor.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ServiceAccountApiProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ServiceAccountApiProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ServiceAccountApiProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ServiceAccountApiProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ServiceAccountApiProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to