SmfDeploymentArgs

data class SmfDeploymentArgs(val clusterService: Output<String>? = null, val componentParameters: Output<String>? = null, val location: Output<String>? = null, val resourceGroupName: Output<String>? = null, val secretsParameters: Output<String>? = null, val smfDeploymentName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<SmfDeploymentArgs>

Azure for Operators 5G Core Session Management Function (SMF) Deployment Resource Azure REST API version: 2023-10-15-preview.

Example Usage

SmfDeployments_CreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var smfDeployment = new AzureNative.MobilePacketCore.SmfDeployment("smfDeployment", new()
{
ClusterService = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobilePacketCore/clusterServices/byoCluster",
ComponentParameters = "{\"global\": {\"registry\": {\"docker\": []}}}",
Location = "eastus",
ResourceGroupName = "rg1",
SecretsParameters = "{\"global\": {\"secret\": {\"secretValue\": []}}}",
SmfDeploymentName = "smfDeployment1",
});
});
package main
import (
"github.com/pulumi/pulumi-azure-native-sdk/mobilepacketcore/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := mobilepacketcore.NewSmfDeployment(ctx, "smfDeployment", &mobilepacketcore.SmfDeploymentArgs{
ClusterService: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobilePacketCore/clusterServices/byoCluster"),
ComponentParameters: pulumi.String("{\"global\": {\"registry\": {\"docker\": []}}}"),
Location: pulumi.String("eastus"),
ResourceGroupName: pulumi.String("rg1"),
SecretsParameters: pulumi.String("{\"global\": {\"secret\": {\"secretValue\": []}}}"),
SmfDeploymentName: pulumi.String("smfDeployment1"),
})
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.mobilepacketcore.SmfDeployment;
import com.pulumi.azurenative.mobilepacketcore.SmfDeploymentArgs;
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 smfDeployment = new SmfDeployment("smfDeployment", SmfDeploymentArgs.builder()
.clusterService("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobilePacketCore/clusterServices/byoCluster")
.componentParameters("{\"global\": {\"registry\": {\"docker\": []}}}")
.location("eastus")
.resourceGroupName("rg1")
.secretsParameters("{\"global\": {\"secret\": {\"secretValue\": []}}}")
.smfDeploymentName("smfDeployment1")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:mobilepacketcore:SmfDeployment smfDeployment1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobilePacketCore/smfDeployments/{smfDeploymentName}

Constructors

Link copied to clipboard
constructor(clusterService: Output<String>? = null, componentParameters: Output<String>? = null, location: Output<String>? = null, resourceGroupName: Output<String>? = null, secretsParameters: Output<String>? = null, smfDeploymentName: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val clusterService: Output<String>? = null

Reference to cluster where the Network Function is deployed

Link copied to clipboard
val componentParameters: Output<String>? = null

Azure for Operators 5G Core SMF component parameters

Link copied to clipboard
val location: Output<String>? = null

The geo-location where the resource lives

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group. The name is case insensitive.

Link copied to clipboard
val secretsParameters: Output<String>? = null

Azure for Operators 5G Core SMF secrets parameters

Link copied to clipboard
val smfDeploymentName: Output<String>? = null

The name of the SmfDeployment

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Resource tags.

Functions

Link copied to clipboard
open override fun toJava(): SmfDeploymentArgs