IWithCreateAndSubnet Interface
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.
The stage of the public IP definition which contains all the minimum required inputs for the resource to be created (via WithCreate.create()), but also allows for any other optional settings to be specified, including adding subnets.
public interface IWithCreateAndSubnet : Microsoft.Azure.Management.Network.Fluent.Network.Definition.IWithCreate, Microsoft.Azure.Management.Network.Fluent.Network.Definition.IWithSubnet, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithTags<Microsoft.Azure.Management.Network.Fluent.Network.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Network.Fluent.INetwork>
type IWithCreateAndSubnet = interface
interface IWithCreate
interface ICreatable<INetwork>
interface IIndexable
interface IDefinitionWithTags<IWithCreate>
interface IWithDdosProtectionPlan
interface IWithVmProtection
interface IWithSubnet
Public Interface IWithCreateAndSubnet
Implements ICreatable(Of INetwork), IDefinitionWithTags(Of IWithCreate), IWithCreate, IWithSubnet
- Derived
- Implements
Properties
Key | (Inherited from IIndexable) |
Name |
Gets the name of the creatable resource. (Inherited from ICreatable<T>) |
Methods
Create() |
Execute the create request. (Inherited from ICreatable<T>) |
CreateAsync(CancellationToken, Boolean) |
Puts the request into the queue and allow the HTTP client to execute it when system resources are available. (Inherited from ICreatable<T>) |
DefineSubnet(String) |
Begins the definition of a new subnet to add to the virtual network. The definition must be completed with a call to Subnet.DefinitionStages.WithAttach.attach(). (Inherited from IWithSubnet) |
WithAddressSpace(String) |
Explicitly adds an address space to the virtual network. If 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. Note 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. (Inherited from IWithCreate) |
WithDnsServer(String) |
Specifies the IP address of an existing DNS server to associate with the virtual network. Note this method's effect is additive, i.e. each time it is used, a new dns server is added to the network. (Inherited from IWithCreate) |
WithExistingDdosProtectionPlan(String) |
Associates existing DDoS protection plan with the virtual network. (Inherited from IWithDdosProtectionPlan) |
WithNewDdosProtectionPlan() |
Creates a new DDoS protection plan in the same region and group as the virtual network and associates it with the resource. The internal name the DDoS protection plan will be derived from the resource's name. (Inherited from IWithDdosProtectionPlan) |
WithSubnet(String, String) |
Explicitly adds a subnet to the virtual network. If no subnets are explicitly specified, a default subnet called "subnet1" covering the entire first address space will be created. Note this method's effect is additive, i.e. each time it is used, a new subnet is added to the network. (Inherited from IWithSubnet) |
WithSubnets(IDictionary<String,String>) |
Explicitly defines subnets in the virtual network based on the provided map. (Inherited from IWithSubnet) |
WithTag(String, String) |
Adds a tag to the resource. (Inherited from IDefinitionWithTags<T>) |
WithTags(IDictionary<String,String>) |
Specifies tags for the resource as a {@link Map}. (Inherited from IDefinitionWithTags<T>) |
WithVmProtection() |
Enable VM protection for all the subnets in the virtual network. (Inherited from IWithVmProtection) |
Applies to
Azure SDK for .NET