ClusterServiceArgs

data class ClusterServiceArgs(val clusterServiceName: Output<String>? = null, val clusterTypeSpecificData: Output<Either<ClusterServiceAksClusterDataArgs, ClusterServiceNexusAksClusterDataArgs>>? = null, val componentParameters: Output<List<QualifiedComponentDeploymentParametersArgs>>? = null, val deploymentType: Output<Either<String, SkuDeploymentType>>? = null, val location: Output<String>? = null, val releaseVersion: Output<String>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ClusterServiceArgs>

Azure for Operators 5G Core Cluster Service Resource Azure REST API version: 2023-10-15-preview.

Example Usage

ClusterServices_CreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var clusterService = new AzureNative.MobilePacketCore.ClusterService("clusterService", new()
{
ClusterServiceName = "clusterService1",
ClusterTypeSpecificData = new AzureNative.MobilePacketCore.Inputs.ClusterServiceNexusAksClusterDataArgs
{
CustomLocationId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/cluster124Location",
Type = "NexusAks",
},
ComponentParameters = new[]
{
new AzureNative.MobilePacketCore.Inputs.QualifiedComponentDeploymentParametersArgs
{
Parameters = "{\"global\": {\"registry\": {\"docker\": []}}}",
Secrets = "{\"global\": {\"secret\": {\"secretValue\": []}}}",
Type = "fed-crds",
},
},
DeploymentType = AzureNative.MobilePacketCore.SkuDeploymentType.Production,
Location = "eastus",
ReleaseVersion = "4.3.0-alpha",
ResourceGroupName = "rg1",
});
});
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.NewClusterService(ctx, "clusterService", &mobilepacketcore.ClusterServiceArgs{
ClusterServiceName: pulumi.String("clusterService1"),
ClusterTypeSpecificData: mobilepacketcore.ClusterServiceNexusAksClusterData{
CustomLocationId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/cluster124Location",
Type: "NexusAks",
},
ComponentParameters: mobilepacketcore.QualifiedComponentDeploymentParametersArray{
&mobilepacketcore.QualifiedComponentDeploymentParametersArgs{
Parameters: pulumi.String("{\"global\": {\"registry\": {\"docker\": []}}}"),
Secrets: pulumi.String("{\"global\": {\"secret\": {\"secretValue\": []}}}"),
Type: pulumi.String("fed-crds"),
},
},
DeploymentType: pulumi.String(mobilepacketcore.SkuDeploymentTypeProduction),
Location: pulumi.String("eastus"),
ReleaseVersion: pulumi.String("4.3.0-alpha"),
ResourceGroupName: pulumi.String("rg1"),
})
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.ClusterService;
import com.pulumi.azurenative.mobilepacketcore.ClusterServiceArgs;
import com.pulumi.azurenative.mobilepacketcore.inputs.QualifiedComponentDeploymentParametersArgs;
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 clusterService = new ClusterService("clusterService", ClusterServiceArgs.builder()
.clusterServiceName("clusterService1")
.clusterTypeSpecificData(ClusterServiceNexusAksClusterDataArgs.builder()
.customLocationId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/cluster124Location")
.type("NexusAks")
.build())
.componentParameters(QualifiedComponentDeploymentParametersArgs.builder()
.parameters("{\"global\": {\"registry\": {\"docker\": []}}}")
.secrets("{\"global\": {\"secret\": {\"secretValue\": []}}}")
.type("fed-crds")
.build())
.deploymentType("Production")
.location("eastus")
.releaseVersion("4.3.0-alpha")
.resourceGroupName("rg1")
.build());
}
}

Import

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

$ pulumi import azure-native:mobilepacketcore:ClusterService clusterService1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobilePacketCore/clusterServices/{clusterServiceName}

Constructors

Link copied to clipboard
constructor(clusterServiceName: Output<String>? = null, clusterTypeSpecificData: Output<Either<ClusterServiceAksClusterDataArgs, ClusterServiceNexusAksClusterDataArgs>>? = null, componentParameters: Output<List<QualifiedComponentDeploymentParametersArgs>>? = null, deploymentType: Output<Either<String, SkuDeploymentType>>? = null, location: Output<String>? = null, releaseVersion: Output<String>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

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

The name of the Cluster Service

Link copied to clipboard

Cluster type specific data. Contents depend on the cluster type

Link copied to clipboard

Azure for Operators 5G Core Local PaaS component parameters. One set per component type

Link copied to clipboard
val deploymentType: Output<Either<String, SkuDeploymentType>>? = null

Cluster type (Lab or Production)

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

The geo-location where the resource lives

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

Azure for Operators 5G Core Release Version. This is applied to all platform as a service (PaaS) components and running workloads in this cluster

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 tags: Output<Map<String, String>>? = null

Resource tags.

Functions

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