Share via


BringYourOwnRoot Class

Definition

Configuration for Bring Your Own Root. When enabled, customers provide their own CA-signed certificates instead of using the service-managed CA.

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

Constructors

Name Description
BringYourOwnRoot(Boolean)

Initializes a new instance of BringYourOwnRoot.

Properties

Name Description
CertificateSigningRequest

Certificate Signing Request (CSR) in PEM format, generated by the service. Sign this CSR with your Certificate Authority and activate via the activateBringYourOwnRoot action. A new CSR is generated at policy creation and when certificates near expiration.

Enabled

Indicates whether Bring Your Own Root is enabled. This can only be set at creation time and cannot be changed afterward.

IssuingCertificateThumbprint

Thumbprint of the issuing certificate.

Status

The status of the Bring Your Own Root configuration, indicating the current state of the certificate lifecycle.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<BringYourOwnRoot>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<BringYourOwnRoot>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<BringYourOwnRoot>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<BringYourOwnRoot>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<BringYourOwnRoot>.Write(ModelReaderWriterOptions)

Applies to