<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to create a tag automatically of type CLOUD_FOUNDRY_SPACE? in Container platforms</title>
    <link>https://community.dynatrace.com/t5/Container-platforms/How-to-create-a-tag-automatically-of-type-CLOUD-FOUNDRY-SPACE/m-p/125131#M1230</link>
    <description>&lt;P&gt;We found the answer: The request body should look like:&lt;/P&gt;&lt;P&gt;        {&lt;/P&gt;&lt;P&gt;          "name": "spaceNAME",&lt;/P&gt;&lt;P&gt;          "rules": [&lt;/P&gt;&lt;P&gt;           {&lt;/P&gt;&lt;P&gt;              "type": "SERVICE",&lt;/P&gt;&lt;P&gt;              "enabled": true,&lt;/P&gt;&lt;P&gt;              "valueFormat": null,&lt;/P&gt;&lt;P&gt;              "propagationTypes":[],&lt;/P&gt;&lt;P&gt;              "conditions": [&lt;/P&gt;&lt;P&gt;                {&lt;/P&gt;&lt;P&gt;                  "key": {&lt;/P&gt;&lt;P&gt;                    "attribute": "PROCESS_GROUP_PREDEFINED_METADATA",&lt;/P&gt;&lt;P&gt;                    "dynamicKey": "CLOUD_FOUNDRY_SPACE_NAME",&lt;/P&gt;&lt;P&gt;                   "type": "PROCESS_PREDEFINED_METADATA_KEY"&lt;/P&gt;&lt;P&gt;                  },&lt;/P&gt;&lt;P&gt;                    "comparisonInfo": {&lt;/P&gt;&lt;P&gt;                    "type": "STRING",&lt;/P&gt;&lt;P&gt;                    "operator": "EQUALS",&lt;/P&gt;&lt;P&gt;                    "value": "spaceNAME",&lt;/P&gt;&lt;P&gt;                    "negate": false,&lt;/P&gt;&lt;P&gt;                    "caseSensitive": false&lt;/P&gt;&lt;P&gt;                  }&lt;/P&gt;&lt;P&gt;                }&lt;/P&gt;&lt;P&gt;              ]&lt;/P&gt;&lt;P&gt;            }&lt;/P&gt;&lt;P&gt;          ]&lt;/P&gt;&lt;P&gt;        }&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 11 Nov 2019 15:25:38 GMT</pubDate>
    <dc:creator>frank_reisenhof</dc:creator>
    <dc:date>2019-11-11T15:25:38Z</dc:date>
    <item>
      <title>How to create a tag automatically of type CLOUD_FOUNDRY_SPACE?</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/How-to-create-a-tag-automatically-of-type-CLOUD-FOUNDRY-SPACE/m-p/125130#M1229</link>
      <description>&lt;P&gt;Hello all together,&lt;/P&gt;&lt;P&gt;We would like to create automatically a tag using the API &lt;A href="https://www.dynatrace.com/support/help/extend-dynatrace/dynatrace-api/configuration-api/automatically-applied-tags-api/post-auto-tag/"&gt;https://www.dynatrace.com/support/help/extend-dynatrace/dynatrace-api/configuration-api/automatically-applied-tags-api/post-auto-tag/&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;The condition should be like &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/22401-microsoftteams-image.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;So far we failed to create such a condition type as a type "Cloud Foundry Space" is not available in [2].&lt;/P&gt;&lt;P&gt;We tried so far using a Request body like [1].&lt;/P&gt;&lt;P&gt;How can we create a tag using the API automatically with a condition of type "Cloud Foundry space"?&lt;/P&gt;&lt;P&gt;Thanks for a hint.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;P&gt;[2]&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://www.dynatrace.com/support/help/shortlink/api-config-auto-tags-post-auto-tag#possible-values" target="_blank"&gt;https://www.dynatrace.com/support/help/shortlink/api-config-auto-tags-post-auto-tag#possible-values&lt;/A&gt;&lt;/P&gt;&lt;P&gt;[1]&lt;/P&gt;&lt;PRE&gt;{  "name": "${spaceNAME}",  "rules": [   {      "type": "SERVICE",      "enabled": true,      "valueFormat": null,      "propagationTypes": [        "PROCESS_GROUP_TO_SERVICE"      ],      "conditions": [        {          "key": {            "attribute": "CLOUD_FOUNDRY_SPACE"          },          "comparisonInfo": {            "type": "STRING",            "operator": "EQUALS",            "value": "${ spaceNAME }",            "negate": false,            "caseSensitive": false          }        }      ]    }  ] }&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Nov 2019 11:56:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/How-to-create-a-tag-automatically-of-type-CLOUD-FOUNDRY-SPACE/m-p/125130#M1229</guid>
      <dc:creator>frank_reisenhof</dc:creator>
      <dc:date>2019-11-08T11:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a tag automatically of type CLOUD_FOUNDRY_SPACE?</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/How-to-create-a-tag-automatically-of-type-CLOUD-FOUNDRY-SPACE/m-p/125131#M1230</link>
      <description>&lt;P&gt;We found the answer: The request body should look like:&lt;/P&gt;&lt;P&gt;        {&lt;/P&gt;&lt;P&gt;          "name": "spaceNAME",&lt;/P&gt;&lt;P&gt;          "rules": [&lt;/P&gt;&lt;P&gt;           {&lt;/P&gt;&lt;P&gt;              "type": "SERVICE",&lt;/P&gt;&lt;P&gt;              "enabled": true,&lt;/P&gt;&lt;P&gt;              "valueFormat": null,&lt;/P&gt;&lt;P&gt;              "propagationTypes":[],&lt;/P&gt;&lt;P&gt;              "conditions": [&lt;/P&gt;&lt;P&gt;                {&lt;/P&gt;&lt;P&gt;                  "key": {&lt;/P&gt;&lt;P&gt;                    "attribute": "PROCESS_GROUP_PREDEFINED_METADATA",&lt;/P&gt;&lt;P&gt;                    "dynamicKey": "CLOUD_FOUNDRY_SPACE_NAME",&lt;/P&gt;&lt;P&gt;                   "type": "PROCESS_PREDEFINED_METADATA_KEY"&lt;/P&gt;&lt;P&gt;                  },&lt;/P&gt;&lt;P&gt;                    "comparisonInfo": {&lt;/P&gt;&lt;P&gt;                    "type": "STRING",&lt;/P&gt;&lt;P&gt;                    "operator": "EQUALS",&lt;/P&gt;&lt;P&gt;                    "value": "spaceNAME",&lt;/P&gt;&lt;P&gt;                    "negate": false,&lt;/P&gt;&lt;P&gt;                    "caseSensitive": false&lt;/P&gt;&lt;P&gt;                  }&lt;/P&gt;&lt;P&gt;                }&lt;/P&gt;&lt;P&gt;              ]&lt;/P&gt;&lt;P&gt;            }&lt;/P&gt;&lt;P&gt;          ]&lt;/P&gt;&lt;P&gt;        }&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Nov 2019 15:25:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/How-to-create-a-tag-automatically-of-type-CLOUD-FOUNDRY-SPACE/m-p/125131#M1230</guid>
      <dc:creator>frank_reisenhof</dc:creator>
      <dc:date>2019-11-11T15:25:38Z</dc:date>
    </item>
  </channel>
</rss>

