Share via


OriginAuthenticationProperties Class

Definition

The JSON object that contains the properties of the origin authentication settings. Serialized Name: OriginAuthenticationProperties

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

Constructors

OriginAuthenticationProperties()

Initializes a new instance of OriginAuthenticationProperties.

Properties

AuthenticationType

The type of the authentication for the origin. Serialized Name: OriginAuthenticationProperties.type

Scope

The scope used when requesting token from Microsoft Entra. For example, for Azure Blob Storage, scope could be "https://storage.azure.com/.default". Serialized Name: OriginAuthenticationProperties.scope

UserAssignedIdentityId

Gets or sets Id.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<OriginAuthenticationProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<OriginAuthenticationProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<OriginAuthenticationProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<OriginAuthenticationProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<OriginAuthenticationProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to