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

68 строки
5.7 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.cosmos.models.CosmosDBAccount.UpdateStages.WithVirtualNetworkRule"
fullName: "com.azure.resourcemanager.cosmos.models.CosmosDBAccount.UpdateStages.WithVirtualNetworkRule"
name: "CosmosDBAccount.UpdateStages.WithVirtualNetworkRule"
nameWithType: "CosmosDBAccount.UpdateStages.WithVirtualNetworkRule"
summary: "The stage of the Cosmos DB update definition allowing the definition of a Virtual Network ACL Rule."
syntax: "public static interface **CosmosDBAccount.UpdateStages.WithVirtualNetworkRule**"
methods:
- uid: "com.azure.resourcemanager.cosmos.models.CosmosDBAccount.UpdateStages.WithVirtualNetworkRule.withVirtualNetwork(java.lang.String,java.lang.String)"
fullName: "com.azure.resourcemanager.cosmos.models.CosmosDBAccount.UpdateStages.WithVirtualNetworkRule.withVirtualNetwork(String virtualNetworkId, String subnetName)"
name: "withVirtualNetwork(String virtualNetworkId, String subnetName)"
nameWithType: "CosmosDBAccount.UpdateStages.WithVirtualNetworkRule.withVirtualNetwork(String virtualNetworkId, String subnetName)"
summary: "Specifies a new Virtual Network ACL Rule for the CosmosDB account."
modifiers:
- "abstract"
parameters:
- description: "the ID of a virtual network"
name: "virtualNetworkId"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "the name of the subnet within the virtual network; the subnet must have the service\n endpoints enabled for 'Microsoft.AzureCosmosDB'."
name: "subnetName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract CosmosDBAccount.UpdateStages.WithOptionals withVirtualNetwork(String virtualNetworkId, String subnetName)"
desc: "Specifies a new Virtual Network ACL Rule for the CosmosDB account."
returns:
description: "the next stage of the update definition"
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.CosmosDBAccount.UpdateStages.WithOptionals?alt=com.azure.resourcemanager.cosmos.models.CosmosDBAccount.UpdateStages.WithOptionals&text=WithOptionals\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.CosmosDBAccount.UpdateStages.WithVirtualNetworkRule.withVirtualNetworkRules(java.util.List<com.azure.resourcemanager.cosmos.models.VirtualNetworkRule>)"
fullName: "com.azure.resourcemanager.cosmos.models.CosmosDBAccount.UpdateStages.WithVirtualNetworkRule.withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules)"
name: "withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules)"
nameWithType: "CosmosDBAccount.UpdateStages.WithVirtualNetworkRule.withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules)"
summary: "A Virtual Network ACL Rule for the CosmosDB account."
modifiers:
- "abstract"
parameters:
- description: "the list of Virtual Network ACL Rules (an empty list value will remove all the\n rules)"
name: "virtualNetworkRules"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&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;"
syntax: "public abstract CosmosDBAccount.UpdateStages.WithOptionals withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules)"
desc: "A Virtual Network ACL Rule for the CosmosDB account."
returns:
description: "the next stage of the update definition-"
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.CosmosDBAccount.UpdateStages.WithOptionals?alt=com.azure.resourcemanager.cosmos.models.CosmosDBAccount.UpdateStages.WithOptionals&text=WithOptionals\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.CosmosDBAccount.UpdateStages.WithVirtualNetworkRule.withoutVirtualNetwork(java.lang.String,java.lang.String)"
fullName: "com.azure.resourcemanager.cosmos.models.CosmosDBAccount.UpdateStages.WithVirtualNetworkRule.withoutVirtualNetwork(String virtualNetworkId, String subnetName)"
name: "withoutVirtualNetwork(String virtualNetworkId, String subnetName)"
nameWithType: "CosmosDBAccount.UpdateStages.WithVirtualNetworkRule.withoutVirtualNetwork(String virtualNetworkId, String subnetName)"
summary: "Removes a Virtual Network ACL Rule for the CosmosDB account."
modifiers:
- "abstract"
parameters:
- description: "the ID of a virtual network"
name: "virtualNetworkId"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "the name of the subnet within the virtual network; the subnet must have the service\n endpoints enabled for 'Microsoft.AzureCosmosDB'."
name: "subnetName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract CosmosDBAccount.UpdateStages.WithOptionals withoutVirtualNetwork(String virtualNetworkId, String subnetName)"
desc: "Removes a Virtual Network ACL Rule for the CosmosDB account."
returns:
description: "the next stage of the update definition"
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.CosmosDBAccount.UpdateStages.WithOptionals?alt=com.azure.resourcemanager.cosmos.models.CosmosDBAccount.UpdateStages.WithOptionals&text=WithOptionals\" data-throw-if-not-resolved=\"False\" />"
type: "interface"
desc: "The stage of the Cosmos DB update definition allowing the definition of a Virtual Network ACL Rule."
metadata: {}
package: "com.azure.resourcemanager.cosmos.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-cosmos:2.42.0