azure.mgmt.vmwarecloudsimple.operations module¶
-
class
azure.mgmt.vmwarecloudsimple.operations.
CustomizationPoliciesOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
VMwareCloudSimple
’scustomization_policies
attribute.-
get
(region_id: str, pc_name: str, customization_policy_name: str, **kwargs: Any) → azure.mgmt.vmwarecloudsimple.models._models_py3.CustomizationPolicy[source]¶ Implements get of customization policy.
Returns customization policy by its name.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
CustomizationPolicy or the result of cls(response)
- Return type
- Raises
-
list
(region_id: str, pc_name: str, filter: Optional[str] = None, **kwargs: Any) → Iterable[azure.mgmt.vmwarecloudsimple.models._models_py3.CustomizationPolicy][source]¶ Implements get of customization policies list.
Returns list of customization policies in region for private cloud.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either CustomizationPolicy or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.vmwarecloudsimple.models' from '/mnt/vss/_work/1/s/sdk/compute/azure-mgmt-vmwarecloudsimple/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/vmwarecloudsimple/models/__init__.py'>¶
-
-
class
azure.mgmt.vmwarecloudsimple.operations.
DedicatedCloudNodesOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
VMwareCloudSimple
’sdedicated_cloud_nodes
attribute.-
begin_create_or_update
(resource_group_name: str, referer: str, dedicated_cloud_node_name: str, dedicated_cloud_node_request: _models.DedicatedCloudNode, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.DedicatedCloudNode][source]¶ -
begin_create_or_update
(resource_group_name: str, referer: str, dedicated_cloud_node_name: str, dedicated_cloud_node_request: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.DedicatedCloudNode] Implements dedicated cloud node PUT method.
Returns dedicated cloud node by its name.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
referer (str) – referer url. Required.
dedicated_cloud_node_name (str) – dedicated cloud node name. Required.
dedicated_cloud_node_request (DedicatedCloudNode or IO) – Create Dedicated Cloud Node request. 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 DedicatedCloudNode or the result of cls(response)
- Return type
- Raises
-
delete
(resource_group_name: str, dedicated_cloud_node_name: str, **kwargs: Any) → None[source]¶ Implements dedicated cloud node DELETE method.
Delete dedicated cloud node.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
None or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, dedicated_cloud_node_name: str, **kwargs: Any) → azure.mgmt.vmwarecloudsimple.models._models_py3.DedicatedCloudNode[source]¶ Implements dedicated cloud node GET method.
Returns dedicated cloud node.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
DedicatedCloudNode or the result of cls(response)
- Return type
- Raises
-
list_by_resource_group
(resource_group_name: str, filter: Optional[str] = None, top: Optional[int] = None, skip_token: Optional[str] = None, **kwargs: Any) → Iterable[azure.mgmt.vmwarecloudsimple.models._models_py3.DedicatedCloudNode][source]¶ Implements list of dedicated cloud nodes within RG method.
Returns list of dedicate cloud nodes within resource group.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
filter (str) – The filter to apply on the list operation. Default value is None.
top (int) – The maximum number of record sets to return. Default value is None.
skip_token (str) – to be used by nextLink implementation. Default value is None.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either DedicatedCloudNode or the result of cls(response)
- Return type
- Raises
-
list_by_subscription
(filter: Optional[str] = None, top: Optional[int] = None, skip_token: Optional[str] = None, **kwargs: Any) → Iterable[azure.mgmt.vmwarecloudsimple.models._models_py3.DedicatedCloudNode][source]¶ Implements list of dedicated cloud nodes within subscription method.
Returns list of dedicate cloud nodes within subscription.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either DedicatedCloudNode or the result of cls(response)
- Return type
- Raises
-
update
(resource_group_name: str, dedicated_cloud_node_name: str, dedicated_cloud_node_request: _models.PatchPayload, *, content_type: str = "'application/json'", **kwargs: Any) → _models.DedicatedCloudNode[source]¶ -
update
(resource_group_name: str, dedicated_cloud_node_name: str, dedicated_cloud_node_request: IO, *, content_type: str = "'application/json'", **kwargs: Any) → _models.DedicatedCloudNode Implements dedicated cloud node PATCH method.
Patches dedicated node properties.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
dedicated_cloud_node_name (str) – dedicated cloud node name. Required.
dedicated_cloud_node_request (PatchPayload or IO) – Patch Dedicated Cloud Node request. Is either a model type or a IO type. Required.
- Keyword Arguments
- Returns
DedicatedCloudNode or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.vmwarecloudsimple.models' from '/mnt/vss/_work/1/s/sdk/compute/azure-mgmt-vmwarecloudsimple/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/vmwarecloudsimple/models/__init__.py'>¶
-
-
class
azure.mgmt.vmwarecloudsimple.operations.
DedicatedCloudServicesOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
VMwareCloudSimple
’sdedicated_cloud_services
attribute.-
begin_delete
(resource_group_name: str, dedicated_cloud_service_name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][source]¶ Implements dedicatedCloudService DELETE method.
Delete dedicate cloud service.
- 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
-
create_or_update
(resource_group_name: str, dedicated_cloud_service_name: str, dedicated_cloud_service_request: _models.DedicatedCloudService, *, content_type: str = "'application/json'", **kwargs: Any) → _models.DedicatedCloudService[source]¶ -
create_or_update
(resource_group_name: str, dedicated_cloud_service_name: str, dedicated_cloud_service_request: IO, *, content_type: str = "'application/json'", **kwargs: Any) → _models.DedicatedCloudService Implements dedicated cloud service PUT method.
Create dedicate cloud service.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
dedicated_cloud_service_name (str) – dedicated cloud Service name. Required.
dedicated_cloud_service_request (DedicatedCloudService or IO) – Create Dedicated Cloud Service request. Is either a model type or a IO type. Required.
- Keyword Arguments
- Returns
DedicatedCloudService or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, dedicated_cloud_service_name: str, **kwargs: Any) → azure.mgmt.vmwarecloudsimple.models._models_py3.DedicatedCloudService[source]¶ Implements dedicatedCloudService GET method.
Returns Dedicate Cloud Service.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
DedicatedCloudService or the result of cls(response)
- Return type
- Raises
-
list_by_resource_group
(resource_group_name: str, filter: Optional[str] = None, top: Optional[int] = None, skip_token: Optional[str] = None, **kwargs: Any) → Iterable[azure.mgmt.vmwarecloudsimple.models._models_py3.DedicatedCloudService][source]¶ Implements list of dedicatedCloudService objects within RG method.
Returns list of dedicated cloud services within a resource group.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
filter (str) – The filter to apply on the list operation. Default value is None.
top (int) – The maximum number of record sets to return. Default value is None.
skip_token (str) – to be used by nextLink implementation. Default value is None.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either DedicatedCloudService or the result of cls(response)
- Return type
- Raises
-
list_by_subscription
(filter: Optional[str] = None, top: Optional[int] = None, skip_token: Optional[str] = None, **kwargs: Any) → Iterable[azure.mgmt.vmwarecloudsimple.models._models_py3.DedicatedCloudService][source]¶ Implements list of dedicatedCloudService objects within subscription method.
Returns list of dedicated cloud services within a subscription.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either DedicatedCloudService or the result of cls(response)
- Return type
- Raises
-
update
(resource_group_name: str, dedicated_cloud_service_name: str, dedicated_cloud_service_request: _models.PatchPayload, *, content_type: str = "'application/json'", **kwargs: Any) → _models.DedicatedCloudService[source]¶ -
update
(resource_group_name: str, dedicated_cloud_service_name: str, dedicated_cloud_service_request: IO, *, content_type: str = "'application/json'", **kwargs: Any) → _models.DedicatedCloudService Implements dedicatedCloudService PATCH method.
Patch dedicated cloud service’s properties.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
dedicated_cloud_service_name (str) – dedicated cloud service name. Required.
dedicated_cloud_service_request (PatchPayload or IO) – Patch Dedicated Cloud Service request. Is either a model type or a IO type. Required.
- Keyword Arguments
- Returns
DedicatedCloudService or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.vmwarecloudsimple.models' from '/mnt/vss/_work/1/s/sdk/compute/azure-mgmt-vmwarecloudsimple/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/vmwarecloudsimple/models/__init__.py'>¶
-
-
class
azure.mgmt.vmwarecloudsimple.operations.
Operations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
VMwareCloudSimple
’soperations
attribute.-
get
(region_id: str, referer: str, operation_id: str, **kwargs: Any) → Optional[azure.mgmt.vmwarecloudsimple.models._models_py3.OperationResource][source]¶ Implements get of async operation.
Return an async operation.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
OperationResource or None or the result of cls(response)
- Return type
- Raises
-
list
(**kwargs: Any) → Iterable[azure.mgmt.vmwarecloudsimple.models._models_py3.AvailableOperation][source]¶ Implements list of available operations.
Return list of operations.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either AvailableOperation or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.vmwarecloudsimple.models' from '/mnt/vss/_work/1/s/sdk/compute/azure-mgmt-vmwarecloudsimple/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/vmwarecloudsimple/models/__init__.py'>¶
-
-
class
azure.mgmt.vmwarecloudsimple.operations.
PrivateCloudsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
VMwareCloudSimple
’sprivate_clouds
attribute.-
get
(pc_name: str, region_id: str, **kwargs: Any) → azure.mgmt.vmwarecloudsimple.models._models_py3.PrivateCloud[source]¶ Implements private cloud GET method.
Returns private cloud by its name.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
PrivateCloud or the result of cls(response)
- Return type
- Raises
-
list
(region_id: str, **kwargs: Any) → Iterable[azure.mgmt.vmwarecloudsimple.models._models_py3.PrivateCloud][source]¶ Implements private cloud list GET method.
Returns list of private clouds in particular region.
-
models
= <module 'azure.mgmt.vmwarecloudsimple.models' from '/mnt/vss/_work/1/s/sdk/compute/azure-mgmt-vmwarecloudsimple/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/vmwarecloudsimple/models/__init__.py'>¶
-
-
class
azure.mgmt.vmwarecloudsimple.operations.
ResourcePoolsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
VMwareCloudSimple
’sresource_pools
attribute.-
get
(region_id: str, pc_name: str, resource_pool_name: str, **kwargs: Any) → azure.mgmt.vmwarecloudsimple.models._models_py3.ResourcePool[source]¶ Implements get of resource pool.
Returns resource pool templates by its name.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ResourcePool or the result of cls(response)
- Return type
- Raises
-
list
(region_id: str, pc_name: str, **kwargs: Any) → Iterable[azure.mgmt.vmwarecloudsimple.models._models_py3.ResourcePool][source]¶ Implements get of resource pools list.
Returns list of resource pools in region for private cloud.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either ResourcePool or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.vmwarecloudsimple.models' from '/mnt/vss/_work/1/s/sdk/compute/azure-mgmt-vmwarecloudsimple/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/vmwarecloudsimple/models/__init__.py'>¶
-
-
class
azure.mgmt.vmwarecloudsimple.operations.
SkusAvailabilityOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
VMwareCloudSimple
’sskus_availability
attribute.-
list
(region_id: str, sku_id: Optional[str] = None, **kwargs: Any) → Iterable[azure.mgmt.vmwarecloudsimple.models._models_py3.SkuAvailability][source]¶ Implements SkuAvailability List method.
Returns list of available resources in region.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either SkuAvailability or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.vmwarecloudsimple.models' from '/mnt/vss/_work/1/s/sdk/compute/azure-mgmt-vmwarecloudsimple/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/vmwarecloudsimple/models/__init__.py'>¶
-
-
class
azure.mgmt.vmwarecloudsimple.operations.
UsagesOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
VMwareCloudSimple
’susages
attribute.-
list
(region_id: str, filter: Optional[str] = None, **kwargs: Any) → Iterable[azure.mgmt.vmwarecloudsimple.models._models_py3.Usage][source]¶ Implements Usages List method.
Returns list of usage in region.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either Usage or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.vmwarecloudsimple.models' from '/mnt/vss/_work/1/s/sdk/compute/azure-mgmt-vmwarecloudsimple/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/vmwarecloudsimple/models/__init__.py'>¶
-
-
class
azure.mgmt.vmwarecloudsimple.operations.
VirtualMachineTemplatesOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
VMwareCloudSimple
’svirtual_machine_templates
attribute.-
get
(region_id: str, pc_name: str, virtual_machine_template_name: str, **kwargs: Any) → azure.mgmt.vmwarecloudsimple.models._models_py3.VirtualMachineTemplate[source]¶ Implements virtual machine template GET method.
Returns virtual machine templates by its name.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
VirtualMachineTemplate or the result of cls(response)
- Return type
- Raises
-
list
(pc_name: str, region_id: str, resource_pool_name: str, **kwargs: Any) → Iterable[azure.mgmt.vmwarecloudsimple.models._models_py3.VirtualMachineTemplate][source]¶ Implements list of available VM templates.
Returns list of virtual machine templates in region for private cloud.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either VirtualMachineTemplate or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.vmwarecloudsimple.models' from '/mnt/vss/_work/1/s/sdk/compute/azure-mgmt-vmwarecloudsimple/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/vmwarecloudsimple/models/__init__.py'>¶
-
-
class
azure.mgmt.vmwarecloudsimple.operations.
VirtualMachinesOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
VMwareCloudSimple
’svirtual_machines
attribute.-
begin_create_or_update
(resource_group_name: str, referer: str, virtual_machine_name: str, virtual_machine_request: _models.VirtualMachine, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.VirtualMachine][source]¶ -
begin_create_or_update
(resource_group_name: str, referer: str, virtual_machine_name: str, virtual_machine_request: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.VirtualMachine] Implements virtual machine PUT method.
Create Or Update Virtual Machine.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
referer (str) – referer url. Required.
virtual_machine_name (str) – virtual machine name. Required.
virtual_machine_request (VirtualMachine or IO) – Create or Update Virtual Machine request. 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 VirtualMachine or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, referer: str, virtual_machine_name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][source]¶ Implements virtual machine DELETE method.
Delete virtual machine.
- 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
-
begin_start
(resource_group_name: str, referer: str, virtual_machine_name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][source]¶ Implements a start method for a virtual machine.
Power on virtual machine.
- 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
-
begin_stop
(resource_group_name: str, referer: str, virtual_machine_name: str, mode: Optional[Union[str, _models.StopMode]] = None, m: Optional[_models.VirtualMachineStopMode] = None, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[None][source]¶ -
begin_stop
(resource_group_name: str, referer: str, virtual_machine_name: str, mode: Optional[Union[str, _models.StopMode]] = None, m: Optional[IO] = None, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[None] Implements shutdown, poweroff, and suspend method for a virtual machine.
Power off virtual machine, options: shutdown, poweroff, and suspend.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
referer (str) – referer url. Required.
virtual_machine_name (str) – virtual machine name. Required.
mode (str or StopMode) – query stop mode parameter (reboot, shutdown, etc…). Known values are: “reboot”, “suspend”, “shutdown”, and “poweroff”. Default value is None.
m (VirtualMachineStopMode or IO) – body stop mode parameter (reboot, shutdown, etc…). Is either a model type or a IO type. Default value is None.
- 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 None or the result of cls(response)
- Return type
- Raises
-
begin_update
(resource_group_name: str, virtual_machine_name: str, virtual_machine_request: _models.PatchPayload, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.VirtualMachine][source]¶ -
begin_update
(resource_group_name: str, virtual_machine_name: str, virtual_machine_request: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.VirtualMachine] Implements virtual machine PATCH method.
Patch virtual machine properties.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
virtual_machine_name (str) – virtual machine name. Required.
virtual_machine_request (PatchPayload or IO) – Patch virtual machine request. 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 VirtualMachine or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, virtual_machine_name: str, **kwargs: Any) → azure.mgmt.vmwarecloudsimple.models._models_py3.VirtualMachine[source]¶ Implements virtual machine GET method.
Get virtual machine.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
VirtualMachine or the result of cls(response)
- Return type
- Raises
-
list_by_resource_group
(resource_group_name: str, filter: Optional[str] = None, top: Optional[int] = None, skip_token: Optional[str] = None, **kwargs: Any) → Iterable[azure.mgmt.vmwarecloudsimple.models._models_py3.VirtualMachine][source]¶ Implements list virtual machine within RG method.
Returns list of virtual machine within resource group.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
filter (str) – The filter to apply on the list operation. Default value is None.
top (int) – The maximum number of record sets to return. Default value is None.
skip_token (str) – to be used by nextLink implementation. Default value is None.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either VirtualMachine or the result of cls(response)
- Return type
- Raises
-
list_by_subscription
(filter: Optional[str] = None, top: Optional[int] = None, skip_token: Optional[str] = None, **kwargs: Any) → Iterable[azure.mgmt.vmwarecloudsimple.models._models_py3.VirtualMachine][source]¶ Implements list virtual machine within subscription method.
Returns list virtual machine within subscription.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either VirtualMachine or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.vmwarecloudsimple.models' from '/mnt/vss/_work/1/s/sdk/compute/azure-mgmt-vmwarecloudsimple/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/vmwarecloudsimple/models/__init__.py'>¶
-
-
class
azure.mgmt.vmwarecloudsimple.operations.
VirtualNetworksOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
VMwareCloudSimple
’svirtual_networks
attribute.-
get
(region_id: str, pc_name: str, virtual_network_name: str, **kwargs: Any) → azure.mgmt.vmwarecloudsimple.models._models_py3.VirtualNetwork[source]¶ Implements virtual network GET method.
Return virtual network by its name.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
VirtualNetwork or the result of cls(response)
- Return type
- Raises
-
list
(region_id: str, pc_name: str, resource_pool_name: str, **kwargs: Any) → Iterable[azure.mgmt.vmwarecloudsimple.models._models_py3.VirtualNetwork][source]¶ Implements list available virtual networks within a subscription method.
Return list of virtual networks in location for private cloud.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either VirtualNetwork or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.vmwarecloudsimple.models' from '/mnt/vss/_work/1/s/sdk/compute/azure-mgmt-vmwarecloudsimple/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/vmwarecloudsimple/models/__init__.py'>¶
-