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

azure-native.hybridnetwork.NetworkFunction

Explore with Pulumi AI

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

    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:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Device Pulumi.AzureNative.HybridNetwork.Inputs.SubResource
    The reference to the device resource.
    Location string
    The geo-location where the resource lives
    ManagedApplicationParameters object
    The parameters for the managed application.
    NetworkFunctionName string
    Resource name for the network function resource.
    NetworkFunctionUserConfigurations List<Pulumi.AzureNative.HybridNetwork.Inputs.NetworkFunctionUserConfiguration>
    The network function configurations from the user.
    SkuName string
    The sku name for the network function.
    Tags Dictionary<string, string>
    Resource tags.
    VendorName string
    The vendor name for the network function.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Device SubResourceArgs
    The reference to the device resource.
    Location string
    The geo-location where the resource lives
    ManagedApplicationParameters interface{}
    The parameters for the managed application.
    NetworkFunctionName string
    Resource name for the network function resource.
    NetworkFunctionUserConfigurations []NetworkFunctionUserConfigurationArgs
    The network function configurations from the user.
    SkuName string
    The sku name for the network function.
    Tags map[string]string
    Resource tags.
    VendorName string
    The vendor name for the network function.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    device SubResource
    The reference to the device resource.
    location String
    The geo-location where the resource lives
    managedApplicationParameters Object
    The parameters for the managed application.
    networkFunctionName String
    Resource name for the network function resource.
    networkFunctionUserConfigurations List<NetworkFunctionUserConfiguration>
    The network function configurations from the user.
    skuName String
    The sku name for the network function.
    tags Map<String,String>
    Resource tags.
    vendorName String
    The vendor name for the network function.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    device SubResource
    The reference to the device resource.
    location string
    The geo-location where the resource lives
    managedApplicationParameters any
    The parameters for the managed application.
    networkFunctionName string
    Resource name for the network function resource.
    networkFunctionUserConfigurations NetworkFunctionUserConfiguration[]
    The network function configurations from the user.
    skuName string
    The sku name for the network function.
    tags {[key: string]: string}
    Resource tags.
    vendorName string
    The vendor name for the network function.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    device SubResourceArgs
    The reference to the device resource.
    location str
    The geo-location where the resource lives
    managed_application_parameters Any
    The parameters for the managed application.
    network_function_name str
    Resource name for the network function resource.
    network_function_user_configurations Sequence[NetworkFunctionUserConfigurationArgs]
    The network function configurations from the user.
    sku_name str
    The sku name for the network function.
    tags Mapping[str, str]
    Resource tags.
    vendor_name str
    The vendor name for the network function.
    resourceGroupName String
    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
    managedApplicationParameters Any
    The parameters for the managed application.
    networkFunctionName String
    Resource name for the network function resource.
    networkFunctionUserConfigurations List<Property Map>
    The network function configurations from the user.
    skuName String
    The sku name for the network function.
    tags Map<String>
    Resource tags.
    vendorName 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.
    ManagedApplication Pulumi.AzureNative.HybridNetwork.Outputs.SubResourceResponse
    The resource URI of the managed application.
    Name string
    The name of the resource
    ProvisioningState string
    The provisioning state of the network function resource.
    ServiceKey string
    The service key for the network function resource.
    SkuType string
    The sku type for the network function.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    VendorProvisioningState string
    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.
    ManagedApplication SubResourceResponse
    The resource URI of the managed application.
    Name string
    The name of the resource
    ProvisioningState string
    The provisioning state of the network function resource.
    ServiceKey string
    The service key for the network function resource.
    SkuType string
    The sku type for the network function.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    VendorProvisioningState string
    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.
    managedApplication SubResourceResponse
    The resource URI of the managed application.
    name String
    The name of the resource
    provisioningState String
    The provisioning state of the network function resource.
    serviceKey String
    The service key for the network function resource.
    skuType String
    The sku type for the network function.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    vendorProvisioningState String
    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.
    managedApplication SubResourceResponse
    The resource URI of the managed application.
    name string
    The name of the resource
    provisioningState string
    The provisioning state of the network function resource.
    serviceKey string
    The service key for the network function resource.
    skuType string
    The sku type for the network function.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    vendorProvisioningState string
    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 SubResourceResponse
    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_state str
    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.
    managedApplication Property Map
    The resource URI of the managed application.
    name String
    The name of the resource
    provisioningState String
    The provisioning state of the network function resource.
    serviceKey String
    The service key for the network function resource.
    skuType String
    The sku type for the network function.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    vendorProvisioningState String
    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
    IPAllocationMethodUnknown
    Unknown
    IPAllocationMethodStatic
    Static
    IPAllocationMethodDynamic
    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
    IPVersionUnknown
    Unknown
    IPVersionIPv4
    IPv4
    Unknown
    Unknown
    IPv4
    IPv4
    Unknown
    Unknown
    IPv4
    IPv4
    UNKNOWN
    Unknown
    I_PV4
    IPv4
    "Unknown"
    Unknown
    "IPv4"
    IPv4

    NetworkFunctionUserConfiguration, NetworkFunctionUserConfigurationArgs

    NetworkInterfaces List<Pulumi.AzureNative.HybridNetwork.Inputs.NetworkInterface>
    The network interface configuration.
    OsProfile Pulumi.AzureNative.HybridNetwork.Inputs.NetworkFunctionUserConfigurationOsProfile
    Specifies the operating system settings for the role instance.
    RoleName string
    The name of the network function role.
    UserDataParameters object
    The user data parameters from the customer.
    NetworkInterfaces []NetworkInterface
    The network interface configuration.
    OsProfile NetworkFunctionUserConfigurationOsProfile
    Specifies the operating system settings for the role instance.
    RoleName string
    The name of the network function role.
    UserDataParameters interface{}
    The user data parameters from the customer.
    networkInterfaces List<NetworkInterface>
    The network interface configuration.
    osProfile NetworkFunctionUserConfigurationOsProfile
    Specifies the operating system settings for the role instance.
    roleName String
    The name of the network function role.
    userDataParameters Object
    The user data parameters from the customer.
    networkInterfaces NetworkInterface[]
    The network interface configuration.
    osProfile NetworkFunctionUserConfigurationOsProfile
    Specifies the operating system settings for the role instance.
    roleName string
    The name of the network function role.
    userDataParameters any
    The user data parameters from the customer.
    network_interfaces Sequence[NetworkInterface]
    The network interface configuration.
    os_profile NetworkFunctionUserConfigurationOsProfile
    Specifies the operating system settings for the role instance.
    role_name str
    The name of the network function role.
    user_data_parameters Any
    The user data parameters from the customer.
    networkInterfaces List<Property Map>
    The network interface configuration.
    osProfile Property Map
    Specifies the operating system settings for the role instance.
    roleName String
    The name of the network function role.
    userDataParameters Any
    The user data parameters from the customer.

    NetworkFunctionUserConfigurationOsProfile, NetworkFunctionUserConfigurationOsProfileArgs

    CustomData 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
    CustomData 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
    customData 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
    customData 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
    customData 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

    NetworkInterfaces List<Pulumi.AzureNative.HybridNetwork.Inputs.NetworkInterfaceResponse>
    The network interface configuration.
    OsProfile Pulumi.AzureNative.HybridNetwork.Inputs.NetworkFunctionUserConfigurationResponseOsProfile
    Specifies the operating system settings for the role instance.
    RoleName string
    The name of the network function role.
    UserDataParameters object
    The user data parameters from the customer.
    NetworkInterfaces []NetworkInterfaceResponse
    The network interface configuration.
    OsProfile NetworkFunctionUserConfigurationResponseOsProfile
    Specifies the operating system settings for the role instance.
    RoleName string
    The name of the network function role.
    UserDataParameters interface{}
    The user data parameters from the customer.
    networkInterfaces List<NetworkInterfaceResponse>
    The network interface configuration.
    osProfile NetworkFunctionUserConfigurationResponseOsProfile
    Specifies the operating system settings for the role instance.
    roleName String
    The name of the network function role.
    userDataParameters Object
    The user data parameters from the customer.
    networkInterfaces NetworkInterfaceResponse[]
    The network interface configuration.
    osProfile NetworkFunctionUserConfigurationResponseOsProfile
    Specifies the operating system settings for the role instance.
    roleName string
    The name of the network function role.
    userDataParameters any
    The user data parameters from the customer.
    network_interfaces Sequence[NetworkInterfaceResponse]
    The network interface configuration.
    os_profile NetworkFunctionUserConfigurationResponseOsProfile
    Specifies the operating system settings for the role instance.
    role_name str
    The name of the network function role.
    user_data_parameters Any
    The user data parameters from the customer.
    networkInterfaces List<Property Map>
    The network interface configuration.
    osProfile Property Map
    Specifies the operating system settings for the role instance.
    roleName String
    The name of the network function role.
    userDataParameters Any
    The user data parameters from the customer.

    NetworkFunctionUserConfigurationResponseOsProfile, NetworkFunctionUserConfigurationResponseOsProfileArgs

    CustomData 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
    CustomData 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
    customData 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
    customData 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
    customData 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

    IpConfigurations List<Pulumi.AzureNative.HybridNetwork.Inputs.NetworkInterfaceIPConfiguration>
    A list of IP configurations of the network interface.
    MacAddress string
    The MAC address of the network interface.
    NetworkInterfaceName string
    The name of the network interface.
    VmSwitchType string | Pulumi.AzureNative.HybridNetwork.VMSwitchType
    The type of the VM switch.
    IpConfigurations []NetworkInterfaceIPConfiguration
    A list of IP configurations of the network interface.
    MacAddress string
    The MAC address of the network interface.
    NetworkInterfaceName string
    The name of the network interface.
    VmSwitchType string | VMSwitchType
    The type of the VM switch.
    ipConfigurations List<NetworkInterfaceIPConfiguration>
    A list of IP configurations of the network interface.
    macAddress String
    The MAC address of the network interface.
    networkInterfaceName String
    The name of the network interface.
    vmSwitchType String | VMSwitchType
    The type of the VM switch.
    ipConfigurations NetworkInterfaceIPConfiguration[]
    A list of IP configurations of the network interface.
    macAddress string
    The MAC address of the network interface.
    networkInterfaceName string
    The name of the network interface.
    vmSwitchType string | VMSwitchType
    The type of the VM switch.
    ip_configurations Sequence[NetworkInterfaceIPConfiguration]
    A list of IP configurations of the network interface.
    mac_address str
    The MAC address of the network interface.
    network_interface_name str
    The name of the network interface.
    vm_switch_type str | VMSwitchType
    The type of the VM switch.
    ipConfigurations List<Property Map>
    A list of IP configurations of the network interface.
    macAddress String
    The MAC address of the network interface.
    networkInterfaceName String
    The name of the network interface.
    vmSwitchType String | "Unknown" | "Management" | "Wan" | "Lan"
    The type of the VM switch.

    NetworkInterfaceIPConfiguration, NetworkInterfaceIPConfigurationArgs

    DnsServers List<string>
    The list of DNS servers IP addresses.
    Gateway string
    The value of the gateway.
    IpAddress string
    The value of the IP address.
    IpAllocationMethod string | Pulumi.AzureNative.HybridNetwork.IPAllocationMethod
    IP address allocation method.
    IpVersion string | Pulumi.AzureNative.HybridNetwork.IPVersion
    IP address version.
    Subnet string
    The value of the subnet.
    DnsServers []string
    The list of DNS servers IP addresses.
    Gateway string
    The value of the gateway.
    IpAddress string
    The value of the IP address.
    IpAllocationMethod string | IPAllocationMethod
    IP address allocation method.
    IpVersion string | IPVersion
    IP address version.
    Subnet string
    The value of the subnet.
    dnsServers List<String>
    The list of DNS servers IP addresses.
    gateway String
    The value of the gateway.
    ipAddress String
    The value of the IP address.
    ipAllocationMethod String | IPAllocationMethod
    IP address allocation method.
    ipVersion String | IPVersion
    IP address version.
    subnet String
    The value of the subnet.
    dnsServers string[]
    The list of DNS servers IP addresses.
    gateway string
    The value of the gateway.
    ipAddress string
    The value of the IP address.
    ipAllocationMethod string | IPAllocationMethod
    IP address allocation method.
    ipVersion 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_method str | IPAllocationMethod
    IP address allocation method.
    ip_version str | IPVersion
    IP address version.
    subnet str
    The value of the subnet.
    dnsServers List<String>
    The list of DNS servers IP addresses.
    gateway String
    The value of the gateway.
    ipAddress String
    The value of the IP address.
    ipAllocationMethod String | "Unknown" | "Static" | "Dynamic"
    IP address allocation method.
    ipVersion String | "Unknown" | "IPv4"
    IP address version.
    subnet String
    The value of the subnet.

    NetworkInterfaceIPConfigurationResponse, NetworkInterfaceIPConfigurationResponseArgs

    DnsServers List<string>
    The list of DNS servers IP addresses.
    Gateway string
    The value of the gateway.
    IpAddress string
    The value of the IP address.
    IpAllocationMethod string
    IP address allocation method.
    IpVersion string
    IP address version.
    Subnet string
    The value of the subnet.
    DnsServers []string
    The list of DNS servers IP addresses.
    Gateway string
    The value of the gateway.
    IpAddress string
    The value of the IP address.
    IpAllocationMethod string
    IP address allocation method.
    IpVersion string
    IP address version.
    Subnet string
    The value of the subnet.
    dnsServers List<String>
    The list of DNS servers IP addresses.
    gateway String
    The value of the gateway.
    ipAddress String
    The value of the IP address.
    ipAllocationMethod String
    IP address allocation method.
    ipVersion String
    IP address version.
    subnet String
    The value of the subnet.
    dnsServers string[]
    The list of DNS servers IP addresses.
    gateway string
    The value of the gateway.
    ipAddress string
    The value of the IP address.
    ipAllocationMethod string
    IP address allocation method.
    ipVersion 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_method str
    IP address allocation method.
    ip_version str
    IP address version.
    subnet str
    The value of the subnet.
    dnsServers List<String>
    The list of DNS servers IP addresses.
    gateway String
    The value of the gateway.
    ipAddress String
    The value of the IP address.
    ipAllocationMethod String
    IP address allocation method.
    ipVersion String
    IP address version.
    subnet String
    The value of the subnet.

    NetworkInterfaceResponse, NetworkInterfaceResponseArgs

    IpConfigurations List<Pulumi.AzureNative.HybridNetwork.Inputs.NetworkInterfaceIPConfigurationResponse>
    A list of IP configurations of the network interface.
    MacAddress string
    The MAC address of the network interface.
    NetworkInterfaceName string
    The name of the network interface.
    VmSwitchType string
    The type of the VM switch.
    IpConfigurations []NetworkInterfaceIPConfigurationResponse
    A list of IP configurations of the network interface.
    MacAddress string
    The MAC address of the network interface.
    NetworkInterfaceName string
    The name of the network interface.
    VmSwitchType string
    The type of the VM switch.
    ipConfigurations List<NetworkInterfaceIPConfigurationResponse>
    A list of IP configurations of the network interface.
    macAddress String
    The MAC address of the network interface.
    networkInterfaceName String
    The name of the network interface.
    vmSwitchType String
    The type of the VM switch.
    ipConfigurations NetworkInterfaceIPConfigurationResponse[]
    A list of IP configurations of the network interface.
    macAddress string
    The MAC address of the network interface.
    networkInterfaceName string
    The name of the network interface.
    vmSwitchType string
    The type of the VM switch.
    ip_configurations Sequence[NetworkInterfaceIPConfigurationResponse]
    A list of IP configurations of the network interface.
    mac_address str
    The MAC address of the network interface.
    network_interface_name str
    The name of the network interface.
    vm_switch_type str
    The type of the VM switch.
    ipConfigurations List<Property Map>
    A list of IP configurations of the network interface.
    macAddress String
    The MAC address of the network interface.
    networkInterfaceName String
    The name of the network interface.
    vmSwitchType String
    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
    VMSwitchTypeUnknown
    Unknown
    VMSwitchTypeManagement
    Management
    VMSwitchTypeWan
    Wan
    VMSwitchTypeLan
    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
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi