SchemaRegistryArgs

data class SchemaRegistryArgs(val groupProperties: Output<Map<String, String>>? = null, val namespaceName: Output<String>? = null, val resourceGroupName: Output<String>? = null, val schemaCompatibility: Output<Either<String, SchemaCompatibility>>? = null, val schemaGroupName: Output<String>? = null, val schemaType: Output<Either<String, SchemaType>>? = null) : ConvertibleToJava<SchemaRegistryArgs>

Single item in List or Get Schema Group operation Azure REST API version: 2022-10-01-preview. Prior API version in Azure Native 1.x: 2022-01-01-preview. Other available API versions: 2023-01-01-preview.

Example Usage

SchemaRegistryCreate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var schemaRegistry = new AzureNative.EventHub.SchemaRegistry("schemaRegistry", new()
{
GroupProperties = null,
NamespaceName = "ali-ua-test-eh-system-1",
ResourceGroupName = "alitest",
SchemaCompatibility = "Forward",
SchemaGroupName = "testSchemaGroup1",
SchemaType = "Avro",
});
});
package main
import (
"github.com/pulumi/pulumi-azure-native-sdk/eventhub/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := eventhub.NewSchemaRegistry(ctx, "schemaRegistry", &eventhub.SchemaRegistryArgs{
GroupProperties: nil,
NamespaceName: pulumi.String("ali-ua-test-eh-system-1"),
ResourceGroupName: pulumi.String("alitest"),
SchemaCompatibility: pulumi.String("Forward"),
SchemaGroupName: pulumi.String("testSchemaGroup1"),
SchemaType: pulumi.String("Avro"),
})
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.eventhub.SchemaRegistry;
import com.pulumi.azurenative.eventhub.SchemaRegistryArgs;
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 schemaRegistry = new SchemaRegistry("schemaRegistry", SchemaRegistryArgs.builder()
.groupProperties()
.namespaceName("ali-ua-test-eh-system-1")
.resourceGroupName("alitest")
.schemaCompatibility("Forward")
.schemaGroupName("testSchemaGroup1")
.schemaType("Avro")
.build());
}
}

Import

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

$ pulumi import azure-native:eventhub:SchemaRegistry testSchemaGroup1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/schemagroups/{schemaGroupName}

Constructors

Link copied to clipboard
fun SchemaRegistryArgs(groupProperties: Output<Map<String, String>>? = null, namespaceName: Output<String>? = null, resourceGroupName: Output<String>? = null, schemaCompatibility: Output<Either<String, SchemaCompatibility>>? = null, schemaGroupName: Output<String>? = null, schemaType: Output<Either<String, SchemaType>>? = null)

Functions

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

Properties

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

dictionary object for SchemaGroup group properties

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

The Namespace name

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

Name of the resource group within the azure subscription.

Link copied to clipboard
val schemaCompatibility: Output<Either<String, SchemaCompatibility>>? = null
Link copied to clipboard
val schemaGroupName: Output<String>? = null

The Schema Group name

Link copied to clipboard
val schemaType: Output<Either<String, SchemaType>>? = null