azure-native-v2.deviceregistry.SchemaRegistry
Explore with Pulumi AI
Schema registry definition. Azure REST API version: 2024-09-01-preview.
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
This property is required. string - The unique name of the resource.
- args
This property is required. SchemaRegistryArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. 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
This property is required. string - The unique name of the resource.
- args
This property is required. SchemaRegistryArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. SchemaRegistryArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. 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 =
{
{ "type", "string" },
},
Location = "string",
SchemaRegistryName = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := deviceregistry.NewSchemaRegistry(ctx, "schemaRegistryResource", &deviceregistry.SchemaRegistryArgs{
Namespace: "string",
ResourceGroupName: "string",
StorageAccountContainerUrl: "string",
Description: "string",
DisplayName: "string",
Identity: map[string]interface{}{
"type": "string",
},
Location: "string",
SchemaRegistryName: "string",
Tags: map[string]interface{}{
"string": "string",
},
})
var schemaRegistryResource = new SchemaRegistry("schemaRegistryResource", SchemaRegistryArgs.builder()
.namespace("string")
.resourceGroupName("string")
.storageAccountContainerUrl("string")
.description("string")
.displayName("string")
.identity(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.location("string")
.schemaRegistryName("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SchemaRegistry resource accepts the following input properties:
- Namespace
This property is required. Changes to this property will trigger replacement.
- Schema registry namespace. Uniquely identifies a schema registry within a tenant.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Storage
Account Container Url This property is required. Changes to this property will trigger replacement.
- The Storage Account's Container URL where schemas will be stored.
- Description string
- Human-readable description of the schema registry.
- Display
Name string - Human-readable display name.
- Identity
Pulumi.
Azure Native. Device Registry. Inputs. System Assigned Service Identity - The managed service identities assigned to this resource.
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Schema
Registry Name Changes to this property will trigger replacement.
- Schema registry name parameter.
- Dictionary<string, string>
- Resource tags.
- Namespace
This property is required. Changes to this property will trigger replacement.
- Schema registry namespace. Uniquely identifies a schema registry within a tenant.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Storage
Account Container Url This property is required. Changes to this property will trigger replacement.
- The Storage Account's Container URL where schemas will be stored.
- Description string
- Human-readable description of the schema registry.
- Display
Name string - Human-readable display name.
- Identity
System
Assigned Service Identity Args - The managed service identities assigned to this resource.
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Schema
Registry Name Changes to this property will trigger replacement.
- Schema registry name parameter.
- map[string]string
- Resource tags.
- namespace
This property is required. Changes to this property will trigger replacement.
- Schema registry namespace. Uniquely identifies a schema registry within a tenant.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- storage
Account Container Url This property is required. Changes to this property will trigger replacement.
- The Storage Account's Container URL where schemas will be stored.
- description String
- Human-readable description of the schema registry.
- display
Name String - Human-readable display name.
- identity
System
Assigned Service Identity - The managed service identities assigned to this resource.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- schema
Registry Name Changes to this property will trigger replacement.
- Schema registry name parameter.
- Map<String,String>
- Resource tags.
- namespace
This property is required. Changes to this property will trigger replacement.
- Schema registry namespace. Uniquely identifies a schema registry within a tenant.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- storage
Account Container Url This property is required. Changes to this property will trigger replacement.
- The Storage Account's Container URL where schemas will be stored.
- description string
- Human-readable description of the schema registry.
- display
Name string - Human-readable display name.
- identity
System
Assigned Service Identity - The managed service identities assigned to this resource.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- schema
Registry Name Changes to this property will trigger replacement.
- Schema registry name parameter.
- {[key: string]: string}
- Resource tags.
- namespace
This property is required. Changes to this property will trigger replacement.
- Schema registry namespace. Uniquely identifies a schema registry within a tenant.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- storage_
account_ container_ url This property is required. Changes to this property will trigger replacement.
- 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
System
Assigned Service Identity Args - The managed service identities assigned to this resource.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- schema_
registry_ name Changes to this property will trigger replacement.
- Schema registry name parameter.
- Mapping[str, str]
- Resource tags.
- namespace
This property is required. Changes to this property will trigger replacement.
- Schema registry namespace. Uniquely identifies a schema registry within a tenant.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- storage
Account Container Url This property is required. Changes to this property will trigger replacement.
- The Storage Account's Container URL where schemas will be stored.
- description String
- Human-readable description of the schema registry.
- display
Name String - Human-readable display name.
- identity Property Map
- The managed service identities assigned to this resource.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- schema
Registry Name Changes to this property will trigger replacement.
- Schema registry name parameter.
- 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
- Provisioning
State string - Provisioning state of the resource.
- System
Data Pulumi.Azure Native. Device Registry. Outputs. System Data Response - 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
- Provisioning
State string - Provisioning state of the resource.
- System
Data SystemData Response - 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
- provisioning
State String - Provisioning state of the resource.
- system
Data SystemData Response - 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
- provisioning
State string - Provisioning state of the resource.
- system
Data SystemData Response - 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 SystemData Response - 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
- provisioning
State String - Provisioning state of the resource.
- system
Data 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
This property is required. string | Pulumi.Azure Native. Device Registry. System Assigned Service Identity Type - Type of managed service identity (either system assigned, or none).
- Type
This property is required. string | SystemAssigned Service Identity Type - Type of managed service identity (either system assigned, or none).
- type
This property is required. String | SystemAssigned Service Identity Type - Type of managed service identity (either system assigned, or none).
- type
This property is required. string | SystemAssigned Service Identity Type - Type of managed service identity (either system assigned, or none).
- type
This property is required. str | SystemAssigned Service Identity Type - Type of managed service identity (either system assigned, or none).
- type
This property is required. String | "None" | "SystemAssigned" - Type of managed service identity (either system assigned, or none).
SystemAssignedServiceIdentityResponse, SystemAssignedServiceIdentityResponseArgs
- Principal
Id This property is required. string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id This property is required. string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type
This property is required. string - Type of managed service identity (either system assigned, or none).
- Principal
Id This property is required. string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id This property is required. string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type
This property is required. string - Type of managed service identity (either system assigned, or none).
- principal
Id This property is required. String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id This property is required. String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type
This property is required. String - Type of managed service identity (either system assigned, or none).
- principal
Id This property is required. string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id This property is required. string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type
This property is required. string - Type of managed service identity (either system assigned, or none).
- principal_
id This property is required. str - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant_
id This property is required. str - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type
This property is required. str - Type of managed service identity (either system assigned, or none).
- principal
Id This property is required. String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id This property is required. String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type
This property is required. String - Type of managed service identity (either system assigned, or none).
SystemAssignedServiceIdentityType, SystemAssignedServiceIdentityTypeArgs
- None
- None
- System
Assigned - SystemAssigned
- System
Assigned Service Identity Type None - None
- System
Assigned Service Identity Type System Assigned - SystemAssigned
- None
- None
- System
Assigned - SystemAssigned
- None
- None
- System
Assigned - SystemAssigned
- NONE
- None
- SYSTEM_ASSIGNED
- SystemAssigned
- "None"
- None
- "System
Assigned" - SystemAssigned
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - 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-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0