示例#1
0
    def unshare_from_org_members(self):
        """Unshare the vapp from all members of current organization.

        :return:  A :class:`lxml.objectify.StringElement` object representing
            the updated access control setting of the vapp.
        """
        acl = Acl(self.client, self.get_resource())
        return acl.unshare_from_org_members()
示例#2
0
    def unshare_from_org_members(self):
        """Unshare the vapp from all members of current organization.

        :return:  A :class:`lxml.objectify.StringElement` object representing
            the updated access control setting of the vapp.
        """
        acl = Acl(self.client, self.get_resource())
        return acl.unshare_from_org_members()
示例#3
0
文件: vapp.py 项目: avisi/pyvcloud
    def unshare_from_org_members(self):
        """Unshare the vApp from all members of current organization.

        :return: an object containing EntityType.CONTROL_ACCESS_PARAMS XML
            data representing the updated access control setting of the vdc.

        :rtype: lxml.objectify.ObjectifiedElement
        """
        acl = Acl(self.client, self.get_resource())
        return acl.unshare_from_org_members()
示例#4
0
文件: vdc.py 项目: joybwang/pyvcloud
    def unshare_from_org_members(self):
        """Unshare the vdc from all members of current organization.

        Should give individual access to at least one user before unsharing
        access to the whole org.

        :return:  A :class:`lxml.objectify.StringElement` object representing
            the updated access control setting of the vdc.
        """
        acl = Acl(self.client, self.get_resource())
        return acl.unshare_from_org_members()
示例#5
0
    def unshare_from_org_members(self):
        """Unshare the vdc from all members of current organization.

        Should give individual access to at least one user before unsharing
        access to the whole org.

        :return:  A :class:`lxml.objectify.StringElement` object representing
            the updated access control setting of the vdc.
        """
        acl = Acl(self.client, self.get_resource())
        return acl.unshare_from_org_members()
示例#6
0
文件: org.py 项目: joybwang/pyvcloud
    def unshare_catalog_with_org_members(self, catalog_name):
        """Unshare the catalog from all members of current organization.

        :param catalog_name: (str): catalog name whose access should be
            unshared from everyone.

        :return:  A :class:`lxml.objectify.StringElement` object representing
            the updated access control setting of the catalog.
        """
        catalog_resource = self.get_catalog(name=catalog_name)
        acl = Acl(self.client, catalog_resource)
        return acl.unshare_from_org_members()
示例#7
0
    def unshare_catalog_with_org_members(self, catalog_name):
        """Unshare the catalog from all members of current organization.

        :param catalog_name: (str): catalog name whose access should be
            unshared from everyone.

        :return:  A :class:`lxml.objectify.StringElement` object representing
            the updated access control setting of the catalog.
        """
        catalog_resource = self.get_catalog(name=catalog_name)
        acl = Acl(self.client, catalog_resource)
        return acl.unshare_from_org_members()