Share via


VirtualEnclaveGovernedService Class

Definition

GovernedServiceItem Properties.

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

Constructors

VirtualEnclaveGovernedService(VirtualEnclaveGovernedServiceIdentifier)

Initializes a new instance of VirtualEnclaveGovernedService.

Properties

Enforcement

Initiative enforcement (Enabled or Disabled).

Initiatives

Initiatives associated with this service.

Option

Governance option for this service (Allow, Deny, ExceptionOnly, or NotApplicable).

PolicyAction

Enforcement mode for policy. AuditOnly, Enforce, or None.

ServiceId

Service ID.

ServiceName

Service name.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<VirtualEnclaveGovernedService>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VirtualEnclaveGovernedService>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VirtualEnclaveGovernedService>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualEnclaveGovernedService>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VirtualEnclaveGovernedService>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to