MCPcopy Index your code
hub / github.com/apache/cloudstack-go / ListIsoPermissions

Method ListIsoPermissions

cloudstack/ISOService.go:1619–1631  ·  view source on GitHub ↗

List iso visibility and all accounts that have permissions to view this iso.

(p *ListIsoPermissionsParams)

Source from the content-addressed store, hash-verified

1617
1618// List iso visibility and all accounts that have permissions to view this iso.
1619func (s *ISOService) ListIsoPermissions(p *ListIsoPermissionsParams) (*ListIsoPermissionsResponse, error) {
1620 resp, err := s.cs.newRequest("listIsoPermissions", p.toURLValues())
1621 if err != nil {
1622 return nil, err
1623 }
1624
1625 var r ListIsoPermissionsResponse
1626 if err := json.Unmarshal(resp, &r); err != nil {
1627 return nil, err
1628 }
1629
1630 return &r, nil
1631}
1632
1633type ListIsoPermissionsResponse struct {
1634 Count int `json:"count"`

Callers 1

GetIsoPermissionByIDMethod · 0.95

Calls 2

newRequestMethod · 0.80
toURLValuesMethod · 0.45

Tested by

no test coverage detected