ControllersOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

DevSpacesManagementClient's

<xref:controllers> attribute.

Inheritance
builtins.object
ControllersOperations

Constructor

ControllersOperations(*args, **kwargs)

Methods

begin_create

Creates an Azure Dev Spaces Controller.

Creates an Azure Dev Spaces Controller with the specified create parameters.

begin_delete

Deletes an Azure Dev Spaces Controller.

Deletes an existing Azure Dev Spaces Controller.

get

Gets an Azure Dev Spaces Controller.

Gets the properties for an Azure Dev Spaces Controller.

list

Lists the Azure Dev Spaces Controllers in a subscription.

Lists all the Azure Dev Spaces Controllers with their properties in the subscription.

list_by_resource_group

Lists the Azure Dev Spaces Controllers in a resource group.

Lists all the Azure Dev Spaces Controllers with their properties in the specified resource group and subscription.

list_connection_details

Lists connection details for an Azure Dev Spaces Controller.

Lists connection details for the underlying container resources of an Azure Dev Spaces Controller.

update

Updates an Azure Dev Spaces Controller.

Updates the properties of an existing Azure Dev Spaces Controller with the specified update parameters.

begin_create

Creates an Azure Dev Spaces Controller.

Creates an Azure Dev Spaces Controller with the specified create parameters.

begin_create(resource_group_name: str, name: str, controller: _models.Controller, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.Controller]

Parameters

Name Description
resource_group_name
Required
str

Resource group to which the resource belongs. Required.

name
Required
str

Name of the resource. Required.

controller
Required

Controller create parameters. Is either a Controller type or a IO type. Required.

Keyword-Only Parameters

Name Description
content_type
str

Body Parameter content-type. Known values are: 'application/json'. Default value is None.

cls

A custom type or function that will be passed the direct response

continuation_token
str

A continuation token to restart a poller from a saved state.

polling

By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.

polling_interval
int

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

Type Description

An instance of LROPoller that returns either Controller or the result of cls(response)

Exceptions

Type Description

begin_delete

Deletes an Azure Dev Spaces Controller.

Deletes an existing Azure Dev Spaces Controller.

begin_delete(resource_group_name: str, name: str, **kwargs: Any) -> LROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

Resource group to which the resource belongs. Required.

name
Required
str

Name of the resource. Required.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

continuation_token
str

A continuation token to restart a poller from a saved state.

polling

By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.

polling_interval
int

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

Type Description

An instance of LROPoller that returns either None or the result of cls(response)

Exceptions

Type Description

get

Gets an Azure Dev Spaces Controller.

Gets the properties for an Azure Dev Spaces Controller.

get(resource_group_name: str, name: str, **kwargs: Any) -> Controller

Parameters

Name Description
resource_group_name
Required
str

Resource group to which the resource belongs. Required.

name
Required
str

Name of the resource. Required.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

Controller or the result of cls(response)

Exceptions

Type Description

list

Lists the Azure Dev Spaces Controllers in a subscription.

Lists all the Azure Dev Spaces Controllers with their properties in the subscription.

list(**kwargs: Any) -> Iterable[Controller]

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

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

Exceptions

Type Description

list_by_resource_group

Lists the Azure Dev Spaces Controllers in a resource group.

Lists all the Azure Dev Spaces Controllers with their properties in the specified resource group and subscription.

list_by_resource_group(resource_group_name: str, **kwargs: Any) -> Iterable[Controller]

Parameters

Name Description
resource_group_name
Required
str

Resource group to which the resource belongs. Required.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

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

Exceptions

Type Description

list_connection_details

Lists connection details for an Azure Dev Spaces Controller.

Lists connection details for the underlying container resources of an Azure Dev Spaces Controller.

list_connection_details(resource_group_name: str, name: str, list_connection_details_parameters: _models.ListConnectionDetailsParameters, *, content_type: str = 'application/json', **kwargs: Any) -> _models.ControllerConnectionDetailsList

Parameters

Name Description
resource_group_name
Required
str

Resource group to which the resource belongs. Required.

name
Required
str

Name of the resource. Required.

list_connection_details_parameters
Required

Parameters for listing connection details of Azure Dev Spaces Controller. Is either a ListConnectionDetailsParameters type or a IO type. Required.

Keyword-Only Parameters

Name Description
content_type
str

Body Parameter content-type. Known values are: 'application/json'. Default value is None.

cls

A custom type or function that will be passed the direct response

Returns

Type Description

ControllerConnectionDetailsList or the result of cls(response)

Exceptions

Type Description

update

Updates an Azure Dev Spaces Controller.

Updates the properties of an existing Azure Dev Spaces Controller with the specified update parameters.

update(resource_group_name: str, name: str, controller_update_parameters: _models.ControllerUpdateParameters, *, content_type: str = 'application/json', **kwargs: Any) -> _models.Controller

Parameters

Name Description
resource_group_name
Required
str

Resource group to which the resource belongs. Required.

name
Required
str

Name of the resource. Required.

controller_update_parameters
Required

Parameters for updating the Azure Dev Spaces Controller. Is either a ControllerUpdateParameters type or a IO type. Required.

Keyword-Only Parameters

Name Description
content_type
str

Body Parameter content-type. Known values are: 'application/json'. Default value is None.

cls

A custom type or function that will be passed the direct response

Returns

Type Description

Controller or the result of cls(response)

Exceptions

Type Description

Attributes

models

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