azure-native.hybridnetwork.NetworkFunction
Explore with Pulumi AI
Network function resource response. API Version: 2020-01-01-preview.
Example Usage
Create network function resource
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var networkFunction = new AzureNative.HybridNetwork.NetworkFunction("networkFunction", new()
{
Device = new AzureNative.HybridNetwork.Inputs.SubResourceArgs
{
Id = "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/devices/testDevice",
},
Location = "eastus",
ManagedApplicationParameters = null,
NetworkFunctionName = "testNf",
NetworkFunctionUserConfigurations = new[]
{
new AzureNative.HybridNetwork.Inputs.NetworkFunctionUserConfigurationArgs
{
NetworkInterfaces = new[]
{
new AzureNative.HybridNetwork.Inputs.NetworkInterfaceArgs
{
IpConfigurations = new[]
{
new AzureNative.HybridNetwork.Inputs.NetworkInterfaceIPConfigurationArgs
{
Gateway = "",
IpAddress = "",
IpAllocationMethod = "Dynamic",
IpVersion = "IPv4",
Subnet = "",
},
},
MacAddress = "",
NetworkInterfaceName = "nic1",
VmSwitchType = "Management",
},
new AzureNative.HybridNetwork.Inputs.NetworkInterfaceArgs
{
IpConfigurations = new[]
{
new AzureNative.HybridNetwork.Inputs.NetworkInterfaceIPConfigurationArgs
{
Gateway = "",
IpAddress = "",
IpAllocationMethod = "Dynamic",
IpVersion = "IPv4",
Subnet = "",
},
},
MacAddress = "DC-97-F8-79-16-7D",
NetworkInterfaceName = "nic2",
VmSwitchType = "Wan",
},
},
RoleName = "testRole",
UserDataParameters = null,
},
},
ResourceGroupName = "rg",
SkuName = "testSku",
VendorName = "testVendor",
});
});
package main
import (
hybridnetwork "github.com/pulumi/pulumi-azure-native-sdk/hybridnetwork"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hybridnetwork.NewNetworkFunction(ctx, "networkFunction", &hybridnetwork.NetworkFunctionArgs{
Device: &hybridnetwork.SubResourceArgs{
Id: pulumi.String("/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/devices/testDevice"),
},
Location: pulumi.String("eastus"),
ManagedApplicationParameters: nil,
NetworkFunctionName: pulumi.String("testNf"),
NetworkFunctionUserConfigurations: []hybridnetwork.NetworkFunctionUserConfigurationArgs{
{
NetworkInterfaces: hybridnetwork.NetworkInterfaceArray{
{
IpConfigurations: hybridnetwork.NetworkInterfaceIPConfigurationArray{
{
Gateway: pulumi.String(""),
IpAddress: pulumi.String(""),
IpAllocationMethod: pulumi.String("Dynamic"),
IpVersion: pulumi.String("IPv4"),
Subnet: pulumi.String(""),
},
},
MacAddress: pulumi.String(""),
NetworkInterfaceName: pulumi.String("nic1"),
VmSwitchType: pulumi.String("Management"),
},
{
IpConfigurations: hybridnetwork.NetworkInterfaceIPConfigurationArray{
{
Gateway: pulumi.String(""),
IpAddress: pulumi.String(""),
IpAllocationMethod: pulumi.String("Dynamic"),
IpVersion: pulumi.String("IPv4"),
Subnet: pulumi.String(""),
},
},
MacAddress: pulumi.String("DC-97-F8-79-16-7D"),
NetworkInterfaceName: pulumi.String("nic2"),
VmSwitchType: pulumi.String("Wan"),
},
},
RoleName: pulumi.String("testRole"),
UserDataParameters: nil,
},
},
ResourceGroupName: pulumi.String("rg"),
SkuName: pulumi.String("testSku"),
VendorName: pulumi.String("testVendor"),
})
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.hybridnetwork.NetworkFunction;
import com.pulumi.azurenative.hybridnetwork.NetworkFunctionArgs;
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 networkFunction = new NetworkFunction("networkFunction", NetworkFunctionArgs.builder()
.device(Map.of("id", "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/devices/testDevice"))
.location("eastus")
.managedApplicationParameters()
.networkFunctionName("testNf")
.networkFunctionUserConfigurations(Map.ofEntries(
Map.entry("networkInterfaces",
Map.ofEntries(
Map.entry("ipConfigurations", Map.ofEntries(
Map.entry("gateway", ""),
Map.entry("ipAddress", ""),
Map.entry("ipAllocationMethod", "Dynamic"),
Map.entry("ipVersion", "IPv4"),
Map.entry("subnet", "")
)),
Map.entry("macAddress", ""),
Map.entry("networkInterfaceName", "nic1"),
Map.entry("vmSwitchType", "Management")
),
Map.ofEntries(
Map.entry("ipConfigurations", Map.ofEntries(
Map.entry("gateway", ""),
Map.entry("ipAddress", ""),
Map.entry("ipAllocationMethod", "Dynamic"),
Map.entry("ipVersion", "IPv4"),
Map.entry("subnet", "")
)),
Map.entry("macAddress", "DC-97-F8-79-16-7D"),
Map.entry("networkInterfaceName", "nic2"),
Map.entry("vmSwitchType", "Wan")
)),
Map.entry("roleName", "testRole"),
Map.entry("userDataParameters", )
))
.resourceGroupName("rg")
.skuName("testSku")
.vendorName("testVendor")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
network_function = azure_native.hybridnetwork.NetworkFunction("networkFunction",
device=azure_native.hybridnetwork.SubResourceArgs(
id="/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/devices/testDevice",
),
location="eastus",
managed_application_parameters={},
network_function_name="testNf",
network_function_user_configurations=[{
"networkInterfaces": [
{
"ipConfigurations": [azure_native.hybridnetwork.NetworkInterfaceIPConfigurationArgs(
gateway="",
ip_address="",
ip_allocation_method="Dynamic",
ip_version="IPv4",
subnet="",
)],
"macAddress": "",
"networkInterfaceName": "nic1",
"vmSwitchType": "Management",
},
{
"ipConfigurations": [azure_native.hybridnetwork.NetworkInterfaceIPConfigurationArgs(
gateway="",
ip_address="",
ip_allocation_method="Dynamic",
ip_version="IPv4",
subnet="",
)],
"macAddress": "DC-97-F8-79-16-7D",
"networkInterfaceName": "nic2",
"vmSwitchType": "Wan",
},
],
"roleName": "testRole",
"userDataParameters": {},
}],
resource_group_name="rg",
sku_name="testSku",
vendor_name="testVendor")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const networkFunction = new azure_native.hybridnetwork.NetworkFunction("networkFunction", {
device: {
id: "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/devices/testDevice",
},
location: "eastus",
managedApplicationParameters: {},
networkFunctionName: "testNf",
networkFunctionUserConfigurations: [{
networkInterfaces: [
{
ipConfigurations: [{
gateway: "",
ipAddress: "",
ipAllocationMethod: "Dynamic",
ipVersion: "IPv4",
subnet: "",
}],
macAddress: "",
networkInterfaceName: "nic1",
vmSwitchType: "Management",
},
{
ipConfigurations: [{
gateway: "",
ipAddress: "",
ipAllocationMethod: "Dynamic",
ipVersion: "IPv4",
subnet: "",
}],
macAddress: "DC-97-F8-79-16-7D",
networkInterfaceName: "nic2",
vmSwitchType: "Wan",
},
],
roleName: "testRole",
userDataParameters: {},
}],
resourceGroupName: "rg",
skuName: "testSku",
vendorName: "testVendor",
});
resources:
networkFunction:
type: azure-native:hybridnetwork:NetworkFunction
properties:
device:
id: /subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/devices/testDevice
location: eastus
managedApplicationParameters: {}
networkFunctionName: testNf
networkFunctionUserConfigurations:
- networkInterfaces:
- ipConfigurations:
- gateway:
ipAddress:
ipAllocationMethod: Dynamic
ipVersion: IPv4
subnet:
macAddress:
networkInterfaceName: nic1
vmSwitchType: Management
- ipConfigurations:
- gateway:
ipAddress:
ipAllocationMethod: Dynamic
ipVersion: IPv4
subnet:
macAddress: DC-97-F8-79-16-7D
networkInterfaceName: nic2
vmSwitchType: Wan
roleName: testRole
userDataParameters: {}
resourceGroupName: rg
skuName: testSku
vendorName: testVendor
Create NetworkFunction Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NetworkFunction(name: string, args: NetworkFunctionArgs, opts?: CustomResourceOptions);
@overload
def NetworkFunction(resource_name: str,
args: NetworkFunctionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NetworkFunction(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
device: Optional[SubResourceArgs] = None,
location: Optional[str] = None,
managed_application_parameters: Optional[Any] = None,
network_function_name: Optional[str] = None,
network_function_user_configurations: Optional[Sequence[NetworkFunctionUserConfigurationArgs]] = None,
sku_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
vendor_name: Optional[str] = None)
func NewNetworkFunction(ctx *Context, name string, args NetworkFunctionArgs, opts ...ResourceOption) (*NetworkFunction, error)
public NetworkFunction(string name, NetworkFunctionArgs args, CustomResourceOptions? opts = null)
public NetworkFunction(String name, NetworkFunctionArgs args)
public NetworkFunction(String name, NetworkFunctionArgs args, CustomResourceOptions options)
type: azure-native:hybridnetwork:NetworkFunction
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 NetworkFunctionArgs
- 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 NetworkFunctionArgs
- 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 NetworkFunctionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NetworkFunctionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NetworkFunctionArgs
- 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 networkFunctionResource = new AzureNative.Hybridnetwork.NetworkFunction("networkFunctionResource", new()
{
ResourceGroupName = "string",
Device =
{
{ "id", "string" },
},
Location = "string",
ManagedApplicationParameters = "any",
NetworkFunctionName = "string",
NetworkFunctionUserConfigurations = new[]
{
{
{ "networkInterfaces", new[]
{
{
{ "ipConfigurations", new[]
{
{
{ "dnsServers", new[]
{
"string",
} },
{ "gateway", "string" },
{ "ipAddress", "string" },
{ "ipAllocationMethod", "string" },
{ "ipVersion", "string" },
{ "subnet", "string" },
},
} },
{ "macAddress", "string" },
{ "networkInterfaceName", "string" },
{ "vmSwitchType", "string" },
},
} },
{ "osProfile",
{
{ "customData", "string" },
} },
{ "roleName", "string" },
{ "userDataParameters", "any" },
},
},
SkuName = "string",
Tags =
{
{ "string", "string" },
},
VendorName = "string",
});
example, err := hybridnetwork.NewNetworkFunction(ctx, "networkFunctionResource", &hybridnetwork.NetworkFunctionArgs{
ResourceGroupName: "string",
Device: map[string]interface{}{
"id": "string",
},
Location: "string",
ManagedApplicationParameters: "any",
NetworkFunctionName: "string",
NetworkFunctionUserConfigurations: []map[string]interface{}{
map[string]interface{}{
"networkInterfaces": []map[string]interface{}{
map[string]interface{}{
"ipConfigurations": []map[string]interface{}{
map[string]interface{}{
"dnsServers": []string{
"string",
},
"gateway": "string",
"ipAddress": "string",
"ipAllocationMethod": "string",
"ipVersion": "string",
"subnet": "string",
},
},
"macAddress": "string",
"networkInterfaceName": "string",
"vmSwitchType": "string",
},
},
"osProfile": map[string]interface{}{
"customData": "string",
},
"roleName": "string",
"userDataParameters": "any",
},
},
SkuName: "string",
Tags: map[string]interface{}{
"string": "string",
},
VendorName: "string",
})
var networkFunctionResource = new NetworkFunction("networkFunctionResource", NetworkFunctionArgs.builder()
.resourceGroupName("string")
.device(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.location("string")
.managedApplicationParameters("any")
.networkFunctionName("string")
.networkFunctionUserConfigurations(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.skuName("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.vendorName("string")
.build());
network_function_resource = azure_native.hybridnetwork.NetworkFunction("networkFunctionResource",
resource_group_name=string,
device={
id: string,
},
location=string,
managed_application_parameters=any,
network_function_name=string,
network_function_user_configurations=[{
networkInterfaces: [{
ipConfigurations: [{
dnsServers: [string],
gateway: string,
ipAddress: string,
ipAllocationMethod: string,
ipVersion: string,
subnet: string,
}],
macAddress: string,
networkInterfaceName: string,
vmSwitchType: string,
}],
osProfile: {
customData: string,
},
roleName: string,
userDataParameters: any,
}],
sku_name=string,
tags={
string: string,
},
vendor_name=string)
const networkFunctionResource = new azure_native.hybridnetwork.NetworkFunction("networkFunctionResource", {
resourceGroupName: "string",
device: {
id: "string",
},
location: "string",
managedApplicationParameters: "any",
networkFunctionName: "string",
networkFunctionUserConfigurations: [{
networkInterfaces: [{
ipConfigurations: [{
dnsServers: ["string"],
gateway: "string",
ipAddress: "string",
ipAllocationMethod: "string",
ipVersion: "string",
subnet: "string",
}],
macAddress: "string",
networkInterfaceName: "string",
vmSwitchType: "string",
}],
osProfile: {
customData: "string",
},
roleName: "string",
userDataParameters: "any",
}],
skuName: "string",
tags: {
string: "string",
},
vendorName: "string",
});
type: azure-native:hybridnetwork:NetworkFunction
properties:
device:
id: string
location: string
managedApplicationParameters: any
networkFunctionName: string
networkFunctionUserConfigurations:
- networkInterfaces:
- ipConfigurations:
- dnsServers:
- string
gateway: string
ipAddress: string
ipAllocationMethod: string
ipVersion: string
subnet: string
macAddress: string
networkInterfaceName: string
vmSwitchType: string
osProfile:
customData: string
roleName: string
userDataParameters: any
resourceGroupName: string
skuName: string
tags:
string: string
vendorName: string
NetworkFunction 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 NetworkFunction resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Device
Pulumi.
Azure Native. Hybrid Network. Inputs. Sub Resource - The reference to the device resource.
- Location string
- The geo-location where the resource lives
- Managed
Application objectParameters - The parameters for the managed application.
- Network
Function stringName - Resource name for the network function resource.
- Network
Function List<Pulumi.User Configurations Azure Native. Hybrid Network. Inputs. Network Function User Configuration> - The network function configurations from the user.
- Sku
Name string - The sku name for the network function.
- Dictionary<string, string>
- Resource tags.
- Vendor
Name string - The vendor name for the network function.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Device
Sub
Resource Args - The reference to the device resource.
- Location string
- The geo-location where the resource lives
- Managed
Application interface{}Parameters - The parameters for the managed application.
- Network
Function stringName - Resource name for the network function resource.
- Network
Function []NetworkUser Configurations Function User Configuration Args - The network function configurations from the user.
- Sku
Name string - The sku name for the network function.
- map[string]string
- Resource tags.
- Vendor
Name string - The vendor name for the network function.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- device
Sub
Resource - The reference to the device resource.
- location String
- The geo-location where the resource lives
- managed
Application ObjectParameters - The parameters for the managed application.
- network
Function StringName - Resource name for the network function resource.
- network
Function List<NetworkUser Configurations Function User Configuration> - The network function configurations from the user.
- sku
Name String - The sku name for the network function.
- Map<String,String>
- Resource tags.
- vendor
Name String - The vendor name for the network function.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- device
Sub
Resource - The reference to the device resource.
- location string
- The geo-location where the resource lives
- managed
Application anyParameters - The parameters for the managed application.
- network
Function stringName - Resource name for the network function resource.
- network
Function NetworkUser Configurations Function User Configuration[] - The network function configurations from the user.
- sku
Name string - The sku name for the network function.
- {[key: string]: string}
- Resource tags.
- vendor
Name string - The vendor name for the network function.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- device
Sub
Resource Args - The reference to the device resource.
- location str
- The geo-location where the resource lives
- managed_
application_ Anyparameters - The parameters for the managed application.
- network_
function_ strname - Resource name for the network function resource.
- network_
function_ Sequence[Networkuser_ configurations Function User Configuration Args] - The network function configurations from the user.
- sku_
name str - The sku name for the network function.
- Mapping[str, str]
- Resource tags.
- vendor_
name str - The vendor name for the network function.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- device Property Map
- The reference to the device resource.
- location String
- The geo-location where the resource lives
- managed
Application AnyParameters - The parameters for the managed application.
- network
Function StringName - Resource name for the network function resource.
- network
Function List<Property Map>User Configurations - The network function configurations from the user.
- sku
Name String - The sku name for the network function.
- Map<String>
- Resource tags.
- vendor
Name String - The vendor name for the network function.
Outputs
All input properties are implicitly available as output properties. Additionally, the NetworkFunction resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Managed
Application Pulumi.Azure Native. Hybrid Network. Outputs. Sub Resource Response - The resource URI of the managed application.
- Name string
- The name of the resource
- Provisioning
State string - The provisioning state of the network function resource.
- Service
Key string - The service key for the network function resource.
- Sku
Type string - The sku type for the network function.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Vendor
Provisioning stringState - The vendor provisioning state for the network function resource.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Managed
Application SubResource Response - The resource URI of the managed application.
- Name string
- The name of the resource
- Provisioning
State string - The provisioning state of the network function resource.
- Service
Key string - The service key for the network function resource.
- Sku
Type string - The sku type for the network function.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Vendor
Provisioning stringState - The vendor provisioning state for the network function resource.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- managed
Application SubResource Response - The resource URI of the managed application.
- name String
- The name of the resource
- provisioning
State String - The provisioning state of the network function resource.
- service
Key String - The service key for the network function resource.
- sku
Type String - The sku type for the network function.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- vendor
Provisioning StringState - The vendor provisioning state for the network function resource.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id string
- The provider-assigned unique ID for this managed resource.
- managed
Application SubResource Response - The resource URI of the managed application.
- name string
- The name of the resource
- provisioning
State string - The provisioning state of the network function resource.
- service
Key string - The service key for the network function resource.
- sku
Type string - The sku type for the network function.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- vendor
Provisioning stringState - The vendor provisioning state for the network function resource.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- id str
- The provider-assigned unique ID for this managed resource.
- managed_
application SubResource Response - The resource URI of the managed application.
- name str
- The name of the resource
- provisioning_
state str - The provisioning state of the network function resource.
- service_
key str - The service key for the network function resource.
- sku_
type str - The sku type for the network function.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- vendor_
provisioning_ strstate - The vendor provisioning state for the network function resource.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- managed
Application Property Map - The resource URI of the managed application.
- name String
- The name of the resource
- provisioning
State String - The provisioning state of the network function resource.
- service
Key String - The service key for the network function resource.
- sku
Type String - The sku type for the network function.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- vendor
Provisioning StringState - The vendor provisioning state for the network function resource.
- etag String
- A unique read-only string that changes whenever the resource is updated.
Supporting Types
IPAllocationMethod, IPAllocationMethodArgs
- Unknown
- Unknown
- Static
- Static
- Dynamic
- Dynamic
- IPAllocation
Method Unknown - Unknown
- IPAllocation
Method Static - Static
- IPAllocation
Method Dynamic - Dynamic
- Unknown
- Unknown
- Static
- Static
- Dynamic
- Dynamic
- Unknown
- Unknown
- Static
- Static
- Dynamic
- Dynamic
- UNKNOWN
- Unknown
- STATIC
- Static
- DYNAMIC
- Dynamic
- "Unknown"
- Unknown
- "Static"
- Static
- "Dynamic"
- Dynamic
IPVersion, IPVersionArgs
- Unknown
- Unknown
- IPv4
- IPv4
- IPVersion
Unknown - Unknown
- IPVersion
IPv4 - IPv4
- Unknown
- Unknown
- IPv4
- IPv4
- Unknown
- Unknown
- IPv4
- IPv4
- UNKNOWN
- Unknown
- I_PV4
- IPv4
- "Unknown"
- Unknown
- "IPv4"
- IPv4
NetworkFunctionUserConfiguration, NetworkFunctionUserConfigurationArgs
- Network
Interfaces List<Pulumi.Azure Native. Hybrid Network. Inputs. Network Interface> - The network interface configuration.
- Os
Profile Pulumi.Azure Native. Hybrid Network. Inputs. Network Function User Configuration Os Profile - Specifies the operating system settings for the role instance.
- Role
Name string - The name of the network function role.
- User
Data objectParameters - The user data parameters from the customer.
- Network
Interfaces []NetworkInterface - The network interface configuration.
- Os
Profile NetworkFunction User Configuration Os Profile - Specifies the operating system settings for the role instance.
- Role
Name string - The name of the network function role.
- User
Data interface{}Parameters - The user data parameters from the customer.
- network
Interfaces List<NetworkInterface> - The network interface configuration.
- os
Profile NetworkFunction User Configuration Os Profile - Specifies the operating system settings for the role instance.
- role
Name String - The name of the network function role.
- user
Data ObjectParameters - The user data parameters from the customer.
- network
Interfaces NetworkInterface[] - The network interface configuration.
- os
Profile NetworkFunction User Configuration Os Profile - Specifies the operating system settings for the role instance.
- role
Name string - The name of the network function role.
- user
Data anyParameters - The user data parameters from the customer.
- network_
interfaces Sequence[NetworkInterface] - The network interface configuration.
- os_
profile NetworkFunction User Configuration Os Profile - Specifies the operating system settings for the role instance.
- role_
name str - The name of the network function role.
- user_
data_ Anyparameters - The user data parameters from the customer.
- network
Interfaces List<Property Map> - The network interface configuration.
- os
Profile Property Map - Specifies the operating system settings for the role instance.
- role
Name String - The name of the network function role.
- user
Data AnyParameters - The user data parameters from the customer.
NetworkFunctionUserConfigurationOsProfile, NetworkFunctionUserConfigurationOsProfileArgs
- Custom
Data string - Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes. Note: Do not pass any secrets or passwords in customData property This property cannot be updated after the VM is created. customData is passed to the VM to be saved as a file. For more information see Custom Data on Azure VMs For using cloud-init for your Linux VM, see Using cloud-init to customize a Linux VM during creation
- Custom
Data string - Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes. Note: Do not pass any secrets or passwords in customData property This property cannot be updated after the VM is created. customData is passed to the VM to be saved as a file. For more information see Custom Data on Azure VMs For using cloud-init for your Linux VM, see Using cloud-init to customize a Linux VM during creation
- custom
Data String - Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes. Note: Do not pass any secrets or passwords in customData property This property cannot be updated after the VM is created. customData is passed to the VM to be saved as a file. For more information see Custom Data on Azure VMs For using cloud-init for your Linux VM, see Using cloud-init to customize a Linux VM during creation
- custom
Data string - Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes. Note: Do not pass any secrets or passwords in customData property This property cannot be updated after the VM is created. customData is passed to the VM to be saved as a file. For more information see Custom Data on Azure VMs For using cloud-init for your Linux VM, see Using cloud-init to customize a Linux VM during creation
- custom_
data str - Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes. Note: Do not pass any secrets or passwords in customData property This property cannot be updated after the VM is created. customData is passed to the VM to be saved as a file. For more information see Custom Data on Azure VMs For using cloud-init for your Linux VM, see Using cloud-init to customize a Linux VM during creation
- custom
Data String - Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes. Note: Do not pass any secrets or passwords in customData property This property cannot be updated after the VM is created. customData is passed to the VM to be saved as a file. For more information see Custom Data on Azure VMs For using cloud-init for your Linux VM, see Using cloud-init to customize a Linux VM during creation
NetworkFunctionUserConfigurationResponse, NetworkFunctionUserConfigurationResponseArgs
- Network
Interfaces List<Pulumi.Azure Native. Hybrid Network. Inputs. Network Interface Response> - The network interface configuration.
- Os
Profile Pulumi.Azure Native. Hybrid Network. Inputs. Network Function User Configuration Response Os Profile - Specifies the operating system settings for the role instance.
- Role
Name string - The name of the network function role.
- User
Data objectParameters - The user data parameters from the customer.
- Network
Interfaces []NetworkInterface Response - The network interface configuration.
- Os
Profile NetworkFunction User Configuration Response Os Profile - Specifies the operating system settings for the role instance.
- Role
Name string - The name of the network function role.
- User
Data interface{}Parameters - The user data parameters from the customer.
- network
Interfaces List<NetworkInterface Response> - The network interface configuration.
- os
Profile NetworkFunction User Configuration Response Os Profile - Specifies the operating system settings for the role instance.
- role
Name String - The name of the network function role.
- user
Data ObjectParameters - The user data parameters from the customer.
- network
Interfaces NetworkInterface Response[] - The network interface configuration.
- os
Profile NetworkFunction User Configuration Response Os Profile - Specifies the operating system settings for the role instance.
- role
Name string - The name of the network function role.
- user
Data anyParameters - The user data parameters from the customer.
- network_
interfaces Sequence[NetworkInterface Response] - The network interface configuration.
- os_
profile NetworkFunction User Configuration Response Os Profile - Specifies the operating system settings for the role instance.
- role_
name str - The name of the network function role.
- user_
data_ Anyparameters - The user data parameters from the customer.
- network
Interfaces List<Property Map> - The network interface configuration.
- os
Profile Property Map - Specifies the operating system settings for the role instance.
- role
Name String - The name of the network function role.
- user
Data AnyParameters - The user data parameters from the customer.
NetworkFunctionUserConfigurationResponseOsProfile, NetworkFunctionUserConfigurationResponseOsProfileArgs
- Custom
Data string - Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes. Note: Do not pass any secrets or passwords in customData property This property cannot be updated after the VM is created. customData is passed to the VM to be saved as a file. For more information see Custom Data on Azure VMs For using cloud-init for your Linux VM, see Using cloud-init to customize a Linux VM during creation
- Custom
Data string - Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes. Note: Do not pass any secrets or passwords in customData property This property cannot be updated after the VM is created. customData is passed to the VM to be saved as a file. For more information see Custom Data on Azure VMs For using cloud-init for your Linux VM, see Using cloud-init to customize a Linux VM during creation
- custom
Data String - Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes. Note: Do not pass any secrets or passwords in customData property This property cannot be updated after the VM is created. customData is passed to the VM to be saved as a file. For more information see Custom Data on Azure VMs For using cloud-init for your Linux VM, see Using cloud-init to customize a Linux VM during creation
- custom
Data string - Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes. Note: Do not pass any secrets or passwords in customData property This property cannot be updated after the VM is created. customData is passed to the VM to be saved as a file. For more information see Custom Data on Azure VMs For using cloud-init for your Linux VM, see Using cloud-init to customize a Linux VM during creation
- custom_
data str - Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes. Note: Do not pass any secrets or passwords in customData property This property cannot be updated after the VM is created. customData is passed to the VM to be saved as a file. For more information see Custom Data on Azure VMs For using cloud-init for your Linux VM, see Using cloud-init to customize a Linux VM during creation
- custom
Data String - Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes. Note: Do not pass any secrets or passwords in customData property This property cannot be updated after the VM is created. customData is passed to the VM to be saved as a file. For more information see Custom Data on Azure VMs For using cloud-init for your Linux VM, see Using cloud-init to customize a Linux VM during creation
NetworkInterface, NetworkInterfaceArgs
- Ip
Configurations List<Pulumi.Azure Native. Hybrid Network. Inputs. Network Interface IPConfiguration> - A list of IP configurations of the network interface.
- Mac
Address string - The MAC address of the network interface.
- Network
Interface stringName - The name of the network interface.
- Vm
Switch string | Pulumi.Type Azure Native. Hybrid Network. VMSwitch Type - The type of the VM switch.
- Ip
Configurations []NetworkInterface IPConfiguration - A list of IP configurations of the network interface.
- Mac
Address string - The MAC address of the network interface.
- Network
Interface stringName - The name of the network interface.
- Vm
Switch string | VMSwitchType Type - The type of the VM switch.
- ip
Configurations List<NetworkInterface IPConfiguration> - A list of IP configurations of the network interface.
- mac
Address String - The MAC address of the network interface.
- network
Interface StringName - The name of the network interface.
- vm
Switch String | VMSwitchType Type - The type of the VM switch.
- ip
Configurations NetworkInterface IPConfiguration[] - A list of IP configurations of the network interface.
- mac
Address string - The MAC address of the network interface.
- network
Interface stringName - The name of the network interface.
- vm
Switch string | VMSwitchType Type - The type of the VM switch.
- ip_
configurations Sequence[NetworkInterface IPConfiguration] - A list of IP configurations of the network interface.
- mac_
address str - The MAC address of the network interface.
- network_
interface_ strname - The name of the network interface.
- vm_
switch_ str | VMSwitchtype Type - The type of the VM switch.
- ip
Configurations List<Property Map> - A list of IP configurations of the network interface.
- mac
Address String - The MAC address of the network interface.
- network
Interface StringName - The name of the network interface.
- vm
Switch String | "Unknown" | "Management" | "Wan" | "Lan"Type - The type of the VM switch.
NetworkInterfaceIPConfiguration, NetworkInterfaceIPConfigurationArgs
- Dns
Servers List<string> - The list of DNS servers IP addresses.
- Gateway string
- The value of the gateway.
- Ip
Address string - The value of the IP address.
- Ip
Allocation string | Pulumi.Method Azure Native. Hybrid Network. IPAllocation Method - IP address allocation method.
- Ip
Version string | Pulumi.Azure Native. Hybrid Network. IPVersion - IP address version.
- Subnet string
- The value of the subnet.
- Dns
Servers []string - The list of DNS servers IP addresses.
- Gateway string
- The value of the gateway.
- Ip
Address string - The value of the IP address.
- Ip
Allocation string | IPAllocationMethod Method - IP address allocation method.
- Ip
Version string | IPVersion - IP address version.
- Subnet string
- The value of the subnet.
- dns
Servers List<String> - The list of DNS servers IP addresses.
- gateway String
- The value of the gateway.
- ip
Address String - The value of the IP address.
- ip
Allocation String | IPAllocationMethod Method - IP address allocation method.
- ip
Version String | IPVersion - IP address version.
- subnet String
- The value of the subnet.
- dns
Servers string[] - The list of DNS servers IP addresses.
- gateway string
- The value of the gateway.
- ip
Address string - The value of the IP address.
- ip
Allocation string | IPAllocationMethod Method - IP address allocation method.
- ip
Version string | IPVersion - IP address version.
- subnet string
- The value of the subnet.
- dns_
servers Sequence[str] - The list of DNS servers IP addresses.
- gateway str
- The value of the gateway.
- ip_
address str - The value of the IP address.
- ip_
allocation_ str | IPAllocationmethod Method - IP address allocation method.
- ip_
version str | IPVersion - IP address version.
- subnet str
- The value of the subnet.
- dns
Servers List<String> - The list of DNS servers IP addresses.
- gateway String
- The value of the gateway.
- ip
Address String - The value of the IP address.
- ip
Allocation String | "Unknown" | "Static" | "Dynamic"Method - IP address allocation method.
- ip
Version String | "Unknown" | "IPv4" - IP address version.
- subnet String
- The value of the subnet.
NetworkInterfaceIPConfigurationResponse, NetworkInterfaceIPConfigurationResponseArgs
- Dns
Servers List<string> - The list of DNS servers IP addresses.
- Gateway string
- The value of the gateway.
- Ip
Address string - The value of the IP address.
- Ip
Allocation stringMethod - IP address allocation method.
- Ip
Version string - IP address version.
- Subnet string
- The value of the subnet.
- Dns
Servers []string - The list of DNS servers IP addresses.
- Gateway string
- The value of the gateway.
- Ip
Address string - The value of the IP address.
- Ip
Allocation stringMethod - IP address allocation method.
- Ip
Version string - IP address version.
- Subnet string
- The value of the subnet.
- dns
Servers List<String> - The list of DNS servers IP addresses.
- gateway String
- The value of the gateway.
- ip
Address String - The value of the IP address.
- ip
Allocation StringMethod - IP address allocation method.
- ip
Version String - IP address version.
- subnet String
- The value of the subnet.
- dns
Servers string[] - The list of DNS servers IP addresses.
- gateway string
- The value of the gateway.
- ip
Address string - The value of the IP address.
- ip
Allocation stringMethod - IP address allocation method.
- ip
Version string - IP address version.
- subnet string
- The value of the subnet.
- dns_
servers Sequence[str] - The list of DNS servers IP addresses.
- gateway str
- The value of the gateway.
- ip_
address str - The value of the IP address.
- ip_
allocation_ strmethod - IP address allocation method.
- ip_
version str - IP address version.
- subnet str
- The value of the subnet.
- dns
Servers List<String> - The list of DNS servers IP addresses.
- gateway String
- The value of the gateway.
- ip
Address String - The value of the IP address.
- ip
Allocation StringMethod - IP address allocation method.
- ip
Version String - IP address version.
- subnet String
- The value of the subnet.
NetworkInterfaceResponse, NetworkInterfaceResponseArgs
- Ip
Configurations List<Pulumi.Azure Native. Hybrid Network. Inputs. Network Interface IPConfiguration Response> - A list of IP configurations of the network interface.
- Mac
Address string - The MAC address of the network interface.
- Network
Interface stringName - The name of the network interface.
- Vm
Switch stringType - The type of the VM switch.
- Ip
Configurations []NetworkInterface IPConfiguration Response - A list of IP configurations of the network interface.
- Mac
Address string - The MAC address of the network interface.
- Network
Interface stringName - The name of the network interface.
- Vm
Switch stringType - The type of the VM switch.
- ip
Configurations List<NetworkInterface IPConfiguration Response> - A list of IP configurations of the network interface.
- mac
Address String - The MAC address of the network interface.
- network
Interface StringName - The name of the network interface.
- vm
Switch StringType - The type of the VM switch.
- ip
Configurations NetworkInterface IPConfiguration Response[] - A list of IP configurations of the network interface.
- mac
Address string - The MAC address of the network interface.
- network
Interface stringName - The name of the network interface.
- vm
Switch stringType - The type of the VM switch.
- ip_
configurations Sequence[NetworkInterface IPConfiguration Response] - A list of IP configurations of the network interface.
- mac_
address str - The MAC address of the network interface.
- network_
interface_ strname - The name of the network interface.
- vm_
switch_ strtype - The type of the VM switch.
- ip
Configurations List<Property Map> - A list of IP configurations of the network interface.
- mac
Address String - The MAC address of the network interface.
- network
Interface StringName - The name of the network interface.
- vm
Switch StringType - The type of the VM switch.
SubResource, SubResourceArgs
- Id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- Id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id String
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id str
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id String
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
SubResourceResponse, SubResourceResponseArgs
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
VMSwitchType, VMSwitchTypeArgs
- Unknown
- Unknown
- Management
- Management
- Wan
- Wan
- Lan
- Lan
- VMSwitch
Type Unknown - Unknown
- VMSwitch
Type Management - Management
- VMSwitch
Type Wan - Wan
- VMSwitch
Type Lan - Lan
- Unknown
- Unknown
- Management
- Management
- Wan
- Wan
- Lan
- Lan
- Unknown
- Unknown
- Management
- Management
- Wan
- Wan
- Lan
- Lan
- UNKNOWN
- Unknown
- MANAGEMENT
- Management
- WAN
- Wan
- LAN
- Lan
- "Unknown"
- Unknown
- "Management"
- Management
- "Wan"
- Wan
- "Lan"
- Lan
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:hybridnetwork:NetworkFunction testNf /subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/networkFunctions/testNf
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