SchemaRegistry

class SchemaRegistry : KotlinCustomResource

Single item in List or Get Schema Group operation Uses Azure REST API version 2024-01-01. In version 2.x of the Azure Native provider, it used API version 2022-10-01-preview. Other available API versions: 2021-11-01, 2022-01-01-preview, 2022-10-01-preview, 2023-01-01-preview, 2024-05-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native eventhub [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

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 = AzureNative.EventHub.SchemaCompatibility.Forward,
SchemaGroupName = "testSchemaGroup1",
SchemaType = AzureNative.EventHub.SchemaType.Avro,
});
});
package main
import (
eventhub "github.com/pulumi/pulumi-azure-native-sdk/eventhub/v3"
"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: pulumi.StringMap{},
NamespaceName: pulumi.String("ali-ua-test-eh-system-1"),
ResourceGroupName: pulumi.String("alitest"),
SchemaCompatibility: pulumi.String(eventhub.SchemaCompatibilityForward),
SchemaGroupName: pulumi.String("testSchemaGroup1"),
SchemaType: pulumi.String(eventhub.SchemaTypeAvro),
})
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(Map.ofEntries(
))
.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}

Properties

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard
val createdAtUtc: Output<String>

Exact time the Schema Group was created.

Link copied to clipboard
val eTag: Output<String>

The ETag value.

Link copied to clipboard

dictionary object for SchemaGroup group properties

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
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val schemaType: Output<String>?
Link copied to clipboard

The system meta data relating to this resource.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"

Link copied to clipboard
val updatedAtUtc: Output<String>

Exact time the Schema Group was updated

Link copied to clipboard
val urn: Output<String>