CosmosDBVirtualNetworkRule 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.
Virtual Network ACL Rule object.
public class CosmosDBVirtualNetworkRule : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.Models.CosmosDBVirtualNetworkRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.Models.CosmosDBVirtualNetworkRule>
type CosmosDBVirtualNetworkRule = class
interface IJsonModel<CosmosDBVirtualNetworkRule>
interface IPersistableModel<CosmosDBVirtualNetworkRule>
Public Class CosmosDBVirtualNetworkRule
Implements IJsonModel(Of CosmosDBVirtualNetworkRule), IPersistableModel(Of CosmosDBVirtualNetworkRule)
- Inheritance
-
CosmosDBVirtualNetworkRule
- Implements
Constructors
CosmosDBVirtualNetworkRule() |
Initializes a new instance of CosmosDBVirtualNetworkRule. |
Properties
Id |
Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. |
IgnoreMissingVnetServiceEndpoint |
Create firewall rule before the virtual network has vnet service endpoint enabled. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<CosmosDBVirtualNetworkRule>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<CosmosDBVirtualNetworkRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<CosmosDBVirtualNetworkRule>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<CosmosDBVirtualNetworkRule>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<CosmosDBVirtualNetworkRule>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |