ComputePoliciesTagUsageFilterSpec

The TagUsage.FilterSpec structure contains fields used to filter the results when listing the tags used by policies as available in this vCenter server (see TagUsage.list). If multiple fields are specified, only the tags used by policies that match an element of each field match the filter. Warning: This structure is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.


Properties

array of string
policies Optional

Identifiers that compute policies must have to match the filter. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. If unset or empty, then tags used by any policy match this filter. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: com.vmware.vcenter.compute.Policy. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: com.vmware.vcenter.compute.Policy.


array of string
tag_types Optional

Identifiers that tag types must have to match the filter. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. If unset or empty, then tags of any type match this filter. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: com.vmware.vapi.resource. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: com.vmware.vapi.resource.


array of string
tags Optional

Identifiers that tags must have to match the filter. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. If unset or empty, then tags with any tag identifier match this filter. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: com.vmware.cis.tagging.Tag. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: com.vmware.cis.tagging.Tag.

JSON Example

{
    "policies": [
        "string"
    ],
    "tag_types": [
        "string"
    ],
    "tags": [
        "string"
    ]
}
Feedback

Was this page helpful?