You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exchanges an ID Token for an OAuth 2.0 access token.
410
391
411
392
:param grant_type: The method by which the access token will be obtained. The Pure Storage REST API supports the OAuth 2.0 \\\"token exchange\\\" grant type, which indicates that a token exchange is being performed. Set `grant_type` to `urn:ietf:params:oauth:grant-type:token-exchange`. (required)
volume_names: Annotated[Optional[conlist(StrictStr)], Field(description="Performs the operation on the volume specified. Enter multiple names in comma-separated format. For example, `vol01,vol02`. A request cannot include a mix of multiple objects with multiple names. For example, a request cannot include a mix of multiple volume names and host names; instead, at least one of the objects (e.g., `volume_names`) must be set to only one name (e.g., `vol01`).")] =None,
54
55
**kwargs
55
56
) ->ApiResponse: # noqa: E501
56
-
"""Break a connection between a volume and its host or host group # noqa: E501
57
-
58
-
Break the connection between a volume and its associated host or host group. The `volume_names` and `host_names` or `host_group_names` query parameters are required. # noqa: E501
59
-
This method makes a synchronous HTTP request by default. To make an
Break the connection between a volume and its associated host or host group. The `volume_names` and `host_names` or `host_group_names` query parameters are required.
64
60
65
61
:param authorization: Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)
volume_names: Annotated[Optional[conlist(StrictStr)], Field(description="Performs the operation on the volume specified. Enter multiple names in comma-separated format. For example, `vol01,vol02`. A request cannot include a mix of multiple objects with multiple names. For example, a request cannot include a mix of multiple volume names and host names; instead, at least one of the objects (e.g., `volume_names`) must be set to only one name (e.g., `vol01`).")] =None,
198
194
**kwargs
199
195
) ->ApiResponse: # noqa: E501
200
-
"""List volume connections # noqa: E501
196
+
"""List volume connections
201
197
202
-
Return a list of connections between a volume and its hosts and host groups, and the LUNs used by the associated hosts to address these volumes. # noqa: E501
203
-
This method makes a synchronous HTTP request by default. To make an
"""Create a connection between a volume and host or host group # noqa: E501
384
-
385
-
Create a connection between a volume and a host or host group. The `volume_names` and `host_names` or `host_group_names` query parameters are required. # noqa: E501
386
-
This method makes a synchronous HTTP request by default. To make an
Create a connection between a volume and a host or host group. The `volume_names` and `host_names` or `host_group_names` query parameters are required.
391
377
392
378
:param authorization: Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)
names: Annotated[Optional[conlist(StrictStr)], Field(description="Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`.")] =None,
55
56
**kwargs
56
57
) ->ApiResponse: # noqa: E501
57
-
"""Delete a host group # noqa: E501
58
-
59
-
Delete a host group. The `names` query parameter is required. # noqa: E501
60
-
This method makes a synchronous HTTP request by default. To make an
total_item_count: Annotated[Optional[StrictBool], Field(description="If set to `true`, the `total_item_count` matching the specified query parameters is calculated and returned in the response. If set to `false`, the `total_item_count` is `null` in the response. This may speed up queries where the `total_item_count` is large. If not specified, defaults to `false`.")] =None,
182
178
**kwargs
183
179
) ->ApiResponse: # noqa: E501
184
-
"""List host groups # noqa: E501
180
+
"""List host groups
185
181
186
-
Return a list of host groups. # noqa: E501
187
-
This method makes a synchronous HTTP request by default. To make an
total_item_count: Annotated[Optional[StrictBool], Field(description="If set to `true`, the `total_item_count` matching the specified query parameters is calculated and returned in the response. If set to `false`, the `total_item_count` is `null` in the response. This may speed up queries where the `total_item_count` is large. If not specified, defaults to `false`.")] =None,
347
338
**kwargs
348
339
) ->ApiResponse: # noqa: E501
349
-
"""List host groups associated with hosts # noqa: E501
350
-
351
-
Returns a list of host groups that are associated with hosts. # noqa: E501
352
-
This method makes a synchronous HTTP request by default. To make an
names: Annotated[Optional[conlist(StrictStr)], Field(description="Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`.")] =None,
514
500
**kwargs
515
501
) ->ApiResponse: # noqa: E501
516
-
"""Manage a host group # noqa: E501
502
+
"""Manage a host group
517
503
518
-
Manage a host group. The `names` query parameter is required. # noqa: E501
519
-
This method makes a synchronous HTTP request by default. To make an
total_only: Annotated[Optional[StrictBool], Field(description="If set to `true`, returns the aggregate value of all items after filtering. Where it makes more sense, the average value is displayed instead. The values are displayed for each name where meaningful. If `total_only=true`, the `items` list will be empty.")] =None,
661
642
**kwargs
662
643
) ->ApiResponse: # noqa: E501
663
-
"""List host group performance data by array # noqa: E501
664
-
665
-
Return real-time and historical performance data, real-time latency data, and average I/O size data. The data returned is for each volume that is connected to a host group on the current array and for each volume that is connected to a host group on any remote arrays that are visible to the current array. The data is displayed as a total across all host groups on each array and by individual host group. # noqa: E501
666
-
This method makes a synchronous HTTP request by default. To make an
Return real-time and historical performance data, real-time latency data, and average I/O size data. The data returned is for each volume that is connected to a host group on the current array and for each volume that is connected to a host group on any remote arrays that are visible to the current array. The data is displayed as a total across all host groups on each array and by individual host group.
671
647
672
648
:param authorization: Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)
total_only: Annotated[Optional[StrictBool], Field(description="If set to `true`, returns the aggregate value of all items after filtering. Where it makes more sense, the average value is displayed instead. The values are displayed for each name where meaningful. If `total_only=true`, the `items` list will be empty.")] =None,
832
808
**kwargs
833
809
) ->ApiResponse: # noqa: E501
834
-
"""List host group performance data # noqa: E501
810
+
"""List host group performance data
835
811
836
-
Return real-time and historical performance data, real-time latency data, and average I/O sizes across all volumes, displayed both by host group and as a total across all host groups. # noqa: E501
837
-
This method makes a synchronous HTTP request by default. To make an
Return real-time and historical performance data, real-time latency data, and average I/O sizes across all volumes, displayed both by host group and as a total across all host groups.
842
813
843
814
:param authorization: Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)
names: Annotated[Optional[conlist(StrictStr)], Field(description="Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`.")] =None,
997
968
**kwargs
998
969
) ->ApiResponse: # noqa: E501
999
-
"""Create a host group # noqa: E501
1000
-
1001
-
Create a host group. The `names` query parameter is required. # noqa: E501
1002
-
This method makes a synchronous HTTP request by default. To make an
0 commit comments