Get Firewall Group Associated V Ms
Get all associated VMs for a specific firewall group. Associated VM members can only be obtained for firewall groups with typeValue STATIC_MEMBERS or VM_CRITERIA.
Request
URI
GET
https://{api_host}/cloudapi/1.0.0/firewallGroups/{firewallGroupId}/associatedVMs
COPY
Path Parameters
string
firewallGroupId
Required
firewallGroupId
Query Parameters
string
filter
Optional
Filter for a query. FIQL format.
string
sortAsc
Optional
Field to use for ascending sort
string
sortDesc
Optional
Field to use for descending sort
integer
page
Required
Constraints:
minimum: 1
default: 1
Page to fetch, zero offset.
integer
pageSize
Required
Constraints:
minimum: 0
maximum: 128
default: 25
Results per page to fetch.
Responses
200
OK
Returns
FirewallGroupAssociatedVMs
of type(s)
application/json;version=39.1
This response body class contains all of the following:
InlineFirewallGroupAssociatedVMs0 ,
InlineFirewallGroupAssociatedVMs1
{
"resultTotal": 0,
"pageCount": 0,
"page": 0,
"pageSize": 0,
"associations": [
{
"entityId": "string",
"associationId": "string"
}
],
"values": [
{
"vmRef": {
"name": "string",
"id": "string"
},
"vappRef": {
"name": "string",
"id": "string"
},
"vdcRef": {
"name": "string",
"id": "string"
},
"orgRef": {
"name": "string",
"id": "string"
}
}
]
}
404
The specified resource was not found
Returns
Error
of type(s)
application/json;version=39.1
"Error Object"
string
minorErrorCode
Required
minorErrorCode
string
message
Required
message
string
stackTrace
Optional
stackTrace
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/cloudapi/1.0.0/firewallGroups/{firewallGroupId}/associatedVMs?page=value&pageSize=v
Availability
Added in 34.0
On This Page
Firewall Group Operations
GET
Get Firewall Group
PUT
Update Firewall Group
DELETE
Delete Firewall Group
GET
Get Firewall Group Associated V Ms