# coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***

import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union
from .. import _utilities, _tables

__all__ = [
    'allow_unverified_ssl',
    'api_timeout',
    'client_debug',
    'client_debug_path',
    'client_debug_path_run',
    'password',
    'persist_session',
    'rest_session_path',
    'user',
    'vcenter_server',
    'vim_keep_alive',
    'vim_session_path',
    'vsphere_server',
]

__config__ = pulumi.Config('vsphere')

allow_unverified_ssl = __config__.get('allowUnverifiedSsl') or _utilities.get_env_bool('VSPHERE_ALLOW_UNVERIFIED_SSL')
"""
If set, VMware vSphere client will permit unverifiable SSL certificates.
"""

api_timeout = __config__.get('apiTimeout')
"""
API timeout in minutes (Default: 5)
"""

client_debug = __config__.get('clientDebug') or _utilities.get_env_bool('VSPHERE_CLIENT_DEBUG')
"""
govmomi debug
"""

client_debug_path = __config__.get('clientDebugPath') or _utilities.get_env('VSPHERE_CLIENT_DEBUG_PATH')
"""
govmomi debug path for debug
"""

client_debug_path_run = __config__.get('clientDebugPathRun') or _utilities.get_env('VSPHERE_CLIENT_DEBUG_PATH_RUN')
"""
govmomi debug path for a single run
"""

password = __config__.get('password') or _utilities.get_env('VSPHERE_PASSWORD')
"""
The user password for vSphere API operations.
"""

persist_session = __config__.get('persistSession') or _utilities.get_env_bool('VSPHERE_PERSIST_SESSION')
"""
Persist vSphere client sessions to disk
"""

rest_session_path = __config__.get('restSessionPath') or _utilities.get_env('VSPHERE_REST_SESSION_PATH')
"""
The directory to save vSphere REST API sessions to
"""

user = __config__.get('user') or _utilities.get_env('VSPHERE_USER')
"""
The user name for vSphere API operations.
"""

vcenter_server = __config__.get('vcenterServer')

vim_keep_alive = __config__.get('vimKeepAlive') or _utilities.get_env_int('VSPHERE_VIM_KEEP_ALIVE')
"""
Keep alive interval for the VIM session in minutes
"""

vim_session_path = __config__.get('vimSessionPath') or _utilities.get_env('VSPHERE_VIM_SESSION_PATH')
"""
The directory to save vSphere SOAP API sessions to
"""

vsphere_server = __config__.get('vsphereServer') or _utilities.get_env('VSPHERE_SERVER')
"""
The vSphere Server name for vSphere API operations.
"""

