vmware.vmc.console.api package

Submodules

vmware.vmc.console.api.account_linking_api module

  • Copyright (c) 2020 VMware, Inc

  • SPDX-License-Identifier: MIT

VMware Cloud APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc.console.api.account_linking_api.AccountLinkingApi(api_client=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech

Do not edit the class manually.

Gets a customer’s compatible subnets for account linking via a task. The information is returned as a member of the task (found in task.params[‘subnet_list_result’] when you are notified it is complete), and it’s documented under ref /definitions/AwsCompatibleSubnets # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_account_link_compatible_subnets_async_get(org, linked_account_id, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • linked_account_id (str) – The linked connected account identifier (required)

  • region (str) – The region of the cloud resources to work in

  • sddc (str) – sddc

  • instance_type (str) – The server instance type to be used.

  • sddc_type (str) – The sddc type to be used. (1NODE, SingleAZ, MultiAZ)

  • num_of_hosts (int) – The number of hosts

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Task If the method is called asynchronously, returns the request thread.

Gets a customer’s compatible subnets for account linking via a task. The information is returned as a member of the task (found in task.params[‘subnet_list_result’] when you are notified it is complete), and it’s documented under ref /definitions/AwsCompatibleSubnets # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_account_link_compatible_subnets_async_get_with_http_info(org, linked_account_id, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • linked_account_id (str) – The linked connected account identifier (required)

  • region (str) – The region of the cloud resources to work in

  • sddc (str) – sddc

  • instance_type (str) – The server instance type to be used.

  • sddc_type (str) – The sddc type to be used. (1NODE, SingleAZ, MultiAZ)

  • num_of_hosts (int) – The number of hosts

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Task, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_account_link_compatible_subnets_async_post(org, aws_subnet, **kwargs)

Sets which subnet to use to link accounts and finishes the linking process via a task # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_account_link_compatible_subnets_async_post(org, aws_subnet, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • aws_subnet (AwsSubnet) – The subnet chosen by the customer (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Task If the method is called asynchronously, returns the request thread.

orgs_org_account_link_compatible_subnets_async_post_with_http_info(org, aws_subnet, **kwargs)

Sets which subnet to use to link accounts and finishes the linking process via a task # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_account_link_compatible_subnets_async_post_with_http_info(org, aws_subnet, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • aws_subnet (AwsSubnet) – The subnet chosen by the customer (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Task, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

Gets a customer’s compatible subnets for account linking # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_account_link_compatible_subnets_get(org, linked_account_id, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • linked_account_id (str) – The linked connected account identifier (required)

  • region (str) – The region of the cloud resources to work in

  • sddc (str) – sddc

  • force_refresh (bool) – When true, forces the mappings for datacenters to be refreshed for the connected account.

  • instance_type (str) – The server instance type to be used.

  • sddc_type (str) – The sddc type to be used. (1NODE, SingleAZ, MultiAZ)

  • num_of_hosts (int) – The number of hosts

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

AwsCompatibleSubnets If the method is called asynchronously, returns the request thread.

Gets a customer’s compatible subnets for account linking # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_account_link_compatible_subnets_get_with_http_info(org, linked_account_id, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • linked_account_id (str) – The linked connected account identifier (required)

  • region (str) – The region of the cloud resources to work in

  • sddc (str) – sddc

  • force_refresh (bool) – When true, forces the mappings for datacenters to be refreshed for the connected account.

  • instance_type (str) – The server instance type to be used.

  • sddc_type (str) – The sddc type to be used. (1NODE, SingleAZ, MultiAZ)

  • num_of_hosts (int) – The number of hosts

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(AwsCompatibleSubnets, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_account_link_compatible_subnets_post(org, **kwargs)

Sets which subnet to use to link accounts and finishes the linking process # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_account_link_compatible_subnets_post(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

AwsSubnet If the method is called asynchronously, returns the request thread.

orgs_org_account_link_compatible_subnets_post_with_http_info(org, **kwargs)

Sets which subnet to use to link accounts and finishes the linking process # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_account_link_compatible_subnets_post_with_http_info(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(AwsSubnet, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

Get a list of connected accounts # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_account_link_connected_accounts_get(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • provider (str) – The cloud provider of the SDDC (AWS or ZeroCloud). Default value is AWS.

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

list[AwsCustomerConnectedAccount] If the method is called asynchronously, returns the request thread.

Get a list of connected accounts # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_account_link_connected_accounts_get_with_http_info(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • provider (str) – The cloud provider of the SDDC (AWS or ZeroCloud). Default value is AWS.

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(list[AwsCustomerConnectedAccount], status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

Delete a particular connected (linked) account. # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_account_link_connected_accounts_linked_account_path_id_delete(org, linked_account_path_id, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • linked_account_path_id (str) – The linked connected account identifier (required)

  • force_even_when_sddc_present (bool) – When true, forcibly removes a connected account even when SDDC’s are still linked to it.

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

AwsCustomerConnectedAccount If the method is called asynchronously, returns the request thread.

Delete a particular connected (linked) account. # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_account_link_connected_accounts_linked_account_path_id_delete_with_http_info(org, linked_account_path_id, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • linked_account_path_id (str) – The linked connected account identifier (required)

  • force_even_when_sddc_present (bool) – When true, forcibly removes a connected account even when SDDC’s are still linked to it.

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(AwsCustomerConnectedAccount, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

Gets a link that can be used on a customer’s account to start the linking process. # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_account_link_get(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

None If the method is called asynchronously, returns the request thread.

Gets a link that can be used on a customer’s account to start the linking process. # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_account_link_get_with_http_info(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

None If the method is called asynchronously, returns the request thread.

orgs_org_account_link_map_customer_zones_post(org, map_zones_request, **kwargs)

Creates a task to re-map customer’s datacenters across zones. # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_account_link_map_customer_zones_post(org, map_zones_request, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • map_zones_request (MapZonesRequest) – The zones request information about who to map and what to map. (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Task If the method is called asynchronously, returns the request thread.

orgs_org_account_link_map_customer_zones_post_with_http_info(org, map_zones_request, **kwargs)

Creates a task to re-map customer’s datacenters across zones. # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_account_link_map_customer_zones_post_with_http_info(org, map_zones_request, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • map_zones_request (MapZonesRequest) – The zones request information about who to map and what to map. (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Task, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

Get a list of SDDC connections currently setup for the customer’s organization. # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_account_link_sddc_connections_get(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – sddc

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

list[AwsSddcConnection] If the method is called asynchronously, returns the request thread.

Get a list of SDDC connections currently setup for the customer’s organization. # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_account_link_sddc_connections_get_with_http_info(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – sddc

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(list[AwsSddcConnection], status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

vmware.vmc.console.api.addons_api module

  • Copyright (c) 2020 VMware, Inc

  • SPDX-License-Identifier: MIT

VMware Cloud APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc.console.api.addons_api.AddonsApi(api_client=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech

Do not edit the class manually.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_get(org, sddc_id, addon_type, **kwargs)

List all the credentials assoicated with an addon type with in a SDDC # noqa: E501

List all the credentials assoicated with an addon type with in a SDDC # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_get(org, sddc_id, addon_type, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

list[NewCredentials] If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_get_with_http_info(org, sddc_id, addon_type, **kwargs)

List all the credentials assoicated with an addon type with in a SDDC # noqa: E501

List all the credentials assoicated with an addon type with in a SDDC # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_get_with_http_info(org, sddc_id, addon_type, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(list[NewCredentials], status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_get(org, sddc_id, addon_type, name, **kwargs)

Get credential details by name # noqa: E501

Get credential details by name # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_get(org, sddc_id, addon_type, name, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • name (str) – name of the credentials (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

NewCredentials If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_get_with_http_info(org, sddc_id, addon_type, name, **kwargs)

Get credential details by name # noqa: E501

Get credential details by name # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_get_with_http_info(org, sddc_id, addon_type, name, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • name (str) – name of the credentials (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(NewCredentials, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_put(org, sddc_id, addon_type, name, credentials, **kwargs)

Update credential details # noqa: E501

Update credential details # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_put(org, sddc_id, addon_type, name, credentials, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • name (str) – name of the credentials (required)

  • credentials (UpdateCredentials) – Credentials update payload (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

NewCredentials If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_put_with_http_info(org, sddc_id, addon_type, name, credentials, **kwargs)

Update credential details # noqa: E501

Update credential details # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_put_with_http_info(org, sddc_id, addon_type, name, credentials, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • name (str) – name of the credentials (required)

  • credentials (UpdateCredentials) – Credentials update payload (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(NewCredentials, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_post(org, sddc_id, addon_type, credentials, **kwargs)

Associate a new add on credentials with the SDDC such as HCX # noqa: E501

Associated a new add on credentials with the SDDC such as HCX # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_post(org, sddc_id, addon_type, credentials, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • credentials (NewCredentials) – Credentials creation payload (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

NewCredentials If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_post_with_http_info(org, sddc_id, addon_type, credentials, **kwargs)

Associate a new add on credentials with the SDDC such as HCX # noqa: E501

Associated a new add on credentials with the SDDC such as HCX # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_post_with_http_info(org, sddc_id, addon_type, credentials, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • credentials (NewCredentials) – Credentials creation payload (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(NewCredentials, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

vmware.vmc.console.api.clusters_api module

  • Copyright (c) 2020 VMware, Inc

  • SPDX-License-Identifier: MIT

VMware Cloud APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc.console.api.clusters_api.ClustersApi(api_client=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech

Do not edit the class manually.

orgs_org_sddcs_sddc_clusters_cluster_reconfigure_post(org, sddc, cluster, cluster_reconfigure_params, **kwargs)

Initiate a reconfiguration for the cluster. # noqa: E501

This reconfiguration will handle changing both the number of hosts and the cluster storage capacity. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_clusters_cluster_reconfigure_post(org, sddc, cluster, cluster_reconfigure_params, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • cluster (str) – cluster identifier (required)

  • cluster_reconfigure_params (ClusterReconfigureParams) – clusterReconfigureParams (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Task If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_clusters_cluster_reconfigure_post_with_http_info(org, sddc, cluster, cluster_reconfigure_params, **kwargs)

Initiate a reconfiguration for the cluster. # noqa: E501

This reconfiguration will handle changing both the number of hosts and the cluster storage capacity. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_clusters_cluster_reconfigure_post_with_http_info(org, sddc, cluster, cluster_reconfigure_params, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • cluster (str) – cluster identifier (required)

  • cluster_reconfigure_params (ClusterReconfigureParams) – clusterReconfigureParams (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Task, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

vmware.vmc.console.api.config_storage_api module

  • Copyright (c) 2020 VMware, Inc

  • SPDX-License-Identifier: MIT

VMware Cloud APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc.console.api.config_storage_api.ConfigStorageApi(api_client=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech

Do not edit the class manually.

orgs_org_sddcs_sddc_clusters_cluster_config_constraints_get(org, sddc, cluster, **kwargs)

Get storage size constraints on existing cluster. # noqa: E501

This API provides the storage choices available when reconfiguring storage in a cluster. The constraints returned will give vSAN reconfiguration biases and available vSAN capacities per reconfiguration bias. The constraints also indicate the default vSAN capacity per reconfiguration biases as well as the default reconfiguration bias. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_clusters_cluster_config_constraints_get(org, sddc, cluster, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • cluster (str) – cluster identifier (required)

  • expected_num_hosts (int) – The expected number of hosts in the cluster. If not specified, returned is based on current number of hosts in the cluster.

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

VsanClusterReconfigConstraints If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_clusters_cluster_config_constraints_get_with_http_info(org, sddc, cluster, **kwargs)

Get storage size constraints on existing cluster. # noqa: E501

This API provides the storage choices available when reconfiguring storage in a cluster. The constraints returned will give vSAN reconfiguration biases and available vSAN capacities per reconfiguration bias. The constraints also indicate the default vSAN capacity per reconfiguration biases as well as the default reconfiguration bias. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_clusters_cluster_config_constraints_get_with_http_info(org, sddc, cluster, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • cluster (str) – cluster identifier (required)

  • expected_num_hosts (int) – The expected number of hosts in the cluster. If not specified, returned is based on current number of hosts in the cluster.

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(VsanClusterReconfigConstraints, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

vmware.vmc.console.api.credentials_api module

  • Copyright (c) 2020 VMware, Inc

  • SPDX-License-Identifier: MIT

VMware Cloud APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc.console.api.credentials_api.CredentialsApi(api_client=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech

Do not edit the class manually.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_get(org, sddc_id, addon_type, **kwargs)

List all the credentials assoicated with an addon type with in a SDDC # noqa: E501

List all the credentials assoicated with an addon type with in a SDDC # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_get(org, sddc_id, addon_type, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

list[NewCredentials] If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_get_with_http_info(org, sddc_id, addon_type, **kwargs)

List all the credentials assoicated with an addon type with in a SDDC # noqa: E501

List all the credentials assoicated with an addon type with in a SDDC # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_get_with_http_info(org, sddc_id, addon_type, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(list[NewCredentials], status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_get(org, sddc_id, addon_type, name, **kwargs)

Get credential details by name # noqa: E501

Get credential details by name # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_get(org, sddc_id, addon_type, name, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • name (str) – name of the credentials (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

NewCredentials If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_get_with_http_info(org, sddc_id, addon_type, name, **kwargs)

Get credential details by name # noqa: E501

Get credential details by name # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_get_with_http_info(org, sddc_id, addon_type, name, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • name (str) – name of the credentials (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(NewCredentials, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_put(org, sddc_id, addon_type, name, credentials, **kwargs)

Update credential details # noqa: E501

Update credential details # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_put(org, sddc_id, addon_type, name, credentials, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • name (str) – name of the credentials (required)

  • credentials (UpdateCredentials) – Credentials update payload (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

NewCredentials If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_put_with_http_info(org, sddc_id, addon_type, name, credentials, **kwargs)

Update credential details # noqa: E501

Update credential details # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_put_with_http_info(org, sddc_id, addon_type, name, credentials, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • name (str) – name of the credentials (required)

  • credentials (UpdateCredentials) – Credentials update payload (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(NewCredentials, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_post(org, sddc_id, addon_type, credentials, **kwargs)

Associate a new add on credentials with the SDDC such as HCX # noqa: E501

Associated a new add on credentials with the SDDC such as HCX # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_post(org, sddc_id, addon_type, credentials, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • credentials (NewCredentials) – Credentials creation payload (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

NewCredentials If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_post_with_http_info(org, sddc_id, addon_type, credentials, **kwargs)

Associate a new add on credentials with the SDDC such as HCX # noqa: E501

Associated a new add on credentials with the SDDC such as HCX # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_post_with_http_info(org, sddc_id, addon_type, credentials, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • credentials (NewCredentials) – Credentials creation payload (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(NewCredentials, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

vmware.vmc.console.api.dns_api module

  • Copyright (c) 2020 VMware, Inc

  • SPDX-License-Identifier: MIT

VMware Cloud APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc.console.api.dns_api.DnsApi(api_client=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech

Do not edit the class manually.

orgs_org_sddcs_sddc_dns_private_put(org, sddc, **kwargs)

Update the DNS records of management VMs to use private IP addresses # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_dns_private_put(org, sddc, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Task If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_dns_private_put_with_http_info(org, sddc, **kwargs)

Update the DNS records of management VMs to use private IP addresses # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_dns_private_put_with_http_info(org, sddc, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Task, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_dns_public_put(org, sddc, **kwargs)

Update the DNS records of management VMs to use public IP addresses # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_dns_public_put(org, sddc, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Task If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_dns_public_put_with_http_info(org, sddc, **kwargs)

Update the DNS records of management VMs to use public IP addresses # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_dns_public_put_with_http_info(org, sddc, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Task, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_management_vms_management_vm_id_dns_ip_type_put(org, sddc, management_vm_id, ip_type, **kwargs)

Update the DNS records of management VMs to use public or private IP addresses # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_management_vms_management_vm_id_dns_ip_type_put(org, sddc, management_vm_id, ip_type, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • management_vm_id (str) – the management VM ID (required)

  • ip_type (str) – the ip type to associate with FQDN in DNS (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Task If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_management_vms_management_vm_id_dns_ip_type_put_with_http_info(org, sddc, management_vm_id, ip_type, **kwargs)

Update the DNS records of management VMs to use public or private IP addresses # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_management_vms_management_vm_id_dns_ip_type_put_with_http_info(org, sddc, management_vm_id, ip_type, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • management_vm_id (str) – the management VM ID (required)

  • ip_type (str) – the ip type to associate with FQDN in DNS (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Task, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

vmware.vmc.console.api.esx_api module

  • Copyright (c) 2020 VMware, Inc

  • SPDX-License-Identifier: MIT

VMware Cloud APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc.console.api.esx_api.EsxApi(api_client=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech

Do not edit the class manually.

orgs_org_sddcs_sddc_esxs_post(org, sddc, esx_config, **kwargs)

Add/Remove one or more ESX hosts in the target cloud # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_esxs_post(org, sddc, esx_config, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • esx_config (EsxConfig) – esxConfig (required)

  • action (str) – If = ‘add’, will add the esx. If = ‘remove’, will delete the esx/esxs bound to a single cluster (Cluster Id is mandatory for non cluster 1 esx remove). If = ‘force-remove’, will delete the esx even if it can lead to data loss (This is an privileged operation). If = ‘addToAll’, will add esxs to all clusters in the SDDC (This is an privileged operation). If = ‘removeFromAll’, will delete the esxs from all clusters in the SDDC (This is an privileged operation). If = ‘attach-diskgroup’, will attach the provided diskgroups to a given host (privileged). If = ‘detach-diskgroup’, will detach the diskgroups of a given host (privileged). Default behaviour is ‘add’

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Task If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_esxs_post_with_http_info(org, sddc, esx_config, **kwargs)

Add/Remove one or more ESX hosts in the target cloud # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_esxs_post_with_http_info(org, sddc, esx_config, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • esx_config (EsxConfig) – esxConfig (required)

  • action (str) – If = ‘add’, will add the esx. If = ‘remove’, will delete the esx/esxs bound to a single cluster (Cluster Id is mandatory for non cluster 1 esx remove). If = ‘force-remove’, will delete the esx even if it can lead to data loss (This is an privileged operation). If = ‘addToAll’, will add esxs to all clusters in the SDDC (This is an privileged operation). If = ‘removeFromAll’, will delete the esxs from all clusters in the SDDC (This is an privileged operation). If = ‘attach-diskgroup’, will attach the provided diskgroups to a given host (privileged). If = ‘detach-diskgroup’, will detach the diskgroups of a given host (privileged). Default behaviour is ‘add’

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Task, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

vmware.vmc.console.api.hcx_api module

  • Copyright (c) 2020 VMware, Inc

  • SPDX-License-Identifier: MIT

VMware Cloud APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc.console.api.hcx_api.HcxApi(api_client=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech

Do not edit the class manually.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_get(org, sddc_id, addon_type, **kwargs)

List all the credentials assoicated with an addon type with in a SDDC # noqa: E501

List all the credentials assoicated with an addon type with in a SDDC # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_get(org, sddc_id, addon_type, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

list[NewCredentials] If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_get_with_http_info(org, sddc_id, addon_type, **kwargs)

List all the credentials assoicated with an addon type with in a SDDC # noqa: E501

List all the credentials assoicated with an addon type with in a SDDC # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_get_with_http_info(org, sddc_id, addon_type, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(list[NewCredentials], status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_get(org, sddc_id, addon_type, name, **kwargs)

Get credential details by name # noqa: E501

Get credential details by name # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_get(org, sddc_id, addon_type, name, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • name (str) – name of the credentials (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

NewCredentials If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_get_with_http_info(org, sddc_id, addon_type, name, **kwargs)

Get credential details by name # noqa: E501

Get credential details by name # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_get_with_http_info(org, sddc_id, addon_type, name, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • name (str) – name of the credentials (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(NewCredentials, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_put(org, sddc_id, addon_type, name, credentials, **kwargs)

Update credential details # noqa: E501

Update credential details # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_put(org, sddc_id, addon_type, name, credentials, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • name (str) – name of the credentials (required)

  • credentials (UpdateCredentials) – Credentials update payload (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

NewCredentials If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_put_with_http_info(org, sddc_id, addon_type, name, credentials, **kwargs)

Update credential details # noqa: E501

Update credential details # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_put_with_http_info(org, sddc_id, addon_type, name, credentials, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • name (str) – name of the credentials (required)

  • credentials (UpdateCredentials) – Credentials update payload (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(NewCredentials, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_post(org, sddc_id, addon_type, credentials, **kwargs)

Associate a new add on credentials with the SDDC such as HCX # noqa: E501

Associated a new add on credentials with the SDDC such as HCX # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_post(org, sddc_id, addon_type, credentials, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • credentials (NewCredentials) – Credentials creation payload (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

NewCredentials If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_post_with_http_info(org, sddc_id, addon_type, credentials, **kwargs)

Associate a new add on credentials with the SDDC such as HCX # noqa: E501

Associated a new add on credentials with the SDDC such as HCX # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_post_with_http_info(org, sddc_id, addon_type, credentials, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • credentials (NewCredentials) – Credentials creation payload (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(NewCredentials, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

vmware.vmc.console.api.locale_api module

  • Copyright (c) 2020 VMware, Inc

  • SPDX-License-Identifier: MIT

VMware Cloud APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc.console.api.locale_api.LocaleApi(api_client=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech

Do not edit the class manually.

locale_post(vmc_locale, **kwargs)

Set locale for the session # noqa: E501

Sets the locale for the session which is used for translating responses. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.locale_post(vmc_locale, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • vmc_locale (VmcLocale) – The locale to be set. (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

VmcLocale If the method is called asynchronously, returns the request thread.

locale_post_with_http_info(vmc_locale, **kwargs)

Set locale for the session # noqa: E501

Sets the locale for the session which is used for translating responses. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.locale_post_with_http_info(vmc_locale, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • vmc_locale (VmcLocale) – The locale to be set. (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(VmcLocale, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

vmware.vmc.console.api.msft_licensing_api module

  • Copyright (c) 2020 VMware, Inc

  • SPDX-License-Identifier: MIT

VMware Cloud APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc.console.api.msft_licensing_api.MsftLicensingApi(api_client=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech

Do not edit the class manually.

orgs_org_sddcs_sddc_clusters_cluster_msft_licensing_publish_post(org, sddc, cluster, config_change, **kwargs)

orgs_org_sddcs_sddc_clusters_cluster_msft_licensing_publish_post # noqa: E501

Sets the current Microsoft license status of the given SDDC’s cluster. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_clusters_cluster_msft_licensing_publish_post(org, sddc, cluster, config_change, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • cluster (str) – cluster identifier (required)

  • config_change (MsftLicensingConfig) – The license data to set for the clusters. (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Task If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_clusters_cluster_msft_licensing_publish_post_with_http_info(org, sddc, cluster, config_change, **kwargs)

orgs_org_sddcs_sddc_clusters_cluster_msft_licensing_publish_post # noqa: E501

Sets the current Microsoft license status of the given SDDC’s cluster. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_clusters_cluster_msft_licensing_publish_post_with_http_info(org, sddc, cluster, config_change, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • cluster (str) – cluster identifier (required)

  • config_change (MsftLicensingConfig) – The license data to set for the clusters. (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Task, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

vmware.vmc.console.api.orgs_api module

  • Copyright (c) 2020 VMware, Inc

  • SPDX-License-Identifier: MIT

VMware Cloud APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc.console.api.orgs_api.OrgsApi(api_client=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech

Do not edit the class manually.

orgs_get(**kwargs)

Get organizations associated with calling user. # noqa: E501

Return a list of all organizations the calling user (based on credential) is authorized on. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_get(async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

list[Organization] If the method is called asynchronously, returns the request thread.

orgs_get_with_http_info(**kwargs)

Get organizations associated with calling user. # noqa: E501

Return a list of all organizations the calling user (based on credential) is authorized on. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_get_with_http_info(async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(list[Organization], status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_get(org, **kwargs)

Get details of organization # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_get(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Organization If the method is called asynchronously, returns the request thread.

orgs_org_get_with_http_info(org, **kwargs)

Get details of organization # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_get_with_http_info(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Organization, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_payment_methods_get(org, **kwargs)

Get payment methods of organization # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_payment_methods_get(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • default_flag (bool) – When true, will only return default payment methods.

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

list[PaymentMethodInfo] If the method is called asynchronously, returns the request thread.

orgs_org_payment_methods_get_with_http_info(org, **kwargs)

Get payment methods of organization # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_payment_methods_get_with_http_info(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • default_flag (bool) – When true, will only return default payment methods.

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(list[PaymentMethodInfo], status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_providers_get(org, **kwargs)

Get enabled cloud providers for an organization # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_providers_get(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

list[AwsCloudProvider] If the method is called asynchronously, returns the request thread.

orgs_org_providers_get_with_http_info(org, **kwargs)

Get enabled cloud providers for an organization # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_providers_get_with_http_info(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(list[AwsCloudProvider], status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

vmware.vmc.console.api.reservations_api module

  • Copyright (c) 2020 VMware, Inc

  • SPDX-License-Identifier: MIT

VMware Cloud APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc.console.api.reservations_api.ReservationsApi(api_client=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech

Do not edit the class manually.

orgs_org_reservations_get(org, **kwargs)

Get all reservations for this org # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_reservations_get(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

list[MaintenanceWindowEntry] If the method is called asynchronously, returns the request thread.

orgs_org_reservations_get_with_http_info(org, **kwargs)

Get all reservations for this org # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_reservations_get_with_http_info(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(list[MaintenanceWindowEntry], status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_reservations_reservation_mw_get(org, reservation, **kwargs)

get the maintenance window for this SDDC # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_reservations_reservation_mw_get(org, reservation, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • reservation (str) – Reservation Identifier (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

MaintenanceWindowGet If the method is called asynchronously, returns the request thread.

orgs_org_reservations_reservation_mw_get_with_http_info(org, reservation, **kwargs)

get the maintenance window for this SDDC # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_reservations_reservation_mw_get_with_http_info(org, reservation, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • reservation (str) – Reservation Identifier (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(MaintenanceWindowGet, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_reservations_reservation_mw_put(org, reservation, window, **kwargs)

update the maintenance window for this SDDC # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_reservations_reservation_mw_put(org, reservation, window, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • reservation (str) – Reservation Identifier (required)

  • window (MaintenanceWindow) – Maintenance Window (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

MaintenanceWindow If the method is called asynchronously, returns the request thread.

orgs_org_reservations_reservation_mw_put_with_http_info(org, reservation, window, **kwargs)

update the maintenance window for this SDDC # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_reservations_reservation_mw_put_with_http_info(org, reservation, window, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • reservation (str) – Reservation Identifier (required)

  • window (MaintenanceWindow) – Maintenance Window (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(MaintenanceWindow, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

vmware.vmc.console.api.sddc_api module

  • Copyright (c) 2020 VMware, Inc

  • SPDX-License-Identifier: MIT

VMware Cloud APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc.console.api.sddc_api.SddcApi(api_client=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech

Do not edit the class manually.

orgs_org_sddcs_get(org, **kwargs)

List all the SDDCs of an organization # noqa: E501

List all the SDDCs of an organization # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_get(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • include_deleted (bool) – When true, forces the result to also include deleted SDDCs.

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

list[Sddc] If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_get_with_http_info(org, **kwargs)

List all the SDDCs of an organization # noqa: E501

List all the SDDCs of an organization # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_get_with_http_info(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • include_deleted (bool) – When true, forces the result to also include deleted SDDCs.

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(list[Sddc], status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_post(org, sddc_config, **kwargs)

Provision SDDC # noqa: E501

Provision an SDDC in target cloud # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_post(org, sddc_config, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc_config (AwsSddcConfig) – sddcConfig (required)

  • validate_only (bool) – When true, only validates the given sddc configuration without provisioning.

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Task If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_post_with_http_info(org, sddc_config, **kwargs)

Provision SDDC # noqa: E501

Provision an SDDC in target cloud # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_post_with_http_info(org, sddc_config, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc_config (AwsSddcConfig) – sddcConfig (required)

  • validate_only (bool) – When true, only validates the given sddc configuration without provisioning.

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Task, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_provision_spec_get(org, **kwargs)

Get sddc provision spec for an org # noqa: E501

Get sddc provision spec for an org # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_provision_spec_get(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ProvisionSpec If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_provision_spec_get_with_http_info(org, **kwargs)

Get sddc provision spec for an org # noqa: E501

Get sddc provision spec for an org # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_provision_spec_get_with_http_info(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(ProvisionSpec, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_clusters_cluster_delete(org, sddc, cluster, **kwargs)

Delete a cluster. # noqa: E501

This is a force operation which will delete the cluster even if there can be a data loss. Before calling this operation, all the VMs should be powered off. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_clusters_cluster_delete(org, sddc, cluster, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • cluster (str) – cluster identifier (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Task If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_clusters_cluster_delete_with_http_info(org, sddc, cluster, **kwargs)

Delete a cluster. # noqa: E501

This is a force operation which will delete the cluster even if there can be a data loss. Before calling this operation, all the VMs should be powered off. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_clusters_cluster_delete_with_http_info(org, sddc, cluster, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • cluster (str) – cluster identifier (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Task, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_clusters_cluster_reconfigure_post(org, sddc, cluster, cluster_reconfigure_params, **kwargs)

Initiate a reconfiguration for the cluster. # noqa: E501

This reconfiguration will handle changing both the number of hosts and the cluster storage capacity. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_clusters_cluster_reconfigure_post(org, sddc, cluster, cluster_reconfigure_params, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • cluster (str) – cluster identifier (required)

  • cluster_reconfigure_params (ClusterReconfigureParams) – clusterReconfigureParams (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Task If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_clusters_cluster_reconfigure_post_with_http_info(org, sddc, cluster, cluster_reconfigure_params, **kwargs)

Initiate a reconfiguration for the cluster. # noqa: E501

This reconfiguration will handle changing both the number of hosts and the cluster storage capacity. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_clusters_cluster_reconfigure_post_with_http_info(org, sddc, cluster, cluster_reconfigure_params, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • cluster (str) – cluster identifier (required)

  • cluster_reconfigure_params (ClusterReconfigureParams) – clusterReconfigureParams (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Task, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_clusters_post(org, sddc, cluster_config, **kwargs)

Add a cluster in the target sddc. # noqa: E501

Creates a new cluster in customers sddcs with passed clusterConfig. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_clusters_post(org, sddc, cluster_config, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • cluster_config (ClusterConfig) – clusterConfig (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Task If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_clusters_post_with_http_info(org, sddc, cluster_config, **kwargs)

Add a cluster in the target sddc. # noqa: E501

Creates a new cluster in customers sddcs with passed clusterConfig. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_clusters_post_with_http_info(org, sddc, cluster_config, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • cluster_config (ClusterConfig) – clusterConfig (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Task, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_convert_post(org, sddc, **kwargs)

Converts a one host SDDC to a four node DEFAULT SDDC. # noqa: E501

This API converts a one host SDDC to a four node DEFAULT SDDC. It takes care of configuring and upgrading the vCenter configurations on the SDDC for high availability and data redundancy. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_convert_post(org, sddc, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Task If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_convert_post_with_http_info(org, sddc, **kwargs)

Converts a one host SDDC to a four node DEFAULT SDDC. # noqa: E501

This API converts a one host SDDC to a four node DEFAULT SDDC. It takes care of configuring and upgrading the vCenter configurations on the SDDC for high availability and data redundancy. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_convert_post_with_http_info(org, sddc, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Task, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_delete(org, sddc, **kwargs)

Delete SDDC # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_delete(org, sddc, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • retain_configuration (bool) – If = ‘true’, the SDDC’s configuration is retained as a template for later use. This flag is applicable only to SDDCs in ACTIVE state.

  • template_name (str) – Only applicable when retainConfiguration is also set to ‘true’. When set, this value will be used as the name of the SDDC configuration template generated.

  • force (bool) – If = true, will delete forcefully. Beware: do not use the force flag if there is a chance an active provisioning or deleting task is running against this SDDC. This option is restricted.

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Task If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_delete_with_http_info(org, sddc, **kwargs)

Delete SDDC # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_delete_with_http_info(org, sddc, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • retain_configuration (bool) – If = ‘true’, the SDDC’s configuration is retained as a template for later use. This flag is applicable only to SDDCs in ACTIVE state.

  • template_name (str) – Only applicable when retainConfiguration is also set to ‘true’. When set, this value will be used as the name of the SDDC configuration template generated.

  • force (bool) – If = true, will delete forcefully. Beware: do not use the force flag if there is a chance an active provisioning or deleting task is running against this SDDC. This option is restricted.

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Task, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_dns_private_put(org, sddc, **kwargs)

Update the DNS records of management VMs to use private IP addresses # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_dns_private_put(org, sddc, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Task If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_dns_private_put_with_http_info(org, sddc, **kwargs)

Update the DNS records of management VMs to use private IP addresses # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_dns_private_put_with_http_info(org, sddc, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Task, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_dns_public_put(org, sddc, **kwargs)

Update the DNS records of management VMs to use public IP addresses # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_dns_public_put(org, sddc, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Task If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_dns_public_put_with_http_info(org, sddc, **kwargs)

Update the DNS records of management VMs to use public IP addresses # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_dns_public_put_with_http_info(org, sddc, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Task, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_esxs_post(org, sddc, esx_config, **kwargs)

Add/Remove one or more ESX hosts in the target cloud # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_esxs_post(org, sddc, esx_config, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • esx_config (EsxConfig) – esxConfig (required)

  • action (str) – If = ‘add’, will add the esx. If = ‘remove’, will delete the esx/esxs bound to a single cluster (Cluster Id is mandatory for non cluster 1 esx remove). If = ‘force-remove’, will delete the esx even if it can lead to data loss (This is an privileged operation). If = ‘addToAll’, will add esxs to all clusters in the SDDC (This is an privileged operation). If = ‘removeFromAll’, will delete the esxs from all clusters in the SDDC (This is an privileged operation). If = ‘attach-diskgroup’, will attach the provided diskgroups to a given host (privileged). If = ‘detach-diskgroup’, will detach the diskgroups of a given host (privileged). Default behaviour is ‘add’

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Task If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_esxs_post_with_http_info(org, sddc, esx_config, **kwargs)

Add/Remove one or more ESX hosts in the target cloud # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_esxs_post_with_http_info(org, sddc, esx_config, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • esx_config (EsxConfig) – esxConfig (required)

  • action (str) – If = ‘add’, will add the esx. If = ‘remove’, will delete the esx/esxs bound to a single cluster (Cluster Id is mandatory for non cluster 1 esx remove). If = ‘force-remove’, will delete the esx even if it can lead to data loss (This is an privileged operation). If = ‘addToAll’, will add esxs to all clusters in the SDDC (This is an privileged operation). If = ‘removeFromAll’, will delete the esxs from all clusters in the SDDC (This is an privileged operation). If = ‘attach-diskgroup’, will attach the provided diskgroups to a given host (privileged). If = ‘detach-diskgroup’, will detach the diskgroups of a given host (privileged). Default behaviour is ‘add’

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Task, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_get(org, sddc, **kwargs)

Get SDDC # noqa: E501

Get SDDC # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_get(org, sddc, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Sddc If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_get_with_http_info(org, sddc, **kwargs)

Get SDDC # noqa: E501

Get SDDC # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_get_with_http_info(org, sddc, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Sddc, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_get(org, sddc_id, addon_type, **kwargs)

List all the credentials assoicated with an addon type with in a SDDC # noqa: E501

List all the credentials assoicated with an addon type with in a SDDC # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_get(org, sddc_id, addon_type, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

list[NewCredentials] If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_get_with_http_info(org, sddc_id, addon_type, **kwargs)

List all the credentials assoicated with an addon type with in a SDDC # noqa: E501

List all the credentials assoicated with an addon type with in a SDDC # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_get_with_http_info(org, sddc_id, addon_type, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(list[NewCredentials], status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_get(org, sddc_id, addon_type, name, **kwargs)

Get credential details by name # noqa: E501

Get credential details by name # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_get(org, sddc_id, addon_type, name, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • name (str) – name of the credentials (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

NewCredentials If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_get_with_http_info(org, sddc_id, addon_type, name, **kwargs)

Get credential details by name # noqa: E501

Get credential details by name # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_get_with_http_info(org, sddc_id, addon_type, name, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • name (str) – name of the credentials (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(NewCredentials, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_put(org, sddc_id, addon_type, name, credentials, **kwargs)

Update credential details # noqa: E501

Update credential details # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_put(org, sddc_id, addon_type, name, credentials, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • name (str) – name of the credentials (required)

  • credentials (UpdateCredentials) – Credentials update payload (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

NewCredentials If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_put_with_http_info(org, sddc_id, addon_type, name, credentials, **kwargs)

Update credential details # noqa: E501

Update credential details # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_name_put_with_http_info(org, sddc_id, addon_type, name, credentials, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • name (str) – name of the credentials (required)

  • credentials (UpdateCredentials) – Credentials update payload (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(NewCredentials, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_post(org, sddc_id, addon_type, credentials, **kwargs)

Associate a new add on credentials with the SDDC such as HCX # noqa: E501

Associated a new add on credentials with the SDDC such as HCX # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_post(org, sddc_id, addon_type, credentials, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • credentials (NewCredentials) – Credentials creation payload (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

NewCredentials If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_id_addons_addon_type_credentials_post_with_http_info(org, sddc_id, addon_type, credentials, **kwargs)

Associate a new add on credentials with the SDDC such as HCX # noqa: E501

Associated a new add on credentials with the SDDC such as HCX # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_id_addons_addon_type_credentials_post_with_http_info(org, sddc_id, addon_type, credentials, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Org id of the associated SDDC (required)

  • sddc_id (str) – Id of the SDDC (required)

  • addon_type (str) – Add on type (required)

  • credentials (NewCredentials) – Credentials creation payload (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(NewCredentials, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_management_vms_management_vm_id_dns_ip_type_put(org, sddc, management_vm_id, ip_type, **kwargs)

Update the DNS records of management VMs to use public or private IP addresses # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_management_vms_management_vm_id_dns_ip_type_put(org, sddc, management_vm_id, ip_type, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • management_vm_id (str) – the management VM ID (required)

  • ip_type (str) – the ip type to associate with FQDN in DNS (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Task If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_management_vms_management_vm_id_dns_ip_type_put_with_http_info(org, sddc, management_vm_id, ip_type, **kwargs)

Update the DNS records of management VMs to use public or private IP addresses # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_management_vms_management_vm_id_dns_ip_type_put_with_http_info(org, sddc, management_vm_id, ip_type, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • management_vm_id (str) – the management VM ID (required)

  • ip_type (str) – the ip type to associate with FQDN in DNS (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Task, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_patch(org, sddc, sddc_patch_request, **kwargs)

Patch SDDC # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_patch(org, sddc, sddc_patch_request, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • sddc_patch_request (SddcPatchRequest) – Patch request for the SDDC (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Sddc If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_patch_with_http_info(org, sddc, sddc_patch_request, **kwargs)

Patch SDDC # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_patch_with_http_info(org, sddc, sddc_patch_request, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • sddc_patch_request (SddcPatchRequest) – Patch request for the SDDC (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Sddc, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_primarycluster_get(org, sddc, **kwargs)

Get a primary cluster in the target sddc # noqa: E501

Retrieves the primary cluster in provided customer sddc UUID # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_primarycluster_get(org, sddc, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Cluster If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_primarycluster_get_with_http_info(org, sddc, **kwargs)

Get a primary cluster in the target sddc # noqa: E501

Retrieves the primary cluster in provided customer sddc UUID # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_primarycluster_get_with_http_info(org, sddc, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Cluster, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

vmware.vmc.console.api.sddc_template_api module

  • Copyright (c) 2020 VMware, Inc

  • SPDX-License-Identifier: MIT

VMware Cloud APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc.console.api.sddc_template_api.SddcTemplateApi(api_client=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech

Do not edit the class manually.

orgs_org_sddc_templates_get(org, **kwargs)

List all available SDDC configuration templates in an organization # noqa: E501

List all available SDDC configuration templates in an organization # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddc_templates_get(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

list[SddcTemplate] If the method is called asynchronously, returns the request thread.

orgs_org_sddc_templates_get_with_http_info(org, **kwargs)

List all available SDDC configuration templates in an organization # noqa: E501

List all available SDDC configuration templates in an organization # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddc_templates_get_with_http_info(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(list[SddcTemplate], status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddc_templates_template_id_delete(org, template_id, **kwargs)

Delete SDDC template identified by given id. # noqa: E501

Delete SDDC template identified by given id. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddc_templates_template_id_delete(org, template_id, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • template_id (str) – SDDC Template identifier (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Task If the method is called asynchronously, returns the request thread.

orgs_org_sddc_templates_template_id_delete_with_http_info(org, template_id, **kwargs)

Delete SDDC template identified by given id. # noqa: E501

Delete SDDC template identified by given id. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddc_templates_template_id_delete_with_http_info(org, template_id, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • template_id (str) – SDDC Template identifier (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Task, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddc_templates_template_id_get(org, template_id, **kwargs)

Get configuration template by given template id. # noqa: E501

Get configuration template by given template id. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddc_templates_template_id_get(org, template_id, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • template_id (str) – SDDC Template identifier (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

SddcTemplate If the method is called asynchronously, returns the request thread.

orgs_org_sddc_templates_template_id_get_with_http_info(org, template_id, **kwargs)

Get configuration template by given template id. # noqa: E501

Get configuration template by given template id. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddc_templates_template_id_get_with_http_info(org, template_id, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • template_id (str) – SDDC Template identifier (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(SddcTemplate, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_sddc_template_get(org, sddc, **kwargs)

Get configuration template for an SDDC # noqa: E501

Get configuration template for an SDDC # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_sddc_template_get(org, sddc, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

SddcTemplate If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_sddc_template_get_with_http_info(org, sddc, **kwargs)

Get configuration template for an SDDC # noqa: E501

Get configuration template for an SDDC # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_sddc_template_get_with_http_info(org, sddc, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(SddcTemplate, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

vmware.vmc.console.api.storage_api module

  • Copyright (c) 2020 VMware, Inc

  • SPDX-License-Identifier: MIT

VMware Cloud APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc.console.api.storage_api.StorageApi(api_client=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech

Do not edit the class manually.

orgs_org_storage_cluster_constraints_get(org, provider, num_hosts, **kwargs)

Get constraints on cluster storage size for EBS-backed clusters. # noqa: E501

Get constraints on cluster storage size for EBS-backed clusters. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_storage_cluster_constraints_get(org, provider, num_hosts, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • provider (str) – Cloud storage provider ID (example AWS) (required)

  • num_hosts (int) – Number of hosts in cluster (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

VsanConfigConstraints If the method is called asynchronously, returns the request thread.

orgs_org_storage_cluster_constraints_get_with_http_info(org, provider, num_hosts, **kwargs)

Get constraints on cluster storage size for EBS-backed clusters. # noqa: E501

Get constraints on cluster storage size for EBS-backed clusters. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_storage_cluster_constraints_get_with_http_info(org, provider, num_hosts, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • provider (str) – Cloud storage provider ID (example AWS) (required)

  • num_hosts (int) – Number of hosts in cluster (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(VsanConfigConstraints, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

vmware.vmc.console.api.subscription_api module

  • Copyright (c) 2020 VMware, Inc

  • SPDX-License-Identifier: MIT

VMware Cloud APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc.console.api.subscription_api.SubscriptionApi(api_client=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech

Do not edit the class manually.

orgs_org_subscriptions_get(org, **kwargs)

Get all subscriptions # noqa: E501

Returns all subscriptions for a given org id # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_subscriptions_get(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • offer_type (str) – Offer Type * ON_DEMAND - on-demand subscription * TERM - term subscription * All subscriptions if not specified

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

list[SubscriptionDetails] If the method is called asynchronously, returns the request thread.

orgs_org_subscriptions_get_with_http_info(org, **kwargs)

Get all subscriptions # noqa: E501

Returns all subscriptions for a given org id # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_subscriptions_get_with_http_info(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • offer_type (str) – Offer Type * ON_DEMAND - on-demand subscription * TERM - term subscription * All subscriptions if not specified

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(list[SubscriptionDetails], status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_subscriptions_offer_instances_get(org, region, product_type, **kwargs)

List all offers available for the specific product type in the specific region # noqa: E501

List all offers available for the specific product type in the specific region # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_subscriptions_offer_instances_get(org, region, product_type, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • region (str) – Region for the offer (required)

  • product_type (str) – Type of the product in offers. This has been deprecated. Please use product & type parameters (required)

  • product (str) – The product that you are trying to purchase, eg. host. This needs to be accompanied by the type parameter

  • type (str) – The type/flavor of the product you are trying it purchase,eg. an r5.metal host. This needs to be accompanied by the product parameter.

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

OfferInstancesHolder If the method is called asynchronously, returns the request thread.

orgs_org_subscriptions_offer_instances_get_with_http_info(org, region, product_type, **kwargs)

List all offers available for the specific product type in the specific region # noqa: E501

List all offers available for the specific product type in the specific region # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_subscriptions_offer_instances_get_with_http_info(org, region, product_type, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • region (str) – Region for the offer (required)

  • product_type (str) – Type of the product in offers. This has been deprecated. Please use product & type parameters (required)

  • product (str) – The product that you are trying to purchase, eg. host. This needs to be accompanied by the type parameter

  • type (str) – The type/flavor of the product you are trying it purchase,eg. an r5.metal host. This needs to be accompanied by the product parameter.

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(OfferInstancesHolder, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_subscriptions_post(org, subscription_request, **kwargs)

Create a subscription # noqa: E501

Initiates the creation of a subscription # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_subscriptions_post(org, subscription_request, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • subscription_request (SubscriptionRequest) – subscriptionRequest (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Task If the method is called asynchronously, returns the request thread.

orgs_org_subscriptions_post_with_http_info(org, subscription_request, **kwargs)

Create a subscription # noqa: E501

Initiates the creation of a subscription # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_subscriptions_post_with_http_info(org, subscription_request, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • subscription_request (SubscriptionRequest) – subscriptionRequest (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Task, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_subscriptions_products_get(org, **kwargs)

List of all the products that are available for purchase. # noqa: E501

List of all the products that are available for purchase. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_subscriptions_products_get(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

list[SubscriptionProducts] If the method is called asynchronously, returns the request thread.

orgs_org_subscriptions_products_get_with_http_info(org, **kwargs)

List of all the products that are available for purchase. # noqa: E501

List of all the products that are available for purchase. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_subscriptions_products_get_with_http_info(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(list[SubscriptionProducts], status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_subscriptions_subscription_get(org, subscription, **kwargs)

Get a subscription # noqa: E501

Get subscription details for a given subscription id # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_subscriptions_subscription_get(org, subscription, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • subscription (str) – SubscriptionId for an sddc. (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

SubscriptionDetails If the method is called asynchronously, returns the request thread.

orgs_org_subscriptions_subscription_get_with_http_info(org, subscription, **kwargs)

Get a subscription # noqa: E501

Get subscription details for a given subscription id # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_subscriptions_subscription_get_with_http_info(org, subscription, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • subscription (str) – SubscriptionId for an sddc. (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(SubscriptionDetails, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

vmware.vmc.console.api.task_api module

  • Copyright (c) 2020 VMware, Inc

  • SPDX-License-Identifier: MIT

VMware Cloud APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc.console.api.task_api.TaskApi(api_client=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech

Do not edit the class manually.

orgs_org_tasks_get(org, **kwargs)

List all tasks for organization # noqa: E501

List all tasks with optional filtering. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_tasks_get(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • filter (str) – Filter expression Binary Operators: ‘eq’, ‘ne’, ‘lt’, ‘gt’, ‘le’, ‘ge’, ‘mul’, ‘div’, ‘mod’, ‘sub’, ‘add’ Unary Operators: ‘not’, ‘-‘ (minus) String Operators: ‘startswith’, ‘endswith’, ‘length’, ‘contains’, ‘tolower’, ‘toupper’, Nested attributes are composed using ‘.’ Dates must be formatted as yyyy-MM-dd or yyyy-MM-ddTHH:mm:ss[.SSS]Z Strings should enclosed in single quotes, escape single quote with two single quotes The special literal ‘created’ will be mapped to the time the resource was first created. Examples: - $filter=(updated gt 2016-08-09T13:00:00Z) and (org_id eq 278710ff4e-6b6d-4d4e-aefb-ca637f38609e) - $filter=(created eq 2016-08-09) - $filter=(created gt 2016-08-09) and (sddc.status eq ‘READY’)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

list[Task] If the method is called asynchronously, returns the request thread.

orgs_org_tasks_get_with_http_info(org, **kwargs)

List all tasks for organization # noqa: E501

List all tasks with optional filtering. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_tasks_get_with_http_info(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • filter (str) – Filter expression Binary Operators: ‘eq’, ‘ne’, ‘lt’, ‘gt’, ‘le’, ‘ge’, ‘mul’, ‘div’, ‘mod’, ‘sub’, ‘add’ Unary Operators: ‘not’, ‘-‘ (minus) String Operators: ‘startswith’, ‘endswith’, ‘length’, ‘contains’, ‘tolower’, ‘toupper’, Nested attributes are composed using ‘.’ Dates must be formatted as yyyy-MM-dd or yyyy-MM-ddTHH:mm:ss[.SSS]Z Strings should enclosed in single quotes, escape single quote with two single quotes The special literal ‘created’ will be mapped to the time the resource was first created. Examples: - $filter=(updated gt 2016-08-09T13:00:00Z) and (org_id eq 278710ff4e-6b6d-4d4e-aefb-ca637f38609e) - $filter=(created eq 2016-08-09) - $filter=(created gt 2016-08-09) and (sddc.status eq ‘READY’)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(list[Task], status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_tasks_task_get(org, task, **kwargs)

Get task details # noqa: E501

Retrieve details of a task. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_tasks_task_get(org, task, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • task (str) – Task identifier (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Task If the method is called asynchronously, returns the request thread.

orgs_org_tasks_task_get_with_http_info(org, task, **kwargs)

Get task details # noqa: E501

Retrieve details of a task. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_tasks_task_get_with_http_info(org, task, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • task (str) – Task identifier (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Task, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_tasks_task_post(org, task, **kwargs)

Modify an existing task # noqa: E501

Request that a running task be canceled. This is advisory only, some tasks may not be cancelable, and some tasks might take an arbitrary amount of time to respond to a cancelation request. The task must be monitored to determine subsequent status. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_tasks_task_post(org, task, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • task (str) – Task identifier (required)

  • action (str) – If = ‘cancel’, task will be canceled

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Task If the method is called asynchronously, returns the request thread.

orgs_org_tasks_task_post_with_http_info(org, task, **kwargs)

Modify an existing task # noqa: E501

Request that a running task be canceled. This is advisory only, some tasks may not be cancelable, and some tasks might take an arbitrary amount of time to respond to a cancelation request. The task must be monitored to determine subsequent status. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_tasks_task_post_with_http_info(org, task, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • task (str) – Task identifier (required)

  • action (str) – If = ‘cancel’, task will be canceled

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Task, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

vmware.vmc.console.api.tbrs_api module

  • Copyright (c) 2020 VMware, Inc

  • SPDX-License-Identifier: MIT

VMware Cloud APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc.console.api.tbrs_api.TbrsApi(api_client=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech

Do not edit the class manually.

orgs_org_tbrs_reservation_post(org, **kwargs)

orgs_org_tbrs_reservation_post # noqa: E501

Retreive all reservations for all SDDCs in this org # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_tbrs_reservation_post(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc_state (SddcStateRequest) – SDDCs and/or states to query

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

dict(str, list[ReservationWindow]) If the method is called asynchronously, returns the request thread.

orgs_org_tbrs_reservation_post_with_http_info(org, **kwargs)

orgs_org_tbrs_reservation_post # noqa: E501

Retreive all reservations for all SDDCs in this org # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_tbrs_reservation_post_with_http_info(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc_state (SddcStateRequest) – SDDCs and/or states to query

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(dict(str, list[ReservationWindow]), status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_tbrs_support_window_get(org, **kwargs)

orgs_org_tbrs_support_window_get # noqa: E501

Get all available support windows # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_tbrs_support_window_get(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • minimum_seats_available (int) – minimum seats available (used as a filter)

  • created_by (str) – user name which was used to create the support window (used as a filter)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

list[SupportWindow] If the method is called asynchronously, returns the request thread.

orgs_org_tbrs_support_window_get_with_http_info(org, **kwargs)

orgs_org_tbrs_support_window_get # noqa: E501

Get all available support windows # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_tbrs_support_window_get_with_http_info(org, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • minimum_seats_available (int) – minimum seats available (used as a filter)

  • created_by (str) – user name which was used to create the support window (used as a filter)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(list[SupportWindow], status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_tbrs_support_window_id_put(org, id, sddc_id, **kwargs)

orgs_org_tbrs_support_window_id_put # noqa: E501

Move Sddc to new support window # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_tbrs_support_window_id_put(org, id, sddc_id, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • id (str) – Target Support Window ID (required)

  • sddc_id (SddcId) – SDDC to move (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

SupportWindowId If the method is called asynchronously, returns the request thread.

orgs_org_tbrs_support_window_id_put_with_http_info(org, id, sddc_id, **kwargs)

orgs_org_tbrs_support_window_id_put # noqa: E501

Move Sddc to new support window # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_tbrs_support_window_id_put_with_http_info(org, id, sddc_id, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • id (str) – Target Support Window ID (required)

  • sddc_id (SddcId) – SDDC to move (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(SupportWindowId, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

vmware.vmc.console.api.troubleshooting_api module

  • Copyright (c) 2020 VMware, Inc

  • SPDX-License-Identifier: MIT

VMware Cloud APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc.console.api.troubleshooting_api.TroubleshootingApi(api_client=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech

Do not edit the class manually.

orgs_org_sddcs_sddc_networking_connectivity_tests_get(org, sddc, **kwargs)

Retrieve metadata for connectivity tests. # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_networking_connectivity_tests_get(org, sddc, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ConnectivityValidationGroups If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_networking_connectivity_tests_get_with_http_info(org, sddc, **kwargs)

Retrieve metadata for connectivity tests. # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_networking_connectivity_tests_get_with_http_info(org, sddc, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(ConnectivityValidationGroups, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_networking_connectivity_tests_post(org, sddc, action, request_info, **kwargs)

ConnectivityValidationGroupResultWrapper will be available at task.params[‘test_result’]. # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_networking_connectivity_tests_post(org, sddc, action, request_info, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • action (str) – If = ‘start’, start connectivity tests. (required)

  • request_info (ConnectivityValidationGroup) – request information (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Task If the method is called asynchronously, returns the request thread.

orgs_org_sddcs_sddc_networking_connectivity_tests_post_with_http_info(org, sddc, action, request_info, **kwargs)

ConnectivityValidationGroupResultWrapper will be available at task.params[‘test_result’]. # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.orgs_org_sddcs_sddc_networking_connectivity_tests_post_with_http_info(org, sddc, action, request_info, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • org (str) – Organization identifier (required)

  • sddc (str) – Sddc identifier (required)

  • action (str) – If = ‘start’, start connectivity tests. (required)

  • request_info (ConnectivityValidationGroup) – request information (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Task, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

Module contents