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

51 строка
6.6 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.network.Network.DefinitionStages.WithCreate"
fullName: "com.microsoft.azure.management.network.Network.DefinitionStages.WithCreate"
name: "Network.DefinitionStages.WithCreate"
nameWithType: "Network.DefinitionStages.WithCreate"
summary: "The stage of the virtual network definition which contains all the minimum required inputs for the resource to be created, but also allows for any other optional settings to be specified, except for adding subnets."
syntax: "public static interface **Network.DefinitionStages.WithCreate**</br> extends <xref href=\"com.microsoft.azure.management.resources.fluentcore.model.Creatable?alt=com.microsoft.azure.management.resources.fluentcore.model.Creatable&text=Creatable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.network.Network?alt=com.microsoft.azure.management.network.Network&text=Network\" data-throw-if-not-resolved=\"False\" />&gt;, <xref href=\"com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithTags?alt=com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithTags&text=DefinitionWithTags\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.network.Network.DefinitionStages.WithCreate?alt=com.microsoft.azure.management.network.Network.DefinitionStages.WithCreate&text=WithCreate\" data-throw-if-not-resolved=\"False\" />&gt;, <xref href=\"com.microsoft.azure.management.network.Network.DefinitionStages.WithDdosProtectionPlan?alt=com.microsoft.azure.management.network.Network.DefinitionStages.WithDdosProtectionPlan&text=WithDdosProtectionPlan\" data-throw-if-not-resolved=\"False\" />, <xref href=\"com.microsoft.azure.management.network.Network.DefinitionStages.WithVmProtection?alt=com.microsoft.azure.management.network.Network.DefinitionStages.WithVmProtection&text=WithVmProtection\" data-throw-if-not-resolved=\"False\" />"
methods:
- uid: "com.microsoft.azure.management.network.Network.DefinitionStages.WithCreate.withAddressSpace(java.lang.String)"
fullName: "com.microsoft.azure.management.network.Network.DefinitionStages.WithCreate.withAddressSpace(String cidr)"
name: "withAddressSpace(String cidr)"
nameWithType: "Network.DefinitionStages.WithCreate.withAddressSpace(String cidr)"
summary: "Explicitly adds an address space to the virtual network."
modifiers:
- "abstract"
parameters:
- description: "the CIDR representation of the address space"
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 withAddressSpace(String cidr)"
desc: "Explicitly adds an address space to the virtual network.\n\nIf no address spaces are explicitly specified, a default address space with the CIDR \"10.0.0.0/16\" will be assigned to the virtual network.\n\nNote that this method's effect is additive, i.e. each time it is used, a new address space is added to the network. This method does not check for conflicts or overlaps with other address spaces. If there is a conflict, a cloud exception may be thrown at the time the network is created."
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.WithCreate.withDnsServer(java.lang.String)"
fullName: "com.microsoft.azure.management.network.Network.DefinitionStages.WithCreate.withDnsServer(String ipAddress)"
name: "withDnsServer(String ipAddress)"
nameWithType: "Network.DefinitionStages.WithCreate.withDnsServer(String ipAddress)"
summary: "Specifies the IP address of an existing DNS server to associate with the virtual network."
modifiers:
- "abstract"
parameters:
- description: "the IP address of the DNS server"
name: "ipAddress"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract Network.DefinitionStages.WithCreate withDnsServer(String ipAddress)"
desc: "Specifies the IP address of an existing DNS server to associate with the virtual network.\n\nNote this method's effect is additive, i.e. each time it is used, a new dns server is added to the network."
returns:
description: "the next stage of the definition"
type: "<xref href=\"com.microsoft.azure.management.network.Network.DefinitionStages.WithCreate?alt=com.microsoft.azure.management.network.Network.DefinitionStages.WithCreate&text=WithCreate\" data-throw-if-not-resolved=\"False\" />"
type: "interface"
desc: "The stage of the virtual network definition which contains all the minimum required inputs for the resource to be created, but also allows for any other optional settings to be specified, except for adding subnets.\n\nSubnets can be added only right after the address space is explicitly specified."
implements:
- "<xref href=\"com.microsoft.azure.management.network.Network.DefinitionStages.WithDdosProtectionPlan?alt=com.microsoft.azure.management.network.Network.DefinitionStages.WithDdosProtectionPlan&text=WithDdosProtectionPlan\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.management.network.Network.DefinitionStages.WithVmProtection?alt=com.microsoft.azure.management.network.Network.DefinitionStages.WithVmProtection&text=WithVmProtection\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithTags?alt=com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithTags&text=DefinitionWithTags\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.network.Network.DefinitionStages.WithCreate?alt=com.microsoft.azure.management.network.Network.DefinitionStages.WithCreate&text=WithCreate\" data-throw-if-not-resolved=\"False\" />&gt;"
- "<xref href=\"com.microsoft.azure.management.resources.fluentcore.model.Creatable?alt=com.microsoft.azure.management.resources.fluentcore.model.Creatable&text=Creatable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.network.Network?alt=com.microsoft.azure.management.network.Network&text=Network\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.microsoft.azure.management.network"
artifact: com.microsoft.azure:azure-mgmt-network:1.41.4