SchemaRegistryArgs

data class SchemaRegistryArgs(val description: Output<String>? = null, val displayName: Output<String>? = null, val identity: Output<SystemAssignedServiceIdentityArgs>? = null, val location: Output<String>? = null, val namespace: Output<String>? = null, val resourceGroupName: Output<String>? = null, val schemaRegistryName: Output<String>? = null, val storageAccountContainerUrl: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<SchemaRegistryArgs>

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/v2"
"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()
.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}

Constructors

Link copied to clipboard
constructor(description: Output<String>? = null, displayName: Output<String>? = null, identity: Output<SystemAssignedServiceIdentityArgs>? = null, location: Output<String>? = null, namespace: Output<String>? = null, resourceGroupName: Output<String>? = null, schemaRegistryName: Output<String>? = null, storageAccountContainerUrl: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

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

Human-readable description of the schema registry.

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

Human-readable display name.

Link copied to clipboard

The managed service identities assigned to this resource.

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

The geo-location where the resource lives

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

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

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

The name of the resource group. The name is case insensitive.

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

Schema registry name parameter.

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

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

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

Resource tags.

Functions

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