azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.managem...

65 строки
5.4 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.network.Network.DefinitionStages.WithSubnet"
fullName: "com.microsoft.azure.management.network.Network.DefinitionStages.WithSubnet"
name: "Network.DefinitionStages.WithSubnet"
nameWithType: "Network.DefinitionStages.WithSubnet"
summary: "The stage of the virtual network definition allowing to add subnets."
syntax: "public static interface **Network.DefinitionStages.WithSubnet**"
methods:
- uid: "com.microsoft.azure.management.network.Network.DefinitionStages.WithSubnet.defineSubnet(java.lang.String)"
fullName: "com.microsoft.azure.management.network.Network.DefinitionStages.WithSubnet.defineSubnet(String name)"
name: "defineSubnet(String name)"
nameWithType: "Network.DefinitionStages.WithSubnet.defineSubnet(String name)"
summary: "Begins the definition of a new subnet to add to the virtual network."
modifiers:
- "abstract"
parameters:
- description: "the name of the subnet"
name: "name"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract Subnet.DefinitionStages.Blank<Network.DefinitionStages.WithCreateAndSubnet> defineSubnet(String name)"
desc: "Begins the definition of a new subnet to add to the virtual network.\n\nThe definition must be completed with a call to <xref uid=\"\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Subnet.DefinitionStages.WithAttach#attach()\"></xref>"
returns:
description: "the first stage of the new subnet definition"
type: "<xref href=\"com.microsoft.azure.management.network.Subnet.DefinitionStages.Blank?alt=com.microsoft.azure.management.network.Subnet.DefinitionStages.Blank&text=Blank\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.network.Network.DefinitionStages.WithCreateAndSubnet?alt=com.microsoft.azure.management.network.Network.DefinitionStages.WithCreateAndSubnet&text=WithCreateAndSubnet\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.network.Network.DefinitionStages.WithSubnet.withSubnet(java.lang.String,java.lang.String)"
fullName: "com.microsoft.azure.management.network.Network.DefinitionStages.WithSubnet.withSubnet(String name, String cidr)"
name: "withSubnet(String name, String cidr)"
nameWithType: "Network.DefinitionStages.WithSubnet.withSubnet(String name, String cidr)"
summary: "Explicitly adds a subnet to the virtual network."
modifiers:
- "abstract"
parameters:
- description: "the name to assign to the subnet"
name: "name"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- description: "the address space of the subnet, within the address space of the network, using the CIDR notation"
name: "cidr"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract Network.DefinitionStages.WithCreateAndSubnet withSubnet(String name, String cidr)"
desc: "Explicitly adds a subnet to the virtual network.\n\nIf no subnets are explicitly specified, a default subnet called \"subnet1\" covering the entire first address space will be created.\n\nNote this method's effect is additive, i.e. each time it is used, a new subnet is added to the network."
returns:
description: "the next stage of the definition"
type: "<xref href=\"com.microsoft.azure.management.network.Network.DefinitionStages.WithCreateAndSubnet?alt=com.microsoft.azure.management.network.Network.DefinitionStages.WithCreateAndSubnet&text=WithCreateAndSubnet\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.Network.DefinitionStages.WithSubnet.withSubnets(java.util.Map<java.lang.String,java.lang.String>)"
fullName: "com.microsoft.azure.management.network.Network.DefinitionStages.WithSubnet.withSubnets(Map<String,String> nameCidrPairs)"
name: "withSubnets(Map<String,String> nameCidrPairs)"
nameWithType: "Network.DefinitionStages.WithSubnet.withSubnets(Map<String,String> nameCidrPairs)"
summary: "Explicitly defines subnets in the virtual network based on the provided map."
modifiers:
- "abstract"
parameters:
- description: "a <xref uid=\"java.util.Map\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Map\"></xref> of CIDR addresses for the subnets, indexed by the name of each subnet to be defined"
name: "nameCidrPairs"
type: "<xref href=\"java.util.Map?alt=java.util.Map&text=Map\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />,<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public abstract Network.DefinitionStages.WithCreateAndSubnet withSubnets(Map<String,String> nameCidrPairs)"
desc: "Explicitly defines subnets in the virtual network based on the provided map."
returns:
description: "the next stage of the definition"
type: "<xref href=\"com.microsoft.azure.management.network.Network.DefinitionStages.WithCreateAndSubnet?alt=com.microsoft.azure.management.network.Network.DefinitionStages.WithCreateAndSubnet&text=WithCreateAndSubnet\" data-throw-if-not-resolved=\"False\" />"
type: "interface"
desc: "The stage of the virtual network definition allowing to add subnets."
metadata: {}
package: "com.microsoft.azure.management.network"
artifact: com.microsoft.azure:azure-mgmt-network:1.41.4