-
Notifications
You must be signed in to change notification settings - Fork 240
/
azure.mgmt.resource.resources.v2019_08_01.operations.TagsOperations.yml
115 lines (109 loc) · 4.19 KB
/
azure.mgmt.resource.resources.v2019_08_01.operations.TagsOperations.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
### YamlMime:PythonClass
uid: azure.mgmt.resource.resources.v2019_08_01.operations.TagsOperations
name: TagsOperations
fullName: azure.mgmt.resource.resources.v2019_08_01.operations.TagsOperations
module: azure.mgmt.resource.resources.v2019_08_01.operations
inheritances:
- builtins.object
summary: "> [!WARNING]\n> DO NOT instantiate this class directly.\n>\n> \n>\n> Instead,\
\ you should access the following operations through\n>\n> <xref:azure.mgmt.resource.resources.v2019_08_01.ResourceManagementClient>'s\n\
>\n> <xref:tags> attribute.\n>"
constructor:
syntax: TagsOperations(*args, **kwargs)
methods:
- uid: azure.mgmt.resource.resources.v2019_08_01.operations.TagsOperations.create_or_update
name: create_or_update
summary: 'Creates a tag in the subscription.
The tag name can have a maximum of 512 characters and is case insensitive. Tag
names created by
Azure have prefixes of microsoft, azure, or windows. You cannot create tags with
one of these
prefixes.'
signature: 'create_or_update(tag_name: str, **kwargs: Any) -> TagDetails'
parameters:
- name: tag_name
description: The name of the tag to create. Required.
isRequired: true
types:
- <xref:str>
return:
description: TagDetails or the result of cls(response)
types:
- <xref:azure.mgmt.resource.resources.v2019_08_01.models.TagDetails>
exceptions:
- type: azure.core.exceptions.HttpResponseError
- uid: azure.mgmt.resource.resources.v2019_08_01.operations.TagsOperations.create_or_update_value
name: create_or_update_value
summary: Creates a tag value. The name of the tag must already exist.
signature: 'create_or_update_value(tag_name: str, tag_value: str, **kwargs: Any)
-> TagValue'
parameters:
- name: tag_name
description: The name of the tag. Required.
isRequired: true
types:
- <xref:str>
- name: tag_value
description: The value of the tag to create. Required.
isRequired: true
types:
- <xref:str>
return:
description: TagValue or the result of cls(response)
types:
- <xref:azure.mgmt.resource.resources.v2019_08_01.models.TagValue>
exceptions:
- type: azure.core.exceptions.HttpResponseError
- uid: azure.mgmt.resource.resources.v2019_08_01.operations.TagsOperations.delete
name: delete
summary: 'Deletes a tag from the subscription.
You must remove all values from a resource tag before you can delete it.'
signature: 'delete(tag_name: str, **kwargs: Any) -> None'
parameters:
- name: tag_name
description: The name of the tag. Required.
isRequired: true
types:
- <xref:str>
return:
description: None or the result of cls(response)
types:
- <xref:None>
exceptions:
- type: azure.core.exceptions.HttpResponseError
- uid: azure.mgmt.resource.resources.v2019_08_01.operations.TagsOperations.delete_value
name: delete_value
summary: Deletes a tag value.
signature: 'delete_value(tag_name: str, tag_value: str, **kwargs: Any) -> None'
parameters:
- name: tag_name
description: The name of the tag. Required.
isRequired: true
types:
- <xref:str>
- name: tag_value
description: The value of the tag to delete. Required.
isRequired: true
types:
- <xref:str>
return:
description: None or the result of cls(response)
types:
- <xref:None>
exceptions:
- type: azure.core.exceptions.HttpResponseError
- uid: azure.mgmt.resource.resources.v2019_08_01.operations.TagsOperations.list
name: list
summary: Gets the names and values of all resource tags that are defined in a subscription.
signature: 'list(**kwargs: Any) -> Iterable[TagDetails]'
return:
description: An iterator like instance of either TagDetails or the result of cls(response)
types:
- <xref:azure.core.paging.ItemPaged>[<xref:azure.mgmt.resource.resources.v2019_08_01.models.TagDetails>]
exceptions:
- type: azure.core.exceptions.HttpResponseError
attributes:
- uid: azure.mgmt.resource.resources.v2019_08_01.operations.TagsOperations.models
name: models
signature: models = <module 'azure.mgmt.resource.resources.v2019_08_01.models' from
'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\resource\\resources\\v2019_08_01\\models\\__init__.py'>