NamespaceSchemaGroupArgs

data class NamespaceSchemaGroupArgs(val name: Output<String>? = null, val namespaceId: Output<String>? = null, val schemaCompatibility: Output<String>? = null, val schemaType: Output<String>? = null) : ConvertibleToJava<NamespaceSchemaGroupArgs>

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.eventhub.EventHubNamespace;
import com.pulumi.azure.eventhub.EventHubNamespaceArgs;
import com.pulumi.azure.eventhub.NamespaceSchemaGroup;
import com.pulumi.azure.eventhub.NamespaceSchemaGroupArgs;
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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
.location("East US")
.build());
var testEventHubNamespace = new EventHubNamespace("testEventHubNamespace", EventHubNamespaceArgs.builder()
.location(azurerm_resource_group.test().location())
.resourceGroupName(azurerm_resource_group.test().name())
.sku("Standard")
.build());
var testNamespaceSchemaGroup = new NamespaceSchemaGroup("testNamespaceSchemaGroup", NamespaceSchemaGroupArgs.builder()
.namespaceId(testEventHubNamespace.id())
.schemaCompatibility("Forward")
.schemaType("Avro")
.build());
}
}

Import

Schema Group for a EventHub Namespace can be imported using the resource id, e.g.

$ pulumi import azure:eventhub/namespaceSchemaGroup:NamespaceSchemaGroup example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.EventHub/namespaces/namespace1/schemaGroups/group1

Constructors

Link copied to clipboard
fun NamespaceSchemaGroupArgs(name: Output<String>? = null, namespaceId: Output<String>? = null, schemaCompatibility: Output<String>? = null, schemaType: Output<String>? = null)

Functions

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

Properties

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

Specifies the name of this schema group. Changing this forces a new resource to be created.

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

Specifies the ID of the EventHub Namespace. Changing this forces a new resource to be created.

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

Specifies the compatibility of this schema group. Possible values are None, Backward, Forward. Changing this forces a new resource to be created.

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

Specifies the Type of this schema group. Possible values are Avro, Unknown. Changing this forces a new resource to be created.