azure.mgmt.devspaces.operations module

class azure.mgmt.devspaces.operations.ControllersOperations(client, config, serializer, deserializer)[source]

Bases: object

ControllersOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An object model deserializer.
Variables:

api_version – Client API version. Constant value: “2018-06-01-preview”.

create(resource_group_name, name, controller, custom_headers=None, raw=False, polling=True, **operation_config)[source]

Creates an Azure Dev Spaces Controller.

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

Parameters:
  • resource_group_name (str) – Resource group to which the resource belongs.
  • name (str) – Name of the resource.
  • controller (Controller) – Controller create parameters.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
  • polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns:

An instance of LROPoller that returns Controller or ClientRawResponse<Controller> if raw==True

Return type:

AzureOperationPoller[Controller] or AzureOperationPoller[ClientRawResponse[Controller]]

Raises:

ErrorResponseException

delete(resource_group_name, name, custom_headers=None, raw=False, polling=True, **operation_config)[source]

Deletes an Azure Dev Spaces Controller.

Deletes an existing Azure Dev Spaces Controller.

Parameters:
  • resource_group_name (str) – Resource group to which the resource belongs.
  • name (str) – Name of the resource.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
  • polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns:

An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True

Return type:

AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]

Raises:

ErrorResponseException

get(resource_group_name, name, custom_headers=None, raw=False, **operation_config)[source]

Gets an Azure Dev Spaces Controller.

Gets the properties for an Azure Dev Spaces Controller.

Parameters:
  • resource_group_name (str) – Resource group to which the resource belongs.
  • name (str) – Name of the resource.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Returns:

Controller or ClientRawResponse if raw=true

Return type:

Controller or ClientRawResponse

Raises:

ErrorResponseException

list(custom_headers=None, raw=False, **operation_config)[source]

Lists the Azure Dev Spaces Controllers in a subscription.

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

Parameters:
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Returns:

An iterator like instance of Controller

Return type:

ControllerPaged[Controller]

Raises:

ErrorResponseException

list_by_resource_group(resource_group_name, custom_headers=None, raw=False, **operation_config)[source]

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.

Parameters:
  • resource_group_name (str) – Resource group to which the resource belongs.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Returns:

An iterator like instance of Controller

Return type:

ControllerPaged[Controller]

Raises:

ErrorResponseException

list_connection_details(resource_group_name, name, custom_headers=None, raw=False, **operation_config)[source]

Lists connection details for an Azure Dev Spaces Controller.

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

Parameters:
  • resource_group_name (str) – Resource group to which the resource belongs.
  • name (str) – Name of the resource.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Returns:

ControllerConnectionDetailsList or ClientRawResponse if raw=true

Return type:

ControllerConnectionDetailsList or ClientRawResponse

Raises:

ErrorResponseException

update(resource_group_name, name, tags=None, custom_headers=None, raw=False, **operation_config)[source]

Updates an Azure Dev Spaces Controller.

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

Parameters:
  • resource_group_name (str) – Resource group to which the resource belongs.
  • name (str) – Name of the resource.
  • tags (dict[str, str]) – Tags for the Azure Dev Spaces Controller.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Returns:

Controller or ClientRawResponse if raw=true

Return type:

Controller or ClientRawResponse

Raises:

ErrorResponseException

models = <module 'azure.mgmt.devspaces.models' from '/usr/lib/python3/dist-packages/azure/mgmt/devspaces/models/__init__.py'>
class azure.mgmt.devspaces.operations.Operations(client, config, serializer, deserializer)[source]

Bases: object

Operations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An object model deserializer.
Variables:

api_version – Client API version. Constant value: “2018-06-01-preview”.

list(custom_headers=None, raw=False, **operation_config)[source]

Lists operations for the resource provider.

Lists all the supported operations by the Microsoft.DevSpaces resource provider along with their description.

Parameters:
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Returns:

An iterator like instance of ResourceProviderOperationDefinition

Return type:

ResourceProviderOperationDefinitionPaged[ResourceProviderOperationDefinition]

Raises:

CloudError

models = <module 'azure.mgmt.devspaces.models' from '/usr/lib/python3/dist-packages/azure/mgmt/devspaces/models/__init__.py'>