|
14 | 14 | # See the License for the specific language governing permissions and |
15 | 15 | # limitations under the License. |
16 | 16 |
|
17 | | -# IBM OpenAPI SDK Code Generator Version: 99-SNAPSHOT-a8493a65-20210115-083246 |
| 17 | +# IBM OpenAPI SDK Code Generator Version: 3.33.0-caf29bd0-20210603-225214 |
18 | 18 |
|
19 | 19 | """ |
20 | 20 | Manage your tags with the Tagging API in IBM Cloud. You can attach, detach, delete a tag |
@@ -115,15 +115,16 @@ def list_tags(self, |
115 | 115 | provider, `ghost`, `ims` or `ghost,ims`, where the tag exists and the |
116 | 116 | number of attached resources. |
117 | 117 | :param List[str] providers: (optional) Select a provider. Supported values |
118 | | - are `ghost` and `ims`. To list GhoST tags and infrastructure tags use |
119 | | - `ghost,ims`. `service` and `access` tags can only be attached to GhoST |
120 | | - onboarded resources, so you should not set this parameter when listing |
121 | | - them. |
| 118 | + are `ghost` and `ims`. To list both Global Search and Tagging tags and |
| 119 | + infrastructure tags, use `ghost,ims`. `service` and `access` tags can only |
| 120 | + be attached to resources that are onboarded to Global Search and Tagging, |
| 121 | + so you should not set this parameter when listing them. |
122 | 122 | :param str attached_to: (optional) If you want to return only the list of |
123 | 123 | tags attached to a specified resource, pass the ID of the resource on this |
124 | | - parameter. For GhoST onboarded resources, the resource ID is the CRN; for |
125 | | - IMS resources, it is the IMS ID. When using this parameter, you must |
126 | | - specify the appropriate provider (`ims` or `ghost`). |
| 124 | + parameter. For resources that are onboarded to Global Search and Tagging, |
| 125 | + the resource ID is the CRN; for IMS resources, it is the IMS ID. When using |
| 126 | + this parameter, you must specify the appropriate provider (`ims` or |
| 127 | + `ghost`). |
127 | 128 | :param int offset: (optional) The offset is the index of the item from |
128 | 129 | which you want to start returning data from. |
129 | 130 | :param int limit: (optional) The number of tags to return. |
@@ -311,7 +312,8 @@ def delete_tag(self, |
311 | 312 |
|
312 | 313 | :param str tag_name: The name of tag to be deleted. |
313 | 314 | :param List[str] providers: (optional) Select a provider. Supported values |
314 | | - are `ghost` and `ims`. To delete tag both in GhoST in IMS, use `ghost,ims`. |
| 315 | + are `ghost` and `ims`. To delete tags both in Global Search and Tagging and |
| 316 | + in IMS, use `ghost,ims`. |
315 | 317 | :param str impersonate_user: (optional) The user on whose behalf the delete |
316 | 318 | operation must be performed (_for administrators only_). |
317 | 319 | :param str account_id: (optional) The ID of the billing account to delete |
@@ -370,14 +372,7 @@ def attach_tag(self, |
370 | 372 | """ |
371 | 373 | Attach tags. |
372 | 374 |
|
373 | | - Attaches one or more tags to one or more resources. To attach a `user` tag on a |
374 | | - resource, you must have the access listed in the [Granting users access to tag |
375 | | - resources](https://cloud.ibm.com/docs/account?topic=account-access) documentation. |
376 | | - To attach a `service` tag, you must be an authorized service. If that is the case, |
377 | | - then you can attach a `service` tag with your registered `prefix` to any resource |
378 | | - in any account. The account ID must be set through the `account_id` query |
379 | | - parameter. To attach an `access` tag, you must be the resource administrator |
380 | | - within the account. You can attach only `access` tags already existing. |
| 375 | + Attaches one or more tags to one or more resources. |
381 | 376 |
|
382 | 377 | :param List[Resource] resources: List of resources on which the tag or tags |
383 | 378 | should be attached. |
@@ -449,14 +444,7 @@ def detach_tag(self, |
449 | 444 | """ |
450 | 445 | Detach tags. |
451 | 446 |
|
452 | | - Detaches one or more tags from one or more resources. To detach a `user` tag on a |
453 | | - resource you must have the permissions listed in the [Granting users access to tag |
454 | | - resources](https://cloud.ibm.com/docs/account?topic=account-access) documentation. |
455 | | - To detach a `service` tag you must be an authorized Service. If that is the case, |
456 | | - then you can detach a `service` tag with your registered `prefix` from any |
457 | | - resource in any account. The account ID must be set through the `account_id` query |
458 | | - parameter. To detach an `access` tag, you must be the resource administrator |
459 | | - within the account. |
| 447 | + Detaches one or more tags from one or more resources. |
460 | 448 |
|
461 | 449 | :param List[Resource] resources: List of resources on which the tag or tags |
462 | 450 | should be detached. |
@@ -530,10 +518,10 @@ class TagType(str, Enum): |
530 | 518 | ACCESS = 'access' |
531 | 519 | class Providers(str, Enum): |
532 | 520 | """ |
533 | | - Select a provider. Supported values are `ghost` and `ims`. To list GhoST tags and |
534 | | - infrastructure tags use `ghost,ims`. `service` and `access` tags can only be |
535 | | - attached to GhoST onboarded resources, so you should not set this parameter when |
536 | | - listing them. |
| 521 | + Select a provider. Supported values are `ghost` and `ims`. To list both Global |
| 522 | + Search and Tagging tags and infrastructure tags, use `ghost,ims`. `service` and |
| 523 | + `access` tags can only be attached to resources that are onboarded to Global |
| 524 | + Search and Tagging, so you should not set this parameter when listing them. |
537 | 525 | """ |
538 | 526 | GHOST = 'ghost' |
539 | 527 | IMS = 'ims' |
@@ -586,8 +574,8 @@ class DeleteTagEnums: |
586 | 574 |
|
587 | 575 | class Providers(str, Enum): |
588 | 576 | """ |
589 | | - Select a provider. Supported values are `ghost` and `ims`. To delete tag both in |
590 | | - GhoST in IMS, use `ghost,ims`. |
| 577 | + Select a provider. Supported values are `ghost` and `ims`. To delete tags both in |
| 578 | + Global Search and Tagging and in IMS, use `ghost,ims`. |
591 | 579 | """ |
592 | 580 | GHOST = 'ghost' |
593 | 581 | IMS = 'ims' |
|
0 commit comments