Resource: TagSubscription
TagSubscription resource.
| JSON representation |
|---|
{
"name": string,
"tags": [
string
],
"displayName": string,
"description": string,
"createTime": string,
"updateTime": string,
"ruleConfig": {
object ( |
| Fields | |
|---|---|
name |
Identifier. Full resource name for the tag subscription. Format: projects/{project}/locations/{location}/instances/{instance}/tagSubscriptions/{tagSubscription} |
tags[] |
Required. Immutable. The tags associated with this tag subscription. These tags cannot be modified. Format: projects/{project}/locations/{location}/instances/{instance}/tags/{tag} |
displayName |
Optional. Display name of the tag subscription. |
description |
Optional. Description of the tag subscription. |
createTime |
Output only. The timestamp of when the tag subscription was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. The timestamp of when the tag subscription was last updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
ruleConfig |
Optional. Configuration for the tag subscription. |
RuleConfig
Defines configuration behavior for rules joining this subscription. These settings are applied when a tag with a subscription is added to a rule, not during subscription creation or updates.
| JSON representation |
|---|
{ "alertingEnabled": boolean } |
| Fields | |
|---|---|
alertingEnabled |
Optional. Default alerting status for rules joining this subscription. |
Methods |
|
|---|---|
|
Creates a Tag Subscription. |
|
Deletes a Tag Subscription. |
|
Gets a Tag Subscription. |
|
Lists Tag Subscriptions. |
|
Updates a Tag Subscription. |