1. Packages
  2. Azure Native v2
  3. API Docs
  4. datafactory
  5. GlobalParameter
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.datafactory.GlobalParameter

Explore with Pulumi AI

Global parameters resource type. Azure REST API version: 2018-06-01. Prior API version in Azure Native 1.x: 2018-06-01.

Example Usage

GlobalParameters_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var globalParameter = new AzureNative.DataFactory.GlobalParameter("globalParameter", new()
    {
        FactoryName = "exampleFactoryName",
        GlobalParameterName = "default",
        Properties = 
        {
            { "waitTime", new AzureNative.DataFactory.Inputs.GlobalParameterSpecificationArgs
            {
                Type = AzureNative.DataFactory.GlobalParameterType.Int,
                Value = 5,
            } },
        },
        ResourceGroupName = "exampleResourceGroup",
    });

});
Copy
package main

import (
	datafactory "github.com/pulumi/pulumi-azure-native-sdk/datafactory/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datafactory.NewGlobalParameter(ctx, "globalParameter", &datafactory.GlobalParameterArgs{
			FactoryName:         pulumi.String("exampleFactoryName"),
			GlobalParameterName: pulumi.String("default"),
			Properties: datafactory.GlobalParameterSpecificationMap{
				"waitTime": &datafactory.GlobalParameterSpecificationArgs{
					Type:  pulumi.String(datafactory.GlobalParameterTypeInt),
					Value: pulumi.Any(5),
				},
			},
			ResourceGroupName: pulumi.String("exampleResourceGroup"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.datafactory.GlobalParameter;
import com.pulumi.azurenative.datafactory.GlobalParameterArgs;
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 globalParameter = new GlobalParameter("globalParameter", GlobalParameterArgs.builder()
            .factoryName("exampleFactoryName")
            .globalParameterName("default")
            .properties(Map.of("waitTime", Map.ofEntries(
                Map.entry("type", "Int"),
                Map.entry("value", 5)
            )))
            .resourceGroupName("exampleResourceGroup")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const globalParameter = new azure_native.datafactory.GlobalParameter("globalParameter", {
    factoryName: "exampleFactoryName",
    globalParameterName: "default",
    properties: {
        waitTime: {
            type: azure_native.datafactory.GlobalParameterType.Int,
            value: 5,
        },
    },
    resourceGroupName: "exampleResourceGroup",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

global_parameter = azure_native.datafactory.GlobalParameter("globalParameter",
    factory_name="exampleFactoryName",
    global_parameter_name="default",
    properties={
        "waitTime": {
            "type": azure_native.datafactory.GlobalParameterType.INT,
            "value": 5,
        },
    },
    resource_group_name="exampleResourceGroup")
Copy
resources:
  globalParameter:
    type: azure-native:datafactory:GlobalParameter
    properties:
      factoryName: exampleFactoryName
      globalParameterName: default
      properties:
        waitTime:
          type: Int
          value: 5
      resourceGroupName: exampleResourceGroup
Copy

GlobalParameters_Update

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var globalParameter = new AzureNative.DataFactory.GlobalParameter("globalParameter", new()
    {
        FactoryName = "exampleFactoryName",
        GlobalParameterName = "default",
        Properties = 
        {
            { "waitTime", new AzureNative.DataFactory.Inputs.GlobalParameterSpecificationArgs
            {
                Type = AzureNative.DataFactory.GlobalParameterType.Int,
                Value = 5,
            } },
        },
        ResourceGroupName = "exampleResourceGroup",
    });

});
Copy
package main

import (
	datafactory "github.com/pulumi/pulumi-azure-native-sdk/datafactory/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datafactory.NewGlobalParameter(ctx, "globalParameter", &datafactory.GlobalParameterArgs{
			FactoryName:         pulumi.String("exampleFactoryName"),
			GlobalParameterName: pulumi.String("default"),
			Properties: datafactory.GlobalParameterSpecificationMap{
				"waitTime": &datafactory.GlobalParameterSpecificationArgs{
					Type:  pulumi.String(datafactory.GlobalParameterTypeInt),
					Value: pulumi.Any(5),
				},
			},
			ResourceGroupName: pulumi.String("exampleResourceGroup"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.datafactory.GlobalParameter;
import com.pulumi.azurenative.datafactory.GlobalParameterArgs;
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 globalParameter = new GlobalParameter("globalParameter", GlobalParameterArgs.builder()
            .factoryName("exampleFactoryName")
            .globalParameterName("default")
            .properties(Map.of("waitTime", Map.ofEntries(
                Map.entry("type", "Int"),
                Map.entry("value", 5)
            )))
            .resourceGroupName("exampleResourceGroup")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const globalParameter = new azure_native.datafactory.GlobalParameter("globalParameter", {
    factoryName: "exampleFactoryName",
    globalParameterName: "default",
    properties: {
        waitTime: {
            type: azure_native.datafactory.GlobalParameterType.Int,
            value: 5,
        },
    },
    resourceGroupName: "exampleResourceGroup",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

global_parameter = azure_native.datafactory.GlobalParameter("globalParameter",
    factory_name="exampleFactoryName",
    global_parameter_name="default",
    properties={
        "waitTime": {
            "type": azure_native.datafactory.GlobalParameterType.INT,
            "value": 5,
        },
    },
    resource_group_name="exampleResourceGroup")
Copy
resources:
  globalParameter:
    type: azure-native:datafactory:GlobalParameter
    properties:
      factoryName: exampleFactoryName
      globalParameterName: default
      properties:
        waitTime:
          type: Int
          value: 5
      resourceGroupName: exampleResourceGroup
Copy

Create GlobalParameter Resource

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

Constructor syntax

new GlobalParameter(name: string, args: GlobalParameterArgs, opts?: CustomResourceOptions);
@overload
def GlobalParameter(resource_name: str,
                    args: GlobalParameterArgs,
                    opts: Optional[ResourceOptions] = None)

@overload
def GlobalParameter(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    factory_name: Optional[str] = None,
                    properties: Optional[Mapping[str, GlobalParameterSpecificationArgs]] = None,
                    resource_group_name: Optional[str] = None,
                    global_parameter_name: Optional[str] = None)
func NewGlobalParameter(ctx *Context, name string, args GlobalParameterArgs, opts ...ResourceOption) (*GlobalParameter, error)
public GlobalParameter(string name, GlobalParameterArgs args, CustomResourceOptions? opts = null)
public GlobalParameter(String name, GlobalParameterArgs args)
public GlobalParameter(String name, GlobalParameterArgs args, CustomResourceOptions options)
type: azure-native:datafactory:GlobalParameter
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. GlobalParameterArgs
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. GlobalParameterArgs
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. GlobalParameterArgs
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. GlobalParameterArgs
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. GlobalParameterArgs
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 globalParameterResource = new AzureNative.Datafactory.GlobalParameter("globalParameterResource", new()
{
    FactoryName = "string",
    Properties = 
    {
        { "string", 
        {
            { "type", "string" },
            { "value", "any" },
        } },
    },
    ResourceGroupName = "string",
    GlobalParameterName = "string",
});
Copy
example, err := datafactory.NewGlobalParameter(ctx, "globalParameterResource", &datafactory.GlobalParameterArgs{
	FactoryName: "string",
	Properties: map[string]interface{}{
		"string": map[string]interface{}{
			"type":  "string",
			"value": "any",
		},
	},
	ResourceGroupName:   "string",
	GlobalParameterName: "string",
})
Copy
var globalParameterResource = new GlobalParameter("globalParameterResource", GlobalParameterArgs.builder()
    .factoryName("string")
    .properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .resourceGroupName("string")
    .globalParameterName("string")
    .build());
Copy
global_parameter_resource = azure_native.datafactory.GlobalParameter("globalParameterResource",
    factory_name=string,
    properties={
        string: {
            type: string,
            value: any,
        },
    },
    resource_group_name=string,
    global_parameter_name=string)
Copy
const globalParameterResource = new azure_native.datafactory.GlobalParameter("globalParameterResource", {
    factoryName: "string",
    properties: {
        string: {
            type: "string",
            value: "any",
        },
    },
    resourceGroupName: "string",
    globalParameterName: "string",
});
Copy
type: azure-native:datafactory:GlobalParameter
properties:
    factoryName: string
    globalParameterName: string
    properties:
        string:
            type: string
            value: any
    resourceGroupName: string
Copy

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

FactoryName
This property is required.
Changes to this property will trigger replacement.
string
The factory name.
Properties This property is required. Dictionary<string, Pulumi.AzureNative.DataFactory.Inputs.GlobalParameterSpecificationArgs>
Properties of the global parameter.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
GlobalParameterName Changes to this property will trigger replacement. string
The global parameter name.
FactoryName
This property is required.
Changes to this property will trigger replacement.
string
The factory name.
Properties This property is required. map[string]GlobalParameterSpecificationArgs
Properties of the global parameter.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
GlobalParameterName Changes to this property will trigger replacement. string
The global parameter name.
factoryName
This property is required.
Changes to this property will trigger replacement.
String
The factory name.
properties This property is required. Map<String,GlobalParameterSpecificationArgs>
Properties of the global parameter.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The resource group name.
globalParameterName Changes to this property will trigger replacement. String
The global parameter name.
factoryName
This property is required.
Changes to this property will trigger replacement.
string
The factory name.
properties This property is required. {[key: string]: GlobalParameterSpecificationArgs}
Properties of the global parameter.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
globalParameterName Changes to this property will trigger replacement. string
The global parameter name.
factory_name
This property is required.
Changes to this property will trigger replacement.
str
The factory name.
properties This property is required. Mapping[str, GlobalParameterSpecificationArgs]
Properties of the global parameter.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The resource group name.
global_parameter_name Changes to this property will trigger replacement. str
The global parameter name.
factoryName
This property is required.
Changes to this property will trigger replacement.
String
The factory name.
properties This property is required. Map<Property Map>
Properties of the global parameter.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The resource group name.
globalParameterName Changes to this property will trigger replacement. String
The global parameter name.

Outputs

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

Etag string
Etag identifies change in the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The resource name.
Type string
The resource type.
Etag string
Etag identifies change in the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The resource name.
Type string
The resource type.
etag String
Etag identifies change in the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
The resource name.
type String
The resource type.
etag string
Etag identifies change in the resource.
id string
The provider-assigned unique ID for this managed resource.
name string
The resource name.
type string
The resource type.
etag str
Etag identifies change in the resource.
id str
The provider-assigned unique ID for this managed resource.
name str
The resource name.
type str
The resource type.
etag String
Etag identifies change in the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
The resource name.
type String
The resource type.

Supporting Types

GlobalParameterSpecification
, GlobalParameterSpecificationArgs

Type This property is required. string | Pulumi.AzureNative.DataFactory.GlobalParameterType
Global Parameter type.
Value This property is required. object
Value of parameter.
Type This property is required. string | GlobalParameterType
Global Parameter type.
Value This property is required. interface{}
Value of parameter.
type This property is required. String | GlobalParameterType
Global Parameter type.
value This property is required. Object
Value of parameter.
type This property is required. string | GlobalParameterType
Global Parameter type.
value This property is required. any
Value of parameter.
type This property is required. str | GlobalParameterType
Global Parameter type.
value This property is required. Any
Value of parameter.
type This property is required. String | "Object" | "String" | "Int" | "Float" | "Bool" | "Array"
Global Parameter type.
value This property is required. Any
Value of parameter.

GlobalParameterSpecificationResponse
, GlobalParameterSpecificationResponseArgs

Type This property is required. string
Global Parameter type.
Value This property is required. object
Value of parameter.
Type This property is required. string
Global Parameter type.
Value This property is required. interface{}
Value of parameter.
type This property is required. String
Global Parameter type.
value This property is required. Object
Value of parameter.
type This property is required. string
Global Parameter type.
value This property is required. any
Value of parameter.
type This property is required. str
Global Parameter type.
value This property is required. Any
Value of parameter.
type This property is required. String
Global Parameter type.
value This property is required. Any
Value of parameter.

GlobalParameterType
, GlobalParameterTypeArgs

Object
Object
String
String
Int
Int
Float
Float
Bool
Bool
Array
Array
GlobalParameterTypeObject
Object
GlobalParameterTypeString
String
GlobalParameterTypeInt
Int
GlobalParameterTypeFloat
Float
GlobalParameterTypeBool
Bool
GlobalParameterTypeArray
Array
Object
Object
String
String
Int
Int
Float
Float
Bool
Bool
Array
Array
Object
Object
String
String
Int
Int
Float
Float
Bool
Bool
Array
Array
OBJECT
Object
STRING
String
INT
Int
FLOAT
Float
BOOL
Bool
ARRAY
Array
"Object"
Object
"String"
String
"Int"
Int
"Float"
Float
"Bool"
Bool
"Array"
Array

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:datafactory:GlobalParameter default /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/globalParameters/{globalParameterName} 
Copy

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