共用方式為


HybridComputeAccessRule Class

Definition

Access rule.

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

Properties

AddressPrefixes

Address prefixes that are allowed access.

Direction

Direction of the access rule.

Name

Name of the access rule.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<HybridComputeAccessRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HybridComputeAccessRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HybridComputeAccessRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HybridComputeAccessRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HybridComputeAccessRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to