1. Packages
  2. Azure Native v1
  3. API Docs
  4. servicenetworking
  5. FrontendsInterface
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.servicenetworking.FrontendsInterface

Explore with Pulumi AI

These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

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

Example Usage

Put Frontend

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var frontendsInterface = new AzureNative.ServiceNetworking.FrontendsInterface("frontendsInterface", new()
    {
        FrontendName = "fe1",
        Location = "NorthCentralUS",
        ResourceGroupName = "rg1",
        TrafficControllerName = "tc1",
    });

});
Copy
package main

import (
	servicenetworking "github.com/pulumi/pulumi-azure-native-sdk/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("fe1"),
			Location:              pulumi.String("NorthCentralUS"),
			ResourceGroupName:     pulumi.String("rg1"),
			TrafficControllerName: pulumi.String("tc1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
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("fe1")
            .location("NorthCentralUS")
            .resourceGroupName("rg1")
            .trafficControllerName("tc1")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const frontendsInterface = new azure_native.servicenetworking.FrontendsInterface("frontendsInterface", {
    frontendName: "fe1",
    location: "NorthCentralUS",
    resourceGroupName: "rg1",
    trafficControllerName: "tc1",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

frontends_interface = azure_native.servicenetworking.FrontendsInterface("frontendsInterface",
    frontend_name="fe1",
    location="NorthCentralUS",
    resource_group_name="rg1",
    traffic_controller_name="tc1")
Copy
resources:
  frontendsInterface:
    type: azure-native:servicenetworking:FrontendsInterface
    properties:
      frontendName: fe1
      location: NorthCentralUS
      resourceGroupName: rg1
      trafficControllerName: tc1
Copy

Create FrontendsInterface Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new FrontendsInterface(name: string, args: FrontendsInterfaceArgs, opts?: CustomResourceOptions);
@overload
def FrontendsInterface(resource_name: str,
                       args: FrontendsInterfaceArgs,
                       opts: Optional[ResourceOptions] = None)

@overload
def FrontendsInterface(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       resource_group_name: Optional[str] = None,
                       traffic_controller_name: Optional[str] = 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,
                       tags: Optional[Mapping[str, str]] = 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.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. FrontendsInterfaceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. FrontendsInterfaceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. FrontendsInterfaceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. FrontendsInterfaceArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var frontendsInterfaceResource = new AzureNative.Servicenetworking.FrontendsInterface("frontendsInterfaceResource", new()
{
    ResourceGroupName = "string",
    TrafficControllerName = "string",
    FrontendName = "string",
    IpAddressVersion = "IPv4",
    Location = "string",
    Mode = "public",
    PublicIPAddress = 
    {
        { "id", "string" },
    },
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := servicenetworking.NewFrontendsInterface(ctx, "frontendsInterfaceResource", &servicenetworking.FrontendsInterfaceArgs{
	ResourceGroupName:     "string",
	TrafficControllerName: "string",
	FrontendName:          "string",
	IpAddressVersion:      "IPv4",
	Location:              "string",
	Mode:                  "public",
	PublicIPAddress: map[string]interface{}{
		"id": "string",
	},
	Tags: map[string]interface{}{
		"string": "string",
	},
})
Copy
var frontendsInterfaceResource = new FrontendsInterface("frontendsInterfaceResource", FrontendsInterfaceArgs.builder()
    .resourceGroupName("string")
    .trafficControllerName("string")
    .frontendName("string")
    .ipAddressVersion("IPv4")
    .location("string")
    .mode("public")
    .publicIPAddress(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .build());
Copy
frontends_interface_resource = azure_native.servicenetworking.FrontendsInterface("frontendsInterfaceResource",
    resource_group_name=string,
    traffic_controller_name=string,
    frontend_name=string,
    ip_address_version=IPv4,
    location=string,
    mode=public,
    public_ip_address={
        id: string,
    },
    tags={
        string: string,
    })
Copy
const frontendsInterfaceResource = new azure_native.servicenetworking.FrontendsInterface("frontendsInterfaceResource", {
    resourceGroupName: "string",
    trafficControllerName: "string",
    frontendName: "string",
    ipAddressVersion: "IPv4",
    location: "string",
    mode: "public",
    publicIPAddress: {
        id: "string",
    },
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:servicenetworking:FrontendsInterface
properties:
    frontendName: string
    ipAddressVersion: IPv4
    location: string
    mode: public
    publicIPAddress:
        id: string
    resourceGroupName: string
    tags:
        string: string
    trafficControllerName: string
Copy

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

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The FrontendsInterface resource accepts the following input properties:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
TrafficControllerName
This property is required.
Changes to this property will trigger replacement.
string
traffic controller name for path
FrontendName Changes to this property will trigger replacement. string
Frontends
IpAddressVersion Pulumi.AzureNative.ServiceNetworking.FrontendIPAddressVersion
Frontend IP Address Version (Optional).
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
Mode Pulumi.AzureNative.ServiceNetworking.FrontendMode
Frontend Mode (Optional).
PublicIPAddress Pulumi.AzureNative.ServiceNetworking.Inputs.FrontendPropertiesIPAddress
Frontend Public IP Address (Optional).
Tags Dictionary<string, string>
Resource tags.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
TrafficControllerName
This property is required.
Changes to this property will trigger replacement.
string
traffic controller name for path
FrontendName Changes to this property will trigger replacement. string
Frontends
IpAddressVersion FrontendIPAddressVersion
Frontend IP Address Version (Optional).
Location Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
trafficControllerName
This property is required.
Changes to this property will trigger replacement.
String
traffic controller name for path
frontendName Changes to this property will trigger replacement. String
Frontends
ipAddressVersion FrontendIPAddressVersion
Frontend IP Address Version (Optional).
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
mode FrontendMode
Frontend Mode (Optional).
publicIPAddress FrontendPropertiesIPAddress
Frontend Public IP Address (Optional).
tags Map<String,String>
Resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
trafficControllerName
This property is required.
Changes to this property will trigger replacement.
string
traffic controller name for path
frontendName Changes to this property will trigger replacement. string
Frontends
ipAddressVersion FrontendIPAddressVersion
Frontend IP Address Version (Optional).
location Changes to this property will trigger replacement. string
The geo-location where the resource lives
mode FrontendMode
Frontend Mode (Optional).
publicIPAddress FrontendPropertiesIPAddress
Frontend Public IP Address (Optional).
tags {[key: string]: string}
Resource tags.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
traffic_controller_name
This property is required.
Changes to this property will trigger replacement.
str
traffic controller name for path
frontend_name Changes to this property will trigger replacement. str
Frontends
ip_address_version FrontendIPAddressVersion
Frontend IP Address Version (Optional).
location Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
trafficControllerName
This property is required.
Changes to this property will trigger replacement.
String
traffic controller name for path
frontendName Changes to this property will trigger replacement. String
Frontends
ipAddressVersion "IPv4" | "IPv6"
Frontend IP Address Version (Optional).
location Changes to this property will trigger replacement. 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
, FrontendIPAddressVersionArgs

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
, FrontendModeArgs

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

FrontendPropertiesIPAddress
, FrontendPropertiesIPAddressArgs

Id This property is required. string
IP Address.
Id This property is required. string
IP Address.
id This property is required. String
IP Address.
id This property is required. string
IP Address.
id This property is required. str
IP Address.
id This property is required. String
IP Address.

FrontendPropertiesIPAddressResponse
, FrontendPropertiesIPAddressResponseArgs

Id This property is required. string
IP Address.
Id This property is required. string
IP Address.
id This property is required. String
IP Address.
id This property is required. string
IP Address.
id This property is required. str
IP Address.
id This property is required. String
IP Address.

SystemDataResponse
, SystemDataResponseArgs

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 fe1 /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v1 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi