Get Rule
Get a customer rule by its id.
Request
URI
GET
https://umip/api/v1/rules/{id}
COPY
Path Parameters
string
id
Required
The id(UUID) of a customer rule
Responses
200
OK
Returns
GetRuleResponse
of type(s)
application/json
"GetRuleResponse Object"
string
productType
Optional
productType
Possible values are :
vCenter,
VCD,
integer
productId
Optional
Constraints:
minimum: 1
productId
string
name
Optional
name
string
targetId
Optional
targetId
string
targetType
Optional
targetType
Possible values are :
vCenter,
VCD,
Datacenter,
ClusterComputeResource,
ResourcePool,
HostSystem,
Folder,
vcd_organization,
string
As ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
id
Optional
id
401
Operation doesn't return any data structure
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/api/v1/rules/{id}