azure-native-v2.eventhub.SchemaRegistry
Explore with Pulumi AI
Single item in List or Get Schema Group operation Azure REST API version: 2022-10-01-preview. Prior API version in Azure Native 1.x: 2022-01-01-preview.
Other available API versions: 2023-01-01-preview, 2024-01-01, 2024-05-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_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
group_properties: Optional[Mapping[str, str]] = None,
schema_compatibility: Optional[Union[str, SchemaCompatibility]] = None,
schema_group_name: Optional[str] = None,
schema_type: Optional[Union[str, SchemaType]] = 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:eventhub: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 azure_nativeSchemaRegistryResource = new AzureNative.Eventhub.SchemaRegistry("azure-nativeSchemaRegistryResource", new()
{
NamespaceName = "string",
ResourceGroupName = "string",
GroupProperties =
{
{ "string", "string" },
},
SchemaCompatibility = "string",
SchemaGroupName = "string",
SchemaType = "string",
});
example, err := eventhub.NewSchemaRegistry(ctx, "azure-nativeSchemaRegistryResource", &eventhub.SchemaRegistryArgs{
NamespaceName: "string",
ResourceGroupName: "string",
GroupProperties: map[string]interface{}{
"string": "string",
},
SchemaCompatibility: "string",
SchemaGroupName: "string",
SchemaType: "string",
})
var azure_nativeSchemaRegistryResource = new SchemaRegistry("azure-nativeSchemaRegistryResource", SchemaRegistryArgs.builder()
.namespaceName("string")
.resourceGroupName("string")
.groupProperties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.schemaCompatibility("string")
.schemaGroupName("string")
.schemaType("string")
.build());
azure_native_schema_registry_resource = azure_native.eventhub.SchemaRegistry("azure-nativeSchemaRegistryResource",
namespace_name=string,
resource_group_name=string,
group_properties={
string: string,
},
schema_compatibility=string,
schema_group_name=string,
schema_type=string)
const azure_nativeSchemaRegistryResource = new azure_native.eventhub.SchemaRegistry("azure-nativeSchemaRegistryResource", {
namespaceName: "string",
resourceGroupName: "string",
groupProperties: {
string: "string",
},
schemaCompatibility: "string",
schemaGroupName: "string",
schemaType: "string",
});
type: azure-native:eventhub:SchemaRegistry
properties:
groupProperties:
string: string
namespaceName: string
resourceGroupName: string
schemaCompatibility: string
schemaGroupName: string
schemaType: 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
Name This property is required. Changes to this property will trigger replacement.
- The Namespace name
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group within the azure subscription.
- Group
Properties Dictionary<string, string> - dictionary object for SchemaGroup group properties
- Schema
Compatibility string | Pulumi.Azure Native. Event Hub. Schema Compatibility - Schema
Group Name Changes to this property will trigger replacement.
- The Schema Group name
- Schema
Type string | Pulumi.Azure Native. Event Hub. Schema Type
- Namespace
Name This property is required. Changes to this property will trigger replacement.
- The Namespace name
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group within the azure subscription.
- Group
Properties map[string]string - dictionary object for SchemaGroup group properties
- Schema
Compatibility string | SchemaCompatibility - Schema
Group Name Changes to this property will trigger replacement.
- The Schema Group name
- Schema
Type string | SchemaType
- namespace
Name This property is required. Changes to this property will trigger replacement.
- The Namespace name
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group within the azure subscription.
- group
Properties Map<String,String> - dictionary object for SchemaGroup group properties
- schema
Compatibility String | SchemaCompatibility - schema
Group Name Changes to this property will trigger replacement.
- The Schema Group name
- schema
Type String | SchemaType
- namespace
Name This property is required. Changes to this property will trigger replacement.
- The Namespace name
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group within the azure subscription.
- group
Properties {[key: string]: string} - dictionary object for SchemaGroup group properties
- schema
Compatibility string | SchemaCompatibility - schema
Group Name Changes to this property will trigger replacement.
- The Schema Group name
- schema
Type string | SchemaType
- namespace_
name This property is required. Changes to this property will trigger replacement.
- The Namespace name
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- Name of the resource group within the azure subscription.
- group_
properties Mapping[str, str] - dictionary object for SchemaGroup group properties
- schema_
compatibility str | SchemaCompatibility - schema_
group_ name Changes to this property will trigger replacement.
- The Schema Group name
- schema_
type str | SchemaType
- namespace
Name This property is required. Changes to this property will trigger replacement.
- The Namespace name
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group within the azure subscription.
- group
Properties Map<String> - dictionary object for SchemaGroup group properties
- schema
Compatibility String | "None" | "Backward" | "Forward" - schema
Group Name Changes to this property will trigger replacement.
- The Schema Group name
- schema
Type String | "Unknown" | "Avro"
Outputs
All input properties are implicitly available as output properties. Additionally, the SchemaRegistry resource produces the following output properties:
- Created
At stringUtc - Exact time the Schema Group was created.
- ETag string
- The ETag value.
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Event Hub. Outputs. System Data Response - The system meta data relating to this resource.
- Type string
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- Updated
At stringUtc - Exact time the Schema Group was updated
- Created
At stringUtc - Exact time the Schema Group was created.
- ETag string
- The ETag value.
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- System
Data SystemData Response - The system meta data relating to this resource.
- Type string
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- Updated
At stringUtc - Exact time the Schema Group was updated
- created
At StringUtc - Exact time the Schema Group was created.
- e
Tag String - The ETag value.
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- system
Data SystemData Response - The system meta data relating to this resource.
- type String
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- updated
At StringUtc - Exact time the Schema Group was updated
- created
At stringUtc - Exact time the Schema Group was created.
- e
Tag string - The ETag value.
- id string
- The provider-assigned unique ID for this managed resource.
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- system
Data SystemData Response - The system meta data relating to this resource.
- type string
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- updated
At stringUtc - Exact time the Schema Group was updated
- created_
at_ strutc - Exact time the Schema Group was created.
- e_
tag str - The ETag value.
- id str
- The provider-assigned unique ID for this managed resource.
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- system_
data SystemData Response - The system meta data relating to this resource.
- type str
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- updated_
at_ strutc - Exact time the Schema Group was updated
- created
At StringUtc - Exact time the Schema Group was created.
- e
Tag String - The ETag value.
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- system
Data Property Map - The system meta data relating to this resource.
- type String
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- updated
At StringUtc - Exact time the Schema Group was updated
Supporting Types
SchemaCompatibility, SchemaCompatibilityArgs
- None
- None
- Backward
- Backward
- Forward
- Forward
- Schema
Compatibility None - None
- Schema
Compatibility Backward - Backward
- Schema
Compatibility Forward - Forward
- None
- None
- Backward
- Backward
- Forward
- Forward
- None
- None
- Backward
- Backward
- Forward
- Forward
- NONE
- None
- BACKWARD
- Backward
- FORWARD
- Forward
- "None"
- None
- "Backward"
- Backward
- "Forward"
- Forward
SchemaType, SchemaTypeArgs
- Unknown
- Unknown
- Avro
- Avro
- Schema
Type Unknown - Unknown
- Schema
Type Avro - Avro
- Unknown
- Unknown
- Avro
- Avro
- Unknown
- Unknown
- Avro
- Avro
- UNKNOWN
- Unknown
- AVRO
- Avro
- "Unknown"
- Unknown
- "Avro"
- Avro
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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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:eventhub:SchemaRegistry testSchemaGroup1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/schemagroups/{schemaGroupName}
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