azure-native.hybridnetwork.NetworkFunction
Explore with Pulumi AI
Network function resource response.
Uses Azure REST API version 2024-04-15. In version 2.x of the Azure Native provider, it used API version 2022-01-01-preview.
Other available API versions: 2022-01-01-preview, 2023-09-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native hybridnetwork [ApiVersion]
. See the version guide for details.
Example Usage
Create first party 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()
{
Location = "eastus",
NetworkFunctionName = "testNf",
Properties = new AzureNative.HybridNetwork.Inputs.NetworkFunctionValueWithoutSecretsArgs
{
AllowSoftwareUpdate = false,
ConfigurationType = "Open",
DeploymentValues = "{\"releaseName\":\"testReleaseName\",\"namespace\":\"testNamespace\"}",
NetworkFunctionDefinitionVersionResourceReference = new AzureNative.HybridNetwork.Inputs.SecretDeploymentResourceReferenceArgs
{
Id = "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1",
IdType = "Secret",
},
NfviId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/testCustomLocation",
NfviType = AzureNative.HybridNetwork.NFVIType.AzureArcKubernetes,
RoleOverrideValues = new[]
{
"{\"name\":\"testRoleOne\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"helmPackageVersion\":\"2.1.3\",\"values\":\"{\\\"roleOneParam\\\":\\\"roleOneOverrideValue\\\"}\"}}}",
"{\"name\":\"testRoleTwo\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"releaseName\":\"overrideReleaseName\",\"releaseNamespace\":\"overrideNamespace\",\"values\":\"{\\\"roleTwoParam\\\":\\\"roleTwoOverrideValue\\\"}\"}}}",
},
},
ResourceGroupName = "rg",
});
});
package main
import (
hybridnetwork "github.com/pulumi/pulumi-azure-native-sdk/hybridnetwork/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hybridnetwork.NewNetworkFunction(ctx, "networkFunction", &hybridnetwork.NetworkFunctionArgs{
Location: pulumi.String("eastus"),
NetworkFunctionName: pulumi.String("testNf"),
Properties: &hybridnetwork.NetworkFunctionValueWithoutSecretsArgs{
AllowSoftwareUpdate: pulumi.Bool(false),
ConfigurationType: pulumi.String("Open"),
DeploymentValues: pulumi.String("{\"releaseName\":\"testReleaseName\",\"namespace\":\"testNamespace\"}"),
NetworkFunctionDefinitionVersionResourceReference: hybridnetwork.SecretDeploymentResourceReference{
Id: "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1",
IdType: "Secret",
},
NfviId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/testCustomLocation"),
NfviType: pulumi.String(hybridnetwork.NFVITypeAzureArcKubernetes),
RoleOverrideValues: pulumi.StringArray{
pulumi.String("{\"name\":\"testRoleOne\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"helmPackageVersion\":\"2.1.3\",\"values\":\"{\\\"roleOneParam\\\":\\\"roleOneOverrideValue\\\"}\"}}}"),
pulumi.String("{\"name\":\"testRoleTwo\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"releaseName\":\"overrideReleaseName\",\"releaseNamespace\":\"overrideNamespace\",\"values\":\"{\\\"roleTwoParam\\\":\\\"roleTwoOverrideValue\\\"}\"}}}"),
},
},
ResourceGroupName: pulumi.String("rg"),
})
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()
.location("eastus")
.networkFunctionName("testNf")
.properties(NetworkFunctionValueWithoutSecretsArgs.builder()
.allowSoftwareUpdate(false)
.configurationType("Open")
.deploymentValues("{\"releaseName\":\"testReleaseName\",\"namespace\":\"testNamespace\"}")
.networkFunctionDefinitionVersionResourceReference(SecretDeploymentResourceReferenceArgs.builder()
.id("/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1")
.idType("Secret")
.build())
.nfviId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/testCustomLocation")
.nfviType("AzureArcKubernetes")
.roleOverrideValues(
"{\"name\":\"testRoleOne\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"helmPackageVersion\":\"2.1.3\",\"values\":\"{\\\"roleOneParam\\\":\\\"roleOneOverrideValue\\\"}\"}}}",
"{\"name\":\"testRoleTwo\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"releaseName\":\"overrideReleaseName\",\"releaseNamespace\":\"overrideNamespace\",\"values\":\"{\\\"roleTwoParam\\\":\\\"roleTwoOverrideValue\\\"}\"}}}")
.build())
.resourceGroupName("rg")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const networkFunction = new azure_native.hybridnetwork.NetworkFunction("networkFunction", {
location: "eastus",
networkFunctionName: "testNf",
properties: {
allowSoftwareUpdate: false,
configurationType: "Open",
deploymentValues: "{\"releaseName\":\"testReleaseName\",\"namespace\":\"testNamespace\"}",
networkFunctionDefinitionVersionResourceReference: {
id: "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1",
idType: "Secret",
},
nfviId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/testCustomLocation",
nfviType: azure_native.hybridnetwork.NFVIType.AzureArcKubernetes,
roleOverrideValues: [
"{\"name\":\"testRoleOne\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"helmPackageVersion\":\"2.1.3\",\"values\":\"{\\\"roleOneParam\\\":\\\"roleOneOverrideValue\\\"}\"}}}",
"{\"name\":\"testRoleTwo\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"releaseName\":\"overrideReleaseName\",\"releaseNamespace\":\"overrideNamespace\",\"values\":\"{\\\"roleTwoParam\\\":\\\"roleTwoOverrideValue\\\"}\"}}}",
],
},
resourceGroupName: "rg",
});
import pulumi
import pulumi_azure_native as azure_native
network_function = azure_native.hybridnetwork.NetworkFunction("networkFunction",
location="eastus",
network_function_name="testNf",
properties={
"allow_software_update": False,
"configuration_type": "Open",
"deployment_values": "{\"releaseName\":\"testReleaseName\",\"namespace\":\"testNamespace\"}",
"network_function_definition_version_resource_reference": {
"id": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1",
"id_type": "Secret",
},
"nfvi_id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/testCustomLocation",
"nfvi_type": azure_native.hybridnetwork.NFVIType.AZURE_ARC_KUBERNETES,
"role_override_values": [
"{\"name\":\"testRoleOne\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"helmPackageVersion\":\"2.1.3\",\"values\":\"{\\\"roleOneParam\\\":\\\"roleOneOverrideValue\\\"}\"}}}",
"{\"name\":\"testRoleTwo\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"releaseName\":\"overrideReleaseName\",\"releaseNamespace\":\"overrideNamespace\",\"values\":\"{\\\"roleTwoParam\\\":\\\"roleTwoOverrideValue\\\"}\"}}}",
],
},
resource_group_name="rg")
resources:
networkFunction:
type: azure-native:hybridnetwork:NetworkFunction
properties:
location: eastus
networkFunctionName: testNf
properties:
allowSoftwareUpdate: false
configurationType: Open
deploymentValues: '{"releaseName":"testReleaseName","namespace":"testNamespace"}'
networkFunctionDefinitionVersionResourceReference:
id: /subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1
idType: Secret
nfviId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/testCustomLocation
nfviType: AzureArcKubernetes
roleOverrideValues:
- '{"name":"testRoleOne","deployParametersMappingRuleProfile":{"helmMappingRuleProfile":{"helmPackageVersion":"2.1.3","values":"{\"roleOneParam\":\"roleOneOverrideValue\"}"}}}'
- '{"name":"testRoleTwo","deployParametersMappingRuleProfile":{"helmMappingRuleProfile":{"releaseName":"overrideReleaseName","releaseNamespace":"overrideNamespace","values":"{\"roleTwoParam\":\"roleTwoOverrideValue\"}"}}}'
resourceGroupName: rg
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()
{
Location = "eastus",
NetworkFunctionName = "testNf",
Properties = new AzureNative.HybridNetwork.Inputs.NetworkFunctionValueWithoutSecretsArgs
{
AllowSoftwareUpdate = false,
ConfigurationType = "Open",
DeploymentValues = "{\"releaseName\":\"testReleaseName\",\"namespace\":\"testNamespace\"}",
NetworkFunctionDefinitionVersionResourceReference = new AzureNative.HybridNetwork.Inputs.OpenDeploymentResourceReferenceArgs
{
Id = "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1",
IdType = "Open",
},
NfviId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/testCustomLocation",
NfviType = AzureNative.HybridNetwork.NFVIType.AzureArcKubernetes,
RoleOverrideValues = new[]
{
"{\"name\":\"testRoleOne\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"helmPackageVersion\":\"2.1.3\",\"values\":\"{\\\"roleOneParam\\\":\\\"roleOneOverrideValue\\\"}\"}}}",
"{\"name\":\"testRoleTwo\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"releaseName\":\"overrideReleaseName\",\"releaseNamespace\":\"overrideNamespace\",\"values\":\"{\\\"roleTwoParam\\\":\\\"roleTwoOverrideValue\\\"}\"}}}",
},
},
ResourceGroupName = "rg",
});
});
package main
import (
hybridnetwork "github.com/pulumi/pulumi-azure-native-sdk/hybridnetwork/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hybridnetwork.NewNetworkFunction(ctx, "networkFunction", &hybridnetwork.NetworkFunctionArgs{
Location: pulumi.String("eastus"),
NetworkFunctionName: pulumi.String("testNf"),
Properties: &hybridnetwork.NetworkFunctionValueWithoutSecretsArgs{
AllowSoftwareUpdate: pulumi.Bool(false),
ConfigurationType: pulumi.String("Open"),
DeploymentValues: pulumi.String("{\"releaseName\":\"testReleaseName\",\"namespace\":\"testNamespace\"}"),
NetworkFunctionDefinitionVersionResourceReference: hybridnetwork.OpenDeploymentResourceReference{
Id: "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1",
IdType: "Open",
},
NfviId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/testCustomLocation"),
NfviType: pulumi.String(hybridnetwork.NFVITypeAzureArcKubernetes),
RoleOverrideValues: pulumi.StringArray{
pulumi.String("{\"name\":\"testRoleOne\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"helmPackageVersion\":\"2.1.3\",\"values\":\"{\\\"roleOneParam\\\":\\\"roleOneOverrideValue\\\"}\"}}}"),
pulumi.String("{\"name\":\"testRoleTwo\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"releaseName\":\"overrideReleaseName\",\"releaseNamespace\":\"overrideNamespace\",\"values\":\"{\\\"roleTwoParam\\\":\\\"roleTwoOverrideValue\\\"}\"}}}"),
},
},
ResourceGroupName: pulumi.String("rg"),
})
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()
.location("eastus")
.networkFunctionName("testNf")
.properties(NetworkFunctionValueWithoutSecretsArgs.builder()
.allowSoftwareUpdate(false)
.configurationType("Open")
.deploymentValues("{\"releaseName\":\"testReleaseName\",\"namespace\":\"testNamespace\"}")
.networkFunctionDefinitionVersionResourceReference(OpenDeploymentResourceReferenceArgs.builder()
.id("/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1")
.idType("Open")
.build())
.nfviId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/testCustomLocation")
.nfviType("AzureArcKubernetes")
.roleOverrideValues(
"{\"name\":\"testRoleOne\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"helmPackageVersion\":\"2.1.3\",\"values\":\"{\\\"roleOneParam\\\":\\\"roleOneOverrideValue\\\"}\"}}}",
"{\"name\":\"testRoleTwo\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"releaseName\":\"overrideReleaseName\",\"releaseNamespace\":\"overrideNamespace\",\"values\":\"{\\\"roleTwoParam\\\":\\\"roleTwoOverrideValue\\\"}\"}}}")
.build())
.resourceGroupName("rg")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const networkFunction = new azure_native.hybridnetwork.NetworkFunction("networkFunction", {
location: "eastus",
networkFunctionName: "testNf",
properties: {
allowSoftwareUpdate: false,
configurationType: "Open",
deploymentValues: "{\"releaseName\":\"testReleaseName\",\"namespace\":\"testNamespace\"}",
networkFunctionDefinitionVersionResourceReference: {
id: "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1",
idType: "Open",
},
nfviId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/testCustomLocation",
nfviType: azure_native.hybridnetwork.NFVIType.AzureArcKubernetes,
roleOverrideValues: [
"{\"name\":\"testRoleOne\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"helmPackageVersion\":\"2.1.3\",\"values\":\"{\\\"roleOneParam\\\":\\\"roleOneOverrideValue\\\"}\"}}}",
"{\"name\":\"testRoleTwo\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"releaseName\":\"overrideReleaseName\",\"releaseNamespace\":\"overrideNamespace\",\"values\":\"{\\\"roleTwoParam\\\":\\\"roleTwoOverrideValue\\\"}\"}}}",
],
},
resourceGroupName: "rg",
});
import pulumi
import pulumi_azure_native as azure_native
network_function = azure_native.hybridnetwork.NetworkFunction("networkFunction",
location="eastus",
network_function_name="testNf",
properties={
"allow_software_update": False,
"configuration_type": "Open",
"deployment_values": "{\"releaseName\":\"testReleaseName\",\"namespace\":\"testNamespace\"}",
"network_function_definition_version_resource_reference": {
"id": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1",
"id_type": "Open",
},
"nfvi_id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/testCustomLocation",
"nfvi_type": azure_native.hybridnetwork.NFVIType.AZURE_ARC_KUBERNETES,
"role_override_values": [
"{\"name\":\"testRoleOne\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"helmPackageVersion\":\"2.1.3\",\"values\":\"{\\\"roleOneParam\\\":\\\"roleOneOverrideValue\\\"}\"}}}",
"{\"name\":\"testRoleTwo\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"releaseName\":\"overrideReleaseName\",\"releaseNamespace\":\"overrideNamespace\",\"values\":\"{\\\"roleTwoParam\\\":\\\"roleTwoOverrideValue\\\"}\"}}}",
],
},
resource_group_name="rg")
resources:
networkFunction:
type: azure-native:hybridnetwork:NetworkFunction
properties:
location: eastus
networkFunctionName: testNf
properties:
allowSoftwareUpdate: false
configurationType: Open
deploymentValues: '{"releaseName":"testReleaseName","namespace":"testNamespace"}'
networkFunctionDefinitionVersionResourceReference:
id: /subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1
idType: Open
nfviId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/testCustomLocation
nfviType: AzureArcKubernetes
roleOverrideValues:
- '{"name":"testRoleOne","deployParametersMappingRuleProfile":{"helmMappingRuleProfile":{"helmPackageVersion":"2.1.3","values":"{\"roleOneParam\":\"roleOneOverrideValue\"}"}}}'
- '{"name":"testRoleTwo","deployParametersMappingRuleProfile":{"helmMappingRuleProfile":{"releaseName":"overrideReleaseName","releaseNamespace":"overrideNamespace","values":"{\"roleTwoParam\":\"roleTwoOverrideValue\"}"}}}'
resourceGroupName: rg
Create network function resource with secrets
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()
{
Location = "eastus",
NetworkFunctionName = "testNf",
Properties = new AzureNative.HybridNetwork.Inputs.NetworkFunctionValueWithSecretsArgs
{
AllowSoftwareUpdate = false,
ConfigurationType = "Secret",
NetworkFunctionDefinitionVersionResourceReference = new AzureNative.HybridNetwork.Inputs.OpenDeploymentResourceReferenceArgs
{
Id = "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1",
IdType = "Open",
},
NfviId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/testCustomLocation",
NfviType = AzureNative.HybridNetwork.NFVIType.AzureArcKubernetes,
RoleOverrideValues = new[]
{
"{\"name\":\"testRoleOne\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"helmPackageVersion\":\"2.1.3\",\"values\":\"{\\\"roleOneParam\\\":\\\"roleOneOverrideValue\\\"}\"}}}",
"{\"name\":\"testRoleTwo\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"releaseName\":\"overrideReleaseName\",\"releaseNamespace\":\"overrideNamespace\",\"values\":\"{\\\"roleTwoParam\\\":\\\"roleTwoOverrideValue\\\"}\"}}}",
},
SecretDeploymentValues = "{\"adminPassword\":\"password1\",\"userPassword\":\"password2\"}",
},
ResourceGroupName = "rg",
});
});
package main
import (
hybridnetwork "github.com/pulumi/pulumi-azure-native-sdk/hybridnetwork/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hybridnetwork.NewNetworkFunction(ctx, "networkFunction", &hybridnetwork.NetworkFunctionArgs{
Location: pulumi.String("eastus"),
NetworkFunctionName: pulumi.String("testNf"),
Properties: &hybridnetwork.NetworkFunctionValueWithSecretsArgs{
AllowSoftwareUpdate: pulumi.Bool(false),
ConfigurationType: pulumi.String("Secret"),
NetworkFunctionDefinitionVersionResourceReference: hybridnetwork.OpenDeploymentResourceReference{
Id: "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1",
IdType: "Open",
},
NfviId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/testCustomLocation"),
NfviType: pulumi.String(hybridnetwork.NFVITypeAzureArcKubernetes),
RoleOverrideValues: pulumi.StringArray{
pulumi.String("{\"name\":\"testRoleOne\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"helmPackageVersion\":\"2.1.3\",\"values\":\"{\\\"roleOneParam\\\":\\\"roleOneOverrideValue\\\"}\"}}}"),
pulumi.String("{\"name\":\"testRoleTwo\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"releaseName\":\"overrideReleaseName\",\"releaseNamespace\":\"overrideNamespace\",\"values\":\"{\\\"roleTwoParam\\\":\\\"roleTwoOverrideValue\\\"}\"}}}"),
},
SecretDeploymentValues: pulumi.String("{\"adminPassword\":\"password1\",\"userPassword\":\"password2\"}"),
},
ResourceGroupName: pulumi.String("rg"),
})
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()
.location("eastus")
.networkFunctionName("testNf")
.properties(NetworkFunctionValueWithSecretsArgs.builder()
.allowSoftwareUpdate(false)
.configurationType("Secret")
.networkFunctionDefinitionVersionResourceReference(OpenDeploymentResourceReferenceArgs.builder()
.id("/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1")
.idType("Open")
.build())
.nfviId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/testCustomLocation")
.nfviType("AzureArcKubernetes")
.roleOverrideValues(
"{\"name\":\"testRoleOne\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"helmPackageVersion\":\"2.1.3\",\"values\":\"{\\\"roleOneParam\\\":\\\"roleOneOverrideValue\\\"}\"}}}",
"{\"name\":\"testRoleTwo\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"releaseName\":\"overrideReleaseName\",\"releaseNamespace\":\"overrideNamespace\",\"values\":\"{\\\"roleTwoParam\\\":\\\"roleTwoOverrideValue\\\"}\"}}}")
.secretDeploymentValues("{\"adminPassword\":\"password1\",\"userPassword\":\"password2\"}")
.build())
.resourceGroupName("rg")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const networkFunction = new azure_native.hybridnetwork.NetworkFunction("networkFunction", {
location: "eastus",
networkFunctionName: "testNf",
properties: {
allowSoftwareUpdate: false,
configurationType: "Secret",
networkFunctionDefinitionVersionResourceReference: {
id: "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1",
idType: "Open",
},
nfviId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/testCustomLocation",
nfviType: azure_native.hybridnetwork.NFVIType.AzureArcKubernetes,
roleOverrideValues: [
"{\"name\":\"testRoleOne\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"helmPackageVersion\":\"2.1.3\",\"values\":\"{\\\"roleOneParam\\\":\\\"roleOneOverrideValue\\\"}\"}}}",
"{\"name\":\"testRoleTwo\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"releaseName\":\"overrideReleaseName\",\"releaseNamespace\":\"overrideNamespace\",\"values\":\"{\\\"roleTwoParam\\\":\\\"roleTwoOverrideValue\\\"}\"}}}",
],
secretDeploymentValues: "{\"adminPassword\":\"password1\",\"userPassword\":\"password2\"}",
},
resourceGroupName: "rg",
});
import pulumi
import pulumi_azure_native as azure_native
network_function = azure_native.hybridnetwork.NetworkFunction("networkFunction",
location="eastus",
network_function_name="testNf",
properties={
"allow_software_update": False,
"configuration_type": "Secret",
"network_function_definition_version_resource_reference": {
"id": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1",
"id_type": "Open",
},
"nfvi_id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/testCustomLocation",
"nfvi_type": azure_native.hybridnetwork.NFVIType.AZURE_ARC_KUBERNETES,
"role_override_values": [
"{\"name\":\"testRoleOne\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"helmPackageVersion\":\"2.1.3\",\"values\":\"{\\\"roleOneParam\\\":\\\"roleOneOverrideValue\\\"}\"}}}",
"{\"name\":\"testRoleTwo\",\"deployParametersMappingRuleProfile\":{\"helmMappingRuleProfile\":{\"releaseName\":\"overrideReleaseName\",\"releaseNamespace\":\"overrideNamespace\",\"values\":\"{\\\"roleTwoParam\\\":\\\"roleTwoOverrideValue\\\"}\"}}}",
],
"secret_deployment_values": "{\"adminPassword\":\"password1\",\"userPassword\":\"password2\"}",
},
resource_group_name="rg")
resources:
networkFunction:
type: azure-native:hybridnetwork:NetworkFunction
properties:
location: eastus
networkFunctionName: testNf
properties:
allowSoftwareUpdate: false
configurationType: Secret
networkFunctionDefinitionVersionResourceReference:
id: /subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1
idType: Open
nfviId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/testCustomLocation
nfviType: AzureArcKubernetes
roleOverrideValues:
- '{"name":"testRoleOne","deployParametersMappingRuleProfile":{"helmMappingRuleProfile":{"helmPackageVersion":"2.1.3","values":"{\"roleOneParam\":\"roleOneOverrideValue\"}"}}}'
- '{"name":"testRoleTwo","deployParametersMappingRuleProfile":{"helmMappingRuleProfile":{"releaseName":"overrideReleaseName","releaseNamespace":"overrideNamespace","values":"{\"roleTwoParam\":\"roleTwoOverrideValue\"}"}}}'
secretDeploymentValues: '{"adminPassword":"password1","userPassword":"password2"}'
resourceGroupName: rg
Create virtual network function resource on AzureCore
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()
{
Location = "eastus",
NetworkFunctionName = "testNf",
Properties = new AzureNative.HybridNetwork.Inputs.NetworkFunctionValueWithoutSecretsArgs
{
AllowSoftwareUpdate = false,
ConfigurationType = "Open",
DeploymentValues = "{\"virtualMachineName\":\"test-VM\",\"cpuCores\":4,\"memorySizeGB\":8,\"cloudServicesNetworkAttachment\":{\"attachedNetworkId\":\"test-csnet\",\"ipAllocationMethod\":\"Dynamic\",\"networkAttachmentName\":\"test-cs-vlan\"},\"networkAttachments\":[{\"attachedNetworkId\":\"test-l3vlan\",\"defaultGateway\":\"True\",\"ipAllocationMethod\":\"Dynamic\",\"networkAttachmentName\":\"test-vlan\"}],\"sshPublicKeys\":[{\"keyData\":\"ssh-rsa CMIIIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA0TqlveKKlc2MFvEmuXJiLGBsY1t4ML4uiRADGSZlnc+7Ugv3h+MCjkkwOKiOdsNo8k4KSBIG5GcQfKYOOd17AJvqCL6cGQbaLuqv0a64jeDm8oO8/xN/IM0oKw7rMr/2oAJOgIsfeXPkRxWWic9AVIS++H5Qi2r7bUFX+cqFsyUCAwEBBQ==\"}],\"storageProfile\":{\"osDisk\":{\"createOption\":\"Ephemeral\",\"deleteOption\":\"Delete\",\"diskSizeGB\":10}},\"userData\":\"testUserData\",\"adminUsername\":\"testUser\",\"virtioInterface\":\"Transitional\",\"isolateEmulatorThread\":\"False\",\"bootMethod\":\"BIOS\",\"placementHints\":[]}",
NetworkFunctionDefinitionVersionResourceReference = new AzureNative.HybridNetwork.Inputs.OpenDeploymentResourceReferenceArgs
{
Id = "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1",
IdType = "Open",
},
NfviId = "/subscriptions/subid/resourceGroups/testResourceGroup",
NfviType = AzureNative.HybridNetwork.NFVIType.AzureCore,
},
ResourceGroupName = "rg",
});
});
package main
import (
hybridnetwork "github.com/pulumi/pulumi-azure-native-sdk/hybridnetwork/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hybridnetwork.NewNetworkFunction(ctx, "networkFunction", &hybridnetwork.NetworkFunctionArgs{
Location: pulumi.String("eastus"),
NetworkFunctionName: pulumi.String("testNf"),
Properties: &hybridnetwork.NetworkFunctionValueWithoutSecretsArgs{
AllowSoftwareUpdate: pulumi.Bool(false),
ConfigurationType: pulumi.String("Open"),
DeploymentValues: pulumi.String("{\"virtualMachineName\":\"test-VM\",\"cpuCores\":4,\"memorySizeGB\":8,\"cloudServicesNetworkAttachment\":{\"attachedNetworkId\":\"test-csnet\",\"ipAllocationMethod\":\"Dynamic\",\"networkAttachmentName\":\"test-cs-vlan\"},\"networkAttachments\":[{\"attachedNetworkId\":\"test-l3vlan\",\"defaultGateway\":\"True\",\"ipAllocationMethod\":\"Dynamic\",\"networkAttachmentName\":\"test-vlan\"}],\"sshPublicKeys\":[{\"keyData\":\"ssh-rsa CMIIIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA0TqlveKKlc2MFvEmuXJiLGBsY1t4ML4uiRADGSZlnc+7Ugv3h+MCjkkwOKiOdsNo8k4KSBIG5GcQfKYOOd17AJvqCL6cGQbaLuqv0a64jeDm8oO8/xN/IM0oKw7rMr/2oAJOgIsfeXPkRxWWic9AVIS++H5Qi2r7bUFX+cqFsyUCAwEBBQ==\"}],\"storageProfile\":{\"osDisk\":{\"createOption\":\"Ephemeral\",\"deleteOption\":\"Delete\",\"diskSizeGB\":10}},\"userData\":\"testUserData\",\"adminUsername\":\"testUser\",\"virtioInterface\":\"Transitional\",\"isolateEmulatorThread\":\"False\",\"bootMethod\":\"BIOS\",\"placementHints\":[]}"),
NetworkFunctionDefinitionVersionResourceReference: hybridnetwork.OpenDeploymentResourceReference{
Id: "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1",
IdType: "Open",
},
NfviId: pulumi.String("/subscriptions/subid/resourceGroups/testResourceGroup"),
NfviType: pulumi.String(hybridnetwork.NFVITypeAzureCore),
},
ResourceGroupName: pulumi.String("rg"),
})
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()
.location("eastus")
.networkFunctionName("testNf")
.properties(NetworkFunctionValueWithoutSecretsArgs.builder()
.allowSoftwareUpdate(false)
.configurationType("Open")
.deploymentValues("{\"virtualMachineName\":\"test-VM\",\"cpuCores\":4,\"memorySizeGB\":8,\"cloudServicesNetworkAttachment\":{\"attachedNetworkId\":\"test-csnet\",\"ipAllocationMethod\":\"Dynamic\",\"networkAttachmentName\":\"test-cs-vlan\"},\"networkAttachments\":[{\"attachedNetworkId\":\"test-l3vlan\",\"defaultGateway\":\"True\",\"ipAllocationMethod\":\"Dynamic\",\"networkAttachmentName\":\"test-vlan\"}],\"sshPublicKeys\":[{\"keyData\":\"ssh-rsa CMIIIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA0TqlveKKlc2MFvEmuXJiLGBsY1t4ML4uiRADGSZlnc+7Ugv3h+MCjkkwOKiOdsNo8k4KSBIG5GcQfKYOOd17AJvqCL6cGQbaLuqv0a64jeDm8oO8/xN/IM0oKw7rMr/2oAJOgIsfeXPkRxWWic9AVIS++H5Qi2r7bUFX+cqFsyUCAwEBBQ==\"}],\"storageProfile\":{\"osDisk\":{\"createOption\":\"Ephemeral\",\"deleteOption\":\"Delete\",\"diskSizeGB\":10}},\"userData\":\"testUserData\",\"adminUsername\":\"testUser\",\"virtioInterface\":\"Transitional\",\"isolateEmulatorThread\":\"False\",\"bootMethod\":\"BIOS\",\"placementHints\":[]}")
.networkFunctionDefinitionVersionResourceReference(OpenDeploymentResourceReferenceArgs.builder()
.id("/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1")
.idType("Open")
.build())
.nfviId("/subscriptions/subid/resourceGroups/testResourceGroup")
.nfviType("AzureCore")
.build())
.resourceGroupName("rg")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const networkFunction = new azure_native.hybridnetwork.NetworkFunction("networkFunction", {
location: "eastus",
networkFunctionName: "testNf",
properties: {
allowSoftwareUpdate: false,
configurationType: "Open",
deploymentValues: "{\"virtualMachineName\":\"test-VM\",\"cpuCores\":4,\"memorySizeGB\":8,\"cloudServicesNetworkAttachment\":{\"attachedNetworkId\":\"test-csnet\",\"ipAllocationMethod\":\"Dynamic\",\"networkAttachmentName\":\"test-cs-vlan\"},\"networkAttachments\":[{\"attachedNetworkId\":\"test-l3vlan\",\"defaultGateway\":\"True\",\"ipAllocationMethod\":\"Dynamic\",\"networkAttachmentName\":\"test-vlan\"}],\"sshPublicKeys\":[{\"keyData\":\"ssh-rsa CMIIIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA0TqlveKKlc2MFvEmuXJiLGBsY1t4ML4uiRADGSZlnc+7Ugv3h+MCjkkwOKiOdsNo8k4KSBIG5GcQfKYOOd17AJvqCL6cGQbaLuqv0a64jeDm8oO8/xN/IM0oKw7rMr/2oAJOgIsfeXPkRxWWic9AVIS++H5Qi2r7bUFX+cqFsyUCAwEBBQ==\"}],\"storageProfile\":{\"osDisk\":{\"createOption\":\"Ephemeral\",\"deleteOption\":\"Delete\",\"diskSizeGB\":10}},\"userData\":\"testUserData\",\"adminUsername\":\"testUser\",\"virtioInterface\":\"Transitional\",\"isolateEmulatorThread\":\"False\",\"bootMethod\":\"BIOS\",\"placementHints\":[]}",
networkFunctionDefinitionVersionResourceReference: {
id: "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1",
idType: "Open",
},
nfviId: "/subscriptions/subid/resourceGroups/testResourceGroup",
nfviType: azure_native.hybridnetwork.NFVIType.AzureCore,
},
resourceGroupName: "rg",
});
import pulumi
import pulumi_azure_native as azure_native
network_function = azure_native.hybridnetwork.NetworkFunction("networkFunction",
location="eastus",
network_function_name="testNf",
properties={
"allow_software_update": False,
"configuration_type": "Open",
"deployment_values": "{\"virtualMachineName\":\"test-VM\",\"cpuCores\":4,\"memorySizeGB\":8,\"cloudServicesNetworkAttachment\":{\"attachedNetworkId\":\"test-csnet\",\"ipAllocationMethod\":\"Dynamic\",\"networkAttachmentName\":\"test-cs-vlan\"},\"networkAttachments\":[{\"attachedNetworkId\":\"test-l3vlan\",\"defaultGateway\":\"True\",\"ipAllocationMethod\":\"Dynamic\",\"networkAttachmentName\":\"test-vlan\"}],\"sshPublicKeys\":[{\"keyData\":\"ssh-rsa CMIIIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA0TqlveKKlc2MFvEmuXJiLGBsY1t4ML4uiRADGSZlnc+7Ugv3h+MCjkkwOKiOdsNo8k4KSBIG5GcQfKYOOd17AJvqCL6cGQbaLuqv0a64jeDm8oO8/xN/IM0oKw7rMr/2oAJOgIsfeXPkRxWWic9AVIS++H5Qi2r7bUFX+cqFsyUCAwEBBQ==\"}],\"storageProfile\":{\"osDisk\":{\"createOption\":\"Ephemeral\",\"deleteOption\":\"Delete\",\"diskSizeGB\":10}},\"userData\":\"testUserData\",\"adminUsername\":\"testUser\",\"virtioInterface\":\"Transitional\",\"isolateEmulatorThread\":\"False\",\"bootMethod\":\"BIOS\",\"placementHints\":[]}",
"network_function_definition_version_resource_reference": {
"id": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1",
"id_type": "Open",
},
"nfvi_id": "/subscriptions/subid/resourceGroups/testResourceGroup",
"nfvi_type": azure_native.hybridnetwork.NFVIType.AZURE_CORE,
},
resource_group_name="rg")
resources:
networkFunction:
type: azure-native:hybridnetwork:NetworkFunction
properties:
location: eastus
networkFunctionName: testNf
properties:
allowSoftwareUpdate: false
configurationType: Open
deploymentValues: '{"virtualMachineName":"test-VM","cpuCores":4,"memorySizeGB":8,"cloudServicesNetworkAttachment":{"attachedNetworkId":"test-csnet","ipAllocationMethod":"Dynamic","networkAttachmentName":"test-cs-vlan"},"networkAttachments":[{"attachedNetworkId":"test-l3vlan","defaultGateway":"True","ipAllocationMethod":"Dynamic","networkAttachmentName":"test-vlan"}],"sshPublicKeys":[{"keyData":"ssh-rsa CMIIIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA0TqlveKKlc2MFvEmuXJiLGBsY1t4ML4uiRADGSZlnc+7Ugv3h+MCjkkwOKiOdsNo8k4KSBIG5GcQfKYOOd17AJvqCL6cGQbaLuqv0a64jeDm8oO8/xN/IM0oKw7rMr/2oAJOgIsfeXPkRxWWic9AVIS++H5Qi2r7bUFX+cqFsyUCAwEBBQ=="}],"storageProfile":{"osDisk":{"createOption":"Ephemeral","deleteOption":"Delete","diskSizeGB":10}},"userData":"testUserData","adminUsername":"testUser","virtioInterface":"Transitional","isolateEmulatorThread":"False","bootMethod":"BIOS","placementHints":[]}'
networkFunctionDefinitionVersionResourceReference:
id: /subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1
idType: Open
nfviId: /subscriptions/subid/resourceGroups/testResourceGroup
nfviType: AzureCore
resourceGroupName: rg
Create virtual network function resource on AzureOperatorNexus
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()
{
Location = "eastus",
NetworkFunctionName = "testNf",
Properties = new AzureNative.HybridNetwork.Inputs.NetworkFunctionValueWithoutSecretsArgs
{
AllowSoftwareUpdate = false,
ConfigurationType = "Open",
DeploymentValues = "{\"virtualMachineName\":\"test-VM\",\"extendedLocationName\":\"test-cluster\",\"cpuCores\":4,\"memorySizeGB\":8,\"cloudServicesNetworkAttachment\":{\"attachedNetworkId\":\"test-csnet\",\"ipAllocationMethod\":\"Dynamic\",\"networkAttachmentName\":\"test-cs-vlan\"},\"networkAttachments\":[{\"attachedNetworkId\":\"test-l3vlan\",\"defaultGateway\":\"True\",\"ipAllocationMethod\":\"Dynamic\",\"networkAttachmentName\":\"test-vlan\"}],\"sshPublicKeys\":[{\"keyData\":\"ssh-rsa CMIIIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA0TqlveKKlc2MFvEmuXJiLGBsY1t4ML4uiRADGSZlnc+7Ugv3h+MCjkkwOKiOdsNo8k4KSBIG5GcQfKYOOd17AJvqCL6cGQbaLuqv0a64jeDm8oO8/xN/IM0oKw7rMr/2oAJOgIsfeXPkRxWWic9AVIS++H5Qi2r7bUFX+cqFsyUCAwEBBQ==\"}],\"storageProfile\":{\"osDisk\":{\"createOption\":\"Ephemeral\",\"deleteOption\":\"Delete\",\"diskSizeGB\":10}},\"userData\":\"testUserData\",\"adminUsername\":\"testUser\",\"virtioInterface\":\"Transitional\",\"isolateEmulatorThread\":\"False\",\"bootMethod\":\"BIOS\",\"placementHints\":[]}",
NetworkFunctionDefinitionVersionResourceReference = new AzureNative.HybridNetwork.Inputs.OpenDeploymentResourceReferenceArgs
{
Id = "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1",
IdType = "Open",
},
NfviId = "/subscriptions/subid/resourceGroups/testResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/testCustomLocation",
NfviType = AzureNative.HybridNetwork.NFVIType.AzureOperatorNexus,
},
ResourceGroupName = "rg",
});
});
package main
import (
hybridnetwork "github.com/pulumi/pulumi-azure-native-sdk/hybridnetwork/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hybridnetwork.NewNetworkFunction(ctx, "networkFunction", &hybridnetwork.NetworkFunctionArgs{
Location: pulumi.String("eastus"),
NetworkFunctionName: pulumi.String("testNf"),
Properties: &hybridnetwork.NetworkFunctionValueWithoutSecretsArgs{
AllowSoftwareUpdate: pulumi.Bool(false),
ConfigurationType: pulumi.String("Open"),
DeploymentValues: pulumi.String("{\"virtualMachineName\":\"test-VM\",\"extendedLocationName\":\"test-cluster\",\"cpuCores\":4,\"memorySizeGB\":8,\"cloudServicesNetworkAttachment\":{\"attachedNetworkId\":\"test-csnet\",\"ipAllocationMethod\":\"Dynamic\",\"networkAttachmentName\":\"test-cs-vlan\"},\"networkAttachments\":[{\"attachedNetworkId\":\"test-l3vlan\",\"defaultGateway\":\"True\",\"ipAllocationMethod\":\"Dynamic\",\"networkAttachmentName\":\"test-vlan\"}],\"sshPublicKeys\":[{\"keyData\":\"ssh-rsa CMIIIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA0TqlveKKlc2MFvEmuXJiLGBsY1t4ML4uiRADGSZlnc+7Ugv3h+MCjkkwOKiOdsNo8k4KSBIG5GcQfKYOOd17AJvqCL6cGQbaLuqv0a64jeDm8oO8/xN/IM0oKw7rMr/2oAJOgIsfeXPkRxWWic9AVIS++H5Qi2r7bUFX+cqFsyUCAwEBBQ==\"}],\"storageProfile\":{\"osDisk\":{\"createOption\":\"Ephemeral\",\"deleteOption\":\"Delete\",\"diskSizeGB\":10}},\"userData\":\"testUserData\",\"adminUsername\":\"testUser\",\"virtioInterface\":\"Transitional\",\"isolateEmulatorThread\":\"False\",\"bootMethod\":\"BIOS\",\"placementHints\":[]}"),
NetworkFunctionDefinitionVersionResourceReference: hybridnetwork.OpenDeploymentResourceReference{
Id: "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1",
IdType: "Open",
},
NfviId: pulumi.String("/subscriptions/subid/resourceGroups/testResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/testCustomLocation"),
NfviType: pulumi.String(hybridnetwork.NFVITypeAzureOperatorNexus),
},
ResourceGroupName: pulumi.String("rg"),
})
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()
.location("eastus")
.networkFunctionName("testNf")
.properties(NetworkFunctionValueWithoutSecretsArgs.builder()
.allowSoftwareUpdate(false)
.configurationType("Open")
.deploymentValues("{\"virtualMachineName\":\"test-VM\",\"extendedLocationName\":\"test-cluster\",\"cpuCores\":4,\"memorySizeGB\":8,\"cloudServicesNetworkAttachment\":{\"attachedNetworkId\":\"test-csnet\",\"ipAllocationMethod\":\"Dynamic\",\"networkAttachmentName\":\"test-cs-vlan\"},\"networkAttachments\":[{\"attachedNetworkId\":\"test-l3vlan\",\"defaultGateway\":\"True\",\"ipAllocationMethod\":\"Dynamic\",\"networkAttachmentName\":\"test-vlan\"}],\"sshPublicKeys\":[{\"keyData\":\"ssh-rsa CMIIIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA0TqlveKKlc2MFvEmuXJiLGBsY1t4ML4uiRADGSZlnc+7Ugv3h+MCjkkwOKiOdsNo8k4KSBIG5GcQfKYOOd17AJvqCL6cGQbaLuqv0a64jeDm8oO8/xN/IM0oKw7rMr/2oAJOgIsfeXPkRxWWic9AVIS++H5Qi2r7bUFX+cqFsyUCAwEBBQ==\"}],\"storageProfile\":{\"osDisk\":{\"createOption\":\"Ephemeral\",\"deleteOption\":\"Delete\",\"diskSizeGB\":10}},\"userData\":\"testUserData\",\"adminUsername\":\"testUser\",\"virtioInterface\":\"Transitional\",\"isolateEmulatorThread\":\"False\",\"bootMethod\":\"BIOS\",\"placementHints\":[]}")
.networkFunctionDefinitionVersionResourceReference(OpenDeploymentResourceReferenceArgs.builder()
.id("/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1")
.idType("Open")
.build())
.nfviId("/subscriptions/subid/resourceGroups/testResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/testCustomLocation")
.nfviType("AzureOperatorNexus")
.build())
.resourceGroupName("rg")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const networkFunction = new azure_native.hybridnetwork.NetworkFunction("networkFunction", {
location: "eastus",
networkFunctionName: "testNf",
properties: {
allowSoftwareUpdate: false,
configurationType: "Open",
deploymentValues: "{\"virtualMachineName\":\"test-VM\",\"extendedLocationName\":\"test-cluster\",\"cpuCores\":4,\"memorySizeGB\":8,\"cloudServicesNetworkAttachment\":{\"attachedNetworkId\":\"test-csnet\",\"ipAllocationMethod\":\"Dynamic\",\"networkAttachmentName\":\"test-cs-vlan\"},\"networkAttachments\":[{\"attachedNetworkId\":\"test-l3vlan\",\"defaultGateway\":\"True\",\"ipAllocationMethod\":\"Dynamic\",\"networkAttachmentName\":\"test-vlan\"}],\"sshPublicKeys\":[{\"keyData\":\"ssh-rsa CMIIIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA0TqlveKKlc2MFvEmuXJiLGBsY1t4ML4uiRADGSZlnc+7Ugv3h+MCjkkwOKiOdsNo8k4KSBIG5GcQfKYOOd17AJvqCL6cGQbaLuqv0a64jeDm8oO8/xN/IM0oKw7rMr/2oAJOgIsfeXPkRxWWic9AVIS++H5Qi2r7bUFX+cqFsyUCAwEBBQ==\"}],\"storageProfile\":{\"osDisk\":{\"createOption\":\"Ephemeral\",\"deleteOption\":\"Delete\",\"diskSizeGB\":10}},\"userData\":\"testUserData\",\"adminUsername\":\"testUser\",\"virtioInterface\":\"Transitional\",\"isolateEmulatorThread\":\"False\",\"bootMethod\":\"BIOS\",\"placementHints\":[]}",
networkFunctionDefinitionVersionResourceReference: {
id: "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1",
idType: "Open",
},
nfviId: "/subscriptions/subid/resourceGroups/testResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/testCustomLocation",
nfviType: azure_native.hybridnetwork.NFVIType.AzureOperatorNexus,
},
resourceGroupName: "rg",
});
import pulumi
import pulumi_azure_native as azure_native
network_function = azure_native.hybridnetwork.NetworkFunction("networkFunction",
location="eastus",
network_function_name="testNf",
properties={
"allow_software_update": False,
"configuration_type": "Open",
"deployment_values": "{\"virtualMachineName\":\"test-VM\",\"extendedLocationName\":\"test-cluster\",\"cpuCores\":4,\"memorySizeGB\":8,\"cloudServicesNetworkAttachment\":{\"attachedNetworkId\":\"test-csnet\",\"ipAllocationMethod\":\"Dynamic\",\"networkAttachmentName\":\"test-cs-vlan\"},\"networkAttachments\":[{\"attachedNetworkId\":\"test-l3vlan\",\"defaultGateway\":\"True\",\"ipAllocationMethod\":\"Dynamic\",\"networkAttachmentName\":\"test-vlan\"}],\"sshPublicKeys\":[{\"keyData\":\"ssh-rsa CMIIIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA0TqlveKKlc2MFvEmuXJiLGBsY1t4ML4uiRADGSZlnc+7Ugv3h+MCjkkwOKiOdsNo8k4KSBIG5GcQfKYOOd17AJvqCL6cGQbaLuqv0a64jeDm8oO8/xN/IM0oKw7rMr/2oAJOgIsfeXPkRxWWic9AVIS++H5Qi2r7bUFX+cqFsyUCAwEBBQ==\"}],\"storageProfile\":{\"osDisk\":{\"createOption\":\"Ephemeral\",\"deleteOption\":\"Delete\",\"diskSizeGB\":10}},\"userData\":\"testUserData\",\"adminUsername\":\"testUser\",\"virtioInterface\":\"Transitional\",\"isolateEmulatorThread\":\"False\",\"bootMethod\":\"BIOS\",\"placementHints\":[]}",
"network_function_definition_version_resource_reference": {
"id": "/subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1",
"id_type": "Open",
},
"nfvi_id": "/subscriptions/subid/resourceGroups/testResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/testCustomLocation",
"nfvi_type": azure_native.hybridnetwork.NFVIType.AZURE_OPERATOR_NEXUS,
},
resource_group_name="rg")
resources:
networkFunction:
type: azure-native:hybridnetwork:NetworkFunction
properties:
location: eastus
networkFunctionName: testNf
properties:
allowSoftwareUpdate: false
configurationType: Open
deploymentValues: '{"virtualMachineName":"test-VM","extendedLocationName":"test-cluster","cpuCores":4,"memorySizeGB":8,"cloudServicesNetworkAttachment":{"attachedNetworkId":"test-csnet","ipAllocationMethod":"Dynamic","networkAttachmentName":"test-cs-vlan"},"networkAttachments":[{"attachedNetworkId":"test-l3vlan","defaultGateway":"True","ipAllocationMethod":"Dynamic","networkAttachmentName":"test-vlan"}],"sshPublicKeys":[{"keyData":"ssh-rsa CMIIIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA0TqlveKKlc2MFvEmuXJiLGBsY1t4ML4uiRADGSZlnc+7Ugv3h+MCjkkwOKiOdsNo8k4KSBIG5GcQfKYOOd17AJvqCL6cGQbaLuqv0a64jeDm8oO8/xN/IM0oKw7rMr/2oAJOgIsfeXPkRxWWic9AVIS++H5Qi2r7bUFX+cqFsyUCAwEBBQ=="}],"storageProfile":{"osDisk":{"createOption":"Ephemeral","deleteOption":"Delete","diskSizeGB":10}},"userData":"testUserData","adminUsername":"testUser","virtioInterface":"Transitional","isolateEmulatorThread":"False","bootMethod":"BIOS","placementHints":[]}'
networkFunctionDefinitionVersionResourceReference:
id: /subscriptions/subid/resourcegroups/rg/providers/Microsoft.HybridNetwork/publishers/testVendor/networkFunctionDefinitionGroups/testnetworkFunctionDefinitionGroupName/networkFunctionDefinitionVersions/1.0.1
idType: Open
nfviId: /subscriptions/subid/resourceGroups/testResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/testCustomLocation
nfviType: AzureOperatorNexus
resourceGroupName: rg
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,
identity: Optional[ManagedServiceIdentityArgs] = None,
location: Optional[str] = None,
network_function_name: Optional[str] = None,
properties: Optional[Union[NetworkFunctionValueWithSecretsArgs, NetworkFunctionValueWithoutSecretsArgs]] = None,
tags: Optional[Mapping[str, 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",
Identity = new AzureNative.HybridNetwork.Inputs.ManagedServiceIdentityArgs
{
Type = "string",
UserAssignedIdentities = new[]
{
"string",
},
},
Location = "string",
NetworkFunctionName = "string",
Properties = new AzureNative.HybridNetwork.Inputs.NetworkFunctionValueWithSecretsArgs
{
ConfigurationType = "Secret",
AllowSoftwareUpdate = false,
NetworkFunctionDefinitionGroupName = "string",
NetworkFunctionDefinitionOfferingLocation = "string",
NetworkFunctionDefinitionVersion = "string",
NetworkFunctionDefinitionVersionResourceReference = new AzureNative.HybridNetwork.Inputs.OpenDeploymentResourceReferenceArgs
{
IdType = "Open",
Id = "string",
},
NfviId = "string",
NfviType = "string",
PublisherName = "string",
PublisherScope = "string",
RoleOverrideValues = new[]
{
"string",
},
SecretDeploymentValues = "string",
},
Tags =
{
{ "string", "string" },
},
});
example, err := hybridnetwork.NewNetworkFunction(ctx, "networkFunctionResource", &hybridnetwork.NetworkFunctionArgs{
ResourceGroupName: pulumi.String("string"),
Identity: &hybridnetwork.ManagedServiceIdentityArgs{
Type: pulumi.String("string"),
UserAssignedIdentities: pulumi.StringArray{
pulumi.String("string"),
},
},
Location: pulumi.String("string"),
NetworkFunctionName: pulumi.String("string"),
Properties: &hybridnetwork.NetworkFunctionValueWithSecretsArgs{
ConfigurationType: pulumi.String("Secret"),
AllowSoftwareUpdate: pulumi.Bool(false),
NetworkFunctionDefinitionGroupName: pulumi.String("string"),
NetworkFunctionDefinitionOfferingLocation: pulumi.String("string"),
NetworkFunctionDefinitionVersion: pulumi.String("string"),
NetworkFunctionDefinitionVersionResourceReference: hybridnetwork.OpenDeploymentResourceReference{
IdType: "Open",
Id: "string",
},
NfviId: pulumi.String("string"),
NfviType: pulumi.String("string"),
PublisherName: pulumi.String("string"),
PublisherScope: pulumi.String("string"),
RoleOverrideValues: pulumi.StringArray{
pulumi.String("string"),
},
SecretDeploymentValues: pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var networkFunctionResource = new NetworkFunction("networkFunctionResource", NetworkFunctionArgs.builder()
.resourceGroupName("string")
.identity(ManagedServiceIdentityArgs.builder()
.type("string")
.userAssignedIdentities("string")
.build())
.location("string")
.networkFunctionName("string")
.properties(NetworkFunctionValueWithSecretsArgs.builder()
.configurationType("Secret")
.allowSoftwareUpdate(false)
.networkFunctionDefinitionGroupName("string")
.networkFunctionDefinitionOfferingLocation("string")
.networkFunctionDefinitionVersion("string")
.networkFunctionDefinitionVersionResourceReference(OpenDeploymentResourceReferenceArgs.builder()
.idType("Open")
.id("string")
.build())
.nfviId("string")
.nfviType("string")
.publisherName("string")
.publisherScope("string")
.roleOverrideValues("string")
.secretDeploymentValues("string")
.build())
.tags(Map.of("string", "string"))
.build());
network_function_resource = azure_native.hybridnetwork.NetworkFunction("networkFunctionResource",
resource_group_name="string",
identity={
"type": "string",
"user_assigned_identities": ["string"],
},
location="string",
network_function_name="string",
properties={
"configuration_type": "Secret",
"allow_software_update": False,
"network_function_definition_group_name": "string",
"network_function_definition_offering_location": "string",
"network_function_definition_version": "string",
"network_function_definition_version_resource_reference": {
"id_type": "Open",
"id": "string",
},
"nfvi_id": "string",
"nfvi_type": "string",
"publisher_name": "string",
"publisher_scope": "string",
"role_override_values": ["string"],
"secret_deployment_values": "string",
},
tags={
"string": "string",
})
const networkFunctionResource = new azure_native.hybridnetwork.NetworkFunction("networkFunctionResource", {
resourceGroupName: "string",
identity: {
type: "string",
userAssignedIdentities: ["string"],
},
location: "string",
networkFunctionName: "string",
properties: {
configurationType: "Secret",
allowSoftwareUpdate: false,
networkFunctionDefinitionGroupName: "string",
networkFunctionDefinitionOfferingLocation: "string",
networkFunctionDefinitionVersion: "string",
networkFunctionDefinitionVersionResourceReference: {
idType: "Open",
id: "string",
},
nfviId: "string",
nfviType: "string",
publisherName: "string",
publisherScope: "string",
roleOverrideValues: ["string"],
secretDeploymentValues: "string",
},
tags: {
string: "string",
},
});
type: azure-native:hybridnetwork:NetworkFunction
properties:
identity:
type: string
userAssignedIdentities:
- string
location: string
networkFunctionName: string
properties:
allowSoftwareUpdate: false
configurationType: Secret
networkFunctionDefinitionGroupName: string
networkFunctionDefinitionOfferingLocation: string
networkFunctionDefinitionVersion: string
networkFunctionDefinitionVersionResourceReference:
id: string
idType: Open
nfviId: string
nfviType: string
publisherName: string
publisherScope: string
roleOverrideValues:
- string
secretDeploymentValues: string
resourceGroupName: string
tags:
string: 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The NetworkFunction resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Identity
Pulumi.
Azure Native. Hybrid Network. Inputs. Managed Service Identity - The managed identity of the network function.
- Location string
- The geo-location where the resource lives
- Network
Function stringName - Resource name for the network function resource.
- Properties
Pulumi.
Azure | Pulumi.Native. Hybrid Network. Inputs. Network Function Value With Secrets Azure Native. Hybrid Network. Inputs. Network Function Value Without Secrets - Network function properties.
- Dictionary<string, string>
- Resource tags.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Identity
Managed
Service Identity Args - The managed identity of the network function.
- Location string
- The geo-location where the resource lives
- Network
Function stringName - Resource name for the network function resource.
- Properties
Network
Function | NetworkValue With Secrets Args Function Value Without Secrets Args - Network function properties.
- map[string]string
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- identity
Managed
Service Identity - The managed identity of the network function.
- location String
- The geo-location where the resource lives
- network
Function StringName - Resource name for the network function resource.
- properties
Network
Function | NetworkValue With Secrets Function Value Without Secrets - Network function properties.
- Map<String,String>
- Resource tags.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- identity
Managed
Service Identity - The managed identity of the network function.
- location string
- The geo-location where the resource lives
- network
Function stringName - Resource name for the network function resource.
- properties
Network
Function | NetworkValue With Secrets Function Value Without Secrets - Network function properties.
- {[key: string]: string}
- Resource tags.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- identity
Managed
Service Identity Args - The managed identity of the network function.
- location str
- The geo-location where the resource lives
- network_
function_ strname - Resource name for the network function resource.
- properties
Network
Function | NetworkValue With Secrets Args Function Value Without Secrets Args - Network function properties.
- Mapping[str, str]
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- identity Property Map
- The managed identity of the network function.
- location String
- The geo-location where the resource lives
- network
Function StringName - Resource name for the network function resource.
- properties Property Map | Property Map
- Network function properties.
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the NetworkFunction resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Hybrid Network. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- etag String
- A unique read-only string that changes whenever the resource is updated.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- etag string
- A unique read-only string that changes whenever the resource is updated.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- etag str
- A unique read-only string that changes whenever the resource is updated.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- etag String
- A unique read-only string that changes whenever the resource is updated.
Supporting Types
ManagedServiceIdentity, ManagedServiceIdentityArgs
- Type
string | Pulumi.
Azure Native. Hybrid Network. Managed Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned List<string>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- Type
string | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned []stringIdentities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
String | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned List<String>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
string | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned string[]Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
str | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user_
assigned_ Sequence[str]identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
String | "None" | "System
Assigned" | "User Assigned" | "System Assigned,User Assigned" - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned List<String>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
ManagedServiceIdentityResponse, ManagedServiceIdentityResponseArgs
- Principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Hybrid Network. Inputs. User Assigned Identity Response> - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- Principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned map[string]UserIdentities Assigned Identity Response - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type String
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned Map<String,UserIdentities Assigned Identity Response> - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned {[key: string]: UserIdentities Assigned Identity Response} - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal_
id str - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant_
id str - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type str
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user_
assigned_ Mapping[str, Useridentities Assigned Identity Response] - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type String
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned Map<Property Map>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
ManagedServiceIdentityType, ManagedServiceIdentityTypeArgs
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- Managed
Service Identity Type None - None
- Managed
Service Identity Type System Assigned - SystemAssigned
- Managed
Service Identity Type User Assigned - UserAssigned
- Managed
Service Identity Type_System Assigned_User Assigned - SystemAssigned,UserAssigned
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- NONE
- None
- SYSTEM_ASSIGNED
- SystemAssigned
- USER_ASSIGNED
- UserAssigned
- SYSTEM_ASSIGNED_USER_ASSIGNED
- SystemAssigned,UserAssigned
- "None"
- None
- "System
Assigned" - SystemAssigned
- "User
Assigned" - UserAssigned
- "System
Assigned,User Assigned" - SystemAssigned,UserAssigned
NFVIType, NFVITypeArgs
- Unknown
- Unknown
- Azure
Arc Kubernetes - AzureArcKubernetes
- Azure
Core - AzureCore
- Azure
Operator Nexus - AzureOperatorNexus
- NFVIType
Unknown - Unknown
- NFVIType
Azure Arc Kubernetes - AzureArcKubernetes
- NFVIType
Azure Core - AzureCore
- NFVIType
Azure Operator Nexus - AzureOperatorNexus
- Unknown
- Unknown
- Azure
Arc Kubernetes - AzureArcKubernetes
- Azure
Core - AzureCore
- Azure
Operator Nexus - AzureOperatorNexus
- Unknown
- Unknown
- Azure
Arc Kubernetes - AzureArcKubernetes
- Azure
Core - AzureCore
- Azure
Operator Nexus - AzureOperatorNexus
- UNKNOWN
- Unknown
- AZURE_ARC_KUBERNETES
- AzureArcKubernetes
- AZURE_CORE
- AzureCore
- AZURE_OPERATOR_NEXUS
- AzureOperatorNexus
- "Unknown"
- Unknown
- "Azure
Arc Kubernetes" - AzureArcKubernetes
- "Azure
Core" - AzureCore
- "Azure
Operator Nexus" - AzureOperatorNexus
NetworkFunctionValueWithSecrets, NetworkFunctionValueWithSecretsArgs
- Allow
Software boolUpdate - Indicates if software updates are allowed during deployment.
- Network
Function stringDefinition Group Name - The network function definition group name for the network function.
- Network
Function stringDefinition Offering Location - The location of the network function definition offering.
- Network
Function stringDefinition Version - The network function definition version for the network function.
- Network
Function Pulumi.Definition Version Resource Reference Azure | Pulumi.Native. Hybrid Network. Inputs. Open Deployment Resource Reference Azure Native. Hybrid Network. Inputs. Secret Deployment Resource Reference - The network function definition version resource reference.
- Nfvi
Id string - The nfviId for the network function.
- Nfvi
Type string | Pulumi.Azure Native. Hybrid Network. NFVIType - The nfvi type for the network function.
- Publisher
Name string - The publisher name for the network function.
- Publisher
Scope string | Pulumi.Azure Native. Hybrid Network. Publisher Scope - The scope of the publisher.
- Role
Override List<string>Values - The role configuration override values from the user.
- Secret
Deployment stringValues - The JSON-serialized secret deployment values from the user. This contains secrets like passwords,keys etc
- Allow
Software boolUpdate - Indicates if software updates are allowed during deployment.
- Network
Function stringDefinition Group Name - The network function definition group name for the network function.
- Network
Function stringDefinition Offering Location - The location of the network function definition offering.
- Network
Function stringDefinition Version - The network function definition version for the network function.
- Network
Function OpenDefinition Version Resource Reference Deployment | SecretResource Reference Deployment Resource Reference - The network function definition version resource reference.
- Nfvi
Id string - The nfviId for the network function.
- Nfvi
Type string | NFVIType - The nfvi type for the network function.
- Publisher
Name string - The publisher name for the network function.
- Publisher
Scope string | PublisherScope - The scope of the publisher.
- Role
Override []stringValues - The role configuration override values from the user.
- Secret
Deployment stringValues - The JSON-serialized secret deployment values from the user. This contains secrets like passwords,keys etc
- allow
Software BooleanUpdate - Indicates if software updates are allowed during deployment.
- network
Function StringDefinition Group Name - The network function definition group name for the network function.
- network
Function StringDefinition Offering Location - The location of the network function definition offering.
- network
Function StringDefinition Version - The network function definition version for the network function.
- network
Function OpenDefinition Version Resource Reference Deployment | SecretResource Reference Deployment Resource Reference - The network function definition version resource reference.
- nfvi
Id String - The nfviId for the network function.
- nfvi
Type String | NFVIType - The nfvi type for the network function.
- publisher
Name String - The publisher name for the network function.
- publisher
Scope String | PublisherScope - The scope of the publisher.
- role
Override List<String>Values - The role configuration override values from the user.
- secret
Deployment StringValues - The JSON-serialized secret deployment values from the user. This contains secrets like passwords,keys etc
- allow
Software booleanUpdate - Indicates if software updates are allowed during deployment.
- network
Function stringDefinition Group Name - The network function definition group name for the network function.
- network
Function stringDefinition Offering Location - The location of the network function definition offering.
- network
Function stringDefinition Version - The network function definition version for the network function.
- network
Function OpenDefinition Version Resource Reference Deployment | SecretResource Reference Deployment Resource Reference - The network function definition version resource reference.
- nfvi
Id string - The nfviId for the network function.
- nfvi
Type string | NFVIType - The nfvi type for the network function.
- publisher
Name string - The publisher name for the network function.
- publisher
Scope string | PublisherScope - The scope of the publisher.
- role
Override string[]Values - The role configuration override values from the user.
- secret
Deployment stringValues - The JSON-serialized secret deployment values from the user. This contains secrets like passwords,keys etc
- allow_
software_ boolupdate - Indicates if software updates are allowed during deployment.
- network_
function_ strdefinition_ group_ name - The network function definition group name for the network function.
- network_
function_ strdefinition_ offering_ location - The location of the network function definition offering.
- network_
function_ strdefinition_ version - The network function definition version for the network function.
- network_
function_ Opendefinition_ version_ resource_ reference Deployment | SecretResource Reference Deployment Resource Reference - The network function definition version resource reference.
- nfvi_
id str - The nfviId for the network function.
- nfvi_
type str | NFVIType - The nfvi type for the network function.
- publisher_
name str - The publisher name for the network function.
- publisher_
scope str | PublisherScope - The scope of the publisher.
- role_
override_ Sequence[str]values - The role configuration override values from the user.
- secret_
deployment_ strvalues - The JSON-serialized secret deployment values from the user. This contains secrets like passwords,keys etc
- allow
Software BooleanUpdate - Indicates if software updates are allowed during deployment.
- network
Function StringDefinition Group Name - The network function definition group name for the network function.
- network
Function StringDefinition Offering Location - The location of the network function definition offering.
- network
Function StringDefinition Version - The network function definition version for the network function.
- network
Function Property Map | Property MapDefinition Version Resource Reference - The network function definition version resource reference.
- nfvi
Id String - The nfviId for the network function.
- nfvi
Type String | "Unknown" | "AzureArc Kubernetes" | "Azure Core" | "Azure Operator Nexus" - The nfvi type for the network function.
- publisher
Name String - The publisher name for the network function.
- publisher
Scope String | "Unknown" | "Private" - The scope of the publisher.
- role
Override List<String>Values - The role configuration override values from the user.
- secret
Deployment StringValues - The JSON-serialized secret deployment values from the user. This contains secrets like passwords,keys etc
NetworkFunctionValueWithSecretsResponse, NetworkFunctionValueWithSecretsResponseArgs
- Provisioning
State string - The provisioning state of the network function resource.
- Allow
Software boolUpdate - Indicates if software updates are allowed during deployment.
- Network
Function stringDefinition Group Name - The network function definition group name for the network function.
- Network
Function stringDefinition Offering Location - The location of the network function definition offering.
- Network
Function stringDefinition Version - The network function definition version for the network function.
- Network
Function Pulumi.Definition Version Resource Reference Azure | Pulumi.Native. Hybrid Network. Inputs. Open Deployment Resource Reference Response Azure Native. Hybrid Network. Inputs. Secret Deployment Resource Reference Response - The network function definition version resource reference.
- Nfvi
Id string - The nfviId for the network function.
- Nfvi
Type string - The nfvi type for the network function.
- Publisher
Name string - The publisher name for the network function.
- Publisher
Scope string - The scope of the publisher.
- Role
Override List<string>Values - The role configuration override values from the user.
- Provisioning
State string - The provisioning state of the network function resource.
- Allow
Software boolUpdate - Indicates if software updates are allowed during deployment.
- Network
Function stringDefinition Group Name - The network function definition group name for the network function.
- Network
Function stringDefinition Offering Location - The location of the network function definition offering.
- Network
Function stringDefinition Version - The network function definition version for the network function.
- Network
Function OpenDefinition Version Resource Reference Deployment | SecretResource Reference Response Deployment Resource Reference Response - The network function definition version resource reference.
- Nfvi
Id string - The nfviId for the network function.
- Nfvi
Type string - The nfvi type for the network function.
- Publisher
Name string - The publisher name for the network function.
- Publisher
Scope string - The scope of the publisher.
- Role
Override []stringValues - The role configuration override values from the user.
- provisioning
State String - The provisioning state of the network function resource.
- allow
Software BooleanUpdate - Indicates if software updates are allowed during deployment.
- network
Function StringDefinition Group Name - The network function definition group name for the network function.
- network
Function StringDefinition Offering Location - The location of the network function definition offering.
- network
Function StringDefinition Version - The network function definition version for the network function.
- network
Function OpenDefinition Version Resource Reference Deployment | SecretResource Reference Response Deployment Resource Reference Response - The network function definition version resource reference.
- nfvi
Id String - The nfviId for the network function.
- nfvi
Type String - The nfvi type for the network function.
- publisher
Name String - The publisher name for the network function.
- publisher
Scope String - The scope of the publisher.
- role
Override List<String>Values - The role configuration override values from the user.
- provisioning
State string - The provisioning state of the network function resource.
- allow
Software booleanUpdate - Indicates if software updates are allowed during deployment.
- network
Function stringDefinition Group Name - The network function definition group name for the network function.
- network
Function stringDefinition Offering Location - The location of the network function definition offering.
- network
Function stringDefinition Version - The network function definition version for the network function.
- network
Function OpenDefinition Version Resource Reference Deployment | SecretResource Reference Response Deployment Resource Reference Response - The network function definition version resource reference.
- nfvi
Id string - The nfviId for the network function.
- nfvi
Type string - The nfvi type for the network function.
- publisher
Name string - The publisher name for the network function.
- publisher
Scope string - The scope of the publisher.
- role
Override string[]Values - The role configuration override values from the user.
- provisioning_
state str - The provisioning state of the network function resource.
- allow_
software_ boolupdate - Indicates if software updates are allowed during deployment.
- network_
function_ strdefinition_ group_ name - The network function definition group name for the network function.
- network_
function_ strdefinition_ offering_ location - The location of the network function definition offering.
- network_
function_ strdefinition_ version - The network function definition version for the network function.
- network_
function_ Opendefinition_ version_ resource_ reference Deployment | SecretResource Reference Response Deployment Resource Reference Response - The network function definition version resource reference.
- nfvi_
id str - The nfviId for the network function.
- nfvi_
type str - The nfvi type for the network function.
- publisher_
name str - The publisher name for the network function.
- publisher_
scope str - The scope of the publisher.
- role_
override_ Sequence[str]values - The role configuration override values from the user.
- provisioning
State String - The provisioning state of the network function resource.
- allow
Software BooleanUpdate - Indicates if software updates are allowed during deployment.
- network
Function StringDefinition Group Name - The network function definition group name for the network function.
- network
Function StringDefinition Offering Location - The location of the network function definition offering.
- network
Function StringDefinition Version - The network function definition version for the network function.
- network
Function Property Map | Property MapDefinition Version Resource Reference - The network function definition version resource reference.
- nfvi
Id String - The nfviId for the network function.
- nfvi
Type String - The nfvi type for the network function.
- publisher
Name String - The publisher name for the network function.
- publisher
Scope String - The scope of the publisher.
- role
Override List<String>Values - The role configuration override values from the user.
NetworkFunctionValueWithoutSecrets, NetworkFunctionValueWithoutSecretsArgs
- Allow
Software boolUpdate - Indicates if software updates are allowed during deployment.
- Deployment
Values string - The JSON-serialized deployment values from the user.
- Network
Function stringDefinition Group Name - The network function definition group name for the network function.
- Network
Function stringDefinition Offering Location - The location of the network function definition offering.
- Network
Function stringDefinition Version - The network function definition version for the network function.
- Network
Function Pulumi.Definition Version Resource Reference Azure | Pulumi.Native. Hybrid Network. Inputs. Open Deployment Resource Reference Azure Native. Hybrid Network. Inputs. Secret Deployment Resource Reference - The network function definition version resource reference.
- Nfvi
Id string - The nfviId for the network function.
- Nfvi
Type string | Pulumi.Azure Native. Hybrid Network. NFVIType - The nfvi type for the network function.
- Publisher
Name string - The publisher name for the network function.
- Publisher
Scope string | Pulumi.Azure Native. Hybrid Network. Publisher Scope - The scope of the publisher.
- Role
Override List<string>Values - The role configuration override values from the user.
- Allow
Software boolUpdate - Indicates if software updates are allowed during deployment.
- Deployment
Values string - The JSON-serialized deployment values from the user.
- Network
Function stringDefinition Group Name - The network function definition group name for the network function.
- Network
Function stringDefinition Offering Location - The location of the network function definition offering.
- Network
Function stringDefinition Version - The network function definition version for the network function.
- Network
Function OpenDefinition Version Resource Reference Deployment | SecretResource Reference Deployment Resource Reference - The network function definition version resource reference.
- Nfvi
Id string - The nfviId for the network function.
- Nfvi
Type string | NFVIType - The nfvi type for the network function.
- Publisher
Name string - The publisher name for the network function.
- Publisher
Scope string | PublisherScope - The scope of the publisher.
- Role
Override []stringValues - The role configuration override values from the user.
- allow
Software BooleanUpdate - Indicates if software updates are allowed during deployment.
- deployment
Values String - The JSON-serialized deployment values from the user.
- network
Function StringDefinition Group Name - The network function definition group name for the network function.
- network
Function StringDefinition Offering Location - The location of the network function definition offering.
- network
Function StringDefinition Version - The network function definition version for the network function.
- network
Function OpenDefinition Version Resource Reference Deployment | SecretResource Reference Deployment Resource Reference - The network function definition version resource reference.
- nfvi
Id String - The nfviId for the network function.
- nfvi
Type String | NFVIType - The nfvi type for the network function.
- publisher
Name String - The publisher name for the network function.
- publisher
Scope String | PublisherScope - The scope of the publisher.
- role
Override List<String>Values - The role configuration override values from the user.
- allow
Software booleanUpdate - Indicates if software updates are allowed during deployment.
- deployment
Values string - The JSON-serialized deployment values from the user.
- network
Function stringDefinition Group Name - The network function definition group name for the network function.
- network
Function stringDefinition Offering Location - The location of the network function definition offering.
- network
Function stringDefinition Version - The network function definition version for the network function.
- network
Function OpenDefinition Version Resource Reference Deployment | SecretResource Reference Deployment Resource Reference - The network function definition version resource reference.
- nfvi
Id string - The nfviId for the network function.
- nfvi
Type string | NFVIType - The nfvi type for the network function.
- publisher
Name string - The publisher name for the network function.
- publisher
Scope string | PublisherScope - The scope of the publisher.
- role
Override string[]Values - The role configuration override values from the user.
- allow_
software_ boolupdate - Indicates if software updates are allowed during deployment.
- deployment_
values str - The JSON-serialized deployment values from the user.
- network_
function_ strdefinition_ group_ name - The network function definition group name for the network function.
- network_
function_ strdefinition_ offering_ location - The location of the network function definition offering.
- network_
function_ strdefinition_ version - The network function definition version for the network function.
- network_
function_ Opendefinition_ version_ resource_ reference Deployment | SecretResource Reference Deployment Resource Reference - The network function definition version resource reference.
- nfvi_
id str - The nfviId for the network function.
- nfvi_
type str | NFVIType - The nfvi type for the network function.
- publisher_
name str - The publisher name for the network function.
- publisher_
scope str | PublisherScope - The scope of the publisher.
- role_
override_ Sequence[str]values - The role configuration override values from the user.
- allow
Software BooleanUpdate - Indicates if software updates are allowed during deployment.
- deployment
Values String - The JSON-serialized deployment values from the user.
- network
Function StringDefinition Group Name - The network function definition group name for the network function.
- network
Function StringDefinition Offering Location - The location of the network function definition offering.
- network
Function StringDefinition Version - The network function definition version for the network function.
- network
Function Property Map | Property MapDefinition Version Resource Reference - The network function definition version resource reference.
- nfvi
Id String - The nfviId for the network function.
- nfvi
Type String | "Unknown" | "AzureArc Kubernetes" | "Azure Core" | "Azure Operator Nexus" - The nfvi type for the network function.
- publisher
Name String - The publisher name for the network function.
- publisher
Scope String | "Unknown" | "Private" - The scope of the publisher.
- role
Override List<String>Values - The role configuration override values from the user.
NetworkFunctionValueWithoutSecretsResponse, NetworkFunctionValueWithoutSecretsResponseArgs
- Provisioning
State string - The provisioning state of the network function resource.
- Allow
Software boolUpdate - Indicates if software updates are allowed during deployment.
- Deployment
Values string - The JSON-serialized deployment values from the user.
- Network
Function stringDefinition Group Name - The network function definition group name for the network function.
- Network
Function stringDefinition Offering Location - The location of the network function definition offering.
- Network
Function stringDefinition Version - The network function definition version for the network function.
- Network
Function Pulumi.Definition Version Resource Reference Azure | Pulumi.Native. Hybrid Network. Inputs. Open Deployment Resource Reference Response Azure Native. Hybrid Network. Inputs. Secret Deployment Resource Reference Response - The network function definition version resource reference.
- Nfvi
Id string - The nfviId for the network function.
- Nfvi
Type string - The nfvi type for the network function.
- Publisher
Name string - The publisher name for the network function.
- Publisher
Scope string - The scope of the publisher.
- Role
Override List<string>Values - The role configuration override values from the user.
- Provisioning
State string - The provisioning state of the network function resource.
- Allow
Software boolUpdate - Indicates if software updates are allowed during deployment.
- Deployment
Values string - The JSON-serialized deployment values from the user.
- Network
Function stringDefinition Group Name - The network function definition group name for the network function.
- Network
Function stringDefinition Offering Location - The location of the network function definition offering.
- Network
Function stringDefinition Version - The network function definition version for the network function.
- Network
Function OpenDefinition Version Resource Reference Deployment | SecretResource Reference Response Deployment Resource Reference Response - The network function definition version resource reference.
- Nfvi
Id string - The nfviId for the network function.
- Nfvi
Type string - The nfvi type for the network function.
- Publisher
Name string - The publisher name for the network function.
- Publisher
Scope string - The scope of the publisher.
- Role
Override []stringValues - The role configuration override values from the user.
- provisioning
State String - The provisioning state of the network function resource.
- allow
Software BooleanUpdate - Indicates if software updates are allowed during deployment.
- deployment
Values String - The JSON-serialized deployment values from the user.
- network
Function StringDefinition Group Name - The network function definition group name for the network function.
- network
Function StringDefinition Offering Location - The location of the network function definition offering.
- network
Function StringDefinition Version - The network function definition version for the network function.
- network
Function OpenDefinition Version Resource Reference Deployment | SecretResource Reference Response Deployment Resource Reference Response - The network function definition version resource reference.
- nfvi
Id String - The nfviId for the network function.
- nfvi
Type String - The nfvi type for the network function.
- publisher
Name String - The publisher name for the network function.
- publisher
Scope String - The scope of the publisher.
- role
Override List<String>Values - The role configuration override values from the user.
- provisioning
State string - The provisioning state of the network function resource.
- allow
Software booleanUpdate - Indicates if software updates are allowed during deployment.
- deployment
Values string - The JSON-serialized deployment values from the user.
- network
Function stringDefinition Group Name - The network function definition group name for the network function.
- network
Function stringDefinition Offering Location - The location of the network function definition offering.
- network
Function stringDefinition Version - The network function definition version for the network function.
- network
Function OpenDefinition Version Resource Reference Deployment | SecretResource Reference Response Deployment Resource Reference Response - The network function definition version resource reference.
- nfvi
Id string - The nfviId for the network function.
- nfvi
Type string - The nfvi type for the network function.
- publisher
Name string - The publisher name for the network function.
- publisher
Scope string - The scope of the publisher.
- role
Override string[]Values - The role configuration override values from the user.
- provisioning_
state str - The provisioning state of the network function resource.
- allow_
software_ boolupdate - Indicates if software updates are allowed during deployment.
- deployment_
values str - The JSON-serialized deployment values from the user.
- network_
function_ strdefinition_ group_ name - The network function definition group name for the network function.
- network_
function_ strdefinition_ offering_ location - The location of the network function definition offering.
- network_
function_ strdefinition_ version - The network function definition version for the network function.
- network_
function_ Opendefinition_ version_ resource_ reference Deployment | SecretResource Reference Response Deployment Resource Reference Response - The network function definition version resource reference.
- nfvi_
id str - The nfviId for the network function.
- nfvi_
type str - The nfvi type for the network function.
- publisher_
name str - The publisher name for the network function.
- publisher_
scope str - The scope of the publisher.
- role_
override_ Sequence[str]values - The role configuration override values from the user.
- provisioning
State String - The provisioning state of the network function resource.
- allow
Software BooleanUpdate - Indicates if software updates are allowed during deployment.
- deployment
Values String - The JSON-serialized deployment values from the user.
- network
Function StringDefinition Group Name - The network function definition group name for the network function.
- network
Function StringDefinition Offering Location - The location of the network function definition offering.
- network
Function StringDefinition Version - The network function definition version for the network function.
- network
Function Property Map | Property MapDefinition Version Resource Reference - The network function definition version resource reference.
- nfvi
Id String - The nfviId for the network function.
- nfvi
Type String - The nfvi type for the network function.
- publisher
Name String - The publisher name for the network function.
- publisher
Scope String - The scope of the publisher.
- role
Override List<String>Values - The role configuration override values from the user.
OpenDeploymentResourceReference, OpenDeploymentResourceReferenceArgs
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
OpenDeploymentResourceReferenceResponse, OpenDeploymentResourceReferenceResponseArgs
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
PublisherScope, PublisherScopeArgs
- Unknown
- Unknown
- Private
- Private
- Publisher
Scope Unknown - Unknown
- Publisher
Scope Private - Private
- Unknown
- Unknown
- Private
- Private
- Unknown
- Unknown
- Private
- Private
- UNKNOWN
- Unknown
- PRIVATE
- Private
- "Unknown"
- Unknown
- "Private"
- Private
SecretDeploymentResourceReference, SecretDeploymentResourceReferenceArgs
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
SecretDeploymentResourceReferenceResponse, SecretDeploymentResourceReferenceResponseArgs
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
UserAssignedIdentityResponse, UserAssignedIdentityResponseArgs
- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
- client
Id string - The client ID of the assigned identity.
- principal
Id string - The principal ID of the assigned identity.
- client_
id str - The client ID of the assigned identity.
- principal_
id str - The principal ID of the assigned identity.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:hybridnetwork:NetworkFunction testNf /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/networkFunctions/{networkFunctionName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0