Schema Reference Resource
Uses Azure REST API version 2025-08-01.
Other available API versions: 2025-06-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native edge [ApiVersion]. See the version guide for details.
Example Usage
SchemaReferences_CreateOrUpdate_MaximumSet
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var schemaReference = new AzureNative.Edge.SchemaReference("schemaReference", new()
{
Properties = new AzureNative.Edge.Inputs.SchemaReferencePropertiesArgs
{
SchemaId = "vxgxfkfws",
},
ResourceUri = "gt",
SchemaReferenceName = "default",
});
});
package main
import (
edge "github.com/pulumi/pulumi-azure-native-sdk/edge/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := edge.NewSchemaReference(ctx, "schemaReference", &edge.SchemaReferenceArgs{
Properties: &edge.SchemaReferencePropertiesArgs{
SchemaId: pulumi.String("vxgxfkfws"),
},
ResourceUri: pulumi.String("gt"),
SchemaReferenceName: pulumi.String("default"),
})
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.edge.SchemaReference;
import com.pulumi.azurenative.edge.SchemaReferenceArgs;
import com.pulumi.azurenative.edge.inputs.SchemaReferencePropertiesArgs;
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 schemaReference = new SchemaReference("schemaReference", SchemaReferenceArgs.builder()
.properties(SchemaReferencePropertiesArgs.builder()
.schemaId("vxgxfkfws")
.build())
.resourceUri("gt")
.schemaReferenceName("default")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const schemaReference = new azure_native.edge.SchemaReference("schemaReference", {
properties: {
schemaId: "vxgxfkfws",
},
resourceUri: "gt",
schemaReferenceName: "default",
});
import pulumi
import pulumi_azure_native as azure_native
schema_reference = azure_native.edge.SchemaReference("schemaReference",
properties={
"schema_id": "vxgxfkfws",
},
resource_uri="gt",
schema_reference_name="default")
resources:
schemaReference:
type: azure-native:edge:SchemaReference
properties:
properties:
schemaId: vxgxfkfws
resourceUri: gt
schemaReferenceName: default
Create SchemaReference Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SchemaReference(name: string, args: SchemaReferenceArgs, opts?: CustomResourceOptions);@overload
def SchemaReference(resource_name: str,
args: SchemaReferenceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SchemaReference(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_uri: Optional[str] = None,
properties: Optional[SchemaReferencePropertiesArgs] = None,
schema_reference_name: Optional[str] = None)func NewSchemaReference(ctx *Context, name string, args SchemaReferenceArgs, opts ...ResourceOption) (*SchemaReference, error)public SchemaReference(string name, SchemaReferenceArgs args, CustomResourceOptions? opts = null)
public SchemaReference(String name, SchemaReferenceArgs args)
public SchemaReference(String name, SchemaReferenceArgs args, CustomResourceOptions options)
type: azure-native:edge:SchemaReference
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 SchemaReferenceArgs
- 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 SchemaReferenceArgs
- 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 SchemaReferenceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SchemaReferenceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SchemaReferenceArgs
- 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 schemaReferenceResource = new AzureNative.Edge.SchemaReference("schemaReferenceResource", new()
{
ResourceUri = "string",
Properties = new AzureNative.Edge.Inputs.SchemaReferencePropertiesArgs
{
SchemaId = "string",
},
SchemaReferenceName = "string",
});
example, err := edge.NewSchemaReference(ctx, "schemaReferenceResource", &edge.SchemaReferenceArgs{
ResourceUri: pulumi.String("string"),
Properties: &edge.SchemaReferencePropertiesArgs{
SchemaId: pulumi.String("string"),
},
SchemaReferenceName: pulumi.String("string"),
})
var schemaReferenceResource = new SchemaReference("schemaReferenceResource", SchemaReferenceArgs.builder()
.resourceUri("string")
.properties(SchemaReferencePropertiesArgs.builder()
.schemaId("string")
.build())
.schemaReferenceName("string")
.build());
schema_reference_resource = azure_native.edge.SchemaReference("schemaReferenceResource",
resource_uri="string",
properties={
"schema_id": "string",
},
schema_reference_name="string")
const schemaReferenceResource = new azure_native.edge.SchemaReference("schemaReferenceResource", {
resourceUri: "string",
properties: {
schemaId: "string",
},
schemaReferenceName: "string",
});
type: azure-native:edge:SchemaReference
properties:
properties:
schemaId: string
resourceUri: string
schemaReferenceName: string
SchemaReference 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 SchemaReference resource accepts the following input properties:
- Resource
Uri string - The fully qualified Azure Resource manager identifier of the resource.
- Properties
Pulumi.
Azure Native. Edge. Inputs. Schema Reference Properties - The resource-specific properties for this resource.
- Schema
Reference stringName - The name of the SchemaReference
- Resource
Uri string - The fully qualified Azure Resource manager identifier of the resource.
- Properties
Schema
Reference Properties Args - The resource-specific properties for this resource.
- Schema
Reference stringName - The name of the SchemaReference
- resource
Uri String - The fully qualified Azure Resource manager identifier of the resource.
- properties
Schema
Reference Properties - The resource-specific properties for this resource.
- schema
Reference StringName - The name of the SchemaReference
- resource
Uri string - The fully qualified Azure Resource manager identifier of the resource.
- properties
Schema
Reference Properties - The resource-specific properties for this resource.
- schema
Reference stringName - The name of the SchemaReference
- resource_
uri str - The fully qualified Azure Resource manager identifier of the resource.
- properties
Schema
Reference Properties Args - The resource-specific properties for this resource.
- schema_
reference_ strname - The name of the SchemaReference
- resource
Uri String - The fully qualified Azure Resource manager identifier of the resource.
- properties Property Map
- The resource-specific properties for this resource.
- schema
Reference StringName - The name of the SchemaReference
Outputs
All input properties are implicitly available as output properties. Additionally, the SchemaReference resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- ETag string
- If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Edge. 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"
- Azure
Api stringVersion - The Azure API version of the resource.
- ETag string
- If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name 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"
- azure
Api StringVersion - The Azure API version of the resource.
- e
Tag String - If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name 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"
- azure
Api stringVersion - The Azure API version of the resource.
- e
Tag string - If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name 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"
- azure_
api_ strversion - The Azure API version of the resource.
- e_
tag str - If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name 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"
- azure
Api StringVersion - The Azure API version of the resource.
- e
Tag String - If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name 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"
Supporting Types
SchemaReferenceProperties, SchemaReferencePropertiesArgs
Schema Reference Properties- Schema
Id string - Schema Id of schema reference
- Schema
Id string - Schema Id of schema reference
- schema
Id String - Schema Id of schema reference
- schema
Id string - Schema Id of schema reference
- schema_
id str - Schema Id of schema reference
- schema
Id String - Schema Id of schema reference
SchemaReferencePropertiesResponse, SchemaReferencePropertiesResponseArgs
Schema Reference Properties- Provisioning
State string - Provisioning state of resource
- Schema
Id string - Schema Id of schema reference
- Provisioning
State string - Provisioning state of resource
- Schema
Id string - Schema Id of schema reference
- provisioning
State String - Provisioning state of resource
- schema
Id String - Schema Id of schema reference
- provisioning
State string - Provisioning state of resource
- schema
Id string - Schema Id of schema reference
- provisioning_
state str - Provisioning state of resource
- schema_
id str - Schema Id of schema reference
- provisioning
State String - Provisioning state of resource
- schema
Id String - Schema Id of schema reference
SystemDataResponse, SystemDataResponseArgs
Metadata pertaining to creation and last modification of 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 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:edge:SchemaReference brijvbbrrzgtttybezvtrjzu /{resourceUri}/providers/Microsoft.Edge/schemaReferences/{schemaReferenceName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
