com.pulumi.azurenative.network.VirtualNetworkGatewayConnection 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.VirtualNetworkGatewayConnectionArgs;
import com.pulumi.azurenative.network.outputs.GatewayCustomBgpIpAddressIpConfigurationResponse;
import com.pulumi.azurenative.network.outputs.IpsecPolicyResponse;
import com.pulumi.azurenative.network.outputs.LocalNetworkGatewayResponse;
import com.pulumi.azurenative.network.outputs.SubResourceResponse;
import com.pulumi.azurenative.network.outputs.TrafficSelectorPolicyResponse;
import com.pulumi.azurenative.network.outputs.TunnelConnectionHealthResponse;
import com.pulumi.azurenative.network.outputs.VirtualNetworkGatewayResponse;
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.Double;
import java.lang.Integer;
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, 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
* ### CreateVirtualNetworkGatewayConnection_S2S
*
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azurenative.network.VirtualNetworkGatewayConnection;
* import com.pulumi.azurenative.network.VirtualNetworkGatewayConnectionArgs;
* import com.pulumi.azurenative.network.inputs.SubResourceArgs;
* import com.pulumi.azurenative.network.inputs.GatewayCustomBgpIpAddressIpConfigurationArgs;
* import com.pulumi.azurenative.network.inputs.LocalNetworkGatewayArgs;
* import com.pulumi.azurenative.network.inputs.AddressSpaceArgs;
* import com.pulumi.azurenative.network.inputs.VirtualNetworkGatewayArgs;
* import com.pulumi.azurenative.network.inputs.BgpSettingsArgs;
* import com.pulumi.azurenative.network.inputs.VirtualNetworkGatewaySkuArgs;
* 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 virtualNetworkGatewayConnection = new VirtualNetworkGatewayConnection("virtualNetworkGatewayConnection", VirtualNetworkGatewayConnectionArgs.builder()
* .connectionMode("Default")
* .connectionProtocol("IKEv2")
* .connectionType("IPsec")
* .dpdTimeoutSeconds(30)
* .egressNatRules(SubResourceArgs.builder()
* .id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2")
* .build())
* .enableBgp(false)
* .gatewayCustomBgpIpAddresses(
* GatewayCustomBgpIpAddressIpConfigurationArgs.builder()
* .customBgpIpAddress("169.254.21.1")
* .ipConfigurationId("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/default")
* .build(),
* GatewayCustomBgpIpAddressIpConfigurationArgs.builder()
* .customBgpIpAddress("169.254.21.3")
* .ipConfigurationId("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/ActiveActive")
* .build())
* .ingressNatRules(SubResourceArgs.builder()
* .id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1")
* .build())
* .ipsecPolicies()
* .localNetworkGateway2(LocalNetworkGatewayArgs.builder()
* .gatewayIpAddress("x.x.x.x")
* .id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw")
* .localNetworkAddressSpace(AddressSpaceArgs.builder()
* .addressPrefixes("10.1.0.0/16")
* .build())
* .location("centralus")
* .tags()
* .build())
* .location("centralus")
* .resourceGroupName("rg1")
* .routingWeight(0)
* .sharedKey("Abc123")
* .trafficSelectorPolicies()
* .usePolicyBasedTrafficSelectors(false)
* .virtualNetworkGateway1(VirtualNetworkGatewayArgs.builder()
* .activeActive(false)
* .bgpSettings(BgpSettingsArgs.builder()
* .asn(65514)
* .bgpPeeringAddress("10.0.1.30")
* .peerWeight(0)
* .build())
* .enableBgp(false)
* .gatewayType("Vpn")
* .id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw")
* .ipConfigurations(VirtualNetworkGatewayIPConfigurationArgs.builder()
* .id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1")
* .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")
* .sku(VirtualNetworkGatewaySkuArgs.builder()
* .name("VpnGw1")
* .tier("VpnGw1")
* .build())
* .tags()
* .vpnType("RouteBased")
* .build())
* .virtualNetworkGatewayConnectionName("connS2S")
* .build());
*
* }
* }
*
* }
*
*
* ## Import
*
* An existing resource can be imported using its type token, name, and identifier, e.g.
*
* ```sh
* $ pulumi import azure-native:network:VirtualNetworkGatewayConnection connS2S /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}
* ```
*
*/
@ResourceType(type="azure-native:network:VirtualNetworkGatewayConnection")
public class VirtualNetworkGatewayConnection extends com.pulumi.resources.CustomResource {
/**
* The authorizationKey.
*
*/
@Export(name="authorizationKey", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> authorizationKey;
/**
* @return The authorizationKey.
*
*/
public Output> authorizationKey() {
return Codegen.optional(this.authorizationKey);
}
/**
* The connection mode for this connection.
*
*/
@Export(name="connectionMode", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> connectionMode;
/**
* @return The connection mode for this connection.
*
*/
public Output> connectionMode() {
return Codegen.optional(this.connectionMode);
}
/**
* Connection protocol used for this connection.
*
*/
@Export(name="connectionProtocol", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> connectionProtocol;
/**
* @return Connection protocol used for this connection.
*
*/
public Output> connectionProtocol() {
return Codegen.optional(this.connectionProtocol);
}
/**
* Virtual Network Gateway connection status.
*
*/
@Export(name="connectionStatus", refs={String.class}, tree="[0]")
private Output connectionStatus;
/**
* @return Virtual Network Gateway connection status.
*
*/
public Output connectionStatus() {
return this.connectionStatus;
}
/**
* Gateway connection type.
*
*/
@Export(name="connectionType", refs={String.class}, tree="[0]")
private Output connectionType;
/**
* @return Gateway connection type.
*
*/
public Output connectionType() {
return this.connectionType;
}
/**
* The dead peer detection timeout of this connection in seconds.
*
*/
@Export(name="dpdTimeoutSeconds", refs={Integer.class}, tree="[0]")
private Output* @Nullable */ Integer> dpdTimeoutSeconds;
/**
* @return The dead peer detection timeout of this connection in seconds.
*
*/
public Output> dpdTimeoutSeconds() {
return Codegen.optional(this.dpdTimeoutSeconds);
}
/**
* The egress bytes transferred in this connection.
*
*/
@Export(name="egressBytesTransferred", refs={Double.class}, tree="[0]")
private Output egressBytesTransferred;
/**
* @return The egress bytes transferred in this connection.
*
*/
public Output egressBytesTransferred() {
return this.egressBytesTransferred;
}
/**
* List of egress NatRules.
*
*/
@Export(name="egressNatRules", refs={List.class,SubResourceResponse.class}, tree="[0,1]")
private Output* @Nullable */ List> egressNatRules;
/**
* @return List of egress NatRules.
*
*/
public Output>> egressNatRules() {
return Codegen.optional(this.egressNatRules);
}
/**
* EnableBgp flag.
*
*/
@Export(name="enableBgp", refs={Boolean.class}, tree="[0]")
private Output* @Nullable */ Boolean> enableBgp;
/**
* @return EnableBgp flag.
*
*/
public Output> enableBgp() {
return Codegen.optional(this.enableBgp);
}
/**
* Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.
*
*/
@Export(name="enablePrivateLinkFastPath", refs={Boolean.class}, tree="[0]")
private Output* @Nullable */ Boolean> enablePrivateLinkFastPath;
/**
* @return Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.
*
*/
public Output> enablePrivateLinkFastPath() {
return Codegen.optional(this.enablePrivateLinkFastPath);
}
/**
* 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;
}
/**
* Bypass ExpressRoute Gateway for data forwarding.
*
*/
@Export(name="expressRouteGatewayBypass", refs={Boolean.class}, tree="[0]")
private Output* @Nullable */ Boolean> expressRouteGatewayBypass;
/**
* @return Bypass ExpressRoute Gateway for data forwarding.
*
*/
public Output> expressRouteGatewayBypass() {
return Codegen.optional(this.expressRouteGatewayBypass);
}
/**
* GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection.
*
*/
@Export(name="gatewayCustomBgpIpAddresses", refs={List.class,GatewayCustomBgpIpAddressIpConfigurationResponse.class}, tree="[0,1]")
private Output* @Nullable */ List> gatewayCustomBgpIpAddresses;
/**
* @return GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection.
*
*/
public Output>> gatewayCustomBgpIpAddresses() {
return Codegen.optional(this.gatewayCustomBgpIpAddresses);
}
/**
* The ingress bytes transferred in this connection.
*
*/
@Export(name="ingressBytesTransferred", refs={Double.class}, tree="[0]")
private Output ingressBytesTransferred;
/**
* @return The ingress bytes transferred in this connection.
*
*/
public Output ingressBytesTransferred() {
return this.ingressBytesTransferred;
}
/**
* List of ingress NatRules.
*
*/
@Export(name="ingressNatRules", refs={List.class,SubResourceResponse.class}, tree="[0,1]")
private Output* @Nullable */ List> ingressNatRules;
/**
* @return List of ingress NatRules.
*
*/
public Output>> ingressNatRules() {
return Codegen.optional(this.ingressNatRules);
}
/**
* The IPSec Policies to be considered by this connection.
*
*/
@Export(name="ipsecPolicies", refs={List.class,IpsecPolicyResponse.class}, tree="[0,1]")
private Output* @Nullable */ List> ipsecPolicies;
/**
* @return The IPSec Policies to be considered by this connection.
*
*/
public Output>> ipsecPolicies() {
return Codegen.optional(this.ipsecPolicies);
}
/**
* The reference to local network gateway resource.
*
*/
@Export(name="localNetworkGateway2", refs={LocalNetworkGatewayResponse.class}, tree="[0]")
private Output* @Nullable */ LocalNetworkGatewayResponse> localNetworkGateway2;
/**
* @return The reference to local network gateway resource.
*
*/
public Output> localNetworkGateway2() {
return Codegen.optional(this.localNetworkGateway2);
}
/**
* 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 reference to peerings resource.
*
*/
@Export(name="peer", refs={SubResourceResponse.class}, tree="[0]")
private Output* @Nullable */ SubResourceResponse> peer;
/**
* @return The reference to peerings resource.
*
*/
public Output> peer() {
return Codegen.optional(this.peer);
}
/**
* The provisioning state of the virtual network gateway connection resource.
*
*/
@Export(name="provisioningState", refs={String.class}, tree="[0]")
private Output provisioningState;
/**
* @return The provisioning state of the virtual network gateway connection resource.
*
*/
public Output provisioningState() {
return this.provisioningState;
}
/**
* The resource GUID property of the virtual network gateway connection resource.
*
*/
@Export(name="resourceGuid", refs={String.class}, tree="[0]")
private Output resourceGuid;
/**
* @return The resource GUID property of the virtual network gateway connection resource.
*
*/
public Output resourceGuid() {
return this.resourceGuid;
}
/**
* The routing weight.
*
*/
@Export(name="routingWeight", refs={Integer.class}, tree="[0]")
private Output* @Nullable */ Integer> routingWeight;
/**
* @return The routing weight.
*
*/
public Output> routingWeight() {
return Codegen.optional(this.routingWeight);
}
/**
* The IPSec shared key.
*
*/
@Export(name="sharedKey", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> sharedKey;
/**
* @return The IPSec shared key.
*
*/
public Output> sharedKey() {
return Codegen.optional(this.sharedKey);
}
/**
* 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);
}
/**
* The Traffic Selector Policies to be considered by this connection.
*
*/
@Export(name="trafficSelectorPolicies", refs={List.class,TrafficSelectorPolicyResponse.class}, tree="[0,1]")
private Output* @Nullable */ List> trafficSelectorPolicies;
/**
* @return The Traffic Selector Policies to be considered by this connection.
*
*/
public Output>> trafficSelectorPolicies() {
return Codegen.optional(this.trafficSelectorPolicies);
}
/**
* Collection of all tunnels' connection health status.
*
*/
@Export(name="tunnelConnectionStatus", refs={List.class,TunnelConnectionHealthResponse.class}, tree="[0,1]")
private Output> tunnelConnectionStatus;
/**
* @return Collection of all tunnels' connection health status.
*
*/
public Output> tunnelConnectionStatus() {
return this.tunnelConnectionStatus;
}
/**
* Resource type.
*
*/
@Export(name="type", refs={String.class}, tree="[0]")
private Output type;
/**
* @return Resource type.
*
*/
public Output type() {
return this.type;
}
/**
* Use private local Azure IP for the connection.
*
*/
@Export(name="useLocalAzureIpAddress", refs={Boolean.class}, tree="[0]")
private Output* @Nullable */ Boolean> useLocalAzureIpAddress;
/**
* @return Use private local Azure IP for the connection.
*
*/
public Output> useLocalAzureIpAddress() {
return Codegen.optional(this.useLocalAzureIpAddress);
}
/**
* Enable policy-based traffic selectors.
*
*/
@Export(name="usePolicyBasedTrafficSelectors", refs={Boolean.class}, tree="[0]")
private Output* @Nullable */ Boolean> usePolicyBasedTrafficSelectors;
/**
* @return Enable policy-based traffic selectors.
*
*/
public Output> usePolicyBasedTrafficSelectors() {
return Codegen.optional(this.usePolicyBasedTrafficSelectors);
}
/**
* The reference to virtual network gateway resource.
*
*/
@Export(name="virtualNetworkGateway1", refs={VirtualNetworkGatewayResponse.class}, tree="[0]")
private Output virtualNetworkGateway1;
/**
* @return The reference to virtual network gateway resource.
*
*/
public Output virtualNetworkGateway1() {
return this.virtualNetworkGateway1;
}
/**
* The reference to virtual network gateway resource.
*
*/
@Export(name="virtualNetworkGateway2", refs={VirtualNetworkGatewayResponse.class}, tree="[0]")
private Output* @Nullable */ VirtualNetworkGatewayResponse> virtualNetworkGateway2;
/**
* @return The reference to virtual network gateway resource.
*
*/
public Output> virtualNetworkGateway2() {
return Codegen.optional(this.virtualNetworkGateway2);
}
/**
*
* @param name The _unique_ name of the resulting resource.
*/
public VirtualNetworkGatewayConnection(java.lang.String name) {
this(name, VirtualNetworkGatewayConnectionArgs.Empty);
}
/**
*
* @param name The _unique_ name of the resulting resource.
* @param args The arguments to use to populate this resource's properties.
*/
public VirtualNetworkGatewayConnection(java.lang.String name, VirtualNetworkGatewayConnectionArgs 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 VirtualNetworkGatewayConnection(java.lang.String name, VirtualNetworkGatewayConnectionArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("azure-native:network:VirtualNetworkGatewayConnection", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false);
}
private VirtualNetworkGatewayConnection(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("azure-native:network:VirtualNetworkGatewayConnection", name, null, makeResourceOptions(options, id), false);
}
private static VirtualNetworkGatewayConnectionArgs makeArgs(VirtualNetworkGatewayConnectionArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
if (options != null && options.getUrn().isPresent()) {
return null;
}
return args == null ? VirtualNetworkGatewayConnectionArgs.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:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20160330:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20160601:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20160901:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20161201:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20170301:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20170601:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20170801:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20170901:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20171001:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20171101:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20180101:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20180201:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20180401:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20180601:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20180701:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20180801:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20181001:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20181101:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20181201:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20190201:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20190401:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20190601:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20190701:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20190801:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20190901:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20191101:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20191201:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20200301:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20200401:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20200501:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20200601:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20200701:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20200801:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20201101:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20210201:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20210301:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20210501:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20210801:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20220101:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20220501:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20220701:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20220901:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20221101:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20230201:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20230401:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20230501:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20230601:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20230901:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20231101:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20240101:VirtualNetworkGatewayConnection").build()),
Output.of(Alias.builder().type("azure-native:network/v20240301:VirtualNetworkGatewayConnection").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 VirtualNetworkGatewayConnection get(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
return new VirtualNetworkGatewayConnection(name, id, options);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy