IDefinition 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 entirety of the virtual network definition.
public interface IDefinition : Microsoft.Azure.Management.Network.Fluent.Network.Definition.IBlank, Microsoft.Azure.Management.Network.Fluent.Network.Definition.IWithCreateAndSubnet, Microsoft.Azure.Management.Network.Fluent.Network.Definition.IWithGroup, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithCreatableResourceGroup<Microsoft.Azure.Management.Network.Fluent.Network.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithExistingResourceGroup<Microsoft.Azure.Management.Network.Fluent.Network.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithGroup<Microsoft.Azure.Management.Network.Fluent.Network.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithNewResourceGroup<Microsoft.Azure.Management.Network.Fluent.Network.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithRegion<Microsoft.Azure.Management.Network.Fluent.Network.Definition.IWithGroup>, 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 IDefinition = interface
interface IBlank
interface IDefinitionWithRegion<IWithGroup>
interface IWithGroup
interface IWithGroup<IWithCreate>
interface IWithExistingResourceGroup<IWithCreate>
interface IWithNewResourceGroup<IWithCreate>
interface IWithCreatableResourceGroup<IWithCreate>
interface IWithSubnet
interface IWithCreate
interface ICreatable<INetwork>
interface IIndexable
interface IDefinitionWithTags<IWithCreate>
interface IWithDdosProtectionPlan
interface IWithVmProtection
interface IWithCreateAndSubnet
Public Interface IDefinition
Implements IBlank, ICreatable(Of INetwork), IDefinitionWithRegion(Of IWithGroup), IDefinitionWithTags(Of IWithCreate), IWithCreatableResourceGroup(Of IWithCreate), IWithCreateAndSubnet, IWithExistingResourceGroup(Of IWithCreate), IWithGroup, IWithGroup(Of IWithCreate), IWithNewResourceGroup(Of IWithCreate)
- Implements
-
IBlank IWithCreate IWithCreateAndSubnet IWithDdosProtectionPlan IWithGroup IWithSubnet IWithVmProtection IWithCreatableResourceGroup<IWithCreate> IWithCreatableResourceGroup<T> IWithExistingResourceGroup<IWithCreate> IWithExistingResourceGroup<T> IWithGroup<IWithCreate> IWithNewResourceGroup<IWithCreate> IWithNewResourceGroup<T> IDefinitionWithRegion<IWithGroup> IDefinitionWithTags<IWithCreate> ICreatable<INetwork> IIndexable
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) |
WithExistingResourceGroup(IResourceGroup) |
Associates the resource with an existing resource group. (Inherited from IWithExistingResourceGroup<T>) |
WithExistingResourceGroup(String) |
Associates the resource with an existing resource group. (Inherited from IWithExistingResourceGroup<T>) |
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) |
WithNewResourceGroup() | (Inherited from IWithNewResourceGroup<T>) |
WithNewResourceGroup(ICreatable<IResourceGroup>) |
Creates a new resource group to put the resource in, based on the definition specified. (Inherited from IWithCreatableResourceGroup<T>) |
WithNewResourceGroup(String) | (Inherited from IWithNewResourceGroup<T>) |
WithRegion(Region) |
Specifies the region for the resource. (Inherited from IDefinitionWithRegion<T>) |
WithRegion(String) |
Specifies the region for the resource by name. (Inherited from IDefinitionWithRegion<T>) |
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) |