ServiceRegistryArgs

data class ServiceRegistryArgs(val resourceGroupName: Output<String>? = null, val serviceName: Output<String>? = null, val serviceRegistryName: Output<String>? = null) : ConvertibleToJava<ServiceRegistryArgs>

Service Registry resource Uses Azure REST API version 2024-01-01-preview. In version 2.x of the Azure Native provider, it used API version 2023-05-01-preview. Other available API versions: 2023-05-01-preview, 2023-07-01-preview, 2023-09-01-preview, 2023-11-01-preview, 2023-12-01, 2024-05-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native appplatform [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Example Usage

ServiceRegistries_CreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var serviceRegistry = new AzureNative.AppPlatform.ServiceRegistry("serviceRegistry", new()
{
ResourceGroupName = "myResourceGroup",
ServiceName = "myservice",
ServiceRegistryName = "default",
});
});
package main
import (
appplatform "github.com/pulumi/pulumi-azure-native-sdk/appplatform/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := appplatform.NewServiceRegistry(ctx, "serviceRegistry", &appplatform.ServiceRegistryArgs{
ResourceGroupName: pulumi.String("myResourceGroup"),
ServiceName: pulumi.String("myservice"),
ServiceRegistryName: pulumi.String("default"),
})
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.appplatform.ServiceRegistry;
import com.pulumi.azurenative.appplatform.ServiceRegistryArgs;
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 serviceRegistry = new ServiceRegistry("serviceRegistry", ServiceRegistryArgs.builder()
.resourceGroupName("myResourceGroup")
.serviceName("myservice")
.serviceRegistryName("default")
.build());
}
}

Import

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

$ pulumi import azure-native:appplatform:ServiceRegistry default /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/serviceRegistries/{serviceRegistryName}

Constructors

Link copied to clipboard
constructor(resourceGroupName: Output<String>? = null, serviceName: Output<String>? = null, serviceRegistryName: Output<String>? = null)

Properties

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

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

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

The name of the Service resource.

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

The name of Service Registry.

Functions

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