azure-native.edge.ConfigurationReference
Explore with Pulumi AI
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:
- Resource
Uri string - The fully qualified Azure Resource manager identifier of the resource.
- Configuration
Reference stringName - The name of the ConfigurationReference
- Properties
Pulumi.
Azure Native. Edge. Inputs. Configuration Reference Properties - The resource-specific properties for this resource.
- Resource
Uri string - The fully qualified Azure Resource manager identifier of the resource.
- Configuration
Reference stringName - The name of the ConfigurationReference
- Properties
Configuration
Reference Properties Args - The resource-specific properties for this resource.
- resource
Uri String - The fully qualified Azure Resource manager identifier of the resource.
- configuration
Reference StringName - The name of the ConfigurationReference
- properties
Configuration
Reference Properties - The resource-specific properties for this resource.
- resource
Uri string - The fully qualified Azure Resource manager identifier of the resource.
- configuration
Reference stringName - The name of the ConfigurationReference
- properties
Configuration
Reference Properties - The resource-specific properties for this resource.
- resource_
uri str - The fully qualified Azure Resource manager identifier of the resource.
- configuration_
reference_ strname - The name of the ConfigurationReference
- properties
Configuration
Reference Properties Args - The resource-specific properties for this resource.
- resource
Uri String - The fully qualified Azure Resource manager identifier of the resource.
- configuration
Reference StringName - 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:
- Azure
Api stringVersion - 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
- 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.
- 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.
- 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.
- 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.
- 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.
- 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
ConfigurationReferenceProperties, ConfigurationReferencePropertiesArgs
- Configuration
Resource stringId - ArmId of Configuration resource
- Configuration
Resource stringId - ArmId of Configuration resource
- configuration
Resource StringId - ArmId of Configuration resource
- configuration
Resource stringId - ArmId of Configuration resource
- configuration_
resource_ strid - ArmId of Configuration resource
- configuration
Resource StringId - ArmId of Configuration resource
ConfigurationReferencePropertiesResponse, ConfigurationReferencePropertiesResponseArgs
- Provisioning
State string - The status of the last operation.
- Configuration
Resource stringId - ArmId of Configuration resource
- Provisioning
State string - The status of the last operation.
- Configuration
Resource stringId - ArmId of Configuration resource
- provisioning
State String - The status of the last operation.
- configuration
Resource StringId - ArmId of Configuration resource
- provisioning
State string - The status of the last operation.
- configuration
Resource stringId - ArmId of Configuration resource
- provisioning_
state str - The status of the last operation.
- configuration_
resource_ strid - ArmId of Configuration resource
- provisioning
State String - The status of the last operation.
- configuration
Resource StringId - ArmId of Configuration resource
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: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