共用方式為


StorageRoutingPreference Class

Definition

Routing preference defines the type of network, either microsoft or internet routing to be used to deliver the user data, the default option is microsoft routing.

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

Constructors

StorageRoutingPreference()

Initializes a new instance of StorageRoutingPreference.

Properties

IsInternetEndpointsPublished

A boolean flag which indicates whether internet routing storage endpoints are to be published.

IsMicrosoftEndpointsPublished

A boolean flag which indicates whether microsoft routing storage endpoints are to be published.

RoutingChoice

Routing Choice defines the kind of network routing opted by the user.

Explicit Interface Implementations

IJsonModel<StorageRoutingPreference>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StorageRoutingPreference>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StorageRoutingPreference>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StorageRoutingPreference>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StorageRoutingPreference>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to