5.1

Table Of Contents
xmlns:vcloud="http://www.vmware.com/vcloud/v1.5"
name="Read backups"
id="urn:vcloud:resourceClassAction:268"
type="application/vnd.vmware.admin.resourceClassAction+xml"
href="https://vcloud.example.com/api/admin/extension/service/resourceclassaction/268"
... >
<vcloud:Link
rel="remove"
href="https://vcloud.example.com/api/admin/extension/service/resourceclassaction/268" />
<vcloud:Link
rel="up"
type="application/vnd.vmware.admin.resourceClass+xml"
href="https://vcloud.example.com/api/admin/extension/service/resourceclass/83" />
<vcloud:Link
rel="down:aclRules"
type="application/vnd.vmware.vcloud.query.records+xml"
href="https://vcloud.example.com/api/admin/extension/service/resourceclassaction/268/aclrules" />
<vmext:HttpMethod>GET</vmext:HttpMethod>
<vmext:UrlPattern>/api/backup/(?&lt;id&gt;[-,a-g,0-9]*)</vmext:UrlPattern>
</vmext:ResourceClassAction>
Define an ACL Rule for a Resource Class Action
Permission to execute an extension service operation is controlled by an AclRule contained in the
ResourceClassAction.
An ACL rule specifies the access controls that apply to a ResourceClassAction. Access controls can be defined
for any of the following principals:
n
an individual user
n
a member of a specified organization
n
any user whose role includes a specific right
n
any resource defined by the service that created the ACL rule
Rights for specific entity types are specified in the following container elements:
ServiceResourceAccess
This specification is optional.
OrganizationAccess
Access for the organizations. This specification is required.
PrincipalAccess
Access control for users, or for any role that includes a specified right. This
specification is required.
If the Access element in any of these containers has the value Entity, the container must also include an
Entity element that provides a reference to a resource entity, organization, user, or right.
Table 11-2. ACL Rules
Container Element
Access
Comments
ServiceResourceAccess
Shared The action is authorized for all resources in this resource class
Entity The action is authorized for the service resource referenced in the Entity
element in this container.
OrganizationAccess
Shared The action is authorized for all members of the organization that owns the
resource.
Published The action is authorized for all members of any organization in the cloud.
vCloud API Programming Guide
298 VMware, Inc.