Condividi tramite


NodeTypeVaultCertificate Class

Definition

Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.

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

Constructors

NodeTypeVaultCertificate(Uri, String)

Initializes a new instance of NodeTypeVaultCertificate.

Properties

CertificateStore

For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. <br><br>For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.

CertificateUri

This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<NodeTypeVaultCertificate>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NodeTypeVaultCertificate>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NodeTypeVaultCertificate>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NodeTypeVaultCertificate>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NodeTypeVaultCertificate>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to