azure-native.servicenetworking.FrontendsInterface
Explore with Pulumi AI
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",
    });
});
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
	})
}
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());
    }
}
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",
});
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")
resources:
  frontendsInterface:
    type: azure-native:servicenetworking:FrontendsInterface
    properties:
      frontendName: fe1
      location: NorthCentralUS
      resourceGroupName: rg1
      trafficControllerName: tc1
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 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.
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" },
    },
});
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",
	},
})
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());
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,
    })
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",
    },
});
type: azure-native:servicenetworking:FrontendsInterface
properties:
    frontendName: string
    ipAddressVersion: IPv4
    location: string
    mode: public
    publicIPAddress:
        id: string
    resourceGroupName: string
    tags:
        string: string
    trafficControllerName: string
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:
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- TrafficController stringName 
- traffic controller name for path
- FrontendName string
- Frontends
- IpAddress Pulumi.Version Azure Native. Service Networking. Frontend IPAddress Version 
- Frontend IP Address Version (Optional).
- Location string
- The geo-location where the resource lives
- Mode
Pulumi.Azure Native. Service Networking. Frontend Mode 
- Frontend Mode (Optional).
- PublicIPAddress Pulumi.Azure Native. Service Networking. Inputs. Frontend Properties IPAddress 
- Frontend Public IP Address (Optional).
- Dictionary<string, string>
- Resource tags.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- TrafficController stringName 
- traffic controller name for path
- FrontendName string
- Frontends
- IpAddress FrontendVersion IPAddress Version 
- Frontend IP Address Version (Optional).
- Location string
- The geo-location where the resource lives
- Mode
FrontendMode 
- Frontend Mode (Optional).
- PublicIPAddress FrontendProperties IPAddress Args 
- Frontend Public IP Address (Optional).
- map[string]string
- Resource tags.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- trafficController StringName 
- traffic controller name for path
- frontendName String
- Frontends
- ipAddress FrontendVersion IPAddress Version 
- Frontend IP Address Version (Optional).
- location String
- The geo-location where the resource lives
- mode
FrontendMode 
- Frontend Mode (Optional).
- publicIPAddress FrontendProperties IPAddress 
- Frontend Public IP Address (Optional).
- Map<String,String>
- Resource tags.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- trafficController stringName 
- traffic controller name for path
- frontendName string
- Frontends
- ipAddress FrontendVersion IPAddress Version 
- Frontend IP Address Version (Optional).
- location string
- The geo-location where the resource lives
- mode
FrontendMode 
- Frontend Mode (Optional).
- publicIPAddress FrontendProperties IPAddress 
- Frontend Public IP Address (Optional).
- {[key: string]: string}
- Resource tags.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- traffic_controller_ strname 
- traffic controller name for path
- frontend_name str
- Frontends
- ip_address_ Frontendversion IPAddress Version 
- Frontend IP Address Version (Optional).
- location str
- The geo-location where the resource lives
- mode
FrontendMode 
- Frontend Mode (Optional).
- public_ip_ Frontendaddress Properties IPAddress Args 
- Frontend Public IP Address (Optional).
- Mapping[str, str]
- Resource tags.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- trafficController StringName 
- traffic controller name for path
- frontendName String
- Frontends
- ipAddress "IPv4" | "IPv6"Version 
- 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).
- 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.Azure Native. Service Networking. Outputs. System Data Response 
- 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 SystemData Response 
- 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 SystemData Response 
- 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 SystemData Response 
- 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 SystemData Response 
- 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
- FrontendIPAddress Version IPv4 
- IPv4
- FrontendIPAddress Version IPv6 
- IPv6
- IPv4
- IPv4
- IPv6
- IPv6
- IPv4
- IPv4
- IPv6
- IPv6
- I_PV4
- IPv4
- I_PV6
- IPv6
- "IPv4"
- IPv4
- "IPv6"
- IPv6
FrontendMode, FrontendModeArgs    
- @Public
- public
- FrontendMode Public 
- public
- Public_
- public
- Public
- public
- PUBLIC
- public
- "public"
- public
FrontendPropertiesIPAddress, FrontendPropertiesIPAddressArgs      
- 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, FrontendPropertiesIPAddressResponseArgs        
- 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, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- 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_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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 
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