### Navigation

- index
- modules |
- vSphere Automation SDK for Python 6.5.0 documentation »
- Module code »

# Source code for vmware.vapi.lib.constants

    """
    String Constants used in vAPI runtime
    """

    __author__ = 'VMware, Inc.'
    __copyright__ = 'Copyright (c) 2015 VMware, Inc.  All rights reserved.'

    PARAMS = 'params'
    SCHEME_ID = 'schemeId'
    AUTHN_IDENTITY = 'authnIdentity'
    EXECUTION_CONTEXT = 'ctx'
    APPLICATION_CONTEXT = 'appCtx'
    SECURITY_CONTEXT = 'securityCtx'
    PROCESSORS = 'processors'
    OPID = 'opId'

    # Magic structure names
    # Structure name for the StructValues that represent
    # map entries in the runtime
    MAP_ENTRY = 'map-entry'
    # Structure name for the StructValues that represent
    # operation input in the runtime
    OPERATION_INPUT = 'operation-input'

    # Structure name for the StructValue that represent
    # a dynamic structure in the absence of the the type name
    DYNAMIC_STRUCTURE = 'dynamic-structure'

    # Constants for REST presentation Layer
    JSONRPC = 'jsonrpc'
    JSON_CONTENT_TYPE = 'application/json'

    class Introspection(object):
        """
        String constants used in introsection service
        """
        PACKAGE = 'com.vmware.vapi.std.introspection'

        # Services
        PROVIDER_SVC = 'com.vmware.vapi.std.introspection.provider'
        SERVICE_SVC = 'com.vmware.vapi.std.introspection.service'
        OPERATION_SVC = 'com.vmware.vapi.std.introspection.operation'

        # Types
        DATA_DEFINITION = 'com.vmware.vapi.std.introspection.operation.data_definition'

### Navigation

- index
- modules |
- vSphere Automation SDK for Python 6.5.0 documentation »
- Module code »