
com.pulumi.azurenative.network.VirtualNetworkGateway Maven / Gradle / Ivy
// *** 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.VirtualNetworkGatewayArgs;
import com.pulumi.azurenative.network.outputs.AddressSpaceResponse;
import com.pulumi.azurenative.network.outputs.BgpSettingsResponse;
import com.pulumi.azurenative.network.outputs.ExtendedLocationResponse;
import com.pulumi.azurenative.network.outputs.SubResourceResponse;
import com.pulumi.azurenative.network.outputs.VirtualNetworkGatewayIPConfigurationResponse;
import com.pulumi.azurenative.network.outputs.VirtualNetworkGatewayNatRuleResponse;
import com.pulumi.azurenative.network.outputs.VirtualNetworkGatewayPolicyGroupResponse;
import com.pulumi.azurenative.network.outputs.VirtualNetworkGatewaySkuResponse;
import com.pulumi.azurenative.network.outputs.VpnClientConfigurationResponse;
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.String;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* A common class for general resource information.
* Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01.
*
* Other available API versions: 2016-06-01, 2016-09-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
* ### UpdateVirtualNetworkGateway
*
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azurenative.network.VirtualNetworkGateway;
* import com.pulumi.azurenative.network.VirtualNetworkGatewayArgs;
* import com.pulumi.azurenative.network.inputs.BgpSettingsArgs;
* import com.pulumi.azurenative.network.inputs.AddressSpaceArgs;
* import com.pulumi.azurenative.network.inputs.VirtualNetworkGatewayIPConfigurationArgs;
* import com.pulumi.azurenative.network.inputs.SubResourceArgs;
* import com.pulumi.azurenative.network.inputs.VirtualNetworkGatewayNatRuleArgs;
* import com.pulumi.azurenative.network.inputs.VirtualNetworkGatewaySkuArgs;
* import com.pulumi.azurenative.network.inputs.VpnClientConfigurationArgs;
* 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 virtualNetworkGateway = new VirtualNetworkGateway("virtualNetworkGateway", VirtualNetworkGatewayArgs.builder()
* .activeActive(false)
* .allowRemoteVnetTraffic(false)
* .allowVirtualWanTraffic(false)
* .bgpSettings(BgpSettingsArgs.builder()
* .asn(65515)
* .bgpPeeringAddress("10.0.1.30")
* .peerWeight(0)
* .build())
* .customRoutes(AddressSpaceArgs.builder()
* .addressPrefixes("101.168.0.6/32")
* .build())
* .disableIPSecReplayProtection(false)
* .enableBgp(false)
* .enableBgpRouteTranslationForNat(false)
* .enableDnsForwarding(true)
* .gatewayType("Vpn")
* .ipConfigurations(VirtualNetworkGatewayIPConfigurationArgs.builder()
* .name("gwipconfig1")
* .privateIPAllocationMethod("Dynamic")
* .publicIPAddress(SubResourceArgs.builder()
* .id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip")
* .build())
* .subnet(SubResourceArgs.builder()
* .id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet")
* .build())
* .build())
* .location("centralus")
* .natRules(
* VirtualNetworkGatewayNatRuleArgs.builder()
* .externalMappings(VpnNatRuleMappingArgs.builder()
* .addressSpace("50.0.0.0/24")
* .build())
* .id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1")
* .internalMappings(VpnNatRuleMappingArgs.builder()
* .addressSpace("10.10.0.0/24")
* .build())
* .ipConfigurationId("")
* .mode("EgressSnat")
* .name("natRule1")
* .type("Static")
* .build(),
* VirtualNetworkGatewayNatRuleArgs.builder()
* .externalMappings(VpnNatRuleMappingArgs.builder()
* .addressSpace("30.0.0.0/24")
* .build())
* .id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2")
* .internalMappings(VpnNatRuleMappingArgs.builder()
* .addressSpace("20.10.0.0/24")
* .build())
* .ipConfigurationId("")
* .mode("IngressSnat")
* .name("natRule2")
* .type("Static")
* .build())
* .resourceGroupName("rg1")
* .sku(VirtualNetworkGatewaySkuArgs.builder()
* .name("VpnGw1")
* .tier("VpnGw1")
* .build())
* .virtualNetworkGatewayName("vpngw")
* .vpnClientConfiguration(VpnClientConfigurationArgs.builder()
* .radiusServers(RadiusServerArgs.builder()
* .radiusServerAddress("10.2.0.0")
* .radiusServerScore(20)
* .radiusServerSecret("radiusServerSecret")
* .build())
* .vpnClientProtocols("OpenVPN")
* .vpnClientRevokedCertificates()
* .vpnClientRootCertificates()
* .build())
* .vpnType("RouteBased")
* .build());
*
* }
* }
*
* }
*
*
* ## Import
*
* An existing resource can be imported using its type token, name, and identifier, e.g.
*
* ```sh
* $ pulumi import azure-native:network:VirtualNetworkGateway vpngw /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}
* ```
*
*/
@ResourceType(type="azure-native:network:VirtualNetworkGateway")
public class VirtualNetworkGateway extends com.pulumi.resources.CustomResource {
/**
* ActiveActive flag.
*
*/
@Export(name="activeActive", refs={Boolean.class}, tree="[0]")
private Output* @Nullable */ Boolean> activeActive;
/**
* @return ActiveActive flag.
*
*/
public Output> activeActive() {
return Codegen.optional(this.activeActive);
}
/**
* Property to indicate if the Express Route Gateway serves traffic when there are multiple Express Route Gateways in the vnet
*
*/
@Export(name="adminState", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> adminState;
/**
* @return Property to indicate if the Express Route Gateway serves traffic when there are multiple Express Route Gateways in the vnet
*
*/
public Output> adminState() {
return Codegen.optional(this.adminState);
}
/**
* Configure this gateway to accept traffic from other Azure Virtual Networks. This configuration does not support connectivity to Azure Virtual WAN.
*
*/
@Export(name="allowRemoteVnetTraffic", refs={Boolean.class}, tree="[0]")
private Output* @Nullable */ Boolean> allowRemoteVnetTraffic;
/**
* @return Configure this gateway to accept traffic from other Azure Virtual Networks. This configuration does not support connectivity to Azure Virtual WAN.
*
*/
public Output> allowRemoteVnetTraffic() {
return Codegen.optional(this.allowRemoteVnetTraffic);
}
/**
* Configures this gateway to accept traffic from remote Virtual WAN networks.
*
*/
@Export(name="allowVirtualWanTraffic", refs={Boolean.class}, tree="[0]")
private Output* @Nullable */ Boolean> allowVirtualWanTraffic;
/**
* @return Configures this gateway to accept traffic from remote Virtual WAN networks.
*
*/
public Output> allowVirtualWanTraffic() {
return Codegen.optional(this.allowVirtualWanTraffic);
}
/**
* Virtual network gateway's BGP speaker settings.
*
*/
@Export(name="bgpSettings", refs={BgpSettingsResponse.class}, tree="[0]")
private Output* @Nullable */ BgpSettingsResponse> bgpSettings;
/**
* @return Virtual network gateway's BGP speaker settings.
*
*/
public Output> bgpSettings() {
return Codegen.optional(this.bgpSettings);
}
/**
* The reference to the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and VpnClient.
*
*/
@Export(name="customRoutes", refs={AddressSpaceResponse.class}, tree="[0]")
private Output* @Nullable */ AddressSpaceResponse> customRoutes;
/**
* @return The reference to the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and VpnClient.
*
*/
public Output> customRoutes() {
return Codegen.optional(this.customRoutes);
}
/**
* disableIPSecReplayProtection flag.
*
*/
@Export(name="disableIPSecReplayProtection", refs={Boolean.class}, tree="[0]")
private Output* @Nullable */ Boolean> disableIPSecReplayProtection;
/**
* @return disableIPSecReplayProtection flag.
*
*/
public Output> disableIPSecReplayProtection() {
return Codegen.optional(this.disableIPSecReplayProtection);
}
/**
* Whether BGP is enabled for this virtual network gateway or not.
*
*/
@Export(name="enableBgp", refs={Boolean.class}, tree="[0]")
private Output* @Nullable */ Boolean> enableBgp;
/**
* @return Whether BGP is enabled for this virtual network gateway or not.
*
*/
public Output> enableBgp() {
return Codegen.optional(this.enableBgp);
}
/**
* EnableBgpRouteTranslationForNat flag.
*
*/
@Export(name="enableBgpRouteTranslationForNat", refs={Boolean.class}, tree="[0]")
private Output* @Nullable */ Boolean> enableBgpRouteTranslationForNat;
/**
* @return EnableBgpRouteTranslationForNat flag.
*
*/
public Output> enableBgpRouteTranslationForNat() {
return Codegen.optional(this.enableBgpRouteTranslationForNat);
}
/**
* Whether dns forwarding is enabled or not.
*
*/
@Export(name="enableDnsForwarding", refs={Boolean.class}, tree="[0]")
private Output* @Nullable */ Boolean> enableDnsForwarding;
/**
* @return Whether dns forwarding is enabled or not.
*
*/
public Output> enableDnsForwarding() {
return Codegen.optional(this.enableDnsForwarding);
}
/**
* Whether private IP needs to be enabled on this gateway for connections or not.
*
*/
@Export(name="enablePrivateIpAddress", refs={Boolean.class}, tree="[0]")
private Output* @Nullable */ Boolean> enablePrivateIpAddress;
/**
* @return Whether private IP needs to be enabled on this gateway for connections or not.
*
*/
public Output> enablePrivateIpAddress() {
return Codegen.optional(this.enablePrivateIpAddress);
}
/**
* 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 type local virtual network gateway.
*
*/
@Export(name="extendedLocation", refs={ExtendedLocationResponse.class}, tree="[0]")
private Output* @Nullable */ ExtendedLocationResponse> extendedLocation;
/**
* @return The extended location of type local virtual network gateway.
*
*/
public Output> extendedLocation() {
return Codegen.optional(this.extendedLocation);
}
/**
* The reference to the LocalNetworkGateway resource which represents local network site having default routes. Assign Null value in case of removing existing default site setting.
*
*/
@Export(name="gatewayDefaultSite", refs={SubResourceResponse.class}, tree="[0]")
private Output* @Nullable */ SubResourceResponse> gatewayDefaultSite;
/**
* @return The reference to the LocalNetworkGateway resource which represents local network site having default routes. Assign Null value in case of removing existing default site setting.
*
*/
public Output> gatewayDefaultSite() {
return Codegen.optional(this.gatewayDefaultSite);
}
/**
* The type of this virtual network gateway.
*
*/
@Export(name="gatewayType", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> gatewayType;
/**
* @return The type of this virtual network gateway.
*
*/
public Output> gatewayType() {
return Codegen.optional(this.gatewayType);
}
/**
* The IP address allocated by the gateway to which dns requests can be sent.
*
*/
@Export(name="inboundDnsForwardingEndpoint", refs={String.class}, tree="[0]")
private Output inboundDnsForwardingEndpoint;
/**
* @return The IP address allocated by the gateway to which dns requests can be sent.
*
*/
public Output inboundDnsForwardingEndpoint() {
return this.inboundDnsForwardingEndpoint;
}
/**
* IP configurations for virtual network gateway.
*
*/
@Export(name="ipConfigurations", refs={List.class,VirtualNetworkGatewayIPConfigurationResponse.class}, tree="[0,1]")
private Output* @Nullable */ List> ipConfigurations;
/**
* @return IP configurations for virtual network gateway.
*
*/
public Output>> ipConfigurations() {
return Codegen.optional(this.ipConfigurations);
}
/**
* 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;
}
/**
* NatRules for virtual network gateway.
*
*/
@Export(name="natRules", refs={List.class,VirtualNetworkGatewayNatRuleResponse.class}, tree="[0,1]")
private Output* @Nullable */ List> natRules;
/**
* @return NatRules for virtual network gateway.
*
*/
public Output>> natRules() {
return Codegen.optional(this.natRules);
}
/**
* The provisioning state of the virtual network gateway resource.
*
*/
@Export(name="provisioningState", refs={String.class}, tree="[0]")
private Output provisioningState;
/**
* @return The provisioning state of the virtual network gateway resource.
*
*/
public Output provisioningState() {
return this.provisioningState;
}
/**
* The resource GUID property of the virtual network gateway resource.
*
*/
@Export(name="resourceGuid", refs={String.class}, tree="[0]")
private Output resourceGuid;
/**
* @return The resource GUID property of the virtual network gateway resource.
*
*/
public Output resourceGuid() {
return this.resourceGuid;
}
/**
* The reference to the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway.
*
*/
@Export(name="sku", refs={VirtualNetworkGatewaySkuResponse.class}, tree="[0]")
private Output* @Nullable */ VirtualNetworkGatewaySkuResponse> sku;
/**
* @return The reference to the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway.
*
*/
public Output> sku() {
return Codegen.optional(this.sku);
}
/**
* 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;
}
/**
* Customer vnet resource id. VirtualNetworkGateway of type local gateway is associated with the customer vnet.
*
*/
@Export(name="vNetExtendedLocationResourceId", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> vNetExtendedLocationResourceId;
/**
* @return Customer vnet resource id. VirtualNetworkGateway of type local gateway is associated with the customer vnet.
*
*/
public Output> vNetExtendedLocationResourceId() {
return Codegen.optional(this.vNetExtendedLocationResourceId);
}
/**
* The reference to the VirtualNetworkGatewayPolicyGroup resource which represents the available VirtualNetworkGatewayPolicyGroup for the gateway.
*
*/
@Export(name="virtualNetworkGatewayPolicyGroups", refs={List.class,VirtualNetworkGatewayPolicyGroupResponse.class}, tree="[0,1]")
private Output* @Nullable */ List> virtualNetworkGatewayPolicyGroups;
/**
* @return The reference to the VirtualNetworkGatewayPolicyGroup resource which represents the available VirtualNetworkGatewayPolicyGroup for the gateway.
*
*/
public Output>> virtualNetworkGatewayPolicyGroups() {
return Codegen.optional(this.virtualNetworkGatewayPolicyGroups);
}
/**
* The reference to the VpnClientConfiguration resource which represents the P2S VpnClient configurations.
*
*/
@Export(name="vpnClientConfiguration", refs={VpnClientConfigurationResponse.class}, tree="[0]")
private Output* @Nullable */ VpnClientConfigurationResponse> vpnClientConfiguration;
/**
* @return The reference to the VpnClientConfiguration resource which represents the P2S VpnClient configurations.
*
*/
public Output> vpnClientConfiguration() {
return Codegen.optional(this.vpnClientConfiguration);
}
/**
* The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN.
*
*/
@Export(name="vpnGatewayGeneration", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> vpnGatewayGeneration;
/**
* @return The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN.
*
*/
public Output> vpnGatewayGeneration() {
return Codegen.optional(this.vpnGatewayGeneration);
}
/**
* The type of this virtual network gateway.
*
*/
@Export(name="vpnType", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> vpnType;
/**
* @return The type of this virtual network gateway.
*
*/
public Output> vpnType() {
return Codegen.optional(this.vpnType);
}
/**
*
* @param name The _unique_ name of the resulting resource.
*/
public VirtualNetworkGateway(java.lang.String name) {
this(name, VirtualNetworkGatewayArgs.Empty);
}
/**
*
* @param name The _unique_ name of the resulting resource.
* @param args The arguments to use to populate this resource's properties.
*/
public VirtualNetworkGateway(java.lang.String name, VirtualNetworkGatewayArgs 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 VirtualNetworkGateway(java.lang.String name, VirtualNetworkGatewayArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("azure-native:network:VirtualNetworkGateway", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false);
}
private VirtualNetworkGateway(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("azure-native:network:VirtualNetworkGateway", name, null, makeResourceOptions(options, id), false);
}
private static VirtualNetworkGatewayArgs makeArgs(VirtualNetworkGatewayArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
if (options != null && options.getUrn().isPresent()) {
return null;
}
return args == null ? VirtualNetworkGatewayArgs.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/v20150615:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20160330:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20160601:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20160901:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20161201:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20170301:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20170601:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20170801:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20170901:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20171001:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20171101:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20180101:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20180201:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20180401:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20180601:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20180701:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20180801:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20181001:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20181101:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20181201:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20190201:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20190401:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20190601:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20190701:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20190801:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20190901:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20191101:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20191201:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20200301:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20200401:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20200501:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20200601:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20200701:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20200801:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20201101:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20210201:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20210301:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20210501:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20210801:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20220101:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20220501:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20220701:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20220901:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20221101:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20230201:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20230401:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20230501:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20230601:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20230901:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20231101:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20240101:VirtualNetworkGateway").build()),
Output.of(Alias.builder().type("azure-native:network/v20240301:VirtualNetworkGateway").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 VirtualNetworkGateway get(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
return new VirtualNetworkGateway(name, id, options);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy