com.pulumi.azurenative.network.VirtualNetwork Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.network;
import com.pulumi.azurenative.Utilities;
import com.pulumi.azurenative.network.VirtualNetworkArgs;
import com.pulumi.azurenative.network.outputs.AddressSpaceResponse;
import com.pulumi.azurenative.network.outputs.DhcpOptionsResponse;
import com.pulumi.azurenative.network.outputs.ExtendedLocationResponse;
import com.pulumi.azurenative.network.outputs.FlowLogResponse;
import com.pulumi.azurenative.network.outputs.SubResourceResponse;
import com.pulumi.azurenative.network.outputs.SubnetResponse;
import com.pulumi.azurenative.network.outputs.VirtualNetworkBgpCommunitiesResponse;
import com.pulumi.azurenative.network.outputs.VirtualNetworkEncryptionResponse;
import com.pulumi.azurenative.network.outputs.VirtualNetworkPeeringResponse;
import com.pulumi.core.Alias;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* Virtual Network resource.
* Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01.
*
* Other available API versions: 2015-05-01-preview, 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01.
*
* ## Example Usage
* ### Create virtual network
*
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azurenative.network.VirtualNetwork;
* import com.pulumi.azurenative.network.VirtualNetworkArgs;
* import com.pulumi.azurenative.network.inputs.AddressSpaceArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* var virtualNetwork = new VirtualNetwork("virtualNetwork", VirtualNetworkArgs.builder()
* .addressSpace(AddressSpaceArgs.builder()
* .addressPrefixes("10.0.0.0/16")
* .build())
* .flowTimeoutInMinutes(10)
* .location("eastus")
* .resourceGroupName("rg1")
* .virtualNetworkName("test-vnet")
* .build());
*
* }
* }
*
* }
*
* ### Create virtual network with Bgp Communities
*
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azurenative.network.VirtualNetwork;
* import com.pulumi.azurenative.network.VirtualNetworkArgs;
* import com.pulumi.azurenative.network.inputs.AddressSpaceArgs;
* import com.pulumi.azurenative.network.inputs.VirtualNetworkBgpCommunitiesArgs;
* import com.pulumi.azurenative.network.inputs.SubnetArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* var virtualNetwork = new VirtualNetwork("virtualNetwork", VirtualNetworkArgs.builder()
* .addressSpace(AddressSpaceArgs.builder()
* .addressPrefixes("10.0.0.0/16")
* .build())
* .bgpCommunities(VirtualNetworkBgpCommunitiesArgs.builder()
* .virtualNetworkCommunity("12076:20000")
* .build())
* .location("eastus")
* .resourceGroupName("rg1")
* .subnets(SubnetArgs.builder()
* .addressPrefix("10.0.0.0/24")
* .name("test-1")
* .build())
* .virtualNetworkName("test-vnet")
* .build());
*
* }
* }
*
* }
*
* ### Create virtual network with delegated subnets
*
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azurenative.network.VirtualNetwork;
* import com.pulumi.azurenative.network.VirtualNetworkArgs;
* import com.pulumi.azurenative.network.inputs.AddressSpaceArgs;
* import com.pulumi.azurenative.network.inputs.SubnetArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* var virtualNetwork = new VirtualNetwork("virtualNetwork", VirtualNetworkArgs.builder()
* .addressSpace(AddressSpaceArgs.builder()
* .addressPrefixes("10.0.0.0/16")
* .build())
* .location("westcentralus")
* .resourceGroupName("rg1")
* .subnets(SubnetArgs.builder()
* .addressPrefix("10.0.0.0/24")
* .delegations(DelegationArgs.builder()
* .name("myDelegation")
* .serviceName("Microsoft.Sql/managedInstances")
* .build())
* .name("test-1")
* .build())
* .virtualNetworkName("test-vnet")
* .build());
*
* }
* }
*
* }
*
* ### Create virtual network with encryption
*
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azurenative.network.VirtualNetwork;
* import com.pulumi.azurenative.network.VirtualNetworkArgs;
* import com.pulumi.azurenative.network.inputs.AddressSpaceArgs;
* import com.pulumi.azurenative.network.inputs.VirtualNetworkEncryptionArgs;
* import com.pulumi.azurenative.network.inputs.SubnetArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* var virtualNetwork = new VirtualNetwork("virtualNetwork", VirtualNetworkArgs.builder()
* .addressSpace(AddressSpaceArgs.builder()
* .addressPrefixes("10.0.0.0/16")
* .build())
* .encryption(VirtualNetworkEncryptionArgs.builder()
* .enabled(true)
* .enforcement("AllowUnencrypted")
* .build())
* .location("eastus")
* .resourceGroupName("rg1")
* .subnets(SubnetArgs.builder()
* .addressPrefix("10.0.0.0/24")
* .name("test-1")
* .build())
* .virtualNetworkName("test-vnet")
* .build());
*
* }
* }
*
* }
*
* ### Create virtual network with service endpoints
*
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azurenative.network.VirtualNetwork;
* import com.pulumi.azurenative.network.VirtualNetworkArgs;
* import com.pulumi.azurenative.network.inputs.AddressSpaceArgs;
* import com.pulumi.azurenative.network.inputs.SubnetArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* var virtualNetwork = new VirtualNetwork("virtualNetwork", VirtualNetworkArgs.builder()
* .addressSpace(AddressSpaceArgs.builder()
* .addressPrefixes("10.0.0.0/16")
* .build())
* .location("eastus")
* .resourceGroupName("vnetTest")
* .subnets(SubnetArgs.builder()
* .addressPrefix("10.0.0.0/16")
* .name("test-1")
* .serviceEndpoints(ServiceEndpointPropertiesFormatArgs.builder()
* .service("Microsoft.Storage")
* .build())
* .build())
* .virtualNetworkName("vnet1")
* .build());
*
* }
* }
*
* }
*
* ### Create virtual network with service endpoints and service endpoint policy
*
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azurenative.network.VirtualNetwork;
* import com.pulumi.azurenative.network.VirtualNetworkArgs;
* import com.pulumi.azurenative.network.inputs.AddressSpaceArgs;
* import com.pulumi.azurenative.network.inputs.SubnetArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* var virtualNetwork = new VirtualNetwork("virtualNetwork", VirtualNetworkArgs.builder()
* .addressSpace(AddressSpaceArgs.builder()
* .addressPrefixes("10.0.0.0/16")
* .build())
* .location("eastus2euap")
* .resourceGroupName("vnetTest")
* .subnets(SubnetArgs.builder()
* .addressPrefix("10.0.0.0/16")
* .name("test-1")
* .serviceEndpointPolicies(ServiceEndpointPolicyArgs.builder()
* .id("/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/serviceEndpointPolicies/ServiceEndpointPolicy1")
* .build())
* .serviceEndpoints(ServiceEndpointPropertiesFormatArgs.builder()
* .service("Microsoft.Storage")
* .build())
* .build())
* .virtualNetworkName("vnet1")
* .build());
*
* }
* }
*
* }
*
* ### Create virtual network with subnet
*
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azurenative.network.VirtualNetwork;
* import com.pulumi.azurenative.network.VirtualNetworkArgs;
* import com.pulumi.azurenative.network.inputs.AddressSpaceArgs;
* import com.pulumi.azurenative.network.inputs.SubnetArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* var virtualNetwork = new VirtualNetwork("virtualNetwork", VirtualNetworkArgs.builder()
* .addressSpace(AddressSpaceArgs.builder()
* .addressPrefixes("10.0.0.0/16")
* .build())
* .location("eastus")
* .resourceGroupName("rg1")
* .subnets(SubnetArgs.builder()
* .addressPrefix("10.0.0.0/24")
* .name("test-1")
* .build())
* .virtualNetworkName("test-vnet")
* .build());
*
* }
* }
*
* }
*
* ### Create virtual network with subnet containing address prefixes
*
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azurenative.network.VirtualNetwork;
* import com.pulumi.azurenative.network.VirtualNetworkArgs;
* import com.pulumi.azurenative.network.inputs.AddressSpaceArgs;
* import com.pulumi.azurenative.network.inputs.SubnetArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* var virtualNetwork = new VirtualNetwork("virtualNetwork", VirtualNetworkArgs.builder()
* .addressSpace(AddressSpaceArgs.builder()
* .addressPrefixes("10.0.0.0/16")
* .build())
* .location("eastus")
* .resourceGroupName("rg1")
* .subnets(SubnetArgs.builder()
* .addressPrefixes(
* "10.0.0.0/28",
* "10.0.1.0/28")
* .name("test-2")
* .build())
* .virtualNetworkName("test-vnet")
* .build());
*
* }
* }
*
* }
*
*
* ## Import
*
* An existing resource can be imported using its type token, name, and identifier, e.g.
*
* ```sh
* $ pulumi import azure-native:network:VirtualNetwork test-vnet /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}
* ```
*
*/
@ResourceType(type="azure-native:network:VirtualNetwork")
public class VirtualNetwork extends com.pulumi.resources.CustomResource {
/**
* The AddressSpace that contains an array of IP address ranges that can be used by subnets.
*
*/
@Export(name="addressSpace", refs={AddressSpaceResponse.class}, tree="[0]")
private Output* @Nullable */ AddressSpaceResponse> addressSpace;
/**
* @return The AddressSpace that contains an array of IP address ranges that can be used by subnets.
*
*/
public Output> addressSpace() {
return Codegen.optional(this.addressSpace);
}
/**
* Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
*
*/
@Export(name="bgpCommunities", refs={VirtualNetworkBgpCommunitiesResponse.class}, tree="[0]")
private Output* @Nullable */ VirtualNetworkBgpCommunitiesResponse> bgpCommunities;
/**
* @return Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
*
*/
public Output> bgpCommunities() {
return Codegen.optional(this.bgpCommunities);
}
/**
* The DDoS protection plan associated with the virtual network.
*
*/
@Export(name="ddosProtectionPlan", refs={SubResourceResponse.class}, tree="[0]")
private Output* @Nullable */ SubResourceResponse> ddosProtectionPlan;
/**
* @return The DDoS protection plan associated with the virtual network.
*
*/
public Output> ddosProtectionPlan() {
return Codegen.optional(this.ddosProtectionPlan);
}
/**
* The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network.
*
*/
@Export(name="dhcpOptions", refs={DhcpOptionsResponse.class}, tree="[0]")
private Output* @Nullable */ DhcpOptionsResponse> dhcpOptions;
/**
* @return The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network.
*
*/
public Output> dhcpOptions() {
return Codegen.optional(this.dhcpOptions);
}
/**
* Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource.
*
*/
@Export(name="enableDdosProtection", refs={Boolean.class}, tree="[0]")
private Output* @Nullable */ Boolean> enableDdosProtection;
/**
* @return Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource.
*
*/
public Output> enableDdosProtection() {
return Codegen.optional(this.enableDdosProtection);
}
/**
* Indicates if VM protection is enabled for all the subnets in the virtual network.
*
*/
@Export(name="enableVmProtection", refs={Boolean.class}, tree="[0]")
private Output* @Nullable */ Boolean> enableVmProtection;
/**
* @return Indicates if VM protection is enabled for all the subnets in the virtual network.
*
*/
public Output> enableVmProtection() {
return Codegen.optional(this.enableVmProtection);
}
/**
* Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
*
*/
@Export(name="encryption", refs={VirtualNetworkEncryptionResponse.class}, tree="[0]")
private Output* @Nullable */ VirtualNetworkEncryptionResponse> encryption;
/**
* @return Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
*
*/
public Output> encryption() {
return Codegen.optional(this.encryption);
}
/**
* A unique read-only string that changes whenever the resource is updated.
*
*/
@Export(name="etag", refs={String.class}, tree="[0]")
private Output etag;
/**
* @return A unique read-only string that changes whenever the resource is updated.
*
*/
public Output etag() {
return this.etag;
}
/**
* The extended location of the virtual network.
*
*/
@Export(name="extendedLocation", refs={ExtendedLocationResponse.class}, tree="[0]")
private Output* @Nullable */ ExtendedLocationResponse> extendedLocation;
/**
* @return The extended location of the virtual network.
*
*/
public Output> extendedLocation() {
return Codegen.optional(this.extendedLocation);
}
/**
* A collection of references to flow log resources.
*
*/
@Export(name="flowLogs", refs={List.class,FlowLogResponse.class}, tree="[0,1]")
private Output> flowLogs;
/**
* @return A collection of references to flow log resources.
*
*/
public Output> flowLogs() {
return this.flowLogs;
}
/**
* The FlowTimeout value (in minutes) for the Virtual Network
*
*/
@Export(name="flowTimeoutInMinutes", refs={Integer.class}, tree="[0]")
private Output* @Nullable */ Integer> flowTimeoutInMinutes;
/**
* @return The FlowTimeout value (in minutes) for the Virtual Network
*
*/
public Output> flowTimeoutInMinutes() {
return Codegen.optional(this.flowTimeoutInMinutes);
}
/**
* Array of IpAllocation which reference this VNET.
*
*/
@Export(name="ipAllocations", refs={List.class,SubResourceResponse.class}, tree="[0,1]")
private Output* @Nullable */ List> ipAllocations;
/**
* @return Array of IpAllocation which reference this VNET.
*
*/
public Output>> ipAllocations() {
return Codegen.optional(this.ipAllocations);
}
/**
* Resource location.
*
*/
@Export(name="location", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> location;
/**
* @return Resource location.
*
*/
public Output> location() {
return Codegen.optional(this.location);
}
/**
* Resource name.
*
*/
@Export(name="name", refs={String.class}, tree="[0]")
private Output name;
/**
* @return Resource name.
*
*/
public Output name() {
return this.name;
}
/**
* The provisioning state of the virtual network resource.
*
*/
@Export(name="provisioningState", refs={String.class}, tree="[0]")
private Output provisioningState;
/**
* @return The provisioning state of the virtual network resource.
*
*/
public Output provisioningState() {
return this.provisioningState;
}
/**
* The resourceGuid property of the Virtual Network resource.
*
*/
@Export(name="resourceGuid", refs={String.class}, tree="[0]")
private Output resourceGuid;
/**
* @return The resourceGuid property of the Virtual Network resource.
*
*/
public Output resourceGuid() {
return this.resourceGuid;
}
/**
* A list of subnets in a Virtual Network.
*
*/
@Export(name="subnets", refs={List.class,SubnetResponse.class}, tree="[0,1]")
private Output* @Nullable */ List> subnets;
/**
* @return A list of subnets in a Virtual Network.
*
*/
public Output>> subnets() {
return Codegen.optional(this.subnets);
}
/**
* Resource tags.
*
*/
@Export(name="tags", refs={Map.class,String.class}, tree="[0,1,1]")
private Output* @Nullable */ Map> tags;
/**
* @return Resource tags.
*
*/
public Output>> tags() {
return Codegen.optional(this.tags);
}
/**
* Resource type.
*
*/
@Export(name="type", refs={String.class}, tree="[0]")
private Output type;
/**
* @return Resource type.
*
*/
public Output type() {
return this.type;
}
/**
* A list of peerings in a Virtual Network.
*
*/
@Export(name="virtualNetworkPeerings", refs={List.class,VirtualNetworkPeeringResponse.class}, tree="[0,1]")
private Output* @Nullable */ List> virtualNetworkPeerings;
/**
* @return A list of peerings in a Virtual Network.
*
*/
public Output>> virtualNetworkPeerings() {
return Codegen.optional(this.virtualNetworkPeerings);
}
/**
*
* @param name The _unique_ name of the resulting resource.
*/
public VirtualNetwork(java.lang.String name) {
this(name, VirtualNetworkArgs.Empty);
}
/**
*
* @param name The _unique_ name of the resulting resource.
* @param args The arguments to use to populate this resource's properties.
*/
public VirtualNetwork(java.lang.String name, VirtualNetworkArgs args) {
this(name, args, null);
}
/**
*
* @param name The _unique_ name of the resulting resource.
* @param args The arguments to use to populate this resource's properties.
* @param options A bag of options that control this resource's behavior.
*/
public VirtualNetwork(java.lang.String name, VirtualNetworkArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("azure-native:network:VirtualNetwork", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false);
}
private VirtualNetwork(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("azure-native:network:VirtualNetwork", name, null, makeResourceOptions(options, id), false);
}
private static VirtualNetworkArgs makeArgs(VirtualNetworkArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
if (options != null && options.getUrn().isPresent()) {
return null;
}
return args == null ? VirtualNetworkArgs.Empty : args;
}
private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) {
var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder()
.version(Utilities.getVersion())
.aliases(List.of(
Output.of(Alias.builder().type("azure-native:network/v20150501preview:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20150615:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20160330:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20160601:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20160901:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20161201:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20170301:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20170601:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20170801:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20170901:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20171001:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20171101:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20180101:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20180201:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20180401:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20180601:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20180701:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20180801:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20181001:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20181101:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20181201:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20190201:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20190401:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20190601:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20190701:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20190801:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20190901:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20191101:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20191201:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20200301:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20200401:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20200501:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20200601:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20200701:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20200801:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20201101:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20210201:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20210301:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20210501:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20210801:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20220101:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20220501:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20220701:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20220901:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20221101:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20230201:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20230401:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20230501:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20230601:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20230901:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20231101:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20240101:VirtualNetwork").build()),
Output.of(Alias.builder().type("azure-native:network/v20240301:VirtualNetwork").build())
))
.build();
return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id);
}
/**
* Get an existing Host resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param options Optional settings to control the behavior of the CustomResource.
*/
public static VirtualNetwork get(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
return new VirtualNetwork(name, id, options);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy