GlobalParametersOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

DataFactoryManagementClient's

<xref:global_parameters> attribute.

Inheritance
builtins.object
GlobalParametersOperations

Constructor

GlobalParametersOperations(*args, **kwargs)

Methods

create_or_update

Creates or updates a Global parameter.

delete

Deletes a Global parameter.

get

Gets a Global parameter.

list_by_factory

Lists Global parameters.

create_or_update

Creates or updates a Global parameter.

create_or_update(resource_group_name: str, factory_name: str, global_parameter_name: str, default: _models.GlobalParameterResource, *, content_type: str = 'application/json', **kwargs: Any) -> _models.GlobalParameterResource

Parameters

Name Description
resource_group_name
Required
str

The resource group name. Required.

factory_name
Required
str

The factory name. Required.

global_parameter_name
Required
str

The global parameter name. Required.

default
Required

Global parameter resource definition. Is either a GlobalParameterResource type or a IO[bytes] type. Required.

Returns

Type Description

GlobalParameterResource or the result of cls(response)

Exceptions

Type Description

delete

Deletes a Global parameter.

delete(resource_group_name: str, factory_name: str, global_parameter_name: str, **kwargs: Any) -> None

Parameters

Name Description
resource_group_name
Required
str

The resource group name. Required.

factory_name
Required
str

The factory name. Required.

global_parameter_name
Required
str

The global parameter name. Required.

Returns

Type Description

None or the result of cls(response)

Exceptions

Type Description

get

Gets a Global parameter.

get(resource_group_name: str, factory_name: str, global_parameter_name: str, **kwargs: Any) -> GlobalParameterResource

Parameters

Name Description
resource_group_name
Required
str

The resource group name. Required.

factory_name
Required
str

The factory name. Required.

global_parameter_name
Required
str

The global parameter name. Required.

Returns

Type Description

GlobalParameterResource or the result of cls(response)

Exceptions

Type Description

list_by_factory

Lists Global parameters.

list_by_factory(resource_group_name: str, factory_name: str, **kwargs: Any) -> Iterable[GlobalParameterResource]

Parameters

Name Description
resource_group_name
Required
str

The resource group name. Required.

factory_name
Required
str

The factory name. Required.

Returns

Type Description

An iterator like instance of either GlobalParameterResource or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.datafactory.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\datafactory\\models\\__init__.py'>