ClusterService

class ClusterService : KotlinCustomResource

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}

Properties

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<String>

Cluster type (Lab or Production)

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

Operational status

Link copied to clipboard

The status of the last operation.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val releaseVersion: Output<String>

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

Azure Resource Manager metadata containing createdBy and modifiedBy information.

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

Resource tags.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>