azure-native.servicenetworking.FrontendsInterface

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 pulumi
import pulumi_azure_native as azure_native

frontends_interface = azure_native.servicenetworking.FrontendsInterface("frontendsInterface",
    frontend_name="publicIp1",
    ip_address_version=azure_native.servicenetworking.FrontendIPAddressVersion.I_PV4,
    location="West US",
    mode=azure_native.servicenetworking.FrontendMode.PUBLIC,
    public_ip_address=azure_native.servicenetworking.FrontendPropertiesIPAddressResponseArgs(
        id="resourceUriAsString",
    ),
    resource_group_name="rg1",
    traffic_controller_name="TC1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const frontendsInterface = new azure_native.servicenetworking.FrontendsInterface("frontendsInterface", {
    frontendName: "publicIp1",
    ipAddressVersion: azure_native.servicenetworking.FrontendIPAddressVersion.IPv4,
    location: "West US",
    mode: azure_native.servicenetworking.FrontendMode.Public,
    publicIPAddress: {
        id: "resourceUriAsString",
    },
    resourceGroupName: "rg1",
    trafficControllerName: "TC1",
});
resources:
  frontendsInterface:
    type: azure-native:servicenetworking:FrontendsInterface
    properties:
      frontendName: publicIp1
      ipAddressVersion: IPv4
      location: West US
      mode: public
      publicIPAddress:
        id: resourceUriAsString
      resourceGroupName: rg1
      trafficControllerName: TC1

Create FrontendsInterface Resource

new FrontendsInterface(name: string, args: FrontendsInterfaceArgs, opts?: CustomResourceOptions);
@overload
def FrontendsInterface(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       frontend_name: Optional[str] = None,
                       ip_address_version: Optional[FrontendIPAddressVersion] = None,
                       location: Optional[str] = None,
                       mode: Optional[FrontendMode] = None,
                       public_ip_address: Optional[FrontendPropertiesIPAddressArgs] = None,
                       resource_group_name: Optional[str] = None,
                       tags: Optional[Mapping[str, str]] = None,
                       traffic_controller_name: Optional[str] = None)
@overload
def FrontendsInterface(resource_name: str,
                       args: FrontendsInterfaceArgs,
                       opts: Optional[ResourceOptions] = None)
func NewFrontendsInterface(ctx *Context, name string, args FrontendsInterfaceArgs, opts ...ResourceOption) (*FrontendsInterface, error)
public FrontendsInterface(string name, FrontendsInterfaceArgs args, CustomResourceOptions? opts = null)
public FrontendsInterface(String name, FrontendsInterfaceArgs args)
public FrontendsInterface(String name, FrontendsInterfaceArgs args, CustomResourceOptions options)
type: azure-native:servicenetworking:FrontendsInterface
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args FrontendsInterfaceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args FrontendsInterfaceArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args FrontendsInterfaceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args FrontendsInterfaceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args FrontendsInterfaceArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

FrontendsInterface Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The FrontendsInterface resource accepts the following input properties:

ResourceGroupName string

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

TrafficControllerName string

traffic controller name for path

FrontendName string

Frontends

IpAddressVersion Pulumi.AzureNative.ServiceNetworking.FrontendIPAddressVersion

Frontend IP Address Version (Optional).

Location string

The geo-location where the resource lives

Mode Pulumi.AzureNative.ServiceNetworking.FrontendMode

Frontend Mode (Optional).

PublicIPAddress Pulumi.AzureNative.ServiceNetworking.Inputs.FrontendPropertiesIPAddressArgs

Frontend Public IP Address (Optional).

Tags Dictionary<string, string>

Resource tags.

ResourceGroupName string

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

TrafficControllerName string

traffic controller name for path

FrontendName string

Frontends

IpAddressVersion FrontendIPAddressVersion

Frontend IP Address Version (Optional).

Location string

The geo-location where the resource lives

Mode FrontendMode

Frontend Mode (Optional).

PublicIPAddress FrontendPropertiesIPAddressArgs

Frontend Public IP Address (Optional).

Tags map[string]string

Resource tags.

resourceGroupName String

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

trafficControllerName String

traffic controller name for path

frontendName String

Frontends

ipAddressVersion FrontendIPAddressVersion

Frontend IP Address Version (Optional).

location String

The geo-location where the resource lives

mode FrontendMode

Frontend Mode (Optional).

publicIPAddress FrontendPropertiesIPAddressArgs

Frontend Public IP Address (Optional).

tags Map<String,String>

Resource tags.

resourceGroupName string

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

trafficControllerName string

traffic controller name for path

frontendName string

Frontends

ipAddressVersion FrontendIPAddressVersion

Frontend IP Address Version (Optional).

location string

The geo-location where the resource lives

mode FrontendMode

Frontend Mode (Optional).

publicIPAddress FrontendPropertiesIPAddressArgs

Frontend Public IP Address (Optional).

tags {[key: string]: string}

Resource tags.

resource_group_name str

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

traffic_controller_name str

traffic controller name for path

frontend_name str

Frontends

ip_address_version FrontendIPAddressVersion

Frontend IP Address Version (Optional).

location str

The geo-location where the resource lives

mode FrontendMode

Frontend Mode (Optional).

public_ip_address FrontendPropertiesIPAddressArgs

Frontend Public IP Address (Optional).

tags Mapping[str, str]

Resource tags.

resourceGroupName String

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

trafficControllerName String

traffic controller name for path

frontendName String

Frontends

ipAddressVersion "IPv4" | "IPv6"

Frontend IP Address Version (Optional).

location String

The geo-location where the resource lives

mode "public"

Frontend Mode (Optional).

publicIPAddress Property Map

Frontend Public IP Address (Optional).

tags Map<String>

Resource tags.

Outputs

All input properties are implicitly available as output properties. Additionally, the FrontendsInterface resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the resource

ProvisioningState string

test doc

SystemData Pulumi.AzureNative.ServiceNetworking.Outputs.SystemDataResponse

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the resource

ProvisioningState string

test doc

SystemData SystemDataResponse

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the resource

provisioningState String

test doc

systemData SystemDataResponse

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

id string

The provider-assigned unique ID for this managed resource.

name string

The name of the resource

provisioningState string

test doc

systemData SystemDataResponse

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

id str

The provider-assigned unique ID for this managed resource.

name str

The name of the resource

provisioning_state str

test doc

system_data SystemDataResponse

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the resource

provisioningState String

test doc

systemData Property Map

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

FrontendIPAddressVersion

IPv4
IPv4
IPv6
IPv6
FrontendIPAddressVersionIPv4
IPv4
FrontendIPAddressVersionIPv6
IPv6
IPv4
IPv4
IPv6
IPv6
IPv4
IPv4
IPv6
IPv6
I_PV4
IPv4
I_PV6
IPv6
"IPv4"
IPv4
"IPv6"
IPv6

FrontendMode

@Public
public
FrontendModePublic
public
Public_
public
Public
public
PUBLIC
public
"public"
public

FrontendPropertiesIPAddress

Id string

IP Address.

Id string

IP Address.

id String

IP Address.

id string

IP Address.

id str

IP Address.

id String

IP Address.

FrontendPropertiesIPAddressResponse

Id string

IP Address.

Id string

IP Address.

id String

IP Address.

id string

IP Address.

id str

IP Address.

id String

IP Address.

SystemDataResponse

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

createdAt string

The timestamp of resource creation (UTC).

createdBy string

The identity that created the resource.

createdByType string

The type of identity that created the resource.

lastModifiedAt string

The timestamp of resource last modification (UTC)

lastModifiedBy string

The identity that last modified the resource.

lastModifiedByType string

The type of identity that last modified the resource.

created_at str

The timestamp of resource creation (UTC).

created_by str

The identity that created the resource.

created_by_type str

The type of identity that created the resource.

last_modified_at str

The timestamp of resource last modification (UTC)

last_modified_by str

The identity that last modified the resource.

last_modified_by_type str

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

Import

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

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

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0