azure.mgmt.devspaces.operations module¶
-
class
azure.mgmt.devspaces.operations.
ContainerHostMappingsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
DevSpacesManagementClient
’scontainer_host_mappings
attribute.-
get_container_host_mapping
(resource_group_name: str, location: str, container_host_mapping: _models.ContainerHostMapping, *, content_type: str = "'application/json'", **kwargs: Any) → Optional[_models.ContainerHostMapping][source]¶ -
get_container_host_mapping
(resource_group_name: str, location: str, container_host_mapping: IO, *, content_type: str = "'application/json'", **kwargs: Any) → Optional[_models.ContainerHostMapping] Returns container host mapping object for a container host resource ID if an associated controller exists.
Returns container host mapping object for a container host resource ID if an associated controller exists.
- Parameters
resource_group_name (str) – Resource group to which the resource belongs. Required.
location (str) – Location of the container host. Required.
container_host_mapping (ContainerHostMapping or IO) – Is either a model type or a IO type. Required.
- Keyword Arguments
- Returns
ContainerHostMapping or None or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.devspaces.models' from '/mnt/vss/_work/1/s/sdk/aks/azure-mgmt-devspaces/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/devspaces/models/__init__.py'>¶
-
-
class
azure.mgmt.devspaces.operations.
ControllersOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
DevSpacesManagementClient
’scontrollers
attribute.-
begin_create
(resource_group_name: str, name: str, controller: _models.Controller, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.Controller][source]¶ -
begin_create
(resource_group_name: str, name: str, controller: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.Controller] 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. Required.
name (str) – Name of the resource. Required.
controller (Controller or IO) – Controller create parameters. Is either a model type or a IO type. Required.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – 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 (bool or PollingMethod) – 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
An instance of LROPoller that returns either Controller or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][source]¶ Deletes an Azure Dev Spaces Controller.
Deletes an existing Azure Dev Spaces Controller.
- Parameters
- Keyword Arguments
cls (callable) – 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 (bool or PollingMethod) – 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
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, name: str, **kwargs: Any) → azure.mgmt.devspaces.models._models_py3.Controller[source]¶ Gets an Azure Dev Spaces Controller.
Gets the properties for an Azure Dev Spaces Controller.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
Controller or the result of cls(response)
- Return type
- Raises
-
list
(**kwargs: Any) → Iterable[azure.mgmt.devspaces.models._models_py3.Controller][source]¶ Lists the Azure Dev Spaces Controllers in a subscription.
Lists all the Azure Dev Spaces Controllers with their properties in the subscription.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either Controller or the result of cls(response)
- Return type
- Raises
-
list_by_resource_group
(resource_group_name: str, **kwargs: Any) → Iterable[azure.mgmt.devspaces.models._models_py3.Controller][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. Required.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either Controller or the result of cls(response)
- Return type
- Raises
-
list_connection_details
(resource_group_name: str, name: str, list_connection_details_parameters: _models.ListConnectionDetailsParameters, *, content_type: str = "'application/json'", **kwargs: Any) → _models.ControllerConnectionDetailsList[source]¶ -
list_connection_details
(resource_group_name: str, name: str, list_connection_details_parameters: IO, *, content_type: str = "'application/json'", **kwargs: Any) → _models.ControllerConnectionDetailsList 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. Required.
name (str) – Name of the resource. Required.
list_connection_details_parameters (ListConnectionDetailsParameters or IO) – Parameters for listing connection details of Azure Dev Spaces Controller. Is either a model type or a IO type. Required.
- Keyword Arguments
- Returns
ControllerConnectionDetailsList or the result of cls(response)
- Return type
- Raises
-
update
(resource_group_name: str, name: str, controller_update_parameters: _models.ControllerUpdateParameters, *, content_type: str = "'application/json'", **kwargs: Any) → _models.Controller[source]¶ -
update
(resource_group_name: str, name: str, controller_update_parameters: IO, *, content_type: str = "'application/json'", **kwargs: Any) → _models.Controller 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. Required.
name (str) – Name of the resource. Required.
controller_update_parameters (ControllerUpdateParameters or IO) – Parameters for updating the Azure Dev Spaces Controller. Is either a model type or a IO type. Required.
- Keyword Arguments
- Returns
Controller or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.devspaces.models' from '/mnt/vss/_work/1/s/sdk/aks/azure-mgmt-devspaces/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/devspaces/models/__init__.py'>¶
-
-
class
azure.mgmt.devspaces.operations.
Operations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
DevSpacesManagementClient
’soperations
attribute.-
list
(**kwargs: Any) → Iterable[azure.mgmt.devspaces.models._models_py3.ResourceProviderOperationDefinition][source]¶ Lists operations for the resource provider.
Lists all the supported operations by the Microsoft.DevSpaces resource provider along with their description.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either ResourceProviderOperationDefinition or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.devspaces.models' from '/mnt/vss/_work/1/s/sdk/aks/azure-mgmt-devspaces/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/devspaces/models/__init__.py'>¶
-