ContainerRegistryTrustPolicy Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The content trust policy for a container registry.
public class ContainerRegistryTrustPolicy : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryTrustPolicy>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryTrustPolicy>
type ContainerRegistryTrustPolicy = class
interface IJsonModel<ContainerRegistryTrustPolicy>
interface IPersistableModel<ContainerRegistryTrustPolicy>
Public Class ContainerRegistryTrustPolicy
Implements IJsonModel(Of ContainerRegistryTrustPolicy), IPersistableModel(Of ContainerRegistryTrustPolicy)
- Inheritance
-
ContainerRegistryTrustPolicy
- Implements
Constructors
ContainerRegistryTrustPolicy() |
Initializes a new instance of ContainerRegistryTrustPolicy. |
Properties
PolicyType |
The type of trust policy. |
Status |
The value that indicates whether the policy is enabled or not. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<ContainerRegistryTrustPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<ContainerRegistryTrustPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<ContainerRegistryTrustPolicy>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<ContainerRegistryTrustPolicy>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<ContainerRegistryTrustPolicy>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET