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 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")
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",
});
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
The FrontendsInterface resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Traffic
Controller stringName - traffic controller name for path
- Frontend
Name string - Frontends
- Ip
Address 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).
- Public
IPAddress Pulumi.Azure Native. Service Networking. Inputs. Frontend Properties IPAddress - Frontend Public IP Address (Optional).
- Dictionary<string, string>
- Resource tags.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Traffic
Controller stringName - traffic controller name for path
- Frontend
Name string - Frontends
- Ip
Address FrontendVersion IPAddress Version - Frontend IP Address Version (Optional).
- Location string
- The geo-location where the resource lives
- Mode
Frontend
Mode - Frontend Mode (Optional).
- Public
IPAddress FrontendProperties IPAddress Args - Frontend Public IP Address (Optional).
- map[string]string
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- traffic
Controller StringName - traffic controller name for path
- frontend
Name String - Frontends
- ip
Address FrontendVersion IPAddress Version - Frontend IP Address Version (Optional).
- location String
- The geo-location where the resource lives
- mode
Frontend
Mode - Frontend Mode (Optional).
- public
IPAddress FrontendProperties IPAddress - Frontend Public IP Address (Optional).
- Map<String,String>
- Resource tags.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- traffic
Controller stringName - traffic controller name for path
- frontend
Name string - Frontends
- ip
Address FrontendVersion IPAddress Version - Frontend IP Address Version (Optional).
- location string
- The geo-location where the resource lives
- mode
Frontend
Mode - Frontend Mode (Optional).
- public
IPAddress 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
Frontend
Mode - Frontend Mode (Optional).
- public_
ip_ Frontendaddress Properties IPAddress Args - Frontend Public IP Address (Optional).
- Mapping[str, str]
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- traffic
Controller StringName - traffic controller name for path
- frontend
Name String - Frontends
- ip
Address "IPv4" | "IPv6"Version - Frontend IP Address Version (Optional).
- location String
- The geo-location where the resource lives
- mode "public"
- Frontend Mode (Optional).
- public
IPAddress 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
- Provisioning
State string - test doc
- System
Data 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
- Provisioning
State string - test doc
- System
Data 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
- provisioning
State String - test doc
- system
Data 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
- provisioning
State string - test doc
- system
Data 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
- provisioning
State String - test doc
- system
Data 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
- Frontend
IPAddress Version IPv4 - IPv4
- Frontend
IPAddress 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
- Frontend
Mode 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
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified 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