SchemaRegistry

class SchemaRegistry : KotlinCustomResource

Schema registry definition. Uses Azure REST API version 2024-09-01-preview. In version 2.x of the Azure Native provider, it used API version 2024-09-01-preview.

Example Usage

Create_SchemaRegistry

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var schemaRegistry = new AzureNative.DeviceRegistry.SchemaRegistry("schemaRegistry", new()
{
Description = "This is a sample Schema Registry",
DisplayName = "Schema Registry namespace 001",
Identity = new AzureNative.DeviceRegistry.Inputs.SystemAssignedServiceIdentityArgs
{
Type = AzureNative.DeviceRegistry.SystemAssignedServiceIdentityType.None,
},
Location = "West Europe",
Namespace = "sr-namespace-001",
ResourceGroupName = "myResourceGroup",
SchemaRegistryName = "my-schema-registry",
StorageAccountContainerUrl = "my-blob-storage.blob.core.windows.net/my-container",
Tags = null,
});
});
package main
import (
deviceregistry "github.com/pulumi/pulumi-azure-native-sdk/deviceregistry/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := deviceregistry.NewSchemaRegistry(ctx, "schemaRegistry", &deviceregistry.SchemaRegistryArgs{
Description: pulumi.String("This is a sample Schema Registry"),
DisplayName: pulumi.String("Schema Registry namespace 001"),
Identity: &deviceregistry.SystemAssignedServiceIdentityArgs{
Type: pulumi.String(deviceregistry.SystemAssignedServiceIdentityTypeNone),
},
Location: pulumi.String("West Europe"),
Namespace: pulumi.String("sr-namespace-001"),
ResourceGroupName: pulumi.String("myResourceGroup"),
SchemaRegistryName: pulumi.String("my-schema-registry"),
StorageAccountContainerUrl: pulumi.String("my-blob-storage.blob.core.windows.net/my-container"),
Tags: pulumi.StringMap{},
})
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.deviceregistry.SchemaRegistry;
import com.pulumi.azurenative.deviceregistry.SchemaRegistryArgs;
import com.pulumi.azurenative.deviceregistry.inputs.SystemAssignedServiceIdentityArgs;
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()
.description("This is a sample Schema Registry")
.displayName("Schema Registry namespace 001")
.identity(SystemAssignedServiceIdentityArgs.builder()
.type("None")
.build())
.location("West Europe")
.namespace("sr-namespace-001")
.resourceGroupName("myResourceGroup")
.schemaRegistryName("my-schema-registry")
.storageAccountContainerUrl("my-blob-storage.blob.core.windows.net/my-container")
.tags(Map.ofEntries(
))
.build());
}
}

Import

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

$ pulumi import azure-native:deviceregistry:SchemaRegistry my-schema-registry /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}

Properties

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard
val description: Output<String>?

Human-readable description of the schema registry.

Link copied to clipboard
val displayName: Output<String>?

Human-readable display name.

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

The managed service identities assigned to this resource.

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 namespace: Output<String>

Schema registry namespace. Uniquely identifies a schema registry within a tenant.

Link copied to clipboard

Provisioning state of the resource.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The Storage Account's Container URL where schemas will be stored.

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>
Link copied to clipboard
val uuid: Output<String>

Globally unique, immutable, non-reusable id.