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:
- 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 Args 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 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 Args 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
- 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
- @Public
- public
- Frontend
Mode Public - 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
- 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 publicIp1 resourceUriAsString
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0