azure-native-v2.deviceregistry.Schema
Explore with Pulumi AI
Schema definition. Azure REST API version: 2024-09-01-preview.
Create Schema Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Schema(name: string, args: SchemaArgs, opts?: CustomResourceOptions);
@overload
def Schema(resource_name: str,
args: SchemaArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Schema(resource_name: str,
opts: Optional[ResourceOptions] = None,
format: Optional[Union[str, Format]] = None,
resource_group_name: Optional[str] = None,
schema_registry_name: Optional[str] = None,
schema_type: Optional[Union[str, SchemaType]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
schema_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewSchema(ctx *Context, name string, args SchemaArgs, opts ...ResourceOption) (*Schema, error)
public Schema(string name, SchemaArgs args, CustomResourceOptions? opts = null)
public Schema(String name, SchemaArgs args)
public Schema(String name, SchemaArgs args, CustomResourceOptions options)
type: azure-native:deviceregistry:Schema
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. SchemaArgs - 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. SchemaArgs - 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. SchemaArgs - 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. SchemaArgs - 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. SchemaArgs - 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_nativeSchemaResource = new AzureNative.Deviceregistry.Schema("azure-nativeSchemaResource", new()
{
Format = "string",
ResourceGroupName = "string",
SchemaRegistryName = "string",
SchemaType = "string",
Description = "string",
DisplayName = "string",
SchemaName = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := deviceregistry.NewSchema(ctx, "azure-nativeSchemaResource", &deviceregistry.SchemaArgs{
Format: "string",
ResourceGroupName: "string",
SchemaRegistryName: "string",
SchemaType: "string",
Description: "string",
DisplayName: "string",
SchemaName: "string",
Tags: map[string]interface{}{
"string": "string",
},
})
var azure_nativeSchemaResource = new Schema("azure-nativeSchemaResource", SchemaArgs.builder()
.format("string")
.resourceGroupName("string")
.schemaRegistryName("string")
.schemaType("string")
.description("string")
.displayName("string")
.schemaName("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
azure_native_schema_resource = azure_native.deviceregistry.Schema("azure-nativeSchemaResource",
format=string,
resource_group_name=string,
schema_registry_name=string,
schema_type=string,
description=string,
display_name=string,
schema_name=string,
tags={
string: string,
})
const azure_nativeSchemaResource = new azure_native.deviceregistry.Schema("azure-nativeSchemaResource", {
format: "string",
resourceGroupName: "string",
schemaRegistryName: "string",
schemaType: "string",
description: "string",
displayName: "string",
schemaName: "string",
tags: {
string: "string",
},
});
type: azure-native:deviceregistry:Schema
properties:
description: string
displayName: string
format: string
resourceGroupName: string
schemaName: string
schemaRegistryName: string
schemaType: string
tags:
string: string
Schema 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 Schema resource accepts the following input properties:
- Format
This property is required. Changes to this property will trigger replacement.
Azure Native. Device Registry. Format - Format of the schema.
- 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.
- Schema
Registry Name This property is required. Changes to this property will trigger replacement.
- Schema registry name parameter.
- Schema
Type This property is required. Changes to this property will trigger replacement.
Azure Native. Device Registry. Schema Type - Type of the schema.
- Description string
- Human-readable description of the schema.
- Display
Name string - Human-readable display name.
- Schema
Name Changes to this property will trigger replacement.
- Schema name parameter.
- Dictionary<string, string>
- Schema tags.
- Format
This property is required. Changes to this property will trigger replacement.
- Format of the schema.
- 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.
- Schema
Registry Name This property is required. Changes to this property will trigger replacement.
- Schema registry name parameter.
- Schema
Type This property is required. Changes to this property will trigger replacement.
Type - Type of the schema.
- Description string
- Human-readable description of the schema.
- Display
Name string - Human-readable display name.
- Schema
Name Changes to this property will trigger replacement.
- Schema name parameter.
- map[string]string
- Schema tags.
- format
This property is required. Changes to this property will trigger replacement.
- Format of the schema.
- 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.
- schema
Registry Name This property is required. Changes to this property will trigger replacement.
- Schema registry name parameter.
- schema
Type This property is required. Changes to this property will trigger replacement.
Type - Type of the schema.
- description String
- Human-readable description of the schema.
- display
Name String - Human-readable display name.
- schema
Name Changes to this property will trigger replacement.
- Schema name parameter.
- Map<String,String>
- Schema tags.
- format
This property is required. Changes to this property will trigger replacement.
- Format of the schema.
- 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.
- schema
Registry Name This property is required. Changes to this property will trigger replacement.
- Schema registry name parameter.
- schema
Type This property is required. Changes to this property will trigger replacement.
Type - Type of the schema.
- description string
- Human-readable description of the schema.
- display
Name string - Human-readable display name.
- schema
Name Changes to this property will trigger replacement.
- Schema name parameter.
- {[key: string]: string}
- Schema tags.
- format
This property is required. Changes to this property will trigger replacement.
- Format of the schema.
- 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.
- schema_
registry_ name This property is required. Changes to this property will trigger replacement.
- Schema registry name parameter.
- schema_
type This property is required. Changes to this property will trigger replacement.
Type - Type of the schema.
- description str
- Human-readable description of the schema.
- display_
name str - Human-readable display name.
- schema_
name Changes to this property will trigger replacement.
- Schema name parameter.
- Mapping[str, str]
- Schema tags.
- format
This property is required. Changes to this property will trigger replacement.
Schema/draft-07" | "Delta/1.0" - Format of the schema.
- 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.
- schema
Registry Name This property is required. Changes to this property will trigger replacement.
- Schema registry name parameter.
- schema
Type This property is required. Changes to this property will trigger replacement.
Schema" - Type of the schema.
- description String
- Human-readable description of the schema.
- display
Name String - Human-readable display name.
- schema
Name Changes to this property will trigger replacement.
- Schema name parameter.
- Map<String>
- Schema tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the Schema 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
Format, FormatArgs
- Json
Schema_ draft7 - JsonSchema/draft-07JSON Schema version draft 7 format
- Delta_1_0
- Delta/1.0Delta format
- Format_Json
Schema_ draft7 - JsonSchema/draft-07JSON Schema version draft 7 format
- Format_Delta_1_0
- Delta/1.0Delta format
- Json
Schema_ draft7 - JsonSchema/draft-07JSON Schema version draft 7 format
- Delta_1_0
- Delta/1.0Delta format
- Json
Schema_ draft7 - JsonSchema/draft-07JSON Schema version draft 7 format
- Delta_1_0
- Delta/1.0Delta format
- JSON_SCHEMA_DRAFT7
- JsonSchema/draft-07JSON Schema version draft 7 format
- DELTA_1_0
- Delta/1.0Delta format
- "Json
Schema/draft-07" - JsonSchema/draft-07JSON Schema version draft 7 format
- "Delta/1.0"
- Delta/1.0Delta format
SchemaType, SchemaTypeArgs
- Message
Schema - MessageSchemaMessage Schema schema type
- Schema
Type Message Schema - MessageSchemaMessage Schema schema type
- Message
Schema - MessageSchemaMessage Schema schema type
- Message
Schema - MessageSchemaMessage Schema schema type
- MESSAGE_SCHEMA
- MessageSchemaMessage Schema schema type
- "Message
Schema" - MessageSchemaMessage Schema schema type
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:Schema my-schema /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}
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