azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.c...

126 строки
9.9 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.cosmos.models.VirtualNetworkRule"
fullName: "com.azure.resourcemanager.cosmos.models.VirtualNetworkRule"
name: "VirtualNetworkRule"
nameWithType: "VirtualNetworkRule"
summary: "Virtual Network ACL Rule object."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **VirtualNetworkRule**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.cosmos.models.VirtualNetworkRule?alt=com.azure.resourcemanager.cosmos.models.VirtualNetworkRule&text=VirtualNetworkRule\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.cosmos.models.VirtualNetworkRule.VirtualNetworkRule()"
fullName: "com.azure.resourcemanager.cosmos.models.VirtualNetworkRule.VirtualNetworkRule()"
name: "VirtualNetworkRule()"
nameWithType: "VirtualNetworkRule.VirtualNetworkRule()"
summary: "Creates an instance of Virtual<wbr>Network<wbr>Rule class."
syntax: "public VirtualNetworkRule()"
desc: "Creates an instance of VirtualNetworkRule class."
methods:
- uid: "com.azure.resourcemanager.cosmos.models.VirtualNetworkRule.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.cosmos.models.VirtualNetworkRule.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "VirtualNetworkRule.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Virtual<wbr>Network<wbr>Rule from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static VirtualNetworkRule fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the VirtualNetworkRule."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of VirtualNetworkRule from the JsonReader."
returns:
description: "An instance of VirtualNetworkRule if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.VirtualNetworkRule?alt=com.azure.resourcemanager.cosmos.models.VirtualNetworkRule&text=VirtualNetworkRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.VirtualNetworkRule.id()"
fullName: "com.azure.resourcemanager.cosmos.models.VirtualNetworkRule.id()"
name: "id()"
nameWithType: "VirtualNetworkRule.id()"
summary: "Get the id property: Resource ID of a subnet, for example: /subscriptions/\\{subscription<wbr>Id\\}/resource<wbr>Groups/\\{group<wbr>Name\\}/providers/Microsoft.<wbr>Network/virtual<wbr>Networks/\\{virtual<wbr>Network<wbr>Name\\}/subnets/\\{subnet<wbr>Name\\}."
syntax: "public String id()"
desc: "Get the id property: Resource ID of a subnet, for example: /subscriptions/\\{subscriptionId\\}/resourceGroups/\\{groupName\\}/providers/Microsoft.Network/virtualNetworks/\\{virtualNetworkName\\}/subnets/\\{subnetName\\}."
returns:
description: "the id value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.cosmos.models.VirtualNetworkRule.ignoreMissingVNetServiceEndpoint()"
fullName: "com.azure.resourcemanager.cosmos.models.VirtualNetworkRule.ignoreMissingVNetServiceEndpoint()"
name: "ignoreMissingVNetServiceEndpoint()"
nameWithType: "VirtualNetworkRule.ignoreMissingVNetServiceEndpoint()"
summary: "Get the ignore<wbr>Missing<wbr>VNet<wbr>Service<wbr>Endpoint property: Create firewall rule before the virtual network has vnet service endpoint enabled."
syntax: "public Boolean ignoreMissingVNetServiceEndpoint()"
desc: "Get the ignoreMissingVNetServiceEndpoint property: Create firewall rule before the virtual network has vnet service endpoint enabled."
returns:
description: "the ignoreMissingVNetServiceEndpoint value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
- uid: "com.azure.resourcemanager.cosmos.models.VirtualNetworkRule.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.cosmos.models.VirtualNetworkRule.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "VirtualNetworkRule.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.VirtualNetworkRule.validate()"
fullName: "com.azure.resourcemanager.cosmos.models.VirtualNetworkRule.validate()"
name: "validate()"
nameWithType: "VirtualNetworkRule.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.cosmos.models.VirtualNetworkRule.withId(java.lang.String)"
fullName: "com.azure.resourcemanager.cosmos.models.VirtualNetworkRule.withId(String id)"
name: "withId(String id)"
nameWithType: "VirtualNetworkRule.withId(String id)"
summary: "Set the id property: Resource ID of a subnet, for example: /subscriptions/\\{subscription<wbr>Id\\}/resource<wbr>Groups/\\{group<wbr>Name\\}/providers/Microsoft.<wbr>Network/virtual<wbr>Networks/\\{virtual<wbr>Network<wbr>Name\\}/subnets/\\{subnet<wbr>Name\\}."
parameters:
- description: "the id value to set."
name: "id"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public VirtualNetworkRule withId(String id)"
desc: "Set the id property: Resource ID of a subnet, for example: /subscriptions/\\{subscriptionId\\}/resourceGroups/\\{groupName\\}/providers/Microsoft.Network/virtualNetworks/\\{virtualNetworkName\\}/subnets/\\{subnetName\\}."
returns:
description: "the VirtualNetworkRule object itself."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.VirtualNetworkRule?alt=com.azure.resourcemanager.cosmos.models.VirtualNetworkRule&text=VirtualNetworkRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.VirtualNetworkRule.withIgnoreMissingVNetServiceEndpoint(java.lang.Boolean)"
fullName: "com.azure.resourcemanager.cosmos.models.VirtualNetworkRule.withIgnoreMissingVNetServiceEndpoint(Boolean ignoreMissingVNetServiceEndpoint)"
name: "withIgnoreMissingVNetServiceEndpoint(Boolean ignoreMissingVNetServiceEndpoint)"
nameWithType: "VirtualNetworkRule.withIgnoreMissingVNetServiceEndpoint(Boolean ignoreMissingVNetServiceEndpoint)"
summary: "Set the ignore<wbr>Missing<wbr>VNet<wbr>Service<wbr>Endpoint property: Create firewall rule before the virtual network has vnet service endpoint enabled."
parameters:
- description: "the ignoreMissingVNetServiceEndpoint value to set."
name: "ignoreMissingVNetServiceEndpoint"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
syntax: "public VirtualNetworkRule withIgnoreMissingVNetServiceEndpoint(Boolean ignoreMissingVNetServiceEndpoint)"
desc: "Set the ignoreMissingVNetServiceEndpoint property: Create firewall rule before the virtual network has vnet service endpoint enabled."
returns:
description: "the VirtualNetworkRule object itself."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.VirtualNetworkRule?alt=com.azure.resourcemanager.cosmos.models.VirtualNetworkRule&text=VirtualNetworkRule\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Virtual Network ACL Rule object."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.cosmos.models.VirtualNetworkRule?alt=com.azure.resourcemanager.cosmos.models.VirtualNetworkRule&text=VirtualNetworkRule\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.cosmos.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-cosmos:2.44.0