예제 #1
0
    def get_access_settings(self):
        """Get the access settings of the vapp.

        :return:  A :class:`lxml.objectify.StringElement` object representing
            the access settings of the vapp.
        """
        acl = Acl(self.client, self.get_resource())
        return acl.get_access_settings()
예제 #2
0
파일: vdc.py 프로젝트: rdbwebster/pyvcloud
    def get_access_settings(self):
        """Get the access settings of the vdc.

       :return:  A :class:`lxml.objectify.StringElement` object representing
           the access settings of the vdc.
       """
        acl = Acl(self.client, self.get_resource())
        return acl.get_access_settings()
예제 #3
0
파일: org.py 프로젝트: joybwang/pyvcloud
    def get_catalog_access_settings(self, catalog_name):
        """Get the access settings of a catalog.

        :param catalog_name: (str): The name of the catalog.
        :return:  A :class:`lxml.objectify.StringElement` object representing
            the access settings of the catalog.
        """
        catalog_resource = self.get_catalog(name=catalog_name)
        acl = Acl(self.client, catalog_resource)
        return acl.get_access_settings()
예제 #4
0
파일: vapp.py 프로젝트: avisi/pyvcloud
    def get_access_settings(self):
        """Get the access settings of the vApp.

        :return: an object containing EntityType.CONTROL_ACCESS_PARAMS which
            represents the access control list of the vApp.

        :rtype: lxml.objectify.ObjectifiedElement
        """
        acl = Acl(self.client, self.get_resource())
        return acl.get_access_settings()
예제 #5
0
파일: org.py 프로젝트: rdbwebster/pyvcloud
    def get_catalog_access_settings(self, catalog_name):
        """Get the access settings of a catalog.

        :param catalog_name: (str): The name of the catalog.
        :return:  A :class:`lxml.objectify.StringElement` object representing
            the access settings of the catalog.
        """
        catalog_resource = self.get_catalog(name=catalog_name)
        acl = Acl(self.client, catalog_resource)
        return acl.get_access_settings()