azure.mgmt.devspaces.models module

class azure.mgmt.devspaces.models.ContainerHostMapping(*, container_host_resource_id: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.devspaces._serialization.Model

Container host mapping object specifying the Container host resource ID and its associated Controller resource.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • container_host_resource_id (str) – ARM ID of the Container Host resource.

  • mapped_controller_resource_id (str) – ARM ID of the mapped Controller resource.

Keyword Arguments

container_host_resource_id (str) – ARM ID of the Container Host resource.

class azure.mgmt.devspaces.models.Controller(*, sku: _models.Sku, target_container_host_resource_id: str, target_container_host_credentials_base64: str, tags: Optional[Dict[str, str]] = None, location: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.devspaces.models._models_py3.TrackedResource

Controller.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Fully qualified resource Id for the resource.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource.

  • tags (dict[str, str]) – Tags for the Azure resource.

  • location (str) – Region where the Azure resource is located.

  • sku (Sku) – Model representing SKU for Azure Dev Spaces Controller. Required.

  • provisioning_state (str or ProvisioningState) – Provisioning state of the Azure Dev Spaces Controller. Known values are: “Succeeded”, “Failed”, “Canceled”, “Updating”, “Creating”, “Deleting”, and “Deleted”.

  • host_suffix (str) – DNS suffix for public endpoints running in the Azure Dev Spaces Controller.

  • data_plane_fqdn (str) – DNS name for accessing DataPlane services.

  • target_container_host_api_server_fqdn (str) – DNS of the target container host’s API server.

  • target_container_host_resource_id (str) – Resource ID of the target container host. Required.

  • target_container_host_credentials_base64 (str) – Credentials of the target container host (base64). Required.

Keyword Arguments
  • tags (dict[str, str]) – Tags for the Azure resource.

  • location (str) – Region where the Azure resource is located.

  • sku (Sku) – Model representing SKU for Azure Dev Spaces Controller. Required.

  • target_container_host_resource_id (str) – Resource ID of the target container host. Required.

  • target_container_host_credentials_base64 (str) – Credentials of the target container host (base64). Required.

class azure.mgmt.devspaces.models.ControllerConnectionDetails(*, orchestrator_specific_connection_details: Optional[_models.OrchestratorSpecificConnectionDetails] = None, **kwargs)[source]

Bases: azure.mgmt.devspaces._serialization.Model

ControllerConnectionDetails.

Variables

orchestrator_specific_connection_details (OrchestratorSpecificConnectionDetails) – Base class for types that supply values used to connect to container orchestrators.

Keyword Arguments

orchestrator_specific_connection_details (OrchestratorSpecificConnectionDetails) – Base class for types that supply values used to connect to container orchestrators.

class azure.mgmt.devspaces.models.ControllerConnectionDetailsList(*, connection_details_list: Optional[List[_models.ControllerConnectionDetails]] = None, **kwargs)[source]

Bases: azure.mgmt.devspaces._serialization.Model

ControllerConnectionDetailsList.

Variables

connection_details_list (list[ControllerConnectionDetails]) – List of Azure Dev Spaces Controller connection details.

Keyword Arguments

connection_details_list (list[ControllerConnectionDetails]) – List of Azure Dev Spaces Controller connection details.

class azure.mgmt.devspaces.models.ControllerList(*, value: Optional[List[_models.Controller]] = None, **kwargs)[source]

Bases: azure.mgmt.devspaces._serialization.Model

ControllerList.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • value (list[Controller]) – List of Azure Dev Spaces Controllers.

  • next_link (str) – The URI that can be used to request the next page for list of Azure Dev Spaces Controllers.

Keyword Arguments

value (list[Controller]) – List of Azure Dev Spaces Controllers.

class azure.mgmt.devspaces.models.ControllerUpdateParameters(*, tags: Optional[Dict[str, str]] = None, target_container_host_credentials_base64: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.devspaces._serialization.Model

Parameters for updating an Azure Dev Spaces Controller.

Variables
  • tags (dict[str, str]) – Tags for the Azure Dev Spaces Controller.

  • target_container_host_credentials_base64 (str) – Credentials of the target container host (base64).

Keyword Arguments
  • tags (dict[str, str]) – Tags for the Azure Dev Spaces Controller.

  • target_container_host_credentials_base64 (str) – Credentials of the target container host (base64).

class azure.mgmt.devspaces.models.DevSpacesErrorResponse(*, error: Optional[_models.ErrorDetails] = None, **kwargs)[source]

Bases: azure.mgmt.devspaces._serialization.Model

Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.

Variables

error (ErrorDetails) – The details of the error.

Keyword Arguments

error (ErrorDetails) – The details of the error.

class azure.mgmt.devspaces.models.ErrorDetails(**kwargs)[source]

Bases: azure.mgmt.devspaces._serialization.Model

ErrorDetails.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • code (str) – Status code for the error.

  • message (str) – Error message describing the error in detail.

  • target (str) – The target of the particular error.

class azure.mgmt.devspaces.models.KubernetesConnectionDetails(*, kube_config: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.devspaces.models._models_py3.OrchestratorSpecificConnectionDetails

Contains information used to connect to a Kubernetes cluster.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • instance_type (str) – Gets the Instance type. Required.

  • kube_config (str) – Gets the kubeconfig for the cluster.

Keyword Arguments

kube_config (str) – Gets the kubeconfig for the cluster.

class azure.mgmt.devspaces.models.ListConnectionDetailsParameters(*, target_container_host_resource_id: str, **kwargs)[source]

Bases: azure.mgmt.devspaces._serialization.Model

Parameters for listing connection details of an Azure Dev Spaces Controller.

All required parameters must be populated in order to send to Azure.

Variables

target_container_host_resource_id (str) – Resource ID of the target container host mapped to the Azure Dev Spaces Controller. Required.

Keyword Arguments

target_container_host_resource_id (str) – Resource ID of the target container host mapped to the Azure Dev Spaces Controller. Required.

class azure.mgmt.devspaces.models.OrchestratorSpecificConnectionDetails(**kwargs)[source]

Bases: azure.mgmt.devspaces._serialization.Model

Base class for types that supply values used to connect to container orchestrators.

You probably want to use the sub-classes and not this class directly. Known sub-classes are: KubernetesConnectionDetails

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables

instance_type (str) – Gets the Instance type. Required.

class azure.mgmt.devspaces.models.ProvisioningState(value)[source]

Bases: str, enum.Enum

Provisioning state of the Azure Dev Spaces Controller.

CANCELED = 'Canceled'
CREATING = 'Creating'
DELETED = 'Deleted'
DELETING = 'Deleting'
FAILED = 'Failed'
SUCCEEDED = 'Succeeded'
UPDATING = 'Updating'
class azure.mgmt.devspaces.models.Resource(**kwargs)[source]

Bases: azure.mgmt.devspaces._serialization.Model

An Azure resource.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • id (str) – Fully qualified resource Id for the resource.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource.

class azure.mgmt.devspaces.models.ResourceProviderOperationDefinition(*, name: Optional[str] = None, display: Optional[_models.ResourceProviderOperationDisplay] = None, **kwargs)[source]

Bases: azure.mgmt.devspaces._serialization.Model

ResourceProviderOperationDefinition.

Variables
Keyword Arguments
class azure.mgmt.devspaces.models.ResourceProviderOperationDisplay(*, provider: Optional[str] = None, resource: Optional[str] = None, operation: Optional[str] = None, description: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.devspaces._serialization.Model

ResourceProviderOperationDisplay.

Variables
  • provider (str) – Name of the resource provider.

  • resource (str) – Name of the resource type.

  • operation (str) – Name of the resource provider operation.

  • description (str) – Description of the resource provider operation.

Keyword Arguments
  • provider (str) – Name of the resource provider.

  • resource (str) – Name of the resource type.

  • operation (str) – Name of the resource provider operation.

  • description (str) – Description of the resource provider operation.

class azure.mgmt.devspaces.models.ResourceProviderOperationList(*, value: Optional[List[_models.ResourceProviderOperationDefinition]] = None, **kwargs)[source]

Bases: azure.mgmt.devspaces._serialization.Model

ResourceProviderOperationList.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
Keyword Arguments

value (list[ResourceProviderOperationDefinition]) – Resource provider operations list.

class azure.mgmt.devspaces.models.Sku(*, name: Union[str, _models.SkuName], tier: Optional[Union[str, _models.SkuTier]] = None, **kwargs)[source]

Bases: azure.mgmt.devspaces._serialization.Model

Model representing SKU for Azure Dev Spaces Controller.

All required parameters must be populated in order to send to Azure.

Variables
  • name (str or SkuName) – The name of the SKU for Azure Dev Spaces Controller. Required. “S1”

  • tier (str or SkuTier) – The tier of the SKU for Azure Dev Spaces Controller. “Standard”

Keyword Arguments
  • name (str or SkuName) – The name of the SKU for Azure Dev Spaces Controller. Required. “S1”

  • tier (str or SkuTier) – The tier of the SKU for Azure Dev Spaces Controller. “Standard”

class azure.mgmt.devspaces.models.SkuName(value)[source]

Bases: str, enum.Enum

The name of the SKU for Azure Dev Spaces Controller.

S1 = 'S1'
class azure.mgmt.devspaces.models.SkuTier(value)[source]

Bases: str, enum.Enum

The tier of the SKU for Azure Dev Spaces Controller.

STANDARD = 'Standard'
class azure.mgmt.devspaces.models.TrackedResource(*, tags: Optional[Dict[str, str]] = None, location: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.devspaces.models._models_py3.Resource

The resource model definition for a ARM tracked top level resource.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • id (str) – Fully qualified resource Id for the resource.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource.

  • tags (dict[str, str]) – Tags for the Azure resource.

  • location (str) – Region where the Azure resource is located.

Keyword Arguments
  • tags (dict[str, str]) – Tags for the Azure resource.

  • location (str) – Region where the Azure resource is located.