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


Python SCObject.__init__方法代码示例

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


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

示例1: __init__

# 需要导入模块: from sclib.sc.scobject import SCObject [as 别名]
# 或者: from sclib.sc.scobject.SCObject import __init__ [as 别名]
    def __init__(self, connection):
        SCObject.__init__(self, connection)

        # attributes
        self.baseUtcOffset = None
        self.timezonEn = None
        self.timezoneId = None
开发者ID:securecloud,项目名称:sc-sdk-for-python,代码行数:9,代码来源:administration.py

示例2: __init__

# 需要导入模块: from sclib.sc.scobject import SCObject [as 别名]
# 或者: from sclib.sc.scobject.SCObject import __init__ [as 别名]
 def __init__(self, connection, tag='authentication'):
     SCObject.__init__(self, connection, tag)
     self.id = None
     self.token = None
     self.expires = None
     self.data = None
     self.accountId = None
开发者ID:bobbyc,项目名称:sc-sdk-for-python,代码行数:9,代码来源:connection.py

示例3: __init__

# 需要导入模块: from sclib.sc.scobject import SCObject [as 别名]
# 或者: from sclib.sc.scobject.SCObject import __init__ [as 别名]
    def __init__(self, connection):
        SCObject.__init__(self, connection)

        # member initialization
        self.id = None
        self.name = None
        self.isDeleteble = None
        self.isNameEditable = None
        self.href = None
        self.lastModified = None
        self.ruleCount = None
        self.EnableIC = None
        self.ICAction = None
        self.PostponeEnable = None
        self.RevokeIntervalType = None
        self.RevokeIntervalNumber = None
        self.description = None
        self.imageCount = None
        # rules
        self.securityRuleList = ResultSet(
            [('securityRule', SecurityRule)], 'securityRuleList')
        # action
        self.successAction = None
        self.failedAction = None
        self.integrityAction = None
        # vm
        self.__vmList = ResultSet([('vm', VirtualMachine)], 'vmList')
开发者ID:bobbyc,项目名称:sc-sdk-for-python,代码行数:29,代码来源:securitygroup.py

示例4: __init__

# 需要导入模块: from sclib.sc.scobject import SCObject [as 别名]
# 或者: from sclib.sc.scobject.SCObject import __init__ [as 别名]
 def __init__(self, connection):
     SCObject.__init__(self, connection)
     self.id = None
     self.token = None
     self.expires = None
     self.data = None
     self.accountId = None
开发者ID:shyboynccu,项目名称:sc-sdk-for-python,代码行数:9,代码来源:connection.py

示例5: __init__

# 需要导入模块: from sclib.sc.scobject import SCObject [as 别名]
# 或者: from sclib.sc.scobject.SCObject import __init__ [as 别名]
    def __init__(self, connection, tag="vm"):
        SCObject.__init__(self, connection, tag)
        # ----------------------------------------------------------------------
        # Attributes
        # ----------------------------------------------------------------------
        self.SecurityGroupGUID = None
        self.autoProvision = None
        self.detectedKeyCount = None
        self.encryptableDeviceCount = None
        self.encryptedDeviceCount = None
        self.encryptingDeviceCount = None
        self.href = None
        self.hostname = None
        self.imageGUID = None
        self.imageID = None
        self.imageName = None
        self.instanceGUID = None
        self.instanceID = None
        self.lastModified = None
        self.nonEncryptedDeviceCount = None
        self.pendingDeviceCount = None
        # ----------------------------------------------------------------------
        # elements
        # ----------------------------------------------------------------------
        self.imageDescription = None
        # ----------------------------------------------------------------------
        # Inner objects
        # ----------------------------------------------------------------------
        self.provider = None
        self.platform = None
        self.securecloudAgent = None
        # Device list
        self.devices = ResultSet([("device", Device)], "devices")

        pass
开发者ID:securecloud,项目名称:sc-sdk-for-python,代码行数:37,代码来源:instance.py

示例6: __init__

# 需要导入模块: from sclib.sc.scobject import SCObject [as 别名]
# 或者: from sclib.sc.scobject.SCObject import __init__ [as 别名]
 def __init__(self, connection):
     SCObject.__init__(self, connection)
     self.name = None
     self.id = None
     self.dataFormat = None
     self.passphrase = None
     self.sessionTimeout = None
     self.timezoneID = None
开发者ID:shyboynccu,项目名称:sc-sdk-for-python,代码行数:10,代码来源:user.py

示例7: __init__

# 需要导入模块: from sclib.sc.scobject import SCObject [as 别名]
# 或者: from sclib.sc.scobject.SCObject import __init__ [as 别名]
    def __init__(self, connection, tag='Device'):
        SCObject.__init__(self, connection, tag)

        #----------------------------------------------------------------------
        # Attributes
        #----------------------------------------------------------------------
        self.id = None
        self.msUID = None
        self.name = None
        self.href = None

        self.deviceType = None
        self.cspDeviceType = None
        self.deviceState = None
        self.deviceStatus = None

        self.info = None
        self.detachable = None
        self.lastModified = None
        self.writeAccess = None

        self.EncryptedName = None
        self.preserveData = None
        self.partitionType = None
        self.provisionProgress = None
        self.provisionState = None
        self.raidLevel = None
        #----------------------------------------------------------------------
        # Elements
        #----------------------------------------------------------------------
        self.description = None
        self.fileSystem = None
        #----------------------------------------------------------------------
        # subDevices List
        #----------------------------------------------------------------------
        self.__subDevices = ResultSet([('subDevices', Device)], 'subDevices')
        #----------------------------------------------------------------------
        # volume object
        #----------------------------------------------------------------------
        self.volume = None
        #----------------------------------------------------------------------
        # Provider object
        #----------------------------------------------------------------------
        self.provider = None
        #----------------------------------------------------------------------
        # partition list
        #----------------------------------------------------------------------
        self.partitionList = None
开发者ID:bobbyc,项目名称:sc-sdk-for-python,代码行数:50,代码来源:device.py

示例8: __init__

# 需要导入模块: from sclib.sc.scobject import SCObject [as 别名]
# 或者: from sclib.sc.scobject.SCObject import __init__ [as 别名]
 def __init__(self, connection):
     SCObject.__init__(self, connection)
     self.id = None
     self.href = None
开发者ID:shyboynccu,项目名称:sc-sdk-for-python,代码行数:6,代码来源:keyrequest.py

示例9: __init__

# 需要导入模块: from sclib.sc.scobject import SCObject [as 别名]
# 或者: from sclib.sc.scobject.SCObject import __init__ [as 别名]
 def __init__(self, connection, tag='runningVMKeyRequest'):
     SCObject.__init__(self, connection, tag)
     self.requestID = None
     self.requested = None
     self.deviceKeyRequestState = None
     self.href = None
开发者ID:bobbyc,项目名称:sc-sdk-for-python,代码行数:8,代码来源:keyrequest.py

示例10: __init__

# 需要导入模块: from sclib.sc.scobject import SCObject [as 别名]
# 或者: from sclib.sc.scobject.SCObject import __init__ [as 别名]
 def __init__(self, connection):
     SCObject.__init__(self, connection)
     self.name = None
     self.href = None
     self.providerLocation = None
开发者ID:bobbyc,项目名称:sc-sdk-for-python,代码行数:7,代码来源:provider.py


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