FrontendsInterfaceArgs

data class FrontendsInterfaceArgs(val frontendName: Output<String>? = null, val ipAddressVersion: Output<FrontendIPAddressVersion>? = null, val location: Output<String>? = null, val mode: Output<FrontendMode>? = null, val publicIPAddress: Output<FrontendPropertiesIPAddressArgs>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val trafficControllerName: Output<String>? = null) : ConvertibleToJava<FrontendsInterfaceArgs>

Frontend Subresource of Traffic Controller. API Version: 2022-10-01-preview.

Example Usage

Put Frontend

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var frontendsInterface = new AzureNative.ServiceNetworking.FrontendsInterface("frontendsInterface", new()
{
FrontendName = "publicIp1",
IpAddressVersion = AzureNative.ServiceNetworking.FrontendIPAddressVersion.IPv4,
Location = "West US",
Mode = AzureNative.ServiceNetworking.FrontendMode.@Public,
PublicIPAddress = new AzureNative.ServiceNetworking.Inputs.FrontendPropertiesIPAddressArgs
{
Id = "resourceUriAsString",
},
ResourceGroupName = "rg1",
TrafficControllerName = "TC1",
});
});
package main
import (
servicenetworking "github.com/pulumi/pulumi-azure-native/sdk/go/azure/servicenetworking"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := servicenetworking.NewFrontendsInterface(ctx, "frontendsInterface", &servicenetworking.FrontendsInterfaceArgs{
FrontendName: pulumi.String("publicIp1"),
IpAddressVersion: servicenetworking.FrontendIPAddressVersionIPv4,
Location: pulumi.String("West US"),
Mode: servicenetworking.FrontendModePublic,
PublicIPAddress: servicenetworking.FrontendPropertiesIPAddressResponse{
Id: pulumi.String("resourceUriAsString"),
},
ResourceGroupName: pulumi.String("rg1"),
TrafficControllerName: pulumi.String("TC1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.servicenetworking.FrontendsInterface;
import com.pulumi.azurenative.servicenetworking.FrontendsInterfaceArgs;
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 frontendsInterface = new FrontendsInterface("frontendsInterface", FrontendsInterfaceArgs.builder()
.frontendName("publicIp1")
.ipAddressVersion("IPv4")
.location("West US")
.mode("public")
.publicIPAddress(Map.of("id", "resourceUriAsString"))
.resourceGroupName("rg1")
.trafficControllerName("TC1")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:servicenetworking:FrontendsInterface publicIp1 resourceUriAsString

Constructors

Link copied to clipboard
fun FrontendsInterfaceArgs(frontendName: Output<String>? = null, ipAddressVersion: Output<FrontendIPAddressVersion>? = null, location: Output<String>? = null, mode: Output<FrontendMode>? = null, publicIPAddress: Output<FrontendPropertiesIPAddressArgs>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null, trafficControllerName: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): FrontendsInterfaceArgs

Properties

Link copied to clipboard
val frontendName: Output<String>? = null

Frontends

Link copied to clipboard

Frontend IP Address Version (Optional).

Link copied to clipboard
val location: Output<String>? = null

The geo-location where the resource lives

Link copied to clipboard
val mode: Output<FrontendMode>? = null

Frontend Mode (Optional).

Link copied to clipboard

Frontend Public IP Address (Optional).

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group. The name is case insensitive.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Resource tags.

Link copied to clipboard
val trafficControllerName: Output<String>? = null

traffic controller name for path