当前位置: 首页>>代码示例>>Python>>正文


Python LinkUtils.get_link_href方法代码示例

本文整理汇总了Python中vas.util.LinkUtils.LinkUtils.get_link_href方法的典型用法代码示例。如果您正苦于以下问题:Python LinkUtils.get_link_href方法的具体用法?Python LinkUtils.get_link_href怎么用?Python LinkUtils.get_link_href使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在vas.util.LinkUtils.LinkUtils的用法示例。


在下文中一共展示了LinkUtils.get_link_href方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: __init__

# 需要导入模块: from vas.util.LinkUtils import LinkUtils [as 别名]
# 或者: from vas.util.LinkUtils.LinkUtils import get_link_href [as 别名]
    def __init__(self, client, location):
        super(NodeRevision, self).__init__(client, location)

        self.__version = self._details['version']

        self.__application_location = LinkUtils.get_link_href(self._details, 'node-application')
        self.__group_revision_location = LinkUtils.get_link_href(self._details, 'group-revision')
开发者ID:appsuite,项目名称:vas-python-api,代码行数:9,代码来源:NodeRevisions.py

示例2: __init__

# 需要导入模块: from vas.util.LinkUtils import LinkUtils [as 别名]
# 或者: from vas.util.LinkUtils.LinkUtils import get_link_href [as 别名]
    def __init__(self, client, location):
        super(Statistic, self).__init__(client, location)

        self.__path = self._details['path']

        self.__instance_location = LinkUtils.get_link_href(self._details, 'cache-server-node-instance')
        self.__content_location = LinkUtils.get_link_href(self._details, 'content')
开发者ID:vdreamakitex,项目名称:vas-python-api,代码行数:9,代码来源:Statistics.py

示例3: __init__

# 需要导入模块: from vas.util.LinkUtils import LinkUtils [as 别名]
# 或者: from vas.util.LinkUtils.LinkUtils import get_link_href [as 别名]
    def __init__(self, client, location):
        super(CacheServerNodeInstance, self).__init__(client, location, Node, CacheServerLogs, CacheServerInstance,
            'cache-server-group-instance', CacheServerNodeLiveConfigurations)

        self.__disk_stores_location = LinkUtils.get_link_href(self._details, 'disk-stores')
        self.__state_location = LinkUtils.get_link_href(self._details, 'state')
        self.__statistics_location = LinkUtils.get_link_href(self._details, 'statistics')
开发者ID:appsuite,项目名称:vas-python-api,代码行数:9,代码来源:CacheServerNodeInstances.py

示例4: __init__

# 需要导入模块: from vas.util.LinkUtils import LinkUtils [as 别名]
# 或者: from vas.util.LinkUtils.LinkUtils import get_link_href [as 别名]
    def __init__(self, client, location):
        self.__client = client
        self.__location = location

        json = client.get(location)
        self.__agent_image = AgentImage(client, LinkUtils.get_link_href(json, 'agent-image'))
        self.__nodes = Nodes(client, LinkUtils.get_link_href(json, 'nodes'))
开发者ID:vdreamakitex,项目名称:vas-python-api,代码行数:9,代码来源:VFabric.py

示例5: __init__

# 需要导入模块: from vas.util.LinkUtils import LinkUtils [as 别名]
# 或者: from vas.util.LinkUtils.LinkUtils import get_link_href [as 别名]
    def __init__(self, client, location, instance_type, instance_class):
        super(Log, self).__init__(client, location)

        self.__content_location = LinkUtils.get_link_href(self._details, 'content')
        self.__instance_location = LinkUtils.get_link_href(self._details, instance_type)

        self.__instance_class = instance_class
开发者ID:vdreamakitex,项目名称:vas-python-api,代码行数:9,代码来源:Logs.py

示例6: __init__

# 需要导入模块: from vas.util.LinkUtils import LinkUtils [as 别名]
# 或者: from vas.util.LinkUtils.LinkUtils import get_link_href [as 别名]
    def __init__(self, client, location):
        super(Revision, self).__init__(client, location)

        self.__version = self._details['version']

        self.__application_location = LinkUtils.get_link_href(self._details, 'group-application')
        self.__revision_image_location = LinkUtils.get_link_href(self._details, 'revision-image')
开发者ID:appsuite,项目名称:vas-python-api,代码行数:9,代码来源:Revisions.py

示例7: __init__

# 需要导入模块: from vas.util.LinkUtils import LinkUtils [as 别名]
# 或者: from vas.util.LinkUtils.LinkUtils import get_link_href [as 别名]
    def __init__(self, client, location):
        super(DiskStore, self).__init__(client, location)

        self.__name = self._details['name']

        self.__instance_location = LinkUtils.get_link_href(self._details, 'cache-server-node-instance')
        self.__content_location = LinkUtils.get_link_href(self._details, 'content')
开发者ID:vdreamakitex,项目名称:vas-python-api,代码行数:9,代码来源:DiskStores.py

示例8: __init__

# 需要导入模块: from vas.util.LinkUtils import LinkUtils [as 别名]
# 或者: from vas.util.LinkUtils.LinkUtils import get_link_href [as 别名]
    def __init__(self, client, location):
        self.__client = client
        self.__location = location

        json = client.get(location)
        self.__groups = Groups(client, LinkUtils.get_link_href(json, 'groups'))
        self.__installation_images = InstallationImages(client, LinkUtils.get_link_href(json, 'installation-images'))
        self.__nodes = Nodes(client, LinkUtils.get_link_href(json, 'nodes'))
开发者ID:vdreamakitex,项目名称:vas-python-api,代码行数:10,代码来源:WebServer.py

示例9: __init__

# 需要导入模块: from vas.util.LinkUtils import LinkUtils [as 别名]
# 或者: from vas.util.LinkUtils.LinkUtils import get_link_href [as 别名]
    def __init__(self, client, location):
        super(Template, self).__init__(client, location)

        self.__name = self._details['name']
        self.__version = self._details['version']

        self.__installation_location = LinkUtils.get_link_href(self._details, 'installation')
        self.__template_image_location = LinkUtils.get_link_href(self._details, 'template-image')
开发者ID:vdreamakitex,项目名称:vas-python-api,代码行数:10,代码来源:Templates.py

示例10: __init__

# 需要导入模块: from vas.util.LinkUtils import LinkUtils [as 别名]
# 或者: from vas.util.LinkUtils.LinkUtils import get_link_href [as 别名]
    def __init__(self, client, location):
        super(ApplicationCode, self).__init__(client, location)

        self.__name = self._details['name']
        self.__version = self._details['version']

        self.__application_code_image_location = LinkUtils.get_link_href(self._details, 'application-code-image')
        self.__instance_location = LinkUtils.get_link_href(self._details, 'cache-server-group-instance')
开发者ID:appsuite,项目名称:vas-python-api,代码行数:10,代码来源:ApplicationCode.py

示例11: __init__

# 需要导入模块: from vas.util.LinkUtils import LinkUtils [as 别名]
# 或者: from vas.util.LinkUtils.LinkUtils import get_link_href [as 别名]
    def __init__(self, client, location):
        super(Plugin, self).__init__(client, location)

        self.__name = self._details['name']
        self.__version = self._details['version']

        self.__instance_location = LinkUtils.get_link_href(self._details, 'group-instance')
        self.__plugin_image_location = LinkUtils.get_link_href(self._details, 'plugin-image')
        self.__state_location = LinkUtils.get_link_href(self._details, 'state')
开发者ID:appsuite,项目名称:vas-python-api,代码行数:11,代码来源:Plugins.py

示例12: __init__

# 需要导入模块: from vas.util.LinkUtils import LinkUtils [as 别名]
# 或者: from vas.util.LinkUtils.LinkUtils import get_link_href [as 别名]
    def __init__(self, client, location):
        super(Application, self).__init__(client, location)

        self.__context_path = self._details['context-path']
        self.__host = self._details['host']
        self.__name = self._details['name']
        self.__service = self._details['service']

        self.__revisions_location = LinkUtils.get_link_href(self._details, 'group-revisions')
        self.__instance_location = LinkUtils.get_link_href(self._details, 'group-instance')
开发者ID:appsuite,项目名称:vas-python-api,代码行数:12,代码来源:Applications.py

示例13: __init__

# 需要导入模块: from vas.util.LinkUtils import LinkUtils [as 别名]
# 或者: from vas.util.LinkUtils.LinkUtils import get_link_href [as 别名]
    def __init__(self, client, location, installation_image_class, group_class):
        super(Installation, self).__init__(client, location)

        self.__installation_image_location = LinkUtils.get_link_href(self._details, 'installation-image')
        self.__group_location = LinkUtils.get_link_href(self._details, 'group')

        self.__installation_image_class = installation_image_class
        self.__group_class = group_class

        self.__version = self._details['version']
开发者ID:vdreamakitex,项目名称:vas-python-api,代码行数:12,代码来源:Installations.py

示例14: __init__

# 需要导入模块: from vas.util.LinkUtils import LinkUtils [as 别名]
# 或者: from vas.util.LinkUtils.LinkUtils import get_link_href [as 别名]
    def __init__(self, client, location):
        self.__client = client
        self.__location = location

        json = client.get(location)
        self.__groups = Groups(client, LinkUtils.get_link_href(json, "groups"))
        self.__installation_images = InstallationImages(client, LinkUtils.get_link_href(json, "installation-images"))
        self.__nodes = Nodes(client, LinkUtils.get_link_href(json, "nodes"))
        self.__revision_images = RevisionImages(client, LinkUtils.get_link_href(json, "revision-images"))
        self.__template_images = TemplateImages(client, LinkUtils.get_link_href(json, "template-images"))
开发者ID:appsuite,项目名称:vas-python-api,代码行数:12,代码来源:TcServer.py

示例15: __init__

# 需要导入模块: from vas.util.LinkUtils import LinkUtils [as 别名]
# 或者: from vas.util.LinkUtils.LinkUtils import get_link_href [as 别名]
    def __init__(self, client, location, instance_type, instance_class, group_configuration_class):
        super(NodeConfiguration, self).__init__(client, location)

        self.__instance_class = instance_class
        self.__group_configuration_class = group_configuration_class

        self.__instance_location = LinkUtils.get_link_href(self._details, instance_type)
        self.__group_configuration_location = LinkUtils.get_link_href(self._details, 'group-live-configuration')
        self.__content_location = LinkUtils.get_link_href(self._details, 'content')

        self.__path = self._details['path']
开发者ID:vdreamakitex,项目名称:vas-python-api,代码行数:13,代码来源:NodeConfiguration.py


注:本文中的vas.util.LinkUtils.LinkUtils.get_link_href方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。