diff --git a/README.md b/README.md index 204aa24..d9b6017 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: -- API version: 1.1 -- Package version: 1.1.1 +- API version: 1.2 +- Package version: 1.2.0 - Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen ## Requirements. @@ -212,7 +212,7 @@ except ApiException as e: ## Documentation for API Endpoints -All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.1* +All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.2* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- @@ -278,6 +278,7 @@ Class | Method | HTTP request | Description *RegionsApi* | [**get_region**](docs/RegionsApi.md#get_region) | **GET** /regions/{region_name} | Gets a specific Region. *RegionsApi* | [**get_region_by_id**](docs/RegionsApi.md#get_region_by_id) | **GET** /resources/regions/{region_id} | Gets a specific Region. *RegionsApi* | [**list_regions**](docs/RegionsApi.md#list_regions) | **GET** /regions | Gets a list of all Regions. +*RegionsApi* | [**query_regions**](docs/RegionsApi.md#query_regions) | **GET** /resources/regions | Get all Regions in the org. Provide a filter to search for specific Regions. *RegionsApi* | [**update_region**](docs/RegionsApi.md#update_region) | **PATCH** /regions/{region_name} | Updates a Region. *RoleAssignmentsApi* | [**create_role_assignment**](docs/RoleAssignmentsApi.md#create_role_assignment) | **POST** /roles/{role_name}/role-assignments | Creates a Role Assignment. *RoleAssignmentsApi* | [**delete_role_assignment**](docs/RoleAssignmentsApi.md#delete_role_assignment) | **DELETE** /roles/{role_name}/role-assignments/{role_assignment_name} | Delete a Role Assignment. @@ -293,7 +294,7 @@ Class | Method | HTTP request | Description *SnapshotsApi* | [**get_snapshot**](docs/SnapshotsApi.md#get_snapshot) | **GET** /tenants/{tenant_name}/tenant-spaces/{tenant_space_name}/snapshots/{snapshot_name} | Gets a specific Snapshot. *SnapshotsApi* | [**get_snapshot_by_id**](docs/SnapshotsApi.md#get_snapshot_by_id) | **GET** /resources/snapshots/{snapshot_id} | Gets a specific Snapshot. *SnapshotsApi* | [**list_snapshots**](docs/SnapshotsApi.md#list_snapshots) | **GET** /tenants/{tenant_name}/tenant-spaces/{tenant_space_name}/snapshots | Gets a list of Snapshots. -*SnapshotsApi* | [**query_snapshots**](docs/SnapshotsApi.md#query_snapshots) | **GET** /resources/snapshots | (Opt-in) Get all Snapshots in the org. Provide a filter to search for specific snapshots. +*SnapshotsApi* | [**query_snapshots**](docs/SnapshotsApi.md#query_snapshots) | **GET** /resources/snapshots | Get all Snapshots in the org. Provide a filter to search for specific snapshots. *SnapshotsApi* | [**update_snapshot**](docs/SnapshotsApi.md#update_snapshot) | **PATCH** /tenants/{tenant_name}/tenant-spaces/{tenant_space_name}/snapshots/{snapshot_name} | Recovers a pending snapshot *StorageClassesApi* | [**create_storage_class**](docs/StorageClassesApi.md#create_storage_class) | **POST** /storage-services/{storage_service_name}/storage-classes | (Provider) Creates a Storage Class. *StorageClassesApi* | [**delete_storage_class**](docs/StorageClassesApi.md#delete_storage_class) | **DELETE** /storage-services/{storage_service_name}/storage-classes/{storage_class_name} | Deletes a Storage Class. @@ -320,7 +321,7 @@ Class | Method | HTTP request | Description *TenantSpacesApi* | [**get_tenant_space_performance**](docs/TenantSpacesApi.md#get_tenant_space_performance) | **GET** /tenants/{tenant_name}/tenant-spaces/{tenant_space_name}/performance | Gets performance metrics of a specific Tenant Space. *TenantSpacesApi* | [**get_tenant_space_space**](docs/TenantSpacesApi.md#get_tenant_space_space) | **GET** /tenants/{tenant_name}/tenant-spaces/{tenant_space_name}/space | Gets space metrics of a specific Tenant Space. *TenantSpacesApi* | [**list_tenant_spaces**](docs/TenantSpacesApi.md#list_tenant_spaces) | **GET** /tenants/{tenant_name}/tenant-spaces | Gets a list of all Tenant Spaces. -*TenantSpacesApi* | [**query_tenant_spaces**](docs/TenantSpacesApi.md#query_tenant_spaces) | **GET** /resources/tenant-spaces | (Opt-in) Get all Tenant Spaces in the org. Provide a filter to search for specific Tenant Spaces +*TenantSpacesApi* | [**query_tenant_spaces**](docs/TenantSpacesApi.md#query_tenant_spaces) | **GET** /resources/tenant-spaces | Get all Tenant Spaces in the org. Provide a filter to search for specific Tenant Spaces *TenantSpacesApi* | [**update_tenant_space**](docs/TenantSpacesApi.md#update_tenant_space) | **PATCH** /tenants/{tenant_name}/tenant-spaces/{tenant_space_name} | Updates a Tenant Space. *TenantsApi* | [**create_tenant**](docs/TenantsApi.md#create_tenant) | **POST** /tenants | Creates a Tenant. *TenantsApi* | [**delete_tenant**](docs/TenantsApi.md#delete_tenant) | **DELETE** /tenants/{tenant_name} | Deletes a specific Tenant. @@ -329,8 +330,9 @@ Class | Method | HTTP request | Description *TenantsApi* | [**get_tenant_performance**](docs/TenantsApi.md#get_tenant_performance) | **GET** /tenants/{tenant_name}/performance | Gets performance metrics of a specific Tenant. *TenantsApi* | [**get_tenants_space**](docs/TenantsApi.md#get_tenants_space) | **GET** /tenants/{tenant_name}/space | Gets space metrics of a specific Tenant. *TenantsApi* | [**list_tenants**](docs/TenantsApi.md#list_tenants) | **GET** /tenants | Gets a list of all Tenants. +*TenantsApi* | [**query_tenants**](docs/TenantsApi.md#query_tenants) | **GET** /resources/tenants | Get all Tenants in the org. Provide a filter to search for specific Tenants. *TenantsApi* | [**update_tenant**](docs/TenantsApi.md#update_tenant) | **PATCH** /tenants/{tenant_name} | Updates a Tenant. -*VolumeSnapshotsApi* | [**query_volume_snapshots**](docs/VolumeSnapshotsApi.md#query_volume_snapshots) | **GET** /resources/volume-snapshots | (Opt-in) Get all Volume Snapshots in the org. Provide a filter to search for specific volume snapshots. +*VolumeSnapshotsApi* | [**query_volume_snapshots**](docs/VolumeSnapshotsApi.md#query_volume_snapshots) | **GET** /resources/volume-snapshots | Get all Volume Snapshots in the org. Provide a filter to search for specific volume snapshots. *VolumeSnapshotsApi* | [**get_volume_snapshot**](docs/VolumeSnapshotsApi.md#get_volume_snapshot) | **GET** /tenants/{tenant_name}/tenant-spaces/{tenant_space_name}/snapshots/{snapshot_name}/volume-snapshots/{volume_snapshot_name} | Gets a specific Volume Snapshot. *VolumeSnapshotsApi* | [**get_volume_snapshot_by_id**](docs/VolumeSnapshotsApi.md#get_volume_snapshot_by_id) | **GET** /resources/volume-snapshots/{volume_snapshot_id} | Gets a specific Volume Snapshot. *VolumeSnapshotsApi* | [**list_volume_snapshots**](docs/VolumeSnapshotsApi.md#list_volume_snapshots) | **GET** /tenants/{tenant_name}/tenant-spaces/{tenant_space_name}/snapshots/{snapshot_name}/volume-snapshots | Gets a list of all Volume snapshots in a Snapshot. @@ -341,7 +343,7 @@ Class | Method | HTTP request | Description *VolumesApi* | [**get_volume_performance**](docs/VolumesApi.md#get_volume_performance) | **GET** /tenants/{tenant_name}/tenant-spaces/{tenant_space_name}/volumes/{volume_name}/performance | (Provider) Gets performance metrics of a specific Volume. *VolumesApi* | [**get_volume_space**](docs/VolumesApi.md#get_volume_space) | **GET** /tenants/{tenant_name}/tenant-spaces/{tenant_space_name}/volumes/{volume_name}/space | (Provider) Gets space metrics of a specific Volume. *VolumesApi* | [**list_volumes**](docs/VolumesApi.md#list_volumes) | **GET** /tenants/{tenant_name}/tenant-spaces/{tenant_space_name}/volumes | Gets a list of all Volumes. -*VolumesApi* | [**query_volumes**](docs/VolumesApi.md#query_volumes) | **GET** /resources/volumes | (Opt-in) Get all Volumes in the org. Provide a filter to search for specific volumes. +*VolumesApi* | [**query_volumes**](docs/VolumesApi.md#query_volumes) | **GET** /resources/volumes | Get all Volumes in the org. Provide a filter to search for specific volumes. *VolumesApi* | [**update_volume**](docs/VolumesApi.md#update_volume) | **PATCH** /tenants/{tenant_name}/tenant-spaces/{tenant_space_name}/volumes/{volume_name} | Updates a Volume -- renaming, and resizing it; changing its Storage Class; changing its Placement Group; adding or removing host connections. *WorkloadPlannerApi* | [**create_placement_recommendation**](docs/WorkloadPlannerApi.md#create_placement_recommendation) | **POST** /workload-planner/placement-recommendations | (Provider) Generates a report on the candidate arrays a given placement group can be placed/migrated to *WorkloadPlannerApi* | [**get_placement_recommendation**](docs/WorkloadPlannerApi.md#get_placement_recommendation) | **GET** /workload-planner/placement-recommendations/{placement_recommendation_name} | Gets a specific placement recommendation report @@ -386,7 +388,6 @@ Class | Method | HTTP request | Description - [NetworkInterfacePatchEth](docs/NetworkInterfacePatchEth.md) - [NetworkInterfaceRef](docs/NetworkInterfaceRef.md) - [NullableBoolean](docs/NullableBoolean.md) - - [NullableMtu](docs/NullableMtu.md) - [NullableSize](docs/NullableSize.md) - [NullableString](docs/NullableString.md) - [NullableStringArray](docs/NullableStringArray.md) diff --git a/docs/ArraysApi.md b/docs/ArraysApi.md index a36808f..2e7c92b 100644 --- a/docs/ArraysApi.md +++ b/docs/ArraysApi.md @@ -1,6 +1,6 @@ # fusion.ArraysApi -All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.1* +All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.2* Method | HTTP request | Description ------------- | ------------- | ------------- diff --git a/docs/AvailabilityZonesApi.md b/docs/AvailabilityZonesApi.md index 66ce09e..6c44c21 100644 --- a/docs/AvailabilityZonesApi.md +++ b/docs/AvailabilityZonesApi.md @@ -1,6 +1,6 @@ # fusion.AvailabilityZonesApi -All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.1* +All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.2* Method | HTTP request | Description ------------- | ------------- | ------------- diff --git a/docs/DefaultApi.md b/docs/DefaultApi.md index d26c514..e51e1c3 100644 --- a/docs/DefaultApi.md +++ b/docs/DefaultApi.md @@ -1,6 +1,6 @@ # fusion.DefaultApi -All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.1* +All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.2* Method | HTTP request | Description ------------- | ------------- | ------------- diff --git a/docs/HardwareTypesApi.md b/docs/HardwareTypesApi.md index 4a6d99f..4771c55 100644 --- a/docs/HardwareTypesApi.md +++ b/docs/HardwareTypesApi.md @@ -1,6 +1,6 @@ # fusion.HardwareTypesApi -All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.1* +All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.2* Method | HTTP request | Description ------------- | ------------- | ------------- diff --git a/docs/HostAccessPoliciesApi.md b/docs/HostAccessPoliciesApi.md index 76ab7b4..789594b 100644 --- a/docs/HostAccessPoliciesApi.md +++ b/docs/HostAccessPoliciesApi.md @@ -1,6 +1,6 @@ # fusion.HostAccessPoliciesApi -All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.1* +All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.2* Method | HTTP request | Description ------------- | ------------- | ------------- diff --git a/docs/HostAccessPoliciesPost.md b/docs/HostAccessPoliciesPost.md index 3a7a39c..53d83c2 100644 --- a/docs/HostAccessPoliciesPost.md +++ b/docs/HostAccessPoliciesPost.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**iqn** | **str** | The iSCSI qualified name (IQN) associated with the host | +**iqn** | **str** | The iSCSI qualified name (IQN) associated with the host | [optional] **personality** | **str** | The Personality of the Host machine, supported personality: windows, linux, esxi, oracle-vm-server. coming personality: aix, hitachi-vsp, hpux, solaris, vms | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/IdentityManagerApi.md b/docs/IdentityManagerApi.md index 463921b..3b97cf9 100644 --- a/docs/IdentityManagerApi.md +++ b/docs/IdentityManagerApi.md @@ -1,6 +1,6 @@ # fusion.IdentityManagerApi -All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.1* +All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.2* Method | HTTP request | Description ------------- | ------------- | ------------- diff --git a/docs/NetworkInterfaceGroupsApi.md b/docs/NetworkInterfaceGroupsApi.md index 0ffa356..afab402 100644 --- a/docs/NetworkInterfaceGroupsApi.md +++ b/docs/NetworkInterfaceGroupsApi.md @@ -1,6 +1,6 @@ # fusion.NetworkInterfaceGroupsApi -All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.1* +All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.2* Method | HTTP request | Description ------------- | ------------- | ------------- diff --git a/docs/NetworkInterfacesApi.md b/docs/NetworkInterfacesApi.md index 6ba49d8..0931ae4 100644 --- a/docs/NetworkInterfacesApi.md +++ b/docs/NetworkInterfacesApi.md @@ -1,6 +1,6 @@ # fusion.NetworkInterfacesApi -All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.1* +All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.2* Method | HTTP request | Description ------------- | ------------- | ------------- diff --git a/docs/Operation.md b/docs/Operation.md index b75f8f8..aaac4b5 100644 --- a/docs/Operation.md +++ b/docs/Operation.md @@ -15,6 +15,9 @@ Name | Type | Description | Notes **retry_in** | **int** | Recommended time to wait before getting the operation again to observe status change (polling interval). Unit is milliseconds, e.g., 100. | **error** | [**Error**](Error.md) | | [optional] **created_at** | **int** | The time that the operation was created, in milliseconds since the Unix epoch. | +**started_at** | **int** | The time that the operation was admitted, in milliseconds since the Unix epoch. | +**ended_at** | **int** | The time that the operation ended with status Succeeded or Failed, in milliseconds since the Unix epoch. | +**update_fields** | **dict(str, str)** | Key/value pairs of the fields this operation is updating, if it is an Update operation. E.g. destroyed:true or size:1048576. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/OperationsApi.md b/docs/OperationsApi.md index 235766b..8e39ee2 100644 --- a/docs/OperationsApi.md +++ b/docs/OperationsApi.md @@ -1,6 +1,6 @@ # fusion.OperationsApi -All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.1* +All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.2* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -121,7 +121,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_operations** -> OperationList list_operations(x_request_id=x_request_id, authorization=authorization, x_correlation_id=x_correlation_id, action=action, request_id=request_id, request_collection=request_collection, resource_kind=resource_kind, resource_id=resource_id, status=status, created_after=created_after, filter=filter, sort=sort, limit=limit, offset=offset) +> OperationList list_operations(x_request_id=x_request_id, authorization=authorization, x_correlation_id=x_correlation_id, action=action, request_id=request_id, request_collection=request_collection, resource_kind=resource_kind, resource_id=resource_id, status=status, created_after=created_after, created_at=created_at, started_at=started_at, ended_at=ended_at, filter=filter, sort=sort, limit=limit, offset=offset) Gets a list of Operations matching the criteria. @@ -147,8 +147,11 @@ request_id = 'request_id_example' # str | The request ID supplied with the reque request_collection = 'request_collection_example' # str | Default to \\\"/\\\", valid values take the form \\\"/\\\", \\\"/tenants/\\\", or \\\"/tenants//tenant-spaces/\\\" (optional) resource_kind = 'resource_kind_example' # str | The kind of resource on which the Operation was performed. (optional) resource_id = 'resource_id_example' # str | The ID of resource on which the Operation was performed. (optional) -status = 'status_example' # str | The status of the Operation. Support for comma separated multiple status is deprecated, use IN list instead (optional) +status = 'status_example' # str | The status of the Operation. Support for comma separated multiple status is deprecated, use IN list instead. (optional) created_after = 'created_after_example' # str | (optional) +created_at = 789 # int | (optional) +started_at = 789 # int | (optional) +ended_at = 789 # int | (optional) filter = 'filter_example' # str | filter should use expression language for filtering (optional) sort = 'sort_example' # str | Returns the response items in the order specified. Set sort to the field(s) in the response by which to sort. Sorting can be performed on any of the fields in the response, and the items can be sorted in ascending or descending order by these fields. By default, the response items are sorted in ascending order. To sort in descending order, append the minus sign (-) to the field. A single request can be sorted on multiple fields. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple fields, list the fields as comma-separated values. (E.g. \"sort=size-,name\") (optional) limit = 56 # int | (optional) @@ -156,7 +159,7 @@ offset = 56 # int | (optional) try: # Gets a list of Operations matching the criteria. - api_response = api_instance.list_operations(x_request_id=x_request_id, authorization=authorization, x_correlation_id=x_correlation_id, action=action, request_id=request_id, request_collection=request_collection, resource_kind=resource_kind, resource_id=resource_id, status=status, created_after=created_after, filter=filter, sort=sort, limit=limit, offset=offset) + api_response = api_instance.list_operations(x_request_id=x_request_id, authorization=authorization, x_correlation_id=x_correlation_id, action=action, request_id=request_id, request_collection=request_collection, resource_kind=resource_kind, resource_id=resource_id, status=status, created_after=created_after, created_at=created_at, started_at=started_at, ended_at=ended_at, filter=filter, sort=sort, limit=limit, offset=offset) pprint(api_response) except ApiException as e: print("Exception when calling OperationsApi->list_operations: %s\n" % e) @@ -174,8 +177,11 @@ Name | Type | Description | Notes **request_collection** | **str**| Default to \\\"/\\\", valid values take the form \\\"/\\\", \\\"/tenants/<tname>\\\", or \\\"/tenants/<tname>/tenant-spaces/<tsname>\\\" | [optional] **resource_kind** | **str**| The kind of resource on which the Operation was performed. | [optional] **resource_id** | **str**| The ID of resource on which the Operation was performed. | [optional] - **status** | **str**| The status of the Operation. Support for comma separated multiple status is deprecated, use IN list instead | [optional] + **status** | **str**| The status of the Operation. Support for comma separated multiple status is deprecated, use IN list instead. | [optional] **created_after** | **str**| | [optional] + **created_at** | **int**| | [optional] + **started_at** | **int**| | [optional] + **ended_at** | **int**| | [optional] **filter** | **str**| filter should use expression language for filtering | [optional] **sort** | **str**| Returns the response items in the order specified. Set sort to the field(s) in the response by which to sort. Sorting can be performed on any of the fields in the response, and the items can be sorted in ascending or descending order by these fields. By default, the response items are sorted in ascending order. To sort in descending order, append the minus sign (-) to the field. A single request can be sorted on multiple fields. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple fields, list the fields as comma-separated values. (E.g. \"sort=size-,name\") | [optional] **limit** | **int**| | [optional] diff --git a/docs/PlacementGroupsApi.md b/docs/PlacementGroupsApi.md index 5513cda..b867ae8 100644 --- a/docs/PlacementGroupsApi.md +++ b/docs/PlacementGroupsApi.md @@ -1,6 +1,6 @@ # fusion.PlacementGroupsApi -All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.1* +All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.2* Method | HTTP request | Description ------------- | ------------- | ------------- diff --git a/docs/ProtectionPoliciesApi.md b/docs/ProtectionPoliciesApi.md index 84ba24f..6c65801 100644 --- a/docs/ProtectionPoliciesApi.md +++ b/docs/ProtectionPoliciesApi.md @@ -1,6 +1,6 @@ # fusion.ProtectionPoliciesApi -All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.1* +All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.2* Method | HTTP request | Description ------------- | ------------- | ------------- diff --git a/docs/RegionsApi.md b/docs/RegionsApi.md index 67fea89..4580fa5 100644 --- a/docs/RegionsApi.md +++ b/docs/RegionsApi.md @@ -1,6 +1,6 @@ # fusion.RegionsApi -All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.1* +All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.2* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -9,6 +9,7 @@ Method | HTTP request | Description [**get_region**](RegionsApi.md#get_region) | **GET** /regions/{region_name} | Gets a specific Region. [**get_region_by_id**](RegionsApi.md#get_region_by_id) | **GET** /resources/regions/{region_id} | Gets a specific Region. [**list_regions**](RegionsApi.md#list_regions) | **GET** /regions | Gets a list of all Regions. +[**query_regions**](RegionsApi.md#query_regions) | **GET** /resources/regions | Get all Regions in the org. Provide a filter to search for specific Regions. [**update_region**](RegionsApi.md#update_region) | **PATCH** /regions/{region_name} | Updates a Region. # **create_region** @@ -236,7 +237,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_regions** -> RegionList list_regions(x_request_id=x_request_id, authorization=authorization, x_correlation_id=x_correlation_id) +> RegionList list_regions(x_request_id=x_request_id, authorization=authorization, x_correlation_id=x_correlation_id, filter=filter, sort=sort, limit=limit, offset=offset, id=id, name=name, display_name=display_name) Gets a list of all Regions. @@ -257,10 +258,17 @@ api_instance = fusion.RegionsApi(fusion.ApiClient(configuration)) x_request_id = 'x_request_id_example' # str | The Request ID supplied with the request, used to perform operations idempotently. (optional) authorization = 'authorization_example' # str | Access token (in JWT format) required to use any API endpoint. (optional) x_correlation_id = 'x_correlation_id_example' # str | The Correlation ID provided will be added to log messages and can be used for support. The same Correlation ID may be used for separate requests, to track a higher level workflow. (optional) +filter = 'filter_example' # str | filter should use expression language for filtering (optional) +sort = 'sort_example' # str | Returns the response items in the order specified. Set sort to the field(s) in the response by which to sort. Sorting can be performed on any of the fields in the response, and the items can be sorted in ascending or descending order by these fields. By default, the response items are sorted in ascending order. To sort in descending order, append the minus sign (-) to the field. A single request can be sorted on multiple fields. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple fields, list the fields as comma-separated values. (E.g. \"sort=size-,name\") (optional) +limit = 56 # int | (optional) +offset = 56 # int | (optional) +id = 'id_example' # str | (optional) +name = 'name_example' # str | (optional) +display_name = 'display_name_example' # str | (optional) try: # Gets a list of all Regions. - api_response = api_instance.list_regions(x_request_id=x_request_id, authorization=authorization, x_correlation_id=x_correlation_id) + api_response = api_instance.list_regions(x_request_id=x_request_id, authorization=authorization, x_correlation_id=x_correlation_id, filter=filter, sort=sort, limit=limit, offset=offset, id=id, name=name, display_name=display_name) pprint(api_response) except ApiException as e: print("Exception when calling RegionsApi->list_regions: %s\n" % e) @@ -273,6 +281,81 @@ Name | Type | Description | Notes **x_request_id** | **str**| The Request ID supplied with the request, used to perform operations idempotently. | [optional] **authorization** | **str**| Access token (in JWT format) required to use any API endpoint. | [optional] **x_correlation_id** | **str**| The Correlation ID provided will be added to log messages and can be used for support. The same Correlation ID may be used for separate requests, to track a higher level workflow. | [optional] + **filter** | **str**| filter should use expression language for filtering | [optional] + **sort** | **str**| Returns the response items in the order specified. Set sort to the field(s) in the response by which to sort. Sorting can be performed on any of the fields in the response, and the items can be sorted in ascending or descending order by these fields. By default, the response items are sorted in ascending order. To sort in descending order, append the minus sign (-) to the field. A single request can be sorted on multiple fields. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple fields, list the fields as comma-separated values. (E.g. \"sort=size-,name\") | [optional] + **limit** | **int**| | [optional] + **offset** | **int**| | [optional] + **id** | **str**| | [optional] + **name** | **str**| | [optional] + **display_name** | **str**| | [optional] + +### Return type + +[**RegionList**](RegionList.md) + +### Authorization + +[accessToken](../README.md#accessToken), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **query_regions** +> RegionList query_regions(filter=filter, sort=sort, limit=limit, offset=offset, id=id, name=name, display_name=display_name, x_request_id=x_request_id, authorization=authorization, x_correlation_id=x_correlation_id) + +Get all Regions in the org. Provide a filter to search for specific Regions. + +### Example +```python +from __future__ import print_function +import time +import fusion +from fusion.rest import ApiException +from pprint import pprint + +# Configure OAuth2 access token for authorization: oauth +configuration = fusion.Configuration() +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# create an instance of the API class +api_instance = fusion.RegionsApi(fusion.ApiClient(configuration)) +filter = 'filter_example' # str | filter should use expression language for filtering (optional) +sort = 'sort_example' # str | Returns the response items in the order specified. Set sort to the field(s) in the response by which to sort. Sorting can be performed on any of the fields in the response, and the items can be sorted in ascending or descending order by these fields. By default, the response items are sorted in ascending order. To sort in descending order, append the minus sign (-) to the field. A single request can be sorted on multiple fields. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple fields, list the fields as comma-separated values. (E.g. \"sort=size-,name\") (optional) +limit = 56 # int | (optional) +offset = 56 # int | (optional) +id = 'id_example' # str | (optional) +name = 'name_example' # str | (optional) +display_name = 'display_name_example' # str | (optional) +x_request_id = 'x_request_id_example' # str | The Request ID supplied with the request, used to perform operations idempotently. (optional) +authorization = 'authorization_example' # str | Access token (in JWT format) required to use any API endpoint. (optional) +x_correlation_id = 'x_correlation_id_example' # str | The Correlation ID provided will be added to log messages and can be used for support. The same Correlation ID may be used for separate requests, to track a higher level workflow. (optional) + +try: + # Get all Regions in the org. Provide a filter to search for specific Regions. + api_response = api_instance.query_regions(filter=filter, sort=sort, limit=limit, offset=offset, id=id, name=name, display_name=display_name, x_request_id=x_request_id, authorization=authorization, x_correlation_id=x_correlation_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling RegionsApi->query_regions: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **filter** | **str**| filter should use expression language for filtering | [optional] + **sort** | **str**| Returns the response items in the order specified. Set sort to the field(s) in the response by which to sort. Sorting can be performed on any of the fields in the response, and the items can be sorted in ascending or descending order by these fields. By default, the response items are sorted in ascending order. To sort in descending order, append the minus sign (-) to the field. A single request can be sorted on multiple fields. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple fields, list the fields as comma-separated values. (E.g. \"sort=size-,name\") | [optional] + **limit** | **int**| | [optional] + **offset** | **int**| | [optional] + **id** | **str**| | [optional] + **name** | **str**| | [optional] + **display_name** | **str**| | [optional] + **x_request_id** | **str**| The Request ID supplied with the request, used to perform operations idempotently. | [optional] + **authorization** | **str**| Access token (in JWT format) required to use any API endpoint. | [optional] + **x_correlation_id** | **str**| The Correlation ID provided will be added to log messages and can be used for support. The same Correlation ID may be used for separate requests, to track a higher level workflow. | [optional] ### Return type diff --git a/docs/RoleAssignmentsApi.md b/docs/RoleAssignmentsApi.md index dcf45d0..60c881d 100644 --- a/docs/RoleAssignmentsApi.md +++ b/docs/RoleAssignmentsApi.md @@ -1,6 +1,6 @@ # fusion.RoleAssignmentsApi -All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.1* +All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.2* Method | HTTP request | Description ------------- | ------------- | ------------- diff --git a/docs/RolesApi.md b/docs/RolesApi.md index 0c73789..11a3d00 100644 --- a/docs/RolesApi.md +++ b/docs/RolesApi.md @@ -1,6 +1,6 @@ # fusion.RolesApi -All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.1* +All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.2* Method | HTTP request | Description ------------- | ------------- | ------------- diff --git a/docs/SnapshotsApi.md b/docs/SnapshotsApi.md index 4564b2d..5c83523 100644 --- a/docs/SnapshotsApi.md +++ b/docs/SnapshotsApi.md @@ -1,6 +1,6 @@ # fusion.SnapshotsApi -All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.1* +All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.2* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -9,7 +9,7 @@ Method | HTTP request | Description [**get_snapshot**](SnapshotsApi.md#get_snapshot) | **GET** /tenants/{tenant_name}/tenant-spaces/{tenant_space_name}/snapshots/{snapshot_name} | Gets a specific Snapshot. [**get_snapshot_by_id**](SnapshotsApi.md#get_snapshot_by_id) | **GET** /resources/snapshots/{snapshot_id} | Gets a specific Snapshot. [**list_snapshots**](SnapshotsApi.md#list_snapshots) | **GET** /tenants/{tenant_name}/tenant-spaces/{tenant_space_name}/snapshots | Gets a list of Snapshots. -[**query_snapshots**](SnapshotsApi.md#query_snapshots) | **GET** /resources/snapshots | (Opt-in) Get all Snapshots in the org. Provide a filter to search for specific snapshots. +[**query_snapshots**](SnapshotsApi.md#query_snapshots) | **GET** /resources/snapshots | Get all Snapshots in the org. Provide a filter to search for specific snapshots. [**update_snapshot**](SnapshotsApi.md#update_snapshot) | **PATCH** /tenants/{tenant_name}/tenant-spaces/{tenant_space_name}/snapshots/{snapshot_name} | Recovers a pending snapshot # **create_snapshot** @@ -333,7 +333,7 @@ Name | Type | Description | Notes # **query_snapshots** > SnapshotList query_snapshots(filter=filter, sort=sort, limit=limit, offset=offset, id=id, name=name, display_name=display_name, tenant_space_id=tenant_space_id, tenant_id=tenant_id, protection_policy_id=protection_policy_id, destroyed=destroyed, time_remaining=time_remaining, x_request_id=x_request_id, authorization=authorization, x_correlation_id=x_correlation_id) -(Opt-in) Get all Snapshots in the org. Provide a filter to search for specific snapshots. +Get all Snapshots in the org. Provide a filter to search for specific snapshots. ### Example ```python @@ -366,7 +366,7 @@ authorization = 'authorization_example' # str | Access token (in JWT format) req x_correlation_id = 'x_correlation_id_example' # str | The Correlation ID provided will be added to log messages and can be used for support. The same Correlation ID may be used for separate requests, to track a higher level workflow. (optional) try: - # (Opt-in) Get all Snapshots in the org. Provide a filter to search for specific snapshots. + # Get all Snapshots in the org. Provide a filter to search for specific snapshots. api_response = api_instance.query_snapshots(filter=filter, sort=sort, limit=limit, offset=offset, id=id, name=name, display_name=display_name, tenant_space_id=tenant_space_id, tenant_id=tenant_id, protection_policy_id=protection_policy_id, destroyed=destroyed, time_remaining=time_remaining, x_request_id=x_request_id, authorization=authorization, x_correlation_id=x_correlation_id) pprint(api_response) except ApiException as e: diff --git a/docs/StorageClassesApi.md b/docs/StorageClassesApi.md index 788a657..ed0564b 100644 --- a/docs/StorageClassesApi.md +++ b/docs/StorageClassesApi.md @@ -1,6 +1,6 @@ # fusion.StorageClassesApi -All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.1* +All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.2* Method | HTTP request | Description ------------- | ------------- | ------------- diff --git a/docs/StorageEndpointsApi.md b/docs/StorageEndpointsApi.md index d508615..2b5cb23 100644 --- a/docs/StorageEndpointsApi.md +++ b/docs/StorageEndpointsApi.md @@ -1,6 +1,6 @@ # fusion.StorageEndpointsApi -All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.1* +All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.2* Method | HTTP request | Description ------------- | ------------- | ------------- diff --git a/docs/StorageServicesApi.md b/docs/StorageServicesApi.md index 94631a1..2904973 100644 --- a/docs/StorageServicesApi.md +++ b/docs/StorageServicesApi.md @@ -1,6 +1,6 @@ # fusion.StorageServicesApi -All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.1* +All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.2* Method | HTTP request | Description ------------- | ------------- | ------------- diff --git a/docs/TenantSpacesApi.md b/docs/TenantSpacesApi.md index 88ebd75..5744aac 100644 --- a/docs/TenantSpacesApi.md +++ b/docs/TenantSpacesApi.md @@ -1,6 +1,6 @@ # fusion.TenantSpacesApi -All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.1* +All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.2* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -11,7 +11,7 @@ Method | HTTP request | Description [**get_tenant_space_performance**](TenantSpacesApi.md#get_tenant_space_performance) | **GET** /tenants/{tenant_name}/tenant-spaces/{tenant_space_name}/performance | Gets performance metrics of a specific Tenant Space. [**get_tenant_space_space**](TenantSpacesApi.md#get_tenant_space_space) | **GET** /tenants/{tenant_name}/tenant-spaces/{tenant_space_name}/space | Gets space metrics of a specific Tenant Space. [**list_tenant_spaces**](TenantSpacesApi.md#list_tenant_spaces) | **GET** /tenants/{tenant_name}/tenant-spaces | Gets a list of all Tenant Spaces. -[**query_tenant_spaces**](TenantSpacesApi.md#query_tenant_spaces) | **GET** /resources/tenant-spaces | (Opt-in) Get all Tenant Spaces in the org. Provide a filter to search for specific Tenant Spaces +[**query_tenant_spaces**](TenantSpacesApi.md#query_tenant_spaces) | **GET** /resources/tenant-spaces | Get all Tenant Spaces in the org. Provide a filter to search for specific Tenant Spaces [**update_tenant_space**](TenantSpacesApi.md#update_tenant_space) | **PATCH** /tenants/{tenant_name}/tenant-spaces/{tenant_space_name} | Updates a Tenant Space. # **create_tenant_space** @@ -433,7 +433,7 @@ Name | Type | Description | Notes # **query_tenant_spaces** > TenantSpaceList query_tenant_spaces(filter=filter, sort=sort, limit=limit, offset=offset, id=id, name=name, display_name=display_name, tenant_id=tenant_id, x_request_id=x_request_id, authorization=authorization, x_correlation_id=x_correlation_id) -(Opt-in) Get all Tenant Spaces in the org. Provide a filter to search for specific Tenant Spaces +Get all Tenant Spaces in the org. Provide a filter to search for specific Tenant Spaces ### Example ```python @@ -462,7 +462,7 @@ authorization = 'authorization_example' # str | Access token (in JWT format) req x_correlation_id = 'x_correlation_id_example' # str | The Correlation ID provided will be added to log messages and can be used for support. The same Correlation ID may be used for separate requests, to track a higher level workflow. (optional) try: - # (Opt-in) Get all Tenant Spaces in the org. Provide a filter to search for specific Tenant Spaces + # Get all Tenant Spaces in the org. Provide a filter to search for specific Tenant Spaces api_response = api_instance.query_tenant_spaces(filter=filter, sort=sort, limit=limit, offset=offset, id=id, name=name, display_name=display_name, tenant_id=tenant_id, x_request_id=x_request_id, authorization=authorization, x_correlation_id=x_correlation_id) pprint(api_response) except ApiException as e: diff --git a/docs/TenantsApi.md b/docs/TenantsApi.md index 746ee00..03255d5 100644 --- a/docs/TenantsApi.md +++ b/docs/TenantsApi.md @@ -1,6 +1,6 @@ # fusion.TenantsApi -All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.1* +All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.2* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -11,6 +11,7 @@ Method | HTTP request | Description [**get_tenant_performance**](TenantsApi.md#get_tenant_performance) | **GET** /tenants/{tenant_name}/performance | Gets performance metrics of a specific Tenant. [**get_tenants_space**](TenantsApi.md#get_tenants_space) | **GET** /tenants/{tenant_name}/space | Gets space metrics of a specific Tenant. [**list_tenants**](TenantsApi.md#list_tenants) | **GET** /tenants | Gets a list of all Tenants. +[**query_tenants**](TenantsApi.md#query_tenants) | **GET** /resources/tenants | Get all Tenants in the org. Provide a filter to search for specific Tenants. [**update_tenant**](TenantsApi.md#update_tenant) | **PATCH** /tenants/{tenant_name} | Updates a Tenant. # **create_tenant** @@ -350,7 +351,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_tenants** -> TenantList list_tenants(x_request_id=x_request_id, authorization=authorization, x_correlation_id=x_correlation_id) +> TenantList list_tenants(x_request_id=x_request_id, authorization=authorization, x_correlation_id=x_correlation_id, filter=filter, sort=sort, limit=limit, offset=offset, id=id, name=name, display_name=display_name) Gets a list of all Tenants. @@ -371,10 +372,17 @@ api_instance = fusion.TenantsApi(fusion.ApiClient(configuration)) x_request_id = 'x_request_id_example' # str | The Request ID supplied with the request, used to perform operations idempotently. (optional) authorization = 'authorization_example' # str | Access token (in JWT format) required to use any API endpoint. (optional) x_correlation_id = 'x_correlation_id_example' # str | The Correlation ID provided will be added to log messages and can be used for support. The same Correlation ID may be used for separate requests, to track a higher level workflow. (optional) +filter = 'filter_example' # str | filter should use expression language for filtering (optional) +sort = 'sort_example' # str | Returns the response items in the order specified. Set sort to the field(s) in the response by which to sort. Sorting can be performed on any of the fields in the response, and the items can be sorted in ascending or descending order by these fields. By default, the response items are sorted in ascending order. To sort in descending order, append the minus sign (-) to the field. A single request can be sorted on multiple fields. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple fields, list the fields as comma-separated values. (E.g. \"sort=size-,name\") (optional) +limit = 56 # int | (optional) +offset = 56 # int | (optional) +id = 'id_example' # str | (optional) +name = 'name_example' # str | (optional) +display_name = 'display_name_example' # str | (optional) try: # Gets a list of all Tenants. - api_response = api_instance.list_tenants(x_request_id=x_request_id, authorization=authorization, x_correlation_id=x_correlation_id) + api_response = api_instance.list_tenants(x_request_id=x_request_id, authorization=authorization, x_correlation_id=x_correlation_id, filter=filter, sort=sort, limit=limit, offset=offset, id=id, name=name, display_name=display_name) pprint(api_response) except ApiException as e: print("Exception when calling TenantsApi->list_tenants: %s\n" % e) @@ -387,6 +395,81 @@ Name | Type | Description | Notes **x_request_id** | **str**| The Request ID supplied with the request, used to perform operations idempotently. | [optional] **authorization** | **str**| Access token (in JWT format) required to use any API endpoint. | [optional] **x_correlation_id** | **str**| The Correlation ID provided will be added to log messages and can be used for support. The same Correlation ID may be used for separate requests, to track a higher level workflow. | [optional] + **filter** | **str**| filter should use expression language for filtering | [optional] + **sort** | **str**| Returns the response items in the order specified. Set sort to the field(s) in the response by which to sort. Sorting can be performed on any of the fields in the response, and the items can be sorted in ascending or descending order by these fields. By default, the response items are sorted in ascending order. To sort in descending order, append the minus sign (-) to the field. A single request can be sorted on multiple fields. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple fields, list the fields as comma-separated values. (E.g. \"sort=size-,name\") | [optional] + **limit** | **int**| | [optional] + **offset** | **int**| | [optional] + **id** | **str**| | [optional] + **name** | **str**| | [optional] + **display_name** | **str**| | [optional] + +### Return type + +[**TenantList**](TenantList.md) + +### Authorization + +[accessToken](../README.md#accessToken), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **query_tenants** +> TenantList query_tenants(filter=filter, sort=sort, limit=limit, offset=offset, id=id, name=name, display_name=display_name, x_request_id=x_request_id, authorization=authorization, x_correlation_id=x_correlation_id) + +Get all Tenants in the org. Provide a filter to search for specific Tenants. + +### Example +```python +from __future__ import print_function +import time +import fusion +from fusion.rest import ApiException +from pprint import pprint + +# Configure OAuth2 access token for authorization: oauth +configuration = fusion.Configuration() +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# create an instance of the API class +api_instance = fusion.TenantsApi(fusion.ApiClient(configuration)) +filter = 'filter_example' # str | filter should use expression language for filtering (optional) +sort = 'sort_example' # str | Returns the response items in the order specified. Set sort to the field(s) in the response by which to sort. Sorting can be performed on any of the fields in the response, and the items can be sorted in ascending or descending order by these fields. By default, the response items are sorted in ascending order. To sort in descending order, append the minus sign (-) to the field. A single request can be sorted on multiple fields. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple fields, list the fields as comma-separated values. (E.g. \"sort=size-,name\") (optional) +limit = 56 # int | (optional) +offset = 56 # int | (optional) +id = 'id_example' # str | (optional) +name = 'name_example' # str | (optional) +display_name = 'display_name_example' # str | (optional) +x_request_id = 'x_request_id_example' # str | The Request ID supplied with the request, used to perform operations idempotently. (optional) +authorization = 'authorization_example' # str | Access token (in JWT format) required to use any API endpoint. (optional) +x_correlation_id = 'x_correlation_id_example' # str | The Correlation ID provided will be added to log messages and can be used for support. The same Correlation ID may be used for separate requests, to track a higher level workflow. (optional) + +try: + # Get all Tenants in the org. Provide a filter to search for specific Tenants. + api_response = api_instance.query_tenants(filter=filter, sort=sort, limit=limit, offset=offset, id=id, name=name, display_name=display_name, x_request_id=x_request_id, authorization=authorization, x_correlation_id=x_correlation_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling TenantsApi->query_tenants: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **filter** | **str**| filter should use expression language for filtering | [optional] + **sort** | **str**| Returns the response items in the order specified. Set sort to the field(s) in the response by which to sort. Sorting can be performed on any of the fields in the response, and the items can be sorted in ascending or descending order by these fields. By default, the response items are sorted in ascending order. To sort in descending order, append the minus sign (-) to the field. A single request can be sorted on multiple fields. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple fields, list the fields as comma-separated values. (E.g. \"sort=size-,name\") | [optional] + **limit** | **int**| | [optional] + **offset** | **int**| | [optional] + **id** | **str**| | [optional] + **name** | **str**| | [optional] + **display_name** | **str**| | [optional] + **x_request_id** | **str**| The Request ID supplied with the request, used to perform operations idempotently. | [optional] + **authorization** | **str**| Access token (in JWT format) required to use any API endpoint. | [optional] + **x_correlation_id** | **str**| The Correlation ID provided will be added to log messages and can be used for support. The same Correlation ID may be used for separate requests, to track a higher level workflow. | [optional] ### Return type diff --git a/docs/VolumeSnapshotsApi.md b/docs/VolumeSnapshotsApi.md index d9f276e..a31a5fb 100644 --- a/docs/VolumeSnapshotsApi.md +++ b/docs/VolumeSnapshotsApi.md @@ -1,6 +1,6 @@ # fusion.VolumeSnapshotsApi -All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.1* +All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.2* Method | HTTP request | Description ------------- | ------------- | ------------- diff --git a/docs/VolumesApi.md b/docs/VolumesApi.md index 0bea630..29ce4ac 100644 --- a/docs/VolumesApi.md +++ b/docs/VolumesApi.md @@ -1,6 +1,6 @@ # fusion.VolumesApi -All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.1* +All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.2* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -11,7 +11,7 @@ Method | HTTP request | Description [**get_volume_performance**](VolumesApi.md#get_volume_performance) | **GET** /tenants/{tenant_name}/tenant-spaces/{tenant_space_name}/volumes/{volume_name}/performance | (Provider) Gets performance metrics of a specific Volume. [**get_volume_space**](VolumesApi.md#get_volume_space) | **GET** /tenants/{tenant_name}/tenant-spaces/{tenant_space_name}/volumes/{volume_name}/space | (Provider) Gets space metrics of a specific Volume. [**list_volumes**](VolumesApi.md#list_volumes) | **GET** /tenants/{tenant_name}/tenant-spaces/{tenant_space_name}/volumes | Gets a list of all Volumes. -[**query_volumes**](VolumesApi.md#query_volumes) | **GET** /resources/volumes | (Opt-in) Get all Volumes in the org. Provide a filter to search for specific volumes. +[**query_volumes**](VolumesApi.md#query_volumes) | **GET** /resources/volumes | Get all Volumes in the org. Provide a filter to search for specific volumes. [**update_volume**](VolumesApi.md#update_volume) | **PATCH** /tenants/{tenant_name}/tenant-spaces/{tenant_space_name}/volumes/{volume_name} | Updates a Volume -- renaming, and resizing it; changing its Storage Class; changing its Placement Group; adding or removing host connections. # **create_volume** @@ -467,7 +467,7 @@ Name | Type | Description | Notes # **query_volumes** > VolumeList query_volumes(filter=filter, sort=sort, limit=limit, offset=offset, id=id, name=name, display_name=display_name, serial_number=serial_number, size=size, created_at=created_at, tenant_space_id=tenant_space_id, tenant_id=tenant_id, storage_class_id=storage_class_id, placement_group_id=placement_group_id, protection_policy_id=protection_policy_id, array_id=array_id, source_volume_snapshot_id=source_volume_snapshot_id, iqn=iqn, destroyed=destroyed, time_remaining=time_remaining, host_access_policy_id=host_access_policy_id, x_request_id=x_request_id, authorization=authorization, x_correlation_id=x_correlation_id) -(Opt-in) Get all Volumes in the org. Provide a filter to search for specific volumes. +Get all Volumes in the org. Provide a filter to search for specific volumes. ### Example ```python @@ -509,7 +509,7 @@ authorization = 'authorization_example' # str | Access token (in JWT format) req x_correlation_id = 'x_correlation_id_example' # str | The Correlation ID provided will be added to log messages and can be used for support. The same Correlation ID may be used for separate requests, to track a higher level workflow. (optional) try: - # (Opt-in) Get all Volumes in the org. Provide a filter to search for specific volumes. + # Get all Volumes in the org. Provide a filter to search for specific volumes. api_response = api_instance.query_volumes(filter=filter, sort=sort, limit=limit, offset=offset, id=id, name=name, display_name=display_name, serial_number=serial_number, size=size, created_at=created_at, tenant_space_id=tenant_space_id, tenant_id=tenant_id, storage_class_id=storage_class_id, placement_group_id=placement_group_id, protection_policy_id=protection_policy_id, array_id=array_id, source_volume_snapshot_id=source_volume_snapshot_id, iqn=iqn, destroyed=destroyed, time_remaining=time_remaining, host_access_policy_id=host_access_policy_id, x_request_id=x_request_id, authorization=authorization, x_correlation_id=x_correlation_id) pprint(api_response) except ApiException as e: diff --git a/docs/WorkloadPlannerApi.md b/docs/WorkloadPlannerApi.md index 088c60a..fe26a63 100644 --- a/docs/WorkloadPlannerApi.md +++ b/docs/WorkloadPlannerApi.md @@ -1,6 +1,6 @@ # fusion.WorkloadPlannerApi -All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.1* +All URIs are relative to *https://api.pure1.purestorage.com/fusion/api/1.2* Method | HTTP request | Description ------------- | ------------- | ------------- diff --git a/fusion/__init__.py b/fusion/__init__.py index 8c1ef61..f4f4203 100644 --- a/fusion/__init__.py +++ b/fusion/__init__.py @@ -7,7 +7,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -80,7 +80,6 @@ from fusion.models.network_interface_patch_eth import NetworkInterfacePatchEth from fusion.models.network_interface_ref import NetworkInterfaceRef from fusion.models.nullable_boolean import NullableBoolean -from fusion.models.nullable_mtu import NullableMtu from fusion.models.nullable_size import NullableSize from fusion.models.nullable_string import NullableString from fusion.models.nullable_string_array import NullableStringArray diff --git a/fusion/api/arrays_api.py b/fusion/api/arrays_api.py index 704f878..51f8fc6 100644 --- a/fusion/api/arrays_api.py +++ b/fusion/api/arrays_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/api/availability_zones_api.py b/fusion/api/availability_zones_api.py index 0e297d8..f77cce3 100644 --- a/fusion/api/availability_zones_api.py +++ b/fusion/api/availability_zones_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/api/default_api.py b/fusion/api/default_api.py index a39321a..4e9a30e 100644 --- a/fusion/api/default_api.py +++ b/fusion/api/default_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/api/hardware_types_api.py b/fusion/api/hardware_types_api.py index 78c89d6..fa86c9d 100644 --- a/fusion/api/hardware_types_api.py +++ b/fusion/api/hardware_types_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/api/host_access_policies_api.py b/fusion/api/host_access_policies_api.py index 62d3d94..df0c6bc 100644 --- a/fusion/api/host_access_policies_api.py +++ b/fusion/api/host_access_policies_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/api/identity_manager_api.py b/fusion/api/identity_manager_api.py index 2311639..3d68195 100644 --- a/fusion/api/identity_manager_api.py +++ b/fusion/api/identity_manager_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/api/network_interface_groups_api.py b/fusion/api/network_interface_groups_api.py index 74084f3..082d99f 100644 --- a/fusion/api/network_interface_groups_api.py +++ b/fusion/api/network_interface_groups_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/api/network_interfaces_api.py b/fusion/api/network_interfaces_api.py index 28586da..5af23d1 100644 --- a/fusion/api/network_interfaces_api.py +++ b/fusion/api/network_interfaces_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/api/operations_api.py b/fusion/api/operations_api.py index 9e695cb..c634d99 100644 --- a/fusion/api/operations_api.py +++ b/fusion/api/operations_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -259,8 +259,11 @@ def list_operations(self, **kwargs): # noqa: E501 :param str request_collection: Default to \\\"/\\\", valid values take the form \\\"/\\\", \\\"/tenants/\\\", or \\\"/tenants//tenant-spaces/\\\" :param str resource_kind: The kind of resource on which the Operation was performed. :param str resource_id: The ID of resource on which the Operation was performed. - :param str status: The status of the Operation. Support for comma separated multiple status is deprecated, use IN list instead + :param str status: The status of the Operation. Support for comma separated multiple status is deprecated, use IN list instead. :param str created_after: + :param int created_at: + :param int started_at: + :param int ended_at: :param str filter: filter should use expression language for filtering :param str sort: Returns the response items in the order specified. Set sort to the field(s) in the response by which to sort. Sorting can be performed on any of the fields in the response, and the items can be sorted in ascending or descending order by these fields. By default, the response items are sorted in ascending order. To sort in descending order, append the minus sign (-) to the field. A single request can be sorted on multiple fields. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple fields, list the fields as comma-separated values. (E.g. \"sort=size-,name\") :param int limit: @@ -293,8 +296,11 @@ def list_operations_with_http_info(self, **kwargs): # noqa: E501 :param str request_collection: Default to \\\"/\\\", valid values take the form \\\"/\\\", \\\"/tenants/\\\", or \\\"/tenants//tenant-spaces/\\\" :param str resource_kind: The kind of resource on which the Operation was performed. :param str resource_id: The ID of resource on which the Operation was performed. - :param str status: The status of the Operation. Support for comma separated multiple status is deprecated, use IN list instead + :param str status: The status of the Operation. Support for comma separated multiple status is deprecated, use IN list instead. :param str created_after: + :param int created_at: + :param int started_at: + :param int ended_at: :param str filter: filter should use expression language for filtering :param str sort: Returns the response items in the order specified. Set sort to the field(s) in the response by which to sort. Sorting can be performed on any of the fields in the response, and the items can be sorted in ascending or descending order by these fields. By default, the response items are sorted in ascending order. To sort in descending order, append the minus sign (-) to the field. A single request can be sorted on multiple fields. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple fields, list the fields as comma-separated values. (E.g. \"sort=size-,name\") :param int limit: @@ -304,7 +310,7 @@ def list_operations_with_http_info(self, **kwargs): # noqa: E501 returns the request thread. """ - all_params = ['x_request_id', 'authorization', 'x_correlation_id', 'action', 'request_id', 'request_collection', 'resource_kind', 'resource_id', 'status', 'created_after', 'filter', 'sort', 'limit', 'offset'] # noqa: E501 + all_params = ['x_request_id', 'authorization', 'x_correlation_id', 'action', 'request_id', 'request_collection', 'resource_kind', 'resource_id', 'status', 'created_after', 'created_at', 'started_at', 'ended_at', 'filter', 'sort', 'limit', 'offset'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -339,6 +345,12 @@ def list_operations_with_http_info(self, **kwargs): # noqa: E501 query_params.append(('status', params['status'])) # noqa: E501 if 'created_after' in params: query_params.append(('created_after', params['created_after'])) # noqa: E501 + if 'created_at' in params: + query_params.append(('created_at', params['created_at'])) # noqa: E501 + if 'started_at' in params: + query_params.append(('started_at', params['started_at'])) # noqa: E501 + if 'ended_at' in params: + query_params.append(('ended_at', params['ended_at'])) # noqa: E501 if 'filter' in params: query_params.append(('filter', params['filter'])) # noqa: E501 if 'sort' in params: diff --git a/fusion/api/placement_groups_api.py b/fusion/api/placement_groups_api.py index d331d89..2ddde4f 100644 --- a/fusion/api/placement_groups_api.py +++ b/fusion/api/placement_groups_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/api/protection_policies_api.py b/fusion/api/protection_policies_api.py index 7f41219..7251bee 100644 --- a/fusion/api/protection_policies_api.py +++ b/fusion/api/protection_policies_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/api/regions_api.py b/fusion/api/regions_api.py index f657cdf..e6c2798 100644 --- a/fusion/api/regions_api.py +++ b/fusion/api/regions_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -468,6 +468,13 @@ def list_regions(self, **kwargs): # noqa: E501 :param str x_request_id: The Request ID supplied with the request, used to perform operations idempotently. :param str authorization: Access token (in JWT format) required to use any API endpoint. :param str x_correlation_id: The Correlation ID provided will be added to log messages and can be used for support. The same Correlation ID may be used for separate requests, to track a higher level workflow. + :param str filter: filter should use expression language for filtering + :param str sort: Returns the response items in the order specified. Set sort to the field(s) in the response by which to sort. Sorting can be performed on any of the fields in the response, and the items can be sorted in ascending or descending order by these fields. By default, the response items are sorted in ascending order. To sort in descending order, append the minus sign (-) to the field. A single request can be sorted on multiple fields. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple fields, list the fields as comma-separated values. (E.g. \"sort=size-,name\") + :param int limit: + :param int offset: + :param str id: + :param str name: + :param str display_name: :return: RegionList If the method is called asynchronously, returns the request thread. @@ -491,12 +498,19 @@ def list_regions_with_http_info(self, **kwargs): # noqa: E501 :param str x_request_id: The Request ID supplied with the request, used to perform operations idempotently. :param str authorization: Access token (in JWT format) required to use any API endpoint. :param str x_correlation_id: The Correlation ID provided will be added to log messages and can be used for support. The same Correlation ID may be used for separate requests, to track a higher level workflow. + :param str filter: filter should use expression language for filtering + :param str sort: Returns the response items in the order specified. Set sort to the field(s) in the response by which to sort. Sorting can be performed on any of the fields in the response, and the items can be sorted in ascending or descending order by these fields. By default, the response items are sorted in ascending order. To sort in descending order, append the minus sign (-) to the field. A single request can be sorted on multiple fields. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple fields, list the fields as comma-separated values. (E.g. \"sort=size-,name\") + :param int limit: + :param int offset: + :param str id: + :param str name: + :param str display_name: :return: RegionList If the method is called asynchronously, returns the request thread. """ - all_params = ['x_request_id', 'authorization', 'x_correlation_id'] # noqa: E501 + all_params = ['x_request_id', 'authorization', 'x_correlation_id', 'filter', 'sort', 'limit', 'offset', 'id', 'name', 'display_name'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -517,6 +531,20 @@ def list_regions_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] + if 'filter' in params: + query_params.append(('filter', params['filter'])) # noqa: E501 + if 'sort' in params: + query_params.append(('sort', params['sort'])) # noqa: E501 + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + if 'offset' in params: + query_params.append(('offset', params['offset'])) # noqa: E501 + if 'id' in params: + query_params.append(('id', params['id'])) # noqa: E501 + if 'name' in params: + query_params.append(('name', params['name'])) # noqa: E501 + if 'display_name' in params: + query_params.append(('display_name', params['display_name'])) # noqa: E501 header_params = {} if 'x_request_id' in params: @@ -553,6 +581,131 @@ def list_regions_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def query_regions(self, **kwargs): # noqa: E501 + """Get all Regions in the org. Provide a filter to search for specific Regions. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.query_regions(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str filter: filter should use expression language for filtering + :param str sort: Returns the response items in the order specified. Set sort to the field(s) in the response by which to sort. Sorting can be performed on any of the fields in the response, and the items can be sorted in ascending or descending order by these fields. By default, the response items are sorted in ascending order. To sort in descending order, append the minus sign (-) to the field. A single request can be sorted on multiple fields. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple fields, list the fields as comma-separated values. (E.g. \"sort=size-,name\") + :param int limit: + :param int offset: + :param str id: + :param str name: + :param str display_name: + :param str x_request_id: The Request ID supplied with the request, used to perform operations idempotently. + :param str authorization: Access token (in JWT format) required to use any API endpoint. + :param str x_correlation_id: The Correlation ID provided will be added to log messages and can be used for support. The same Correlation ID may be used for separate requests, to track a higher level workflow. + :return: RegionList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.query_regions_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.query_regions_with_http_info(**kwargs) # noqa: E501 + return data + + def query_regions_with_http_info(self, **kwargs): # noqa: E501 + """Get all Regions in the org. Provide a filter to search for specific Regions. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.query_regions_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str filter: filter should use expression language for filtering + :param str sort: Returns the response items in the order specified. Set sort to the field(s) in the response by which to sort. Sorting can be performed on any of the fields in the response, and the items can be sorted in ascending or descending order by these fields. By default, the response items are sorted in ascending order. To sort in descending order, append the minus sign (-) to the field. A single request can be sorted on multiple fields. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple fields, list the fields as comma-separated values. (E.g. \"sort=size-,name\") + :param int limit: + :param int offset: + :param str id: + :param str name: + :param str display_name: + :param str x_request_id: The Request ID supplied with the request, used to perform operations idempotently. + :param str authorization: Access token (in JWT format) required to use any API endpoint. + :param str x_correlation_id: The Correlation ID provided will be added to log messages and can be used for support. The same Correlation ID may be used for separate requests, to track a higher level workflow. + :return: RegionList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['filter', 'sort', 'limit', 'offset', 'id', 'name', 'display_name', 'x_request_id', 'authorization', 'x_correlation_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method query_regions" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'filter' in params: + query_params.append(('filter', params['filter'])) # noqa: E501 + if 'sort' in params: + query_params.append(('sort', params['sort'])) # noqa: E501 + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + if 'offset' in params: + query_params.append(('offset', params['offset'])) # noqa: E501 + if 'id' in params: + query_params.append(('id', params['id'])) # noqa: E501 + if 'name' in params: + query_params.append(('name', params['name'])) # noqa: E501 + if 'display_name' in params: + query_params.append(('display_name', params['display_name'])) # noqa: E501 + + header_params = {} + if 'x_request_id' in params: + header_params['X-Request-ID'] = params['x_request_id'] # noqa: E501 + if 'authorization' in params: + header_params['Authorization'] = params['authorization'] # noqa: E501 + if 'x_correlation_id' in params: + header_params['X-Correlation-ID'] = params['x_correlation_id'] # noqa: E501 + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['accessToken', 'oauth'] # noqa: E501 + + return self.api_client.call_api( + '/resources/regions', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='RegionList', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def update_region(self, body, region_name, **kwargs): # noqa: E501 """Updates a Region. # noqa: E501 diff --git a/fusion/api/role_assignments_api.py b/fusion/api/role_assignments_api.py index 020f011..208ae5f 100644 --- a/fusion/api/role_assignments_api.py +++ b/fusion/api/role_assignments_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/api/roles_api.py b/fusion/api/roles_api.py index 8957ab8..4b3bf25 100644 --- a/fusion/api/roles_api.py +++ b/fusion/api/roles_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/api/snapshots_api.py b/fusion/api/snapshots_api.py index 4b527fb..d885686 100644 --- a/fusion/api/snapshots_api.py +++ b/fusion/api/snapshots_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -666,7 +666,7 @@ def list_snapshots_with_http_info(self, tenant_name, tenant_space_name, **kwargs collection_formats=collection_formats) def query_snapshots(self, **kwargs): # noqa: E501 - """(Opt-in) Get all Snapshots in the org. Provide a filter to search for specific snapshots. # noqa: E501 + """Get all Snapshots in the org. Provide a filter to search for specific snapshots. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -701,7 +701,7 @@ def query_snapshots(self, **kwargs): # noqa: E501 return data def query_snapshots_with_http_info(self, **kwargs): # noqa: E501 - """(Opt-in) Get all Snapshots in the org. Provide a filter to search for specific snapshots. # noqa: E501 + """Get all Snapshots in the org. Provide a filter to search for specific snapshots. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/fusion/api/storage_classes_api.py b/fusion/api/storage_classes_api.py index b8c67ea..4713f91 100644 --- a/fusion/api/storage_classes_api.py +++ b/fusion/api/storage_classes_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/api/storage_endpoints_api.py b/fusion/api/storage_endpoints_api.py index 3a02a4a..4d96370 100644 --- a/fusion/api/storage_endpoints_api.py +++ b/fusion/api/storage_endpoints_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/api/storage_services_api.py b/fusion/api/storage_services_api.py index 37ed9c6..12937eb 100644 --- a/fusion/api/storage_services_api.py +++ b/fusion/api/storage_services_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/api/tenant_spaces_api.py b/fusion/api/tenant_spaces_api.py index b8a11ae..db8adc4 100644 --- a/fusion/api/tenant_spaces_api.py +++ b/fusion/api/tenant_spaces_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -840,7 +840,7 @@ def list_tenant_spaces_with_http_info(self, tenant_name, **kwargs): # noqa: E50 collection_formats=collection_formats) def query_tenant_spaces(self, **kwargs): # noqa: E501 - """(Opt-in) Get all Tenant Spaces in the org. Provide a filter to search for specific Tenant Spaces # noqa: E501 + """Get all Tenant Spaces in the org. Provide a filter to search for specific Tenant Spaces # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -871,7 +871,7 @@ def query_tenant_spaces(self, **kwargs): # noqa: E501 return data def query_tenant_spaces_with_http_info(self, **kwargs): # noqa: E501 - """(Opt-in) Get all Tenant Spaces in the org. Provide a filter to search for specific Tenant Spaces # noqa: E501 + """Get all Tenant Spaces in the org. Provide a filter to search for specific Tenant Spaces # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/fusion/api/tenants_api.py b/fusion/api/tenants_api.py index b272237..9277f68 100644 --- a/fusion/api/tenants_api.py +++ b/fusion/api/tenants_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -678,6 +678,13 @@ def list_tenants(self, **kwargs): # noqa: E501 :param str x_request_id: The Request ID supplied with the request, used to perform operations idempotently. :param str authorization: Access token (in JWT format) required to use any API endpoint. :param str x_correlation_id: The Correlation ID provided will be added to log messages and can be used for support. The same Correlation ID may be used for separate requests, to track a higher level workflow. + :param str filter: filter should use expression language for filtering + :param str sort: Returns the response items in the order specified. Set sort to the field(s) in the response by which to sort. Sorting can be performed on any of the fields in the response, and the items can be sorted in ascending or descending order by these fields. By default, the response items are sorted in ascending order. To sort in descending order, append the minus sign (-) to the field. A single request can be sorted on multiple fields. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple fields, list the fields as comma-separated values. (E.g. \"sort=size-,name\") + :param int limit: + :param int offset: + :param str id: + :param str name: + :param str display_name: :return: TenantList If the method is called asynchronously, returns the request thread. @@ -701,12 +708,19 @@ def list_tenants_with_http_info(self, **kwargs): # noqa: E501 :param str x_request_id: The Request ID supplied with the request, used to perform operations idempotently. :param str authorization: Access token (in JWT format) required to use any API endpoint. :param str x_correlation_id: The Correlation ID provided will be added to log messages and can be used for support. The same Correlation ID may be used for separate requests, to track a higher level workflow. + :param str filter: filter should use expression language for filtering + :param str sort: Returns the response items in the order specified. Set sort to the field(s) in the response by which to sort. Sorting can be performed on any of the fields in the response, and the items can be sorted in ascending or descending order by these fields. By default, the response items are sorted in ascending order. To sort in descending order, append the minus sign (-) to the field. A single request can be sorted on multiple fields. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple fields, list the fields as comma-separated values. (E.g. \"sort=size-,name\") + :param int limit: + :param int offset: + :param str id: + :param str name: + :param str display_name: :return: TenantList If the method is called asynchronously, returns the request thread. """ - all_params = ['x_request_id', 'authorization', 'x_correlation_id'] # noqa: E501 + all_params = ['x_request_id', 'authorization', 'x_correlation_id', 'filter', 'sort', 'limit', 'offset', 'id', 'name', 'display_name'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -727,6 +741,20 @@ def list_tenants_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] + if 'filter' in params: + query_params.append(('filter', params['filter'])) # noqa: E501 + if 'sort' in params: + query_params.append(('sort', params['sort'])) # noqa: E501 + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + if 'offset' in params: + query_params.append(('offset', params['offset'])) # noqa: E501 + if 'id' in params: + query_params.append(('id', params['id'])) # noqa: E501 + if 'name' in params: + query_params.append(('name', params['name'])) # noqa: E501 + if 'display_name' in params: + query_params.append(('display_name', params['display_name'])) # noqa: E501 header_params = {} if 'x_request_id' in params: @@ -763,6 +791,131 @@ def list_tenants_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def query_tenants(self, **kwargs): # noqa: E501 + """Get all Tenants in the org. Provide a filter to search for specific Tenants. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.query_tenants(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str filter: filter should use expression language for filtering + :param str sort: Returns the response items in the order specified. Set sort to the field(s) in the response by which to sort. Sorting can be performed on any of the fields in the response, and the items can be sorted in ascending or descending order by these fields. By default, the response items are sorted in ascending order. To sort in descending order, append the minus sign (-) to the field. A single request can be sorted on multiple fields. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple fields, list the fields as comma-separated values. (E.g. \"sort=size-,name\") + :param int limit: + :param int offset: + :param str id: + :param str name: + :param str display_name: + :param str x_request_id: The Request ID supplied with the request, used to perform operations idempotently. + :param str authorization: Access token (in JWT format) required to use any API endpoint. + :param str x_correlation_id: The Correlation ID provided will be added to log messages and can be used for support. The same Correlation ID may be used for separate requests, to track a higher level workflow. + :return: TenantList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.query_tenants_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.query_tenants_with_http_info(**kwargs) # noqa: E501 + return data + + def query_tenants_with_http_info(self, **kwargs): # noqa: E501 + """Get all Tenants in the org. Provide a filter to search for specific Tenants. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.query_tenants_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str filter: filter should use expression language for filtering + :param str sort: Returns the response items in the order specified. Set sort to the field(s) in the response by which to sort. Sorting can be performed on any of the fields in the response, and the items can be sorted in ascending or descending order by these fields. By default, the response items are sorted in ascending order. To sort in descending order, append the minus sign (-) to the field. A single request can be sorted on multiple fields. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple fields, list the fields as comma-separated values. (E.g. \"sort=size-,name\") + :param int limit: + :param int offset: + :param str id: + :param str name: + :param str display_name: + :param str x_request_id: The Request ID supplied with the request, used to perform operations idempotently. + :param str authorization: Access token (in JWT format) required to use any API endpoint. + :param str x_correlation_id: The Correlation ID provided will be added to log messages and can be used for support. The same Correlation ID may be used for separate requests, to track a higher level workflow. + :return: TenantList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['filter', 'sort', 'limit', 'offset', 'id', 'name', 'display_name', 'x_request_id', 'authorization', 'x_correlation_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method query_tenants" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'filter' in params: + query_params.append(('filter', params['filter'])) # noqa: E501 + if 'sort' in params: + query_params.append(('sort', params['sort'])) # noqa: E501 + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + if 'offset' in params: + query_params.append(('offset', params['offset'])) # noqa: E501 + if 'id' in params: + query_params.append(('id', params['id'])) # noqa: E501 + if 'name' in params: + query_params.append(('name', params['name'])) # noqa: E501 + if 'display_name' in params: + query_params.append(('display_name', params['display_name'])) # noqa: E501 + + header_params = {} + if 'x_request_id' in params: + header_params['X-Request-ID'] = params['x_request_id'] # noqa: E501 + if 'authorization' in params: + header_params['Authorization'] = params['authorization'] # noqa: E501 + if 'x_correlation_id' in params: + header_params['X-Correlation-ID'] = params['x_correlation_id'] # noqa: E501 + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['accessToken', 'oauth'] # noqa: E501 + + return self.api_client.call_api( + '/resources/tenants', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='TenantList', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def update_tenant(self, body, tenant_name, **kwargs): # noqa: E501 """Updates a Tenant. # noqa: E501 diff --git a/fusion/api/volume_snapshots_api.py b/fusion/api/volume_snapshots_api.py index fb7ac85..4fc4c02 100644 --- a/fusion/api/volume_snapshots_api.py +++ b/fusion/api/volume_snapshots_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/api/volumes_api.py b/fusion/api/volumes_api.py index ade438d..6336d1d 100644 --- a/fusion/api/volumes_api.py +++ b/fusion/api/volumes_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -932,7 +932,7 @@ def list_volumes_with_http_info(self, tenant_name, tenant_space_name, **kwargs): collection_formats=collection_formats) def query_volumes(self, **kwargs): # noqa: E501 - """(Opt-in) Get all Volumes in the org. Provide a filter to search for specific volumes. # noqa: E501 + """Get all Volumes in the org. Provide a filter to search for specific volumes. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -976,7 +976,7 @@ def query_volumes(self, **kwargs): # noqa: E501 return data def query_volumes_with_http_info(self, **kwargs): # noqa: E501 - """(Opt-in) Get all Volumes in the org. Provide a filter to search for specific volumes. # noqa: E501 + """Get all Volumes in the org. Provide a filter to search for specific volumes. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/fusion/api/workload_planner_api.py b/fusion/api/workload_planner_api.py index 69cdb5f..2d9970a 100644 --- a/fusion/api/workload_planner_api.py +++ b/fusion/api/workload_planner_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/api_client.py b/fusion/api_client.py index afe0d25..6e4e6c9 100644 --- a/fusion/api_client.py +++ b/fusion/api_client.py @@ -4,7 +4,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -72,7 +72,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Swagger-Codegen/1.1.1/python' + self.user_agent = 'Swagger-Codegen/1.2.0/python' def __del__(self): if self._pool is not None: diff --git a/fusion/configuration.py b/fusion/configuration.py index 13e4f33..45dad35 100644 --- a/fusion/configuration.py +++ b/fusion/configuration.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -46,7 +46,7 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)): def __init__(self): """Constructor""" # Default Base url - self.host = "https://api.pure1.purestorage.com/fusion/api/1.1" + self.host = "https://api.pure1.purestorage.com/fusion/api/1.2" # Temp file folder for downloading files self.temp_folder_path = None @@ -248,6 +248,6 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.1\n"\ - "SDK Package Version: 1.1.1".\ + "Version of the API: 1.2\n"\ + "SDK Package Version: 1.2.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/fusion/models/__init__.py b/fusion/models/__init__.py index e199972..ff9a11a 100644 --- a/fusion/models/__init__.py +++ b/fusion/models/__init__.py @@ -6,7 +6,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -51,7 +51,6 @@ from fusion.models.network_interface_patch_eth import NetworkInterfacePatchEth from fusion.models.network_interface_ref import NetworkInterfaceRef from fusion.models.nullable_boolean import NullableBoolean -from fusion.models.nullable_mtu import NullableMtu from fusion.models.nullable_size import NullableSize from fusion.models.nullable_string import NullableString from fusion.models.nullable_string_array import NullableStringArray diff --git a/fusion/models/api_client.py b/fusion/models/api_client.py index a107d83..37d194a 100644 --- a/fusion/models/api_client.py +++ b/fusion/models/api_client.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/api_client_post.py b/fusion/models/api_client_post.py index 90fb08b..f5d2581 100644 --- a/fusion/models/api_client_post.py +++ b/fusion/models/api_client_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/array.py b/fusion/models/array.py index c487bff..05caed7 100644 --- a/fusion/models/array.py +++ b/fusion/models/array.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/array_list.py b/fusion/models/array_list.py index 096ba4e..f0c1e2d 100644 --- a/fusion/models/array_list.py +++ b/fusion/models/array_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/array_patch.py b/fusion/models/array_patch.py index b36133d..a6d15da 100644 --- a/fusion/models/array_patch.py +++ b/fusion/models/array_patch.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/array_post.py b/fusion/models/array_post.py index ca09d87..f02dbf4 100644 --- a/fusion/models/array_post.py +++ b/fusion/models/array_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/array_ref.py b/fusion/models/array_ref.py index cb0f2e4..e88b20d 100644 --- a/fusion/models/array_ref.py +++ b/fusion/models/array_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/availability_zone.py b/fusion/models/availability_zone.py index 3f24469..ad42ca7 100644 --- a/fusion/models/availability_zone.py +++ b/fusion/models/availability_zone.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/availability_zone_list.py b/fusion/models/availability_zone_list.py index 310f061..33aabb4 100644 --- a/fusion/models/availability_zone_list.py +++ b/fusion/models/availability_zone_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/availability_zone_post.py b/fusion/models/availability_zone_post.py index 9af7a2e..c8525b7 100644 --- a/fusion/models/availability_zone_post.py +++ b/fusion/models/availability_zone_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/availability_zone_ref.py b/fusion/models/availability_zone_ref.py index d478761..63be198 100644 --- a/fusion/models/availability_zone_ref.py +++ b/fusion/models/availability_zone_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/error.py b/fusion/models/error.py index 5a5669d..4e1e15c 100644 --- a/fusion/models/error.py +++ b/fusion/models/error.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/error_response.py b/fusion/models/error_response.py index cfa01a6..dceea3f 100644 --- a/fusion/models/error_response.py +++ b/fusion/models/error_response.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/hardware_type.py b/fusion/models/hardware_type.py index 03bf815..09fece9 100644 --- a/fusion/models/hardware_type.py +++ b/fusion/models/hardware_type.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/hardware_type_list.py b/fusion/models/hardware_type_list.py index 8cbf061..32c5b09 100644 --- a/fusion/models/hardware_type_list.py +++ b/fusion/models/hardware_type_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/hardware_type_ref.py b/fusion/models/hardware_type_ref.py index e6866c9..7d4e2e8 100644 --- a/fusion/models/hardware_type_ref.py +++ b/fusion/models/hardware_type_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/host_access_policies_post.py b/fusion/models/host_access_policies_post.py index dbd3c4d..7ce2a9b 100644 --- a/fusion/models/host_access_policies_post.py +++ b/fusion/models/host_access_policies_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -47,7 +47,8 @@ def __init__(self, iqn=None, personality=None, *args, **kwargs): # noqa: E501 self._iqn = None self._personality = None self.discriminator = None - self.iqn = iqn + if iqn is not None: + self.iqn = iqn self.personality = personality ResourcePost.__init__(self, *args, **kwargs) @@ -71,8 +72,6 @@ def iqn(self, iqn): :param iqn: The iqn of this HostAccessPoliciesPost. # noqa: E501 :type: str """ - if iqn is None: - raise ValueError("Invalid value for `iqn`, must not be `None`") # noqa: E501 self._iqn = iqn diff --git a/fusion/models/host_access_policy.py b/fusion/models/host_access_policy.py index ee64177..ced19d2 100644 --- a/fusion/models/host_access_policy.py +++ b/fusion/models/host_access_policy.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/host_access_policy_list.py b/fusion/models/host_access_policy_list.py index cd5a313..ea4a2a1 100644 --- a/fusion/models/host_access_policy_list.py +++ b/fusion/models/host_access_policy_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/host_access_policy_ref.py b/fusion/models/host_access_policy_ref.py index f9da50a..7b16415 100644 --- a/fusion/models/host_access_policy_ref.py +++ b/fusion/models/host_access_policy_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/iscsi.py b/fusion/models/iscsi.py index b49f320..dd90624 100644 --- a/fusion/models/iscsi.py +++ b/fusion/models/iscsi.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/list_response_fields.py b/fusion/models/list_response_fields.py index 753326f..234836f 100644 --- a/fusion/models/list_response_fields.py +++ b/fusion/models/list_response_fields.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/network_interface.py b/fusion/models/network_interface.py index cdedfe9..ca9b924 100644 --- a/fusion/models/network_interface.py +++ b/fusion/models/network_interface.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/network_interface_eth.py b/fusion/models/network_interface_eth.py index 15e1ef4..ae6d6f7 100644 --- a/fusion/models/network_interface_eth.py +++ b/fusion/models/network_interface_eth.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/network_interface_fc.py b/fusion/models/network_interface_fc.py index 7041c19..a620aef 100644 --- a/fusion/models/network_interface_fc.py +++ b/fusion/models/network_interface_fc.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/network_interface_group.py b/fusion/models/network_interface_group.py index 8d90474..83defc4 100644 --- a/fusion/models/network_interface_group.py +++ b/fusion/models/network_interface_group.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/network_interface_group_eth.py b/fusion/models/network_interface_group_eth.py index a84a71c..afdd091 100644 --- a/fusion/models/network_interface_group_eth.py +++ b/fusion/models/network_interface_group_eth.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/network_interface_group_eth_post.py b/fusion/models/network_interface_group_eth_post.py index fcc2be2..97c0120 100644 --- a/fusion/models/network_interface_group_eth_post.py +++ b/fusion/models/network_interface_group_eth_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/network_interface_group_list.py b/fusion/models/network_interface_group_list.py index f66db7c..06d90ac 100644 --- a/fusion/models/network_interface_group_list.py +++ b/fusion/models/network_interface_group_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/network_interface_group_patch.py b/fusion/models/network_interface_group_patch.py index e72d1dc..8a127fa 100644 --- a/fusion/models/network_interface_group_patch.py +++ b/fusion/models/network_interface_group_patch.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/network_interface_group_post.py b/fusion/models/network_interface_group_post.py index d023350..e260060 100644 --- a/fusion/models/network_interface_group_post.py +++ b/fusion/models/network_interface_group_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/network_interface_group_ref.py b/fusion/models/network_interface_group_ref.py index ec476de..0414dd6 100644 --- a/fusion/models/network_interface_group_ref.py +++ b/fusion/models/network_interface_group_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/network_interface_list.py b/fusion/models/network_interface_list.py index f6c2a94..10c485c 100644 --- a/fusion/models/network_interface_list.py +++ b/fusion/models/network_interface_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/network_interface_patch.py b/fusion/models/network_interface_patch.py index f0c542b..2db11e6 100644 --- a/fusion/models/network_interface_patch.py +++ b/fusion/models/network_interface_patch.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/network_interface_patch_eth.py b/fusion/models/network_interface_patch_eth.py index c2fa0c8..073520d 100644 --- a/fusion/models/network_interface_patch_eth.py +++ b/fusion/models/network_interface_patch_eth.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/network_interface_ref.py b/fusion/models/network_interface_ref.py index 5e14523..8637e2e 100644 --- a/fusion/models/network_interface_ref.py +++ b/fusion/models/network_interface_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/nullable_boolean.py b/fusion/models/nullable_boolean.py index e9811e5..fcbe0be 100644 --- a/fusion/models/nullable_boolean.py +++ b/fusion/models/nullable_boolean.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/nullable_size.py b/fusion/models/nullable_size.py index 06f4147..90c9d7b 100644 --- a/fusion/models/nullable_size.py +++ b/fusion/models/nullable_size.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/nullable_string.py b/fusion/models/nullable_string.py index 0ca5fbe..ca3b839 100644 --- a/fusion/models/nullable_string.py +++ b/fusion/models/nullable_string.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/nullable_string_array.py b/fusion/models/nullable_string_array.py index 28e7731..73848fc 100644 --- a/fusion/models/nullable_string_array.py +++ b/fusion/models/nullable_string_array.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/one_of_protection_policy_objectives_items.py b/fusion/models/one_of_protection_policy_objectives_items.py index 810da4d..e2511fc 100644 --- a/fusion/models/one_of_protection_policy_objectives_items.py +++ b/fusion/models/one_of_protection_policy_objectives_items.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/one_of_protection_policy_post_objectives_items.py b/fusion/models/one_of_protection_policy_post_objectives_items.py index 3c0021e..ef6036c 100644 --- a/fusion/models/one_of_protection_policy_post_objectives_items.py +++ b/fusion/models/one_of_protection_policy_post_objectives_items.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/operation.py b/fusion/models/operation.py index a25f897..3d85ace 100644 --- a/fusion/models/operation.py +++ b/fusion/models/operation.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -39,7 +39,10 @@ class Operation(object): 'status': 'str', 'retry_in': 'int', 'error': 'Error', - 'created_at': 'int' + 'created_at': 'int', + 'started_at': 'int', + 'ended_at': 'int', + 'update_fields': 'dict(str, str)' } attribute_map = { @@ -54,10 +57,13 @@ class Operation(object): 'status': 'status', 'retry_in': 'retry_in', 'error': 'error', - 'created_at': 'created_at' + 'created_at': 'created_at', + 'started_at': 'started_at', + 'ended_at': 'ended_at', + 'update_fields': 'update_fields' } - def __init__(self, id=None, self_link=None, request=None, request_type=None, request_id=None, request_collection=None, state=None, result=None, status=None, retry_in=None, error=None, created_at=None): # noqa: E501 + def __init__(self, id=None, self_link=None, request=None, request_type=None, request_id=None, request_collection=None, state=None, result=None, status=None, retry_in=None, error=None, created_at=None, started_at=None, ended_at=None, update_fields=None): # noqa: E501 """Operation - a model defined in Swagger""" # noqa: E501 self._id = None self._self_link = None @@ -71,6 +77,9 @@ def __init__(self, id=None, self_link=None, request=None, request_type=None, req self._retry_in = None self._error = None self._created_at = None + self._started_at = None + self._ended_at = None + self._update_fields = None self.discriminator = None self.id = id self.self_link = self_link @@ -89,6 +98,9 @@ def __init__(self, id=None, self_link=None, request=None, request_type=None, req if error is not None: self.error = error self.created_at = created_at + self.started_at = started_at + self.ended_at = ended_at + self.update_fields = update_fields @property def id(self): @@ -378,6 +390,81 @@ def created_at(self, created_at): self._created_at = created_at + @property + def started_at(self): + """Gets the started_at of this Operation. # noqa: E501 + + The time that the operation was admitted, in milliseconds since the Unix epoch. # noqa: E501 + + :return: The started_at of this Operation. # noqa: E501 + :rtype: int + """ + return self._started_at + + @started_at.setter + def started_at(self, started_at): + """Sets the started_at of this Operation. + + The time that the operation was admitted, in milliseconds since the Unix epoch. # noqa: E501 + + :param started_at: The started_at of this Operation. # noqa: E501 + :type: int + """ + if started_at is None: + raise ValueError("Invalid value for `started_at`, must not be `None`") # noqa: E501 + + self._started_at = started_at + + @property + def ended_at(self): + """Gets the ended_at of this Operation. # noqa: E501 + + The time that the operation ended with status Succeeded or Failed, in milliseconds since the Unix epoch. # noqa: E501 + + :return: The ended_at of this Operation. # noqa: E501 + :rtype: int + """ + return self._ended_at + + @ended_at.setter + def ended_at(self, ended_at): + """Sets the ended_at of this Operation. + + The time that the operation ended with status Succeeded or Failed, in milliseconds since the Unix epoch. # noqa: E501 + + :param ended_at: The ended_at of this Operation. # noqa: E501 + :type: int + """ + if ended_at is None: + raise ValueError("Invalid value for `ended_at`, must not be `None`") # noqa: E501 + + self._ended_at = ended_at + + @property + def update_fields(self): + """Gets the update_fields of this Operation. # noqa: E501 + + Key/value pairs of the fields this operation is updating, if it is an Update operation. E.g. destroyed:true or size:1048576. # noqa: E501 + + :return: The update_fields of this Operation. # noqa: E501 + :rtype: dict(str, str) + """ + return self._update_fields + + @update_fields.setter + def update_fields(self, update_fields): + """Sets the update_fields of this Operation. + + Key/value pairs of the fields this operation is updating, if it is an Update operation. E.g. destroyed:true or size:1048576. # noqa: E501 + + :param update_fields: The update_fields of this Operation. # noqa: E501 + :type: dict(str, str) + """ + if update_fields is None: + raise ValueError("Invalid value for `update_fields`, must not be `None`") # noqa: E501 + + self._update_fields = update_fields + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/fusion/models/operation_list.py b/fusion/models/operation_list.py index 1a99d01..c511fa4 100644 --- a/fusion/models/operation_list.py +++ b/fusion/models/operation_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/operation_request.py b/fusion/models/operation_request.py index 54c2bbc..172b2e5 100644 --- a/fusion/models/operation_request.py +++ b/fusion/models/operation_request.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/operation_result.py b/fusion/models/operation_result.py index 738ee05..6b4bd08 100644 --- a/fusion/models/operation_result.py +++ b/fusion/models/operation_result.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/operation_state.py b/fusion/models/operation_state.py index 79a6b4a..78f4673 100644 --- a/fusion/models/operation_state.py +++ b/fusion/models/operation_state.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/performance.py b/fusion/models/performance.py index 7a98f03..76ac38e 100644 --- a/fusion/models/performance.py +++ b/fusion/models/performance.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/placement_engine.py b/fusion/models/placement_engine.py index 115ec6d..98897b7 100644 --- a/fusion/models/placement_engine.py +++ b/fusion/models/placement_engine.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/placement_group.py b/fusion/models/placement_group.py index 4924188..6729f6f 100644 --- a/fusion/models/placement_group.py +++ b/fusion/models/placement_group.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/placement_group_list.py b/fusion/models/placement_group_list.py index b29c98e..e8422dd 100644 --- a/fusion/models/placement_group_list.py +++ b/fusion/models/placement_group_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/placement_group_patch.py b/fusion/models/placement_group_patch.py index 3c90bef..6dcde5e 100644 --- a/fusion/models/placement_group_patch.py +++ b/fusion/models/placement_group_patch.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/placement_group_post.py b/fusion/models/placement_group_post.py index 0afc024..0a3430b 100644 --- a/fusion/models/placement_group_post.py +++ b/fusion/models/placement_group_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/placement_group_ref.py b/fusion/models/placement_group_ref.py index a588590..71b721b 100644 --- a/fusion/models/placement_group_ref.py +++ b/fusion/models/placement_group_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/placement_recommendation.py b/fusion/models/placement_recommendation.py index 874615c..9ffd2c7 100644 --- a/fusion/models/placement_recommendation.py +++ b/fusion/models/placement_recommendation.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/placement_recommendation_excluded_array.py b/fusion/models/placement_recommendation_excluded_array.py index d30224d..16f3a27 100644 --- a/fusion/models/placement_recommendation_excluded_array.py +++ b/fusion/models/placement_recommendation_excluded_array.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/placement_recommendation_included_array.py b/fusion/models/placement_recommendation_included_array.py index 1e58444..049bb4a 100644 --- a/fusion/models/placement_recommendation_included_array.py +++ b/fusion/models/placement_recommendation_included_array.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/placement_recommendation_post.py b/fusion/models/placement_recommendation_post.py index 5c3034f..b26a32d 100644 --- a/fusion/models/placement_recommendation_post.py +++ b/fusion/models/placement_recommendation_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/protection_policy.py b/fusion/models/protection_policy.py index 3c51bfb..e9d76ff 100644 --- a/fusion/models/protection_policy.py +++ b/fusion/models/protection_policy.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/protection_policy_list.py b/fusion/models/protection_policy_list.py index 998e3e1..c07a7d1 100644 --- a/fusion/models/protection_policy_list.py +++ b/fusion/models/protection_policy_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/protection_policy_objective_type.py b/fusion/models/protection_policy_objective_type.py index 469cc5a..26839f8 100644 --- a/fusion/models/protection_policy_objective_type.py +++ b/fusion/models/protection_policy_objective_type.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/protection_policy_post.py b/fusion/models/protection_policy_post.py index bf324fb..0f5c35c 100644 --- a/fusion/models/protection_policy_post.py +++ b/fusion/models/protection_policy_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/protection_policy_ref.py b/fusion/models/protection_policy_ref.py index 4a36375..336d9e7 100644 --- a/fusion/models/protection_policy_ref.py +++ b/fusion/models/protection_policy_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/pure1_meta_placement_recommendation.py b/fusion/models/pure1_meta_placement_recommendation.py index f11ed18..c52071f 100644 --- a/fusion/models/pure1_meta_placement_recommendation.py +++ b/fusion/models/pure1_meta_placement_recommendation.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/pure1_meta_placement_recommendation_load_values.py b/fusion/models/pure1_meta_placement_recommendation_load_values.py index 4faf4c4..d519871 100644 --- a/fusion/models/pure1_meta_placement_recommendation_load_values.py +++ b/fusion/models/pure1_meta_placement_recommendation_load_values.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/pure1_meta_placement_recommendation_objectives.py b/fusion/models/pure1_meta_placement_recommendation_objectives.py index 8478cf0..ef1f997 100644 --- a/fusion/models/pure1_meta_placement_recommendation_objectives.py +++ b/fusion/models/pure1_meta_placement_recommendation_objectives.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/pure1_meta_value.py b/fusion/models/pure1_meta_value.py index 1091c14..af93bf9 100644 --- a/fusion/models/pure1_meta_value.py +++ b/fusion/models/pure1_meta_value.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/pure1_meta_value_confidence_interval.py b/fusion/models/pure1_meta_value_confidence_interval.py index bdea23d..0b983ef 100644 --- a/fusion/models/pure1_meta_value_confidence_interval.py +++ b/fusion/models/pure1_meta_value_confidence_interval.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/pure1_meta_warning.py b/fusion/models/pure1_meta_warning.py index 1aba751..ff0e867 100644 --- a/fusion/models/pure1_meta_warning.py +++ b/fusion/models/pure1_meta_warning.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/region.py b/fusion/models/region.py index c100256..37e5fbc 100644 --- a/fusion/models/region.py +++ b/fusion/models/region.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/region_list.py b/fusion/models/region_list.py index f6ddace..af02b5b 100644 --- a/fusion/models/region_list.py +++ b/fusion/models/region_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/region_patch.py b/fusion/models/region_patch.py index f0a8cac..4b692cc 100644 --- a/fusion/models/region_patch.py +++ b/fusion/models/region_patch.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/region_post.py b/fusion/models/region_post.py index 7b7a98d..2776ab3 100644 --- a/fusion/models/region_post.py +++ b/fusion/models/region_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/region_ref.py b/fusion/models/region_ref.py index 3840d31..cba74b3 100644 --- a/fusion/models/region_ref.py +++ b/fusion/models/region_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/resource_metadata.py b/fusion/models/resource_metadata.py index 01e3c6f..76ee08f 100644 --- a/fusion/models/resource_metadata.py +++ b/fusion/models/resource_metadata.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/resource_patch.py b/fusion/models/resource_patch.py index 9cf1611..3cfbb51 100644 --- a/fusion/models/resource_patch.py +++ b/fusion/models/resource_patch.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/resource_post.py b/fusion/models/resource_post.py index d4b8df4..6a145ba 100644 --- a/fusion/models/resource_post.py +++ b/fusion/models/resource_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/resource_reference.py b/fusion/models/resource_reference.py index 7b0831f..2613cf6 100644 --- a/fusion/models/resource_reference.py +++ b/fusion/models/resource_reference.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/retention.py b/fusion/models/retention.py index 9dc5174..7d265af 100644 --- a/fusion/models/retention.py +++ b/fusion/models/retention.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/role.py b/fusion/models/role.py index 8dfedb6..6b17aef 100644 --- a/fusion/models/role.py +++ b/fusion/models/role.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/role_assignment.py b/fusion/models/role_assignment.py index dadc53c..c79037f 100644 --- a/fusion/models/role_assignment.py +++ b/fusion/models/role_assignment.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/role_assignment_post.py b/fusion/models/role_assignment_post.py index 0f6a1ef..0a708f4 100644 --- a/fusion/models/role_assignment_post.py +++ b/fusion/models/role_assignment_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/role_assignment_ref.py b/fusion/models/role_assignment_ref.py index 1d2e991..f046ef8 100644 --- a/fusion/models/role_assignment_ref.py +++ b/fusion/models/role_assignment_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/role_ref.py b/fusion/models/role_ref.py index 8e78e9f..56e2e33 100644 --- a/fusion/models/role_ref.py +++ b/fusion/models/role_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/rpo.py b/fusion/models/rpo.py index 7199e68..75204dd 100644 --- a/fusion/models/rpo.py +++ b/fusion/models/rpo.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/session.py b/fusion/models/session.py index d06aeec..086905f 100644 --- a/fusion/models/session.py +++ b/fusion/models/session.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/session_iscsi.py b/fusion/models/session_iscsi.py index f4bd802..344314b 100644 --- a/fusion/models/session_iscsi.py +++ b/fusion/models/session_iscsi.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/session_list.py b/fusion/models/session_list.py index 1ca38be..ed75069 100644 --- a/fusion/models/session_list.py +++ b/fusion/models/session_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/simulated_placement.py b/fusion/models/simulated_placement.py index 7300293..081637f 100644 --- a/fusion/models/simulated_placement.py +++ b/fusion/models/simulated_placement.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/simulated_placement_post.py b/fusion/models/simulated_placement_post.py index 68fb9d5..fccc8cf 100644 --- a/fusion/models/simulated_placement_post.py +++ b/fusion/models/simulated_placement_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/snapshot.py b/fusion/models/snapshot.py index 20f4e1f..71fc9cb 100644 --- a/fusion/models/snapshot.py +++ b/fusion/models/snapshot.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/snapshot_list.py b/fusion/models/snapshot_list.py index 6ff5de0..81d0671 100644 --- a/fusion/models/snapshot_list.py +++ b/fusion/models/snapshot_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/snapshot_patch.py b/fusion/models/snapshot_patch.py index 817fd7b..7abe304 100644 --- a/fusion/models/snapshot_patch.py +++ b/fusion/models/snapshot_patch.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/snapshot_post.py b/fusion/models/snapshot_post.py index 1bd1156..636cc6b 100644 --- a/fusion/models/snapshot_post.py +++ b/fusion/models/snapshot_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/snapshot_ref.py b/fusion/models/snapshot_ref.py index f899b84..1aa4352 100644 --- a/fusion/models/snapshot_ref.py +++ b/fusion/models/snapshot_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/space.py b/fusion/models/space.py index 6ec5139..ce2cea2 100644 --- a/fusion/models/space.py +++ b/fusion/models/space.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/storage_class.py b/fusion/models/storage_class.py index 56a93c2..6b5b8cc 100644 --- a/fusion/models/storage_class.py +++ b/fusion/models/storage_class.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/storage_class_list.py b/fusion/models/storage_class_list.py index 7d650a7..807a852 100644 --- a/fusion/models/storage_class_list.py +++ b/fusion/models/storage_class_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/storage_class_patch.py b/fusion/models/storage_class_patch.py index edd309d..faec4d7 100644 --- a/fusion/models/storage_class_patch.py +++ b/fusion/models/storage_class_patch.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/storage_class_post.py b/fusion/models/storage_class_post.py index 38463ac..65ff6f7 100644 --- a/fusion/models/storage_class_post.py +++ b/fusion/models/storage_class_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/storage_class_ref.py b/fusion/models/storage_class_ref.py index 5d17d22..2a229c4 100644 --- a/fusion/models/storage_class_ref.py +++ b/fusion/models/storage_class_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/storage_endpoint.py b/fusion/models/storage_endpoint.py index ad85a4f..141ddb0 100644 --- a/fusion/models/storage_endpoint.py +++ b/fusion/models/storage_endpoint.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/storage_endpoint_cbs_azure_iscsi.py b/fusion/models/storage_endpoint_cbs_azure_iscsi.py index 28abe9f..c03c9ce 100644 --- a/fusion/models/storage_endpoint_cbs_azure_iscsi.py +++ b/fusion/models/storage_endpoint_cbs_azure_iscsi.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/storage_endpoint_cbs_azure_iscsi_post.py b/fusion/models/storage_endpoint_cbs_azure_iscsi_post.py index 8e2d417..bf15c7f 100644 --- a/fusion/models/storage_endpoint_cbs_azure_iscsi_post.py +++ b/fusion/models/storage_endpoint_cbs_azure_iscsi_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/storage_endpoint_iscsi.py b/fusion/models/storage_endpoint_iscsi.py index c9df4b9..7fee8ec 100644 --- a/fusion/models/storage_endpoint_iscsi.py +++ b/fusion/models/storage_endpoint_iscsi.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/storage_endpoint_iscsi_discovery_interface.py b/fusion/models/storage_endpoint_iscsi_discovery_interface.py index 7b67453..289bda0 100644 --- a/fusion/models/storage_endpoint_iscsi_discovery_interface.py +++ b/fusion/models/storage_endpoint_iscsi_discovery_interface.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/storage_endpoint_iscsi_discovery_interface_post.py b/fusion/models/storage_endpoint_iscsi_discovery_interface_post.py index 2e9fc33..2467725 100644 --- a/fusion/models/storage_endpoint_iscsi_discovery_interface_post.py +++ b/fusion/models/storage_endpoint_iscsi_discovery_interface_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/storage_endpoint_iscsi_post.py b/fusion/models/storage_endpoint_iscsi_post.py index 41a8754..a6dc013 100644 --- a/fusion/models/storage_endpoint_iscsi_post.py +++ b/fusion/models/storage_endpoint_iscsi_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/storage_endpoint_list.py b/fusion/models/storage_endpoint_list.py index 651ef10..3a4fa6c 100644 --- a/fusion/models/storage_endpoint_list.py +++ b/fusion/models/storage_endpoint_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/storage_endpoint_patch.py b/fusion/models/storage_endpoint_patch.py index 398463c..f1b0814 100644 --- a/fusion/models/storage_endpoint_patch.py +++ b/fusion/models/storage_endpoint_patch.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/storage_endpoint_post.py b/fusion/models/storage_endpoint_post.py index f61b61f..8801527 100644 --- a/fusion/models/storage_endpoint_post.py +++ b/fusion/models/storage_endpoint_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/storage_service.py b/fusion/models/storage_service.py index d504e55..96d9b05 100644 --- a/fusion/models/storage_service.py +++ b/fusion/models/storage_service.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/storage_service_list.py b/fusion/models/storage_service_list.py index c973be5..b20fe7d 100644 --- a/fusion/models/storage_service_list.py +++ b/fusion/models/storage_service_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/storage_service_patch.py b/fusion/models/storage_service_patch.py index b0f095d..5b45d88 100644 --- a/fusion/models/storage_service_patch.py +++ b/fusion/models/storage_service_patch.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/storage_service_post.py b/fusion/models/storage_service_post.py index 9afac98..3318354 100644 --- a/fusion/models/storage_service_post.py +++ b/fusion/models/storage_service_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/storage_service_ref.py b/fusion/models/storage_service_ref.py index 5488296..a6df611 100644 --- a/fusion/models/storage_service_ref.py +++ b/fusion/models/storage_service_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/target.py b/fusion/models/target.py index 1935555..3963ff5 100644 --- a/fusion/models/target.py +++ b/fusion/models/target.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/tenant.py b/fusion/models/tenant.py index e22177b..3149aee 100644 --- a/fusion/models/tenant.py +++ b/fusion/models/tenant.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/tenant_list.py b/fusion/models/tenant_list.py index c79c624..aaaf2e8 100644 --- a/fusion/models/tenant_list.py +++ b/fusion/models/tenant_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/tenant_patch.py b/fusion/models/tenant_patch.py index bbf3612..8b25b5a 100644 --- a/fusion/models/tenant_patch.py +++ b/fusion/models/tenant_patch.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/tenant_post.py b/fusion/models/tenant_post.py index 82f2e28..c4e2703 100644 --- a/fusion/models/tenant_post.py +++ b/fusion/models/tenant_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/tenant_ref.py b/fusion/models/tenant_ref.py index d7a9fdf..c255a7f 100644 --- a/fusion/models/tenant_ref.py +++ b/fusion/models/tenant_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/tenant_space.py b/fusion/models/tenant_space.py index 14f0284..3d15610 100644 --- a/fusion/models/tenant_space.py +++ b/fusion/models/tenant_space.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/tenant_space_list.py b/fusion/models/tenant_space_list.py index 1d056c2..0a51782 100644 --- a/fusion/models/tenant_space_list.py +++ b/fusion/models/tenant_space_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/tenant_space_patch.py b/fusion/models/tenant_space_patch.py index 70a474e..50fa675 100644 --- a/fusion/models/tenant_space_patch.py +++ b/fusion/models/tenant_space_patch.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/tenant_space_post.py b/fusion/models/tenant_space_post.py index fbab62a..78ed414 100644 --- a/fusion/models/tenant_space_post.py +++ b/fusion/models/tenant_space_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/tenant_space_ref.py b/fusion/models/tenant_space_ref.py index a4d8f4a..2477684 100644 --- a/fusion/models/tenant_space_ref.py +++ b/fusion/models/tenant_space_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/user.py b/fusion/models/user.py index 7f47ec6..21ee6fc 100644 --- a/fusion/models/user.py +++ b/fusion/models/user.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/version.py b/fusion/models/version.py index 055379a..4350987 100644 --- a/fusion/models/version.py +++ b/fusion/models/version.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/volume.py b/fusion/models/volume.py index 16badbc..6b3960c 100644 --- a/fusion/models/volume.py +++ b/fusion/models/volume.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/volume_list.py b/fusion/models/volume_list.py index 8f5052e..9a9fb43 100644 --- a/fusion/models/volume_list.py +++ b/fusion/models/volume_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/volume_patch.py b/fusion/models/volume_patch.py index 8827498..1cc5fd4 100644 --- a/fusion/models/volume_patch.py +++ b/fusion/models/volume_patch.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/volume_post.py b/fusion/models/volume_post.py index ca99b37..e9c5fb4 100644 --- a/fusion/models/volume_post.py +++ b/fusion/models/volume_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/volume_ref.py b/fusion/models/volume_ref.py index ff02b04..8cb24c0 100644 --- a/fusion/models/volume_ref.py +++ b/fusion/models/volume_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/volume_snapshot.py b/fusion/models/volume_snapshot.py index 32de52b..1305bed 100644 --- a/fusion/models/volume_snapshot.py +++ b/fusion/models/volume_snapshot.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/volume_snapshot_list.py b/fusion/models/volume_snapshot_list.py index 0182227..a453933 100644 --- a/fusion/models/volume_snapshot_list.py +++ b/fusion/models/volume_snapshot_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/models/volume_snapshot_ref.py b/fusion/models/volume_snapshot_ref.py index 27b2f2f..563c1f3 100644 --- a/fusion/models/volume_snapshot_ref.py +++ b/fusion/models/volume_snapshot_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion/rest.py b/fusion/rest.py index ee3c398..80c0186 100644 --- a/fusion/rest.py +++ b/fusion/rest.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/fusion_helpers/configuration.py b/fusion_helpers/configuration.py index e10d7e0..87ae244 100644 --- a/fusion_helpers/configuration.py +++ b/fusion_helpers/configuration.py @@ -1,19 +1,134 @@ +import os +import json +import urllib.parse +from typing import Optional, Union, TextIO, Dict +from pathlib import Path + import fusion from fusion_helpers.shared_files.token_manager import TokenManager +#Env Var Constants +ENV_API_HOST = "FUSION_API_HOST" +ENV_ISSUER_ID = "FUSION_ISSUER_ID" +ENV_PRIVATE_KEY_FILE = "FUSION_PRIVATE_KEY_FILE" +ENV_PRIVATE_KEY_PASSWORD = "FUSION_PRIVATE_KEY_PASSWORD" +ENV_ACCESS_TOKEN = "FUSION_ACCESS_TOKEN" +ENV_TOKEN_ENDPOINT = "FUSION_TOKEN_ENDPOINT" +ENV_FUSION_CONFIG = "FUSION_CONFIG" +ENV_FUSION_CONFIG_PROFILE = "FUSION_CONFIG_PROFILE" + +#Config Constants +CONFIG_API_HOST = "endpoint" +CONFIG_ISSUER_ID = "issuer_id" +CONFIG_PRIVATE_KEY_FILE = "private_pem_file" +CONFIG_PRIVATE_KEY_PASSWORD = "private_key_password" +CONFIG_ACCESS_TOKEN = "access_token" +CONFIG_TOKEN_ENDPOINT = "token_endpoint" + +# Field Constants +FUSION_CONFIG = "fusion_config" +FUSION_CONFIG_PROFILE = "fusion_config_profile" +TOKEN_ENDPOINT = "token_endpoint" +ACCESS_TOKEN = "access_token" +ISSUER_ID = "issuer_id" +PRIVATE_KEY_FILE = "private_key_file" +PRIVATE_KEY_PASSWORD = "private_key_password" +API_HOST = "host" + +DEFAULT_CONFIG = { + TOKEN_ENDPOINT: "https://api.pure1.purestorage.com/oauth2/1.0/token", + ACCESS_TOKEN: "", + ISSUER_ID: "", + PRIVATE_KEY_FILE: "", + PRIVATE_KEY_PASSWORD: "", + API_HOST: "", +} + +DEFAULT_CONFIG_FILE = "~/.pure/fusion.json" + + +# Hack for broken __call__ on TypeWithDefault class (disable weird "singleton"-like behavior) +fusion.configuration.TypeWithDefault.__call__ = type.__call__ + + class Configuration(fusion.configuration.Configuration): - def __init__(self): - self.token_endpoint = 'https://api.pure1.purestorage.com/oauth2/1.0/token' - self._external_access_token = '' - self._token_man = None + __slots__ = ( + "_token_man", "host", "_external_access_token", "token_endpoint", + "issuer_id", "private_key_file", "private_key_password", + ) + + def __init__( + self, + api_host: Optional[str] = None, + access_token: Optional[str] = None, + issuer_id: Optional[str] = None, + private_key_file: Optional[str] = None, + private_key_password: Optional[str] = None, + token_endpoint: Optional[str] = None, + fusion_config: Optional[Union[str, os.PathLike, TextIO]] = None, + fusion_config_profile: Optional[str] = None, + ): + self._token_man: Optional[TokenManager] = None + self._external_access_token = "" + self.token_endpoint = "" self.issuer_id = "" self.private_key_file = "" self.private_key_password = "" super().__init__() + input_config = Configuration._clean_and_validate({ + API_HOST: api_host, + ISSUER_ID: issuer_id, + PRIVATE_KEY_FILE: private_key_file, + PRIVATE_KEY_PASSWORD: private_key_password, + ACCESS_TOKEN: access_token, + TOKEN_ENDPOINT: token_endpoint, + }) + + env_config = Configuration.from_env() + profile = fusion_config_profile or env_config.get(FUSION_CONFIG_PROFILE) + + file_config = {} + if isinstance(fusion_config, (str, os.PathLike, Path)): + file_config = Configuration.from_filepath(fusion_config, profile) + elif fusion_config is not None: + file_config = Configuration.from_file(fusion_config, profile) + elif env_config.get(FUSION_CONFIG) is not None: + file_config = Configuration.from_filepath(env_config.get(FUSION_CONFIG), profile) + else: + try: + file_config = Configuration.from_filepath(DEFAULT_CONFIG_FILE, profile) + except Exception: + pass + + config = DEFAULT_CONFIG.copy() + config = Configuration.merge(config, file_config) + config = Configuration.merge(config, env_config) + config = Configuration.merge(config, input_config) + self.set_from_dict(config) + + def set_from_dict(self, config_dict: Dict[str, Optional[str]]): + """ + Create configuration values from dict. + + Args: + config_dict (dict): The configuration dictionary. + """ + for key, value in config_dict.items(): + if key in (FUSION_CONFIG, FUSION_CONFIG_PROFILE): + continue + if key not in DEFAULT_CONFIG: + raise ValueError(f"Invalid config parameter - '{key}'") + if key == ACCESS_TOKEN: + self._external_access_token = value + continue + if key == API_HOST and value is not None and not Configuration._url_contains_version(value): + value = urllib.parse.urljoin(value, "api/v1") + setattr(self, key, "" if value is None else value) + @property def access_token(self): if self._external_access_token: @@ -37,3 +152,177 @@ def access_token(self, token): if self._external_access_token != '': print('WARN: set overwriting access_token from external source') self._external_access_token = token + + @staticmethod + def from_dict(config_dict: Dict[str, Optional[str]]) -> "Configuration": + """ + Create a configuration from configuration dictionary. + + Args: + config_dict (dict): The configuration dictionary. + + Returns: + Configuration + """ + configuration = Configuration.__new__(Configuration) + fusion.Configuration.__init__(configuration) + configuration.set_from_dict(config_dict) + + return configuration + + @staticmethod + def merge(config_dict1: Dict[str, Optional[str]], config_dict2: Dict[str, Optional[str]]) -> Dict[str, Optional[str]]: + """ + Merge two config dicts together. The second config dict has a higher priority. + Both configurations are supposed to be flat dictionaries without nested structures. + + Args: + config_dict1 (dict): The configuration dictionary. + config_dict2 (dict): The configuration dictionary. + + Returns: + dict + """ + res = config_dict1.copy() + + if ISSUER_ID in config_dict2 and ACCESS_TOKEN in res: + res[ACCESS_TOKEN] = "" + + res.update(config_dict2) + return res + + @staticmethod + def from_env() -> Dict[str, Optional[str]]: + """ + Create a configuration dict from env variables. If the config env var is provided, it will load + this config as well, with lower priority than the rest of env vars. + + Returns: + dict + + Raises: + FileNotFoundError: If the configuration path does not reference a file. + ValueError: If the configuration has a wrong format. + """ + return Configuration._clean_and_validate({ + API_HOST: os.getenv(ENV_API_HOST), + ISSUER_ID: os.getenv(ENV_ISSUER_ID), + PRIVATE_KEY_FILE: os.getenv(ENV_PRIVATE_KEY_FILE), + PRIVATE_KEY_PASSWORD: os.getenv(ENV_PRIVATE_KEY_PASSWORD), + ACCESS_TOKEN: os.getenv(ENV_ACCESS_TOKEN), + TOKEN_ENDPOINT: os.getenv(ENV_TOKEN_ENDPOINT), + FUSION_CONFIG: os.getenv(ENV_FUSION_CONFIG), + FUSION_CONFIG_PROFILE: os.getenv(ENV_FUSION_CONFIG_PROFILE), + }) + + @staticmethod + def from_filepath(path: Union[str, os.PathLike, Path], profile: Optional[str]=None) -> Dict[str, str]: + """ + Create a configuration dictionary from a config filepath. + + Args: + path (Union[str, os.PathLike, Path]): The path to the configuration file. + profile (Optional[str]): The profile to load configuration from. If `None`, + the profile is read from the `default_profile` field in the configuration. + + Returns: + dict + + Raises: + FileNotFoundError: If the configuration path does not reference a file. + ValueError: If the configuration has a wrong format. + """ + path = Path(path).expanduser() + if not path.is_file(): + raise FileNotFoundError(f"'{path}' is not a file") + + with open(str(path), mode="r") as file: + return Configuration.from_file(file, profile) + + @staticmethod + def from_file(file: TextIO, profile: Optional[str]=None) -> Dict[str, str]: + """ + Create a configuration dictionary from a config file. + + Args: + file (TextIO): The configuration file. + profile (Optional[str]): The profile to load configuration from. If `None`, + the profile is read from the `default_profile` field in the configuration. + + Returns: + dict + + Raises: + FileNotFoundError: If the configuration path does not reference a file. + ValueError: If the configuration has a wrong format. + """ + config = json.load(file) + + if profile is None: + if "default_profile" not in config: + raise ValueError("Invalid configuration file format - missing the 'default_profile' field") + profile = config["default_profile"] + + if not isinstance(profile, str): + raise ValueError(f"Expected selected 'profile' to be a string, got {type(profile)}") + + if "profiles" not in config: + raise ValueError("Invalid configuration file format - missing the 'profiles' field") + + profiles = config["profiles"] + if not isinstance(profiles, dict): + raise ValueError(f"Invalid configuration profiles - expected 'profiles' to be a dict, got {type(profiles)}") + if profile not in profiles: + raise ValueError(f"Invalid configuration profile - cannot find profile '{profile}'") + + profile_config = profiles[profile] + if not isinstance(profile_config, dict): + raise ValueError(f"Invalid configuration profiles - expected selected 'profile' to be a dict, got {type(profile_config)}") + + if "auth" not in profile_config: + raise ValueError(f"Invalid configuration profile - cannot find 'auth'") + auth = profile_config["auth"] + if not isinstance(auth, dict): + raise ValueError(f"Invalid configuration profiles - expected 'auth' to be a dict, got {type(auth)}") + + return Configuration._clean_and_validate({ + API_HOST: profile_config.get(CONFIG_API_HOST), + ISSUER_ID: auth.get(CONFIG_ISSUER_ID), + PRIVATE_KEY_FILE: auth.get(CONFIG_PRIVATE_KEY_FILE), + PRIVATE_KEY_PASSWORD: auth.get(CONFIG_PRIVATE_KEY_PASSWORD), + ACCESS_TOKEN: auth.get(CONFIG_ACCESS_TOKEN), + TOKEN_ENDPOINT: auth.get(CONFIG_TOKEN_ENDPOINT), + }) + + @staticmethod + def _clean_and_validate(config_dict: Dict[str, Optional[str]]) -> Dict[str, str]: + return_dict = {} + for key, value in config_dict.items(): + if value is None: + continue + if not isinstance(value, str): + raise ValueError(f"Got unexpected type '{type(value)}' of the configuration key {key}, value {value}") + return_dict[key] = value + return return_dict + + @staticmethod + def _is_version_number(string: str) -> bool: + if len(string) == 0: + return False + + try: + float(string) + return True + except ValueError: + return string[0] == "v" and string[1:].isnumeric() + + @staticmethod + def _url_contains_version(url: str) -> bool: + parts = url.split("/") + if len(parts) < 2: + return False + if parts[-2] == "api": + return Configuration._is_version_number(parts[-1]) + if len(parts) > 2 and parts[-3] == "api" and parts[-1] == "": + return Configuration._is_version_number(parts[-2]) + return False diff --git a/helper_tests/test_configuration.py b/helper_tests/test_configuration.py new file mode 100644 index 0000000..50f7238 --- /dev/null +++ b/helper_tests/test_configuration.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Pure Fusion API +""" + +from __future__ import absolute_import + +import unittest +import io + +from fusion import Configuration + + +valid_input_configs = [ + """ + { + "default_profile": "my_profile", + "profiles": {"my_profile": {"auth": {"issuer_id": "issuer1", "private_pem_file": "pkey1"}, "endpoint": "http://localhost:8080", "env": "pure1stg"}} + } + """, + """ + { + "default_profile": "my_profile2", + "profiles": { + "my_profile": {"auth": {"issuer_id": "issuer1", "private_pem_file": "pkey1"}, "endpoint": "http://localhost:8080", "env": "pure1stg"}, + "my_profile2": {"auth": {"access_token": "token", "private_pem_file": "pkey2", "private_key_password": "pass"}, "endpoint": "http://localhost:8081", "env": "pure1stg"} + } + } + """, + """ + { + "default_profile": "my_profile2", + "profiles": { + "my_profile": {"auth": {"issuer_id": "issuer1", "private_pem_file": "pkey1"}, "endpoint": "http://localhost:8080", "env": "pure1stg"}, + "my_profile2": {"auth": {"issuer_id": "issuer2", "private_pem_file": "pkey2"}, "endpoint": "http://localhost:8081", "env": "pure1stg"} + } + } + """, + """ + { + "default_profile": "my_profile", + "profiles": { + "my_profile": {"auth": {"access_token": "token", "private_pem_file": "pkey1", "token_endpoint": "token_endpoint:8000"}, "endpoint": "http://localhost:8080", "env": "pure1stg"} + } + } + """ +] + +valid_input_profiles = [None, None, "my_profile", None] + +valid_expected = [ + { + "issuer_id": "issuer1", + "private_key_file": "pkey1", + "host": "http://localhost:8080/api/v1", + "token_endpoint": "https://api.pure1.purestorage.com/oauth2/1.0/token", + "_external_access_token": "", + }, + { + "private_key_file": "pkey2", + "private_key_password": "pass", + "host": "http://localhost:8081/api/v1", + "token_endpoint": "https://api.pure1.purestorage.com/oauth2/1.0/token", + "_external_access_token": "token", + }, + { + "issuer_id": "issuer1", + "private_key_file": "pkey1", + "host": "http://localhost:8080/api/v1", + "token_endpoint": "https://api.pure1.purestorage.com/oauth2/1.0/token", + "_external_access_token": "", + }, + { + "private_key_file": "pkey1", + "host": "http://localhost:8080/api/v1", + "token_endpoint": "token_endpoint:8000", + "access_token": "token", + }, +] + + +invalid_input_configs = [ + '{}', + '{"default_profile": {}}', + '{}', + '{"profiles": "abc"}', + '{"profiles": {}}', + '{"profiles": {"my_profile": "abc"}}', + '{"profiles": {"my_profile": {}}}', + '{"profiles": {"my_profile": {"auth": "abc"}}}', +] + +invalid_input_profiles = [None, None, "my_profile", "my_profile", "my_profile"] + +invalid_expected = [ + (ValueError, "Invalid configuration file format - missing the 'default_profile' field"), + (ValueError, "Expected selected 'profile' to be a string, got "), + (ValueError, "Invalid configuration file format - missing the 'profiles' field"), + (ValueError, "Invalid configuration profiles - expected 'profiles' to be a dict, got "), + (ValueError, "Invalid configuration profile - cannot find profile 'my_profile'"), + (ValueError, "Invalid configuration profiles - expected 'profiles' to be a dict, got "), + (ValueError, "Invalid configuration profiles - expected selected 'profile' to be a dict, got "), + (ValueError, "Invalid configuration profiles - cannot find 'auth'"), + (ValueError, "Invalid configuration profiles - expected 'auth' to be a dict, got "), +] + + +class TestConfiguration(unittest.TestCase): + """Configuration unit tests""" + + def test_valid_configuration(self): + """Test case for getting valid configuration""" + for expected, config, profile in zip(valid_expected, valid_input_configs, valid_input_profiles): + file = io.StringIO(config) + configuration = Configuration(fusion_config=file, fusion_config_profile=profile) + + for key, expected_value in expected.items(): + self.assertEqual(expected_value, getattr(configuration, key)) + + def test_get_placement_recommendation(self): + """Test case for getting invalid configuration""" + for (expected_type, expected_msg), config, profile in zip(invalid_expected, invalid_input_configs, invalid_input_profiles): + file = io.StringIO(config) + + with self.assertRaises(expected_type) as ctx: + Configuration(fusion_config=file, fusion_config_profile=profile) + self.assertEqual(expected_msg, str(ctx.exception)) + + def test_url_contains_version(self): + """Test case for testing url contains version""" + test_cases = [ + ("x/api/v1", True), + ("x/api/v1/", True), + ("api/v1/", True), + ("api/v1", True), + ("api/1.0/", True), + ("api/1.0", True), + ("x/api/vabc", False), + ("x/api/vabc/", False), + ("api/1.0/abc", False), + ("abc/1.0", False), + ] + + for url, expected in test_cases: + self.assertEqual(expected, Configuration._url_contains_version(url)) + + +if __name__ == '__main__': + unittest.main() diff --git a/setup.py b/setup.py index fd13cc4..c260d3e 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -13,7 +13,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "purefusion" -VERSION = "1.1.1" +VERSION = "1.2.0" # To install the library, run the following # # python setup.py install diff --git a/sha b/sha index 221e34d..a7e716f 100644 --- a/sha +++ b/sha @@ -1 +1 @@ -27ea591b4bbc6a7d097bd104b53b6b53b247f8b3 /go/src/purestorage.com/harbormaster/api/generated/generated_spec.yaml +f936d7bb91a118a07de2f3ec949c51e765da2a5e /go/src/purestorage.com/harbormaster/api/generated/generated_spec.yaml diff --git a/test/test_api_client.py b/test/test_api_client.py index 41c9212..7b51543 100644 --- a/test/test_api_client.py +++ b/test/test_api_client.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_api_client_post.py b/test/test_api_client_post.py index a6694c3..a725265 100644 --- a/test/test_api_client_post.py +++ b/test/test_api_client_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_array.py b/test/test_array.py index 4d57502..0af1430 100644 --- a/test/test_array.py +++ b/test/test_array.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_array_list.py b/test/test_array_list.py index 134352e..6d6266f 100644 --- a/test/test_array_list.py +++ b/test/test_array_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_array_patch.py b/test/test_array_patch.py index 9dd25f7..1353805 100644 --- a/test/test_array_patch.py +++ b/test/test_array_patch.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_array_post.py b/test/test_array_post.py index 8fae258..93d138b 100644 --- a/test/test_array_post.py +++ b/test/test_array_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_array_ref.py b/test/test_array_ref.py index 9248282..1d31f72 100644 --- a/test/test_array_ref.py +++ b/test/test_array_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_arrays_api.py b/test/test_arrays_api.py index 403b6e8..677db42 100644 --- a/test/test_arrays_api.py +++ b/test/test_arrays_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_availability_zone.py b/test/test_availability_zone.py index 96a122c..7d593ad 100644 --- a/test/test_availability_zone.py +++ b/test/test_availability_zone.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_availability_zone_list.py b/test/test_availability_zone_list.py index 48af7f3..1fe770e 100644 --- a/test/test_availability_zone_list.py +++ b/test/test_availability_zone_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_availability_zone_post.py b/test/test_availability_zone_post.py index 9af5714..53b06d8 100644 --- a/test/test_availability_zone_post.py +++ b/test/test_availability_zone_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_availability_zone_ref.py b/test/test_availability_zone_ref.py index 035f73f..b46ea02 100644 --- a/test/test_availability_zone_ref.py +++ b/test/test_availability_zone_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_availability_zones_api.py b/test/test_availability_zones_api.py index a9ac6ec..7067085 100644 --- a/test/test_availability_zones_api.py +++ b/test/test_availability_zones_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_default_api.py b/test/test_default_api.py index f6ce485..e6daca7 100644 --- a/test/test_default_api.py +++ b/test/test_default_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_error.py b/test/test_error.py index 31204ef..2bdff68 100644 --- a/test/test_error.py +++ b/test/test_error.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_error_response.py b/test/test_error_response.py index d9a0d2e..c821040 100644 --- a/test/test_error_response.py +++ b/test/test_error_response.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_hardware_type.py b/test/test_hardware_type.py index b67e647..641370b 100644 --- a/test/test_hardware_type.py +++ b/test/test_hardware_type.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_hardware_type_list.py b/test/test_hardware_type_list.py index e6617d7..2891ddd 100644 --- a/test/test_hardware_type_list.py +++ b/test/test_hardware_type_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_hardware_type_ref.py b/test/test_hardware_type_ref.py index 105cfd1..b18a062 100644 --- a/test/test_hardware_type_ref.py +++ b/test/test_hardware_type_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_hardware_types_api.py b/test/test_hardware_types_api.py index f8a87f7..a792cda 100644 --- a/test/test_hardware_types_api.py +++ b/test/test_hardware_types_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_host_access_policies_api.py b/test/test_host_access_policies_api.py index b738275..2134d1f 100644 --- a/test/test_host_access_policies_api.py +++ b/test/test_host_access_policies_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_host_access_policies_post.py b/test/test_host_access_policies_post.py index 9f38f2e..d64e331 100644 --- a/test/test_host_access_policies_post.py +++ b/test/test_host_access_policies_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_host_access_policy.py b/test/test_host_access_policy.py index 2cc1fa7..df08e5b 100644 --- a/test/test_host_access_policy.py +++ b/test/test_host_access_policy.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_host_access_policy_list.py b/test/test_host_access_policy_list.py index 92cd242..400532d 100644 --- a/test/test_host_access_policy_list.py +++ b/test/test_host_access_policy_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_host_access_policy_ref.py b/test/test_host_access_policy_ref.py index fa6af1b..cfc2454 100644 --- a/test/test_host_access_policy_ref.py +++ b/test/test_host_access_policy_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_identity_manager_api.py b/test/test_identity_manager_api.py index fd20ef5..1db228c 100644 --- a/test/test_identity_manager_api.py +++ b/test/test_identity_manager_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_iscsi.py b/test/test_iscsi.py index 8a1a722..baeae5a 100644 --- a/test/test_iscsi.py +++ b/test/test_iscsi.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_list_response_fields.py b/test/test_list_response_fields.py index 5bb4934..0626859 100644 --- a/test/test_list_response_fields.py +++ b/test/test_list_response_fields.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_network_interface.py b/test/test_network_interface.py index fd639c4..c55e14b 100644 --- a/test/test_network_interface.py +++ b/test/test_network_interface.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_network_interface_eth.py b/test/test_network_interface_eth.py index 2c5b7b1..9795ca0 100644 --- a/test/test_network_interface_eth.py +++ b/test/test_network_interface_eth.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_network_interface_fc.py b/test/test_network_interface_fc.py index 65c521a..159b758 100644 --- a/test/test_network_interface_fc.py +++ b/test/test_network_interface_fc.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_network_interface_group.py b/test/test_network_interface_group.py index 701fe87..e2684e4 100644 --- a/test/test_network_interface_group.py +++ b/test/test_network_interface_group.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_network_interface_group_eth.py b/test/test_network_interface_group_eth.py index a11fd67..4e2b548 100644 --- a/test/test_network_interface_group_eth.py +++ b/test/test_network_interface_group_eth.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_network_interface_group_eth_post.py b/test/test_network_interface_group_eth_post.py index 40d3110..e1b0029 100644 --- a/test/test_network_interface_group_eth_post.py +++ b/test/test_network_interface_group_eth_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_network_interface_group_list.py b/test/test_network_interface_group_list.py index d8c96b3..2f51e7f 100644 --- a/test/test_network_interface_group_list.py +++ b/test/test_network_interface_group_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_network_interface_group_patch.py b/test/test_network_interface_group_patch.py index 4e74e00..62c2967 100644 --- a/test/test_network_interface_group_patch.py +++ b/test/test_network_interface_group_patch.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_network_interface_group_post.py b/test/test_network_interface_group_post.py index 8bf4e37..60519e3 100644 --- a/test/test_network_interface_group_post.py +++ b/test/test_network_interface_group_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_network_interface_group_ref.py b/test/test_network_interface_group_ref.py index 17a4860..9688df2 100644 --- a/test/test_network_interface_group_ref.py +++ b/test/test_network_interface_group_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_network_interface_groups_api.py b/test/test_network_interface_groups_api.py index e1fec9e..e8a7833 100644 --- a/test/test_network_interface_groups_api.py +++ b/test/test_network_interface_groups_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_network_interface_list.py b/test/test_network_interface_list.py index e4e97fa..0219d39 100644 --- a/test/test_network_interface_list.py +++ b/test/test_network_interface_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_network_interface_patch.py b/test/test_network_interface_patch.py index 259232c..f042d8a 100644 --- a/test/test_network_interface_patch.py +++ b/test/test_network_interface_patch.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_network_interface_patch_eth.py b/test/test_network_interface_patch_eth.py index 0ec1911..a33ed8e 100644 --- a/test/test_network_interface_patch_eth.py +++ b/test/test_network_interface_patch_eth.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_network_interface_ref.py b/test/test_network_interface_ref.py index 7e47de7..7d94c46 100644 --- a/test/test_network_interface_ref.py +++ b/test/test_network_interface_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_network_interfaces_api.py b/test/test_network_interfaces_api.py index e948b52..28ce709 100644 --- a/test/test_network_interfaces_api.py +++ b/test/test_network_interfaces_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_nullable_boolean.py b/test/test_nullable_boolean.py index a8b3ef2..9f2340e 100644 --- a/test/test_nullable_boolean.py +++ b/test/test_nullable_boolean.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_nullable_size.py b/test/test_nullable_size.py index eaad65e..f26d754 100644 --- a/test/test_nullable_size.py +++ b/test/test_nullable_size.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_nullable_string.py b/test/test_nullable_string.py index c9577d6..6769109 100644 --- a/test/test_nullable_string.py +++ b/test/test_nullable_string.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_nullable_string_array.py b/test/test_nullable_string_array.py index 20c8f7b..0736863 100644 --- a/test/test_nullable_string_array.py +++ b/test/test_nullable_string_array.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_one_of_protection_policy_objectives_items.py b/test/test_one_of_protection_policy_objectives_items.py index 388b899..065669a 100644 --- a/test/test_one_of_protection_policy_objectives_items.py +++ b/test/test_one_of_protection_policy_objectives_items.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_one_of_protection_policy_post_objectives_items.py b/test/test_one_of_protection_policy_post_objectives_items.py index adf1dba..b5dd4c5 100644 --- a/test/test_one_of_protection_policy_post_objectives_items.py +++ b/test/test_one_of_protection_policy_post_objectives_items.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_operation.py b/test/test_operation.py index e7f2db3..7bef1ef 100644 --- a/test/test_operation.py +++ b/test/test_operation.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_operation_list.py b/test/test_operation_list.py index 9f0c1b4..9657a84 100644 --- a/test/test_operation_list.py +++ b/test/test_operation_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_operation_request.py b/test/test_operation_request.py index dfd9da0..554420b 100644 --- a/test/test_operation_request.py +++ b/test/test_operation_request.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_operation_result.py b/test/test_operation_result.py index f1bc630..0fd5f70 100644 --- a/test/test_operation_result.py +++ b/test/test_operation_result.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_operation_state.py b/test/test_operation_state.py index 1bb4778..6359e7a 100644 --- a/test/test_operation_state.py +++ b/test/test_operation_state.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_operations_api.py b/test/test_operations_api.py index 2c9b053..26e28bf 100644 --- a/test/test_operations_api.py +++ b/test/test_operations_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_performance.py b/test/test_performance.py index e834a28..4b75a7c 100644 --- a/test/test_performance.py +++ b/test/test_performance.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_placement_engine.py b/test/test_placement_engine.py index 465c4e3..f6221a2 100644 --- a/test/test_placement_engine.py +++ b/test/test_placement_engine.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_placement_group.py b/test/test_placement_group.py index 04cc37c..802eb63 100644 --- a/test/test_placement_group.py +++ b/test/test_placement_group.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_placement_group_list.py b/test/test_placement_group_list.py index bdd5867..a9a12ca 100644 --- a/test/test_placement_group_list.py +++ b/test/test_placement_group_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_placement_group_patch.py b/test/test_placement_group_patch.py index 74566f0..42ac9ac 100644 --- a/test/test_placement_group_patch.py +++ b/test/test_placement_group_patch.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_placement_group_post.py b/test/test_placement_group_post.py index 7fb98a1..6233045 100644 --- a/test/test_placement_group_post.py +++ b/test/test_placement_group_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_placement_group_ref.py b/test/test_placement_group_ref.py index c5c20a3..aa74814 100644 --- a/test/test_placement_group_ref.py +++ b/test/test_placement_group_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_placement_groups_api.py b/test/test_placement_groups_api.py index 9a3b089..fd2887f 100644 --- a/test/test_placement_groups_api.py +++ b/test/test_placement_groups_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_placement_recommendation.py b/test/test_placement_recommendation.py index 43da159..ab1be49 100644 --- a/test/test_placement_recommendation.py +++ b/test/test_placement_recommendation.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_placement_recommendation_excluded_array.py b/test/test_placement_recommendation_excluded_array.py index 454bca2..50bb7c9 100644 --- a/test/test_placement_recommendation_excluded_array.py +++ b/test/test_placement_recommendation_excluded_array.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_placement_recommendation_included_array.py b/test/test_placement_recommendation_included_array.py index 7d3d6f0..c2e99c1 100644 --- a/test/test_placement_recommendation_included_array.py +++ b/test/test_placement_recommendation_included_array.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_placement_recommendation_post.py b/test/test_placement_recommendation_post.py index 4d22588..d0a128e 100644 --- a/test/test_placement_recommendation_post.py +++ b/test/test_placement_recommendation_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_protection_policies_api.py b/test/test_protection_policies_api.py index 62ec6e3..e4adba7 100644 --- a/test/test_protection_policies_api.py +++ b/test/test_protection_policies_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_protection_policy.py b/test/test_protection_policy.py index 3c5d517..51e5fcd 100644 --- a/test/test_protection_policy.py +++ b/test/test_protection_policy.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_protection_policy_list.py b/test/test_protection_policy_list.py index de89151..5dd2f74 100644 --- a/test/test_protection_policy_list.py +++ b/test/test_protection_policy_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_protection_policy_objective_type.py b/test/test_protection_policy_objective_type.py index c46b91f..3157e62 100644 --- a/test/test_protection_policy_objective_type.py +++ b/test/test_protection_policy_objective_type.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_protection_policy_post.py b/test/test_protection_policy_post.py index f6c1268..1047296 100644 --- a/test/test_protection_policy_post.py +++ b/test/test_protection_policy_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_protection_policy_ref.py b/test/test_protection_policy_ref.py index 8e03225..8024f25 100644 --- a/test/test_protection_policy_ref.py +++ b/test/test_protection_policy_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_pure1_meta_placement_recommendation.py b/test/test_pure1_meta_placement_recommendation.py index 83df8d9..2d4ead3 100644 --- a/test/test_pure1_meta_placement_recommendation.py +++ b/test/test_pure1_meta_placement_recommendation.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_pure1_meta_placement_recommendation_load_values.py b/test/test_pure1_meta_placement_recommendation_load_values.py index bebc813..e6e8b03 100644 --- a/test/test_pure1_meta_placement_recommendation_load_values.py +++ b/test/test_pure1_meta_placement_recommendation_load_values.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_pure1_meta_placement_recommendation_objectives.py b/test/test_pure1_meta_placement_recommendation_objectives.py index 80b3436..da7a371 100644 --- a/test/test_pure1_meta_placement_recommendation_objectives.py +++ b/test/test_pure1_meta_placement_recommendation_objectives.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_pure1_meta_value.py b/test/test_pure1_meta_value.py index 56ccc4a..3370c15 100644 --- a/test/test_pure1_meta_value.py +++ b/test/test_pure1_meta_value.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_pure1_meta_value_confidence_interval.py b/test/test_pure1_meta_value_confidence_interval.py index 8d5178a..287cf09 100644 --- a/test/test_pure1_meta_value_confidence_interval.py +++ b/test/test_pure1_meta_value_confidence_interval.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_pure1_meta_warning.py b/test/test_pure1_meta_warning.py index f7464b9..e228771 100644 --- a/test/test_pure1_meta_warning.py +++ b/test/test_pure1_meta_warning.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_region.py b/test/test_region.py index 17801b0..3476c8e 100644 --- a/test/test_region.py +++ b/test/test_region.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_region_list.py b/test/test_region_list.py index 8c4805d..96faff0 100644 --- a/test/test_region_list.py +++ b/test/test_region_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_region_patch.py b/test/test_region_patch.py index 14fb671..2ef345f 100644 --- a/test/test_region_patch.py +++ b/test/test_region_patch.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_region_post.py b/test/test_region_post.py index 749c235..43dcaac 100644 --- a/test/test_region_post.py +++ b/test/test_region_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_region_ref.py b/test/test_region_ref.py index 0612a39..0206311 100644 --- a/test/test_region_ref.py +++ b/test/test_region_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_regions_api.py b/test/test_regions_api.py index 3f8aa59..cfa22eb 100644 --- a/test/test_regions_api.py +++ b/test/test_regions_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -63,6 +63,13 @@ def test_list_regions(self): """ pass + def test_query_regions(self): + """Test case for query_regions + + Get all Regions in the org. Provide a filter to search for specific Regions. # noqa: E501 + """ + pass + def test_update_region(self): """Test case for update_region diff --git a/test/test_resource_metadata.py b/test/test_resource_metadata.py index 7f5a72f..63d94ff 100644 --- a/test/test_resource_metadata.py +++ b/test/test_resource_metadata.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_resource_patch.py b/test/test_resource_patch.py index 75fa030..f447d98 100644 --- a/test/test_resource_patch.py +++ b/test/test_resource_patch.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_resource_post.py b/test/test_resource_post.py index 9071675..9da3eee 100644 --- a/test/test_resource_post.py +++ b/test/test_resource_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_resource_reference.py b/test/test_resource_reference.py index 676bb7e..6ed8baa 100644 --- a/test/test_resource_reference.py +++ b/test/test_resource_reference.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_retention.py b/test/test_retention.py index f44f8b8..b2f8a1a 100644 --- a/test/test_retention.py +++ b/test/test_retention.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_role.py b/test/test_role.py index 92d94e4..9b4891a 100644 --- a/test/test_role.py +++ b/test/test_role.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_role_assignment.py b/test/test_role_assignment.py index a728060..452a477 100644 --- a/test/test_role_assignment.py +++ b/test/test_role_assignment.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_role_assignment_post.py b/test/test_role_assignment_post.py index fe0a371..e429c33 100644 --- a/test/test_role_assignment_post.py +++ b/test/test_role_assignment_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_role_assignment_ref.py b/test/test_role_assignment_ref.py index 93d9194..bf502cb 100644 --- a/test/test_role_assignment_ref.py +++ b/test/test_role_assignment_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_role_assignments_api.py b/test/test_role_assignments_api.py index 8a9ed45..ee032d5 100644 --- a/test/test_role_assignments_api.py +++ b/test/test_role_assignments_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_role_ref.py b/test/test_role_ref.py index e70643b..1e41313 100644 --- a/test/test_role_ref.py +++ b/test/test_role_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_roles_api.py b/test/test_roles_api.py index fca4147..69cbcfb 100644 --- a/test/test_roles_api.py +++ b/test/test_roles_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_rpo.py b/test/test_rpo.py index ce036cb..2ae6a6d 100644 --- a/test/test_rpo.py +++ b/test/test_rpo.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_session.py b/test/test_session.py index a1c019d..97e21b0 100644 --- a/test/test_session.py +++ b/test/test_session.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_session_iscsi.py b/test/test_session_iscsi.py index a71fec9..c6cb140 100644 --- a/test/test_session_iscsi.py +++ b/test/test_session_iscsi.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_session_list.py b/test/test_session_list.py index 0796423..9bcf923 100644 --- a/test/test_session_list.py +++ b/test/test_session_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_simulated_placement.py b/test/test_simulated_placement.py index eebc817..dc1239a 100644 --- a/test/test_simulated_placement.py +++ b/test/test_simulated_placement.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_simulated_placement_post.py b/test/test_simulated_placement_post.py index 0eca5dc..6d030ba 100644 --- a/test/test_simulated_placement_post.py +++ b/test/test_simulated_placement_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_snapshot.py b/test/test_snapshot.py index 6065094..01cd8de 100644 --- a/test/test_snapshot.py +++ b/test/test_snapshot.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_snapshot_list.py b/test/test_snapshot_list.py index 86d89ca..1a0a57c 100644 --- a/test/test_snapshot_list.py +++ b/test/test_snapshot_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_snapshot_patch.py b/test/test_snapshot_patch.py index 8b13873..ae69c46 100644 --- a/test/test_snapshot_patch.py +++ b/test/test_snapshot_patch.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_snapshot_post.py b/test/test_snapshot_post.py index 89da417..c7e6427 100644 --- a/test/test_snapshot_post.py +++ b/test/test_snapshot_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_snapshot_ref.py b/test/test_snapshot_ref.py index a56621b..516f301 100644 --- a/test/test_snapshot_ref.py +++ b/test/test_snapshot_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_snapshots_api.py b/test/test_snapshots_api.py index 86dd13c..e6085de 100644 --- a/test/test_snapshots_api.py +++ b/test/test_snapshots_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -66,7 +66,7 @@ def test_list_snapshots(self): def test_query_snapshots(self): """Test case for query_snapshots - (Opt-in) Get all Snapshots in the org. Provide a filter to search for specific snapshots. # noqa: E501 + Get all Snapshots in the org. Provide a filter to search for specific snapshots. # noqa: E501 """ pass diff --git a/test/test_space.py b/test/test_space.py index a72f5fa..a9fc026 100644 --- a/test/test_space.py +++ b/test/test_space.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_storage_class.py b/test/test_storage_class.py index 89d91a8..eae2537 100644 --- a/test/test_storage_class.py +++ b/test/test_storage_class.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_storage_class_list.py b/test/test_storage_class_list.py index 446a8ad..63cde19 100644 --- a/test/test_storage_class_list.py +++ b/test/test_storage_class_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_storage_class_patch.py b/test/test_storage_class_patch.py index ea3f542..ac34298 100644 --- a/test/test_storage_class_patch.py +++ b/test/test_storage_class_patch.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_storage_class_post.py b/test/test_storage_class_post.py index 6d70f00..75e0169 100644 --- a/test/test_storage_class_post.py +++ b/test/test_storage_class_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_storage_class_ref.py b/test/test_storage_class_ref.py index 9525dd9..5ea480d 100644 --- a/test/test_storage_class_ref.py +++ b/test/test_storage_class_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_storage_classes_api.py b/test/test_storage_classes_api.py index 67307f1..5a067a9 100644 --- a/test/test_storage_classes_api.py +++ b/test/test_storage_classes_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_storage_endpoint.py b/test/test_storage_endpoint.py index 74cc71d..d55760c 100644 --- a/test/test_storage_endpoint.py +++ b/test/test_storage_endpoint.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_storage_endpoint_cbs_azure_iscsi.py b/test/test_storage_endpoint_cbs_azure_iscsi.py index f8337e0..6f0e9ca 100644 --- a/test/test_storage_endpoint_cbs_azure_iscsi.py +++ b/test/test_storage_endpoint_cbs_azure_iscsi.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_storage_endpoint_cbs_azure_iscsi_post.py b/test/test_storage_endpoint_cbs_azure_iscsi_post.py index 94950f2..c9114fd 100644 --- a/test/test_storage_endpoint_cbs_azure_iscsi_post.py +++ b/test/test_storage_endpoint_cbs_azure_iscsi_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_storage_endpoint_iscsi.py b/test/test_storage_endpoint_iscsi.py index 16931bb..5cadd21 100644 --- a/test/test_storage_endpoint_iscsi.py +++ b/test/test_storage_endpoint_iscsi.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_storage_endpoint_iscsi_discovery_interface.py b/test/test_storage_endpoint_iscsi_discovery_interface.py index cb9ba68..a88a9cc 100644 --- a/test/test_storage_endpoint_iscsi_discovery_interface.py +++ b/test/test_storage_endpoint_iscsi_discovery_interface.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_storage_endpoint_iscsi_discovery_interface_post.py b/test/test_storage_endpoint_iscsi_discovery_interface_post.py index 5cfb7fc..51a4fc9 100644 --- a/test/test_storage_endpoint_iscsi_discovery_interface_post.py +++ b/test/test_storage_endpoint_iscsi_discovery_interface_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_storage_endpoint_iscsi_post.py b/test/test_storage_endpoint_iscsi_post.py index cc45b82..0888486 100644 --- a/test/test_storage_endpoint_iscsi_post.py +++ b/test/test_storage_endpoint_iscsi_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_storage_endpoint_list.py b/test/test_storage_endpoint_list.py index 3f18555..860e85b 100644 --- a/test/test_storage_endpoint_list.py +++ b/test/test_storage_endpoint_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_storage_endpoint_patch.py b/test/test_storage_endpoint_patch.py index 15dbd67..74d88d7 100644 --- a/test/test_storage_endpoint_patch.py +++ b/test/test_storage_endpoint_patch.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_storage_endpoint_post.py b/test/test_storage_endpoint_post.py index 48c9378..4ed9075 100644 --- a/test/test_storage_endpoint_post.py +++ b/test/test_storage_endpoint_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_storage_endpoints_api.py b/test/test_storage_endpoints_api.py index 60a1c51..6c7ad59 100644 --- a/test/test_storage_endpoints_api.py +++ b/test/test_storage_endpoints_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_storage_service.py b/test/test_storage_service.py index 716833c..95c8350 100644 --- a/test/test_storage_service.py +++ b/test/test_storage_service.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_storage_service_list.py b/test/test_storage_service_list.py index 57df512..672f195 100644 --- a/test/test_storage_service_list.py +++ b/test/test_storage_service_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_storage_service_patch.py b/test/test_storage_service_patch.py index c5f4594..de5a343 100644 --- a/test/test_storage_service_patch.py +++ b/test/test_storage_service_patch.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_storage_service_post.py b/test/test_storage_service_post.py index c97b6f0..2daaa38 100644 --- a/test/test_storage_service_post.py +++ b/test/test_storage_service_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_storage_service_ref.py b/test/test_storage_service_ref.py index 0c40011..fd1302b 100644 --- a/test/test_storage_service_ref.py +++ b/test/test_storage_service_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_storage_services_api.py b/test/test_storage_services_api.py index db4dcda..df37f28 100644 --- a/test/test_storage_services_api.py +++ b/test/test_storage_services_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_target.py b/test/test_target.py index 869fd87..d332802 100644 --- a/test/test_target.py +++ b/test/test_target.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_tenant.py b/test/test_tenant.py index 98810f8..1f80bf6 100644 --- a/test/test_tenant.py +++ b/test/test_tenant.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_tenant_list.py b/test/test_tenant_list.py index 674ceb8..7b5d2bc 100644 --- a/test/test_tenant_list.py +++ b/test/test_tenant_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_tenant_patch.py b/test/test_tenant_patch.py index 0da15db..6fd24f1 100644 --- a/test/test_tenant_patch.py +++ b/test/test_tenant_patch.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_tenant_post.py b/test/test_tenant_post.py index 42e596c..2b8658f 100644 --- a/test/test_tenant_post.py +++ b/test/test_tenant_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_tenant_ref.py b/test/test_tenant_ref.py index b7b6ed0..abb4847 100644 --- a/test/test_tenant_ref.py +++ b/test/test_tenant_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_tenant_space.py b/test/test_tenant_space.py index 715361d..dc17ab1 100644 --- a/test/test_tenant_space.py +++ b/test/test_tenant_space.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_tenant_space_list.py b/test/test_tenant_space_list.py index 3ba062a..9f78195 100644 --- a/test/test_tenant_space_list.py +++ b/test/test_tenant_space_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_tenant_space_patch.py b/test/test_tenant_space_patch.py index 2642632..a2bffe5 100644 --- a/test/test_tenant_space_patch.py +++ b/test/test_tenant_space_patch.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_tenant_space_post.py b/test/test_tenant_space_post.py index e4c9d68..baa78db 100644 --- a/test/test_tenant_space_post.py +++ b/test/test_tenant_space_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_tenant_space_ref.py b/test/test_tenant_space_ref.py index 06e1335..97d20de 100644 --- a/test/test_tenant_space_ref.py +++ b/test/test_tenant_space_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_tenant_spaces_api.py b/test/test_tenant_spaces_api.py index 06d73c4..26bba2b 100644 --- a/test/test_tenant_spaces_api.py +++ b/test/test_tenant_spaces_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -80,7 +80,7 @@ def test_list_tenant_spaces(self): def test_query_tenant_spaces(self): """Test case for query_tenant_spaces - (Opt-in) Get all Tenant Spaces in the org. Provide a filter to search for specific Tenant Spaces # noqa: E501 + Get all Tenant Spaces in the org. Provide a filter to search for specific Tenant Spaces # noqa: E501 """ pass diff --git a/test/test_tenants_api.py b/test/test_tenants_api.py index ba8d239..2e5f76e 100644 --- a/test/test_tenants_api.py +++ b/test/test_tenants_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -77,6 +77,13 @@ def test_list_tenants(self): """ pass + def test_query_tenants(self): + """Test case for query_tenants + + Get all Tenants in the org. Provide a filter to search for specific Tenants. # noqa: E501 + """ + pass + def test_update_tenant(self): """Test case for update_tenant diff --git a/test/test_user.py b/test/test_user.py index fa0caa0..9cc633f 100644 --- a/test/test_user.py +++ b/test/test_user.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_version.py b/test/test_version.py index f1369ee..3b0df9a 100644 --- a/test/test_version.py +++ b/test/test_version.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_volume.py b/test/test_volume.py index 2e9bbcf..3f074f9 100644 --- a/test/test_volume.py +++ b/test/test_volume.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_volume_list.py b/test/test_volume_list.py index 03ca641..27ef191 100644 --- a/test/test_volume_list.py +++ b/test/test_volume_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_volume_patch.py b/test/test_volume_patch.py index 461bca2..14f0828 100644 --- a/test/test_volume_patch.py +++ b/test/test_volume_patch.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_volume_post.py b/test/test_volume_post.py index c5451bf..01e8a8c 100644 --- a/test/test_volume_post.py +++ b/test/test_volume_post.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_volume_ref.py b/test/test_volume_ref.py index 0a23f8d..535346e 100644 --- a/test/test_volume_ref.py +++ b/test/test_volume_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_volume_snapshot.py b/test/test_volume_snapshot.py index c6945ca..0e27b6e 100644 --- a/test/test_volume_snapshot.py +++ b/test/test_volume_snapshot.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_volume_snapshot_list.py b/test/test_volume_snapshot_list.py index e34bcbb..e38a093 100644 --- a/test/test_volume_snapshot_list.py +++ b/test/test_volume_snapshot_list.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_volume_snapshot_ref.py b/test/test_volume_snapshot_ref.py index 5f6509b..b451583 100644 --- a/test/test_volume_snapshot_ref.py +++ b/test/test_volume_snapshot_ref.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/test/test_volume_snapshots_api.py b/test/test_volume_snapshots_api.py index 04a8e94..6bed8e4 100644 --- a/test/test_volume_snapshots_api.py +++ b/test/test_volume_snapshots_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,7 +31,7 @@ def tearDown(self): def test_query_volume_snapshots(self): """Test case for query_volume_snapshots - (Opt-in) Get all Volume Snapshots in the org. Provide a filter to search for specific volume snapshots. # noqa: E501 + Get all Volume Snapshots in the org. Provide a filter to search for specific volume snapshots. # noqa: E501 """ pass diff --git a/test/test_volumes_api.py b/test/test_volumes_api.py index 9215745..891ac77 100644 --- a/test/test_volumes_api.py +++ b/test/test_volumes_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -80,7 +80,7 @@ def test_list_volumes(self): def test_query_volumes(self): """Test case for query_volumes - (Opt-in) Get all Volumes in the org. Provide a filter to search for specific volumes. # noqa: E501 + Get all Volumes in the org. Provide a filter to search for specific volumes. # noqa: E501 """ pass diff --git a/test/test_workload_planner_api.py b/test/test_workload_planner_api.py index 1d75a3a..6aa3649 100644 --- a/test/test_workload_planner_api.py +++ b/test/test_workload_planner_api.py @@ -5,7 +5,7 @@ Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\". # noqa: E501 - OpenAPI spec version: 1.1 + OpenAPI spec version: 1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """