1. Packages
  2. Azure Native
  3. API Docs
  4. edge
  5. ConfigurationReference
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.7.1 published on Wednesday, Aug 13, 2025 by Pulumi

azure-native.edge.ConfigurationReference

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.7.1 published on Wednesday, Aug 13, 2025 by Pulumi

    ConfigurationReference Resource

    Uses Azure REST API version 2025-06-01.

    Example Usage

    ConfigurationReferences_CreateOrUpdate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var configurationReference = new AzureNative.Edge.ConfigurationReference("configurationReference", new()
        {
            ConfigurationReferenceName = "default",
            Properties = new AzureNative.Edge.Inputs.ConfigurationReferencePropertiesArgs
            {
                ConfigurationResourceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgconfigurations/providers/Microsoft.Edge/configurations/aConfiguration",
            },
            ResourceUri = "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Edge/Sites/aSite",
        });
    
    });
    
    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.NewConfigurationReference(ctx, "configurationReference", &edge.ConfigurationReferenceArgs{
    			ConfigurationReferenceName: pulumi.String("default"),
    			Properties: &edge.ConfigurationReferencePropertiesArgs{
    				ConfigurationResourceId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgconfigurations/providers/Microsoft.Edge/configurations/aConfiguration"),
    			},
    			ResourceUri: pulumi.String("subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Edge/Sites/aSite"),
    		})
    		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.ConfigurationReference;
    import com.pulumi.azurenative.edge.ConfigurationReferenceArgs;
    import com.pulumi.azurenative.edge.inputs.ConfigurationReferencePropertiesArgs;
    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 configurationReference = new ConfigurationReference("configurationReference", ConfigurationReferenceArgs.builder()
                .configurationReferenceName("default")
                .properties(ConfigurationReferencePropertiesArgs.builder()
                    .configurationResourceId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgconfigurations/providers/Microsoft.Edge/configurations/aConfiguration")
                    .build())
                .resourceUri("subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Edge/Sites/aSite")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const configurationReference = new azure_native.edge.ConfigurationReference("configurationReference", {
        configurationReferenceName: "default",
        properties: {
            configurationResourceId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgconfigurations/providers/Microsoft.Edge/configurations/aConfiguration",
        },
        resourceUri: "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Edge/Sites/aSite",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    configuration_reference = azure_native.edge.ConfigurationReference("configurationReference",
        configuration_reference_name="default",
        properties={
            "configuration_resource_id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgconfigurations/providers/Microsoft.Edge/configurations/aConfiguration",
        },
        resource_uri="subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Edge/Sites/aSite")
    
    resources:
      configurationReference:
        type: azure-native:edge:ConfigurationReference
        properties:
          configurationReferenceName: default
          properties:
            configurationResourceId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgconfigurations/providers/Microsoft.Edge/configurations/aConfiguration
          resourceUri: subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Edge/Sites/aSite
    

    Create ConfigurationReference Resource

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

    Constructor syntax

    new ConfigurationReference(name: string, args: ConfigurationReferenceArgs, opts?: CustomResourceOptions);
    @overload
    def ConfigurationReference(resource_name: str,
                               args: ConfigurationReferenceArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def ConfigurationReference(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               resource_uri: Optional[str] = None,
                               configuration_reference_name: Optional[str] = None,
                               properties: Optional[ConfigurationReferencePropertiesArgs] = None)
    func NewConfigurationReference(ctx *Context, name string, args ConfigurationReferenceArgs, opts ...ResourceOption) (*ConfigurationReference, error)
    public ConfigurationReference(string name, ConfigurationReferenceArgs args, CustomResourceOptions? opts = null)
    public ConfigurationReference(String name, ConfigurationReferenceArgs args)
    public ConfigurationReference(String name, ConfigurationReferenceArgs args, CustomResourceOptions options)
    
    type: azure-native:edge:ConfigurationReference
    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 ConfigurationReferenceArgs
    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 ConfigurationReferenceArgs
    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 ConfigurationReferenceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ConfigurationReferenceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ConfigurationReferenceArgs
    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 configurationReferenceResource = new AzureNative.Edge.ConfigurationReference("configurationReferenceResource", new()
    {
        ResourceUri = "string",
        ConfigurationReferenceName = "string",
        Properties = new AzureNative.Edge.Inputs.ConfigurationReferencePropertiesArgs
        {
            ConfigurationResourceId = "string",
        },
    });
    
    example, err := edge.NewConfigurationReference(ctx, "configurationReferenceResource", &edge.ConfigurationReferenceArgs{
    	ResourceUri:                pulumi.String("string"),
    	ConfigurationReferenceName: pulumi.String("string"),
    	Properties: &edge.ConfigurationReferencePropertiesArgs{
    		ConfigurationResourceId: pulumi.String("string"),
    	},
    })
    
    var configurationReferenceResource = new ConfigurationReference("configurationReferenceResource", ConfigurationReferenceArgs.builder()
        .resourceUri("string")
        .configurationReferenceName("string")
        .properties(ConfigurationReferencePropertiesArgs.builder()
            .configurationResourceId("string")
            .build())
        .build());
    
    configuration_reference_resource = azure_native.edge.ConfigurationReference("configurationReferenceResource",
        resource_uri="string",
        configuration_reference_name="string",
        properties={
            "configuration_resource_id": "string",
        })
    
    const configurationReferenceResource = new azure_native.edge.ConfigurationReference("configurationReferenceResource", {
        resourceUri: "string",
        configurationReferenceName: "string",
        properties: {
            configurationResourceId: "string",
        },
    });
    
    type: azure-native:edge:ConfigurationReference
    properties:
        configurationReferenceName: string
        properties:
            configurationResourceId: string
        resourceUri: string
    

    ConfigurationReference 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 ConfigurationReference resource accepts the following input properties:

    ResourceUri string
    The fully qualified Azure Resource manager identifier of the resource.
    ConfigurationReferenceName string
    The name of the ConfigurationReference
    Properties Pulumi.AzureNative.Edge.Inputs.ConfigurationReferenceProperties
    The resource-specific properties for this resource.
    ResourceUri string
    The fully qualified Azure Resource manager identifier of the resource.
    ConfigurationReferenceName string
    The name of the ConfigurationReference
    Properties ConfigurationReferencePropertiesArgs
    The resource-specific properties for this resource.
    resourceUri String
    The fully qualified Azure Resource manager identifier of the resource.
    configurationReferenceName String
    The name of the ConfigurationReference
    properties ConfigurationReferenceProperties
    The resource-specific properties for this resource.
    resourceUri string
    The fully qualified Azure Resource manager identifier of the resource.
    configurationReferenceName string
    The name of the ConfigurationReference
    properties ConfigurationReferenceProperties
    The resource-specific properties for this resource.
    resource_uri str
    The fully qualified Azure Resource manager identifier of the resource.
    configuration_reference_name str
    The name of the ConfigurationReference
    properties ConfigurationReferencePropertiesArgs
    The resource-specific properties for this resource.
    resourceUri String
    The fully qualified Azure Resource manager identifier of the resource.
    configurationReferenceName String
    The name of the ConfigurationReference
    properties Property Map
    The resource-specific properties for this resource.

    Outputs

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

    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    SystemData Pulumi.AzureNative.Edge.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"
    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name 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"
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name 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"
    azureApiVersion string
    The Azure API version of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name 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"
    azure_api_version str
    The Azure API version of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name 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"
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name 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"

    Supporting Types

    ConfigurationReferenceProperties, ConfigurationReferencePropertiesArgs

    ConfigurationResourceId string
    ArmId of Configuration resource
    ConfigurationResourceId string
    ArmId of Configuration resource
    configurationResourceId String
    ArmId of Configuration resource
    configurationResourceId string
    ArmId of Configuration resource
    configuration_resource_id str
    ArmId of Configuration resource
    configurationResourceId String
    ArmId of Configuration resource

    ConfigurationReferencePropertiesResponse, ConfigurationReferencePropertiesResponseArgs

    ProvisioningState string
    The status of the last operation.
    ConfigurationResourceId string
    ArmId of Configuration resource
    ProvisioningState string
    The status of the last operation.
    ConfigurationResourceId string
    ArmId of Configuration resource
    provisioningState String
    The status of the last operation.
    configurationResourceId String
    ArmId of Configuration resource
    provisioningState string
    The status of the last operation.
    configurationResourceId string
    ArmId of Configuration resource
    provisioning_state str
    The status of the last operation.
    configuration_resource_id str
    ArmId of Configuration resource
    provisioningState String
    The status of the last operation.
    configurationResourceId String
    ArmId of Configuration resource

    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:edge:ConfigurationReference default /{resourceUri}/providers/Microsoft.Edge/configurationReferences/{configurationReferenceName} 
    

    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 v2 docs if using the v2 version of this package.
    Azure Native v3.7.1 published on Wednesday, Aug 13, 2025 by Pulumi