1. Packages
  2. Azure Native
  3. API Docs
  4. deviceregistry
  5. SchemaRegistry
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

azure-native.deviceregistry.SchemaRegistry

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

    Schema registry definition. Azure REST 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:                       nil,
    		})
    		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 pulumi
    import pulumi_azure_native as azure_native
    
    schema_registry = azure_native.deviceregistry.SchemaRegistry("schemaRegistry",
        description="This is a sample Schema Registry",
        display_name="Schema Registry namespace 001",
        identity={
            "type": azure_native.deviceregistry.SystemAssignedServiceIdentityType.NONE,
        },
        location="West Europe",
        namespace="sr-namespace-001",
        resource_group_name="myResourceGroup",
        schema_registry_name="my-schema-registry",
        storage_account_container_url="my-blob-storage.blob.core.windows.net/my-container",
        tags={})
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const schemaRegistry = new azure_native.deviceregistry.SchemaRegistry("schemaRegistry", {
        description: "This is a sample Schema Registry",
        displayName: "Schema Registry namespace 001",
        identity: {
            type: azure_native.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: {},
    });
    
    resources:
      schemaRegistry:
        type: azure-native:deviceregistry:SchemaRegistry
        properties:
          description: This is a sample Schema Registry
          displayName: Schema Registry namespace 001
          identity:
            type: 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: {}
    

    Create SchemaRegistry Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SchemaRegistry(name: string, args: SchemaRegistryArgs, opts?: CustomResourceOptions);
    @overload
    def SchemaRegistry(resource_name: str,
                       args: SchemaRegistryArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def SchemaRegistry(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       namespace: Optional[str] = None,
                       resource_group_name: Optional[str] = None,
                       storage_account_container_url: Optional[str] = None,
                       description: Optional[str] = None,
                       display_name: Optional[str] = None,
                       identity: Optional[SystemAssignedServiceIdentityArgs] = None,
                       location: Optional[str] = None,
                       schema_registry_name: Optional[str] = None,
                       tags: Optional[Mapping[str, str]] = None)
    func NewSchemaRegistry(ctx *Context, name string, args SchemaRegistryArgs, opts ...ResourceOption) (*SchemaRegistry, error)
    public SchemaRegistry(string name, SchemaRegistryArgs args, CustomResourceOptions? opts = null)
    public SchemaRegistry(String name, SchemaRegistryArgs args)
    public SchemaRegistry(String name, SchemaRegistryArgs args, CustomResourceOptions options)
    
    type: azure-native:deviceregistry:SchemaRegistry
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SchemaRegistryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SchemaRegistryArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SchemaRegistryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SchemaRegistryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SchemaRegistryArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var schemaRegistryResource = new AzureNative.DeviceRegistry.SchemaRegistry("schemaRegistryResource", new()
    {
        Namespace = "string",
        ResourceGroupName = "string",
        StorageAccountContainerUrl = "string",
        Description = "string",
        DisplayName = "string",
        Identity = new AzureNative.DeviceRegistry.Inputs.SystemAssignedServiceIdentityArgs
        {
            Type = "string",
        },
        Location = "string",
        SchemaRegistryName = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := deviceregistry.NewSchemaRegistry(ctx, "schemaRegistryResource", &deviceregistry.SchemaRegistryArgs{
    	Namespace:                  pulumi.String("string"),
    	ResourceGroupName:          pulumi.String("string"),
    	StorageAccountContainerUrl: pulumi.String("string"),
    	Description:                pulumi.String("string"),
    	DisplayName:                pulumi.String("string"),
    	Identity: &deviceregistry.SystemAssignedServiceIdentityArgs{
    		Type: pulumi.String("string"),
    	},
    	Location:           pulumi.String("string"),
    	SchemaRegistryName: pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var schemaRegistryResource = new SchemaRegistry("schemaRegistryResource", SchemaRegistryArgs.builder()
        .namespace("string")
        .resourceGroupName("string")
        .storageAccountContainerUrl("string")
        .description("string")
        .displayName("string")
        .identity(SystemAssignedServiceIdentityArgs.builder()
            .type("string")
            .build())
        .location("string")
        .schemaRegistryName("string")
        .tags(Map.of("string", "string"))
        .build());
    
    schema_registry_resource = azure_native.deviceregistry.SchemaRegistry("schemaRegistryResource",
        namespace="string",
        resource_group_name="string",
        storage_account_container_url="string",
        description="string",
        display_name="string",
        identity={
            "type": "string",
        },
        location="string",
        schema_registry_name="string",
        tags={
            "string": "string",
        })
    
    const schemaRegistryResource = new azure_native.deviceregistry.SchemaRegistry("schemaRegistryResource", {
        namespace: "string",
        resourceGroupName: "string",
        storageAccountContainerUrl: "string",
        description: "string",
        displayName: "string",
        identity: {
            type: "string",
        },
        location: "string",
        schemaRegistryName: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:deviceregistry:SchemaRegistry
    properties:
        description: string
        displayName: string
        identity:
            type: string
        location: string
        namespace: string
        resourceGroupName: string
        schemaRegistryName: string
        storageAccountContainerUrl: string
        tags:
            string: string
    

    SchemaRegistry Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The SchemaRegistry resource accepts the following input properties:

    Namespace string
    Schema registry namespace. Uniquely identifies a schema registry within a tenant.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    StorageAccountContainerUrl string
    The Storage Account's Container URL where schemas will be stored.
    Description string
    Human-readable description of the schema registry.
    DisplayName string
    Human-readable display name.
    Identity Pulumi.AzureNative.DeviceRegistry.Inputs.SystemAssignedServiceIdentity
    The managed service identities assigned to this resource.
    Location string
    The geo-location where the resource lives
    SchemaRegistryName string
    Schema registry name parameter.
    Tags Dictionary<string, string>
    Resource tags.
    Namespace string
    Schema registry namespace. Uniquely identifies a schema registry within a tenant.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    StorageAccountContainerUrl string
    The Storage Account's Container URL where schemas will be stored.
    Description string
    Human-readable description of the schema registry.
    DisplayName string
    Human-readable display name.
    Identity SystemAssignedServiceIdentityArgs
    The managed service identities assigned to this resource.
    Location string
    The geo-location where the resource lives
    SchemaRegistryName string
    Schema registry name parameter.
    Tags map[string]string
    Resource tags.
    namespace String
    Schema registry namespace. Uniquely identifies a schema registry within a tenant.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    storageAccountContainerUrl String
    The Storage Account's Container URL where schemas will be stored.
    description String
    Human-readable description of the schema registry.
    displayName String
    Human-readable display name.
    identity SystemAssignedServiceIdentity
    The managed service identities assigned to this resource.
    location String
    The geo-location where the resource lives
    schemaRegistryName String
    Schema registry name parameter.
    tags Map<String,String>
    Resource tags.
    namespace string
    Schema registry namespace. Uniquely identifies a schema registry within a tenant.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    storageAccountContainerUrl string
    The Storage Account's Container URL where schemas will be stored.
    description string
    Human-readable description of the schema registry.
    displayName string
    Human-readable display name.
    identity SystemAssignedServiceIdentity
    The managed service identities assigned to this resource.
    location string
    The geo-location where the resource lives
    schemaRegistryName string
    Schema registry name parameter.
    tags {[key: string]: string}
    Resource tags.
    namespace str
    Schema registry namespace. Uniquely identifies a schema registry within a tenant.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    storage_account_container_url str
    The Storage Account's Container URL where schemas will be stored.
    description str
    Human-readable description of the schema registry.
    display_name str
    Human-readable display name.
    identity SystemAssignedServiceIdentityArgs
    The managed service identities assigned to this resource.
    location str
    The geo-location where the resource lives
    schema_registry_name str
    Schema registry name parameter.
    tags Mapping[str, str]
    Resource tags.
    namespace String
    Schema registry namespace. Uniquely identifies a schema registry within a tenant.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    storageAccountContainerUrl String
    The Storage Account's Container URL where schemas will be stored.
    description String
    Human-readable description of the schema registry.
    displayName String
    Human-readable display name.
    identity Property Map
    The managed service identities assigned to this resource.
    location String
    The geo-location where the resource lives
    schemaRegistryName String
    Schema registry name parameter.
    tags Map<String>
    Resource tags.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SchemaRegistry resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    ProvisioningState string
    Provisioning state of the resource.
    SystemData Pulumi.AzureNative.DeviceRegistry.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Uuid string
    Globally unique, immutable, non-reusable id.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    ProvisioningState string
    Provisioning state of the resource.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Uuid string
    Globally unique, immutable, non-reusable id.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    provisioningState String
    Provisioning state of the resource.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    uuid String
    Globally unique, immutable, non-reusable id.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    provisioningState string
    Provisioning state of the resource.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    uuid string
    Globally unique, immutable, non-reusable id.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    provisioning_state str
    Provisioning state of the resource.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    uuid str
    Globally unique, immutable, non-reusable id.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    provisioningState String
    Provisioning state of the resource.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    uuid String
    Globally unique, immutable, non-reusable id.

    Supporting Types

    SystemAssignedServiceIdentity, SystemAssignedServiceIdentityArgs

    Type string | Pulumi.AzureNative.DeviceRegistry.SystemAssignedServiceIdentityType
    Type of managed service identity (either system assigned, or none).
    Type string | SystemAssignedServiceIdentityType
    Type of managed service identity (either system assigned, or none).
    type String | SystemAssignedServiceIdentityType
    Type of managed service identity (either system assigned, or none).
    type string | SystemAssignedServiceIdentityType
    Type of managed service identity (either system assigned, or none).
    type str | SystemAssignedServiceIdentityType
    Type of managed service identity (either system assigned, or none).
    type String | "None" | "SystemAssigned"
    Type of managed service identity (either system assigned, or none).

    SystemAssignedServiceIdentityResponse, SystemAssignedServiceIdentityResponseArgs

    PrincipalId string
    The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    TenantId string
    The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
    Type string
    Type of managed service identity (either system assigned, or none).
    PrincipalId string
    The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    TenantId string
    The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
    Type string
    Type of managed service identity (either system assigned, or none).
    principalId String
    The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    tenantId String
    The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
    type String
    Type of managed service identity (either system assigned, or none).
    principalId string
    The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    tenantId string
    The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
    type string
    Type of managed service identity (either system assigned, or none).
    principal_id str
    The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    tenant_id str
    The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
    type str
    Type of managed service identity (either system assigned, or none).
    principalId String
    The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
    tenantId String
    The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
    type String
    Type of managed service identity (either system assigned, or none).

    SystemAssignedServiceIdentityType, SystemAssignedServiceIdentityTypeArgs

    None
    None
    SystemAssigned
    SystemAssigned
    SystemAssignedServiceIdentityTypeNone
    None
    SystemAssignedServiceIdentityTypeSystemAssigned
    SystemAssigned
    None
    None
    SystemAssigned
    SystemAssigned
    None
    None
    SystemAssigned
    SystemAssigned
    NONE
    None
    SYSTEM_ASSIGNED
    SystemAssigned
    "None"
    None
    "SystemAssigned"
    SystemAssigned

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    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} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi