Represents a {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.10.0/docs vsphere}.
using HashiCorp.Cdktf.Providers.Vsphere;
new VsphereProvider(Construct Scope, string Id, VsphereProviderConfig Config);
Name | Type | Description |
---|---|---|
Scope |
Constructs.Construct |
The scope in which to define this construct. |
Id |
string |
The scoped construct ID. |
Config |
VsphereProviderConfig |
No description. |
- Type: Constructs.Construct
The scope in which to define this construct.
- Type: string
The scoped construct ID.
Must be unique amongst siblings in the same scope
- Type: VsphereProviderConfig
Name | Description |
---|---|
ToString |
Returns a string representation of this construct. |
AddOverride |
No description. |
OverrideLogicalId |
Overrides the auto-generated logical ID with a specific ID. |
ResetOverrideLogicalId |
Resets a previously passed logical Id to use the auto-generated logical id again. |
ToHclTerraform |
No description. |
ToMetadata |
No description. |
ToTerraform |
Adds this resource to the terraform JSON output. |
ResetAlias |
No description. |
ResetAllowUnverifiedSsl |
No description. |
ResetApiTimeout |
No description. |
ResetClientDebug |
No description. |
ResetClientDebugPath |
No description. |
ResetClientDebugPathRun |
No description. |
ResetPersistSession |
No description. |
ResetRestSessionPath |
No description. |
ResetVcenterServer |
No description. |
ResetVimKeepAlive |
No description. |
ResetVimSessionPath |
No description. |
ResetVsphereServer |
No description. |
private string ToString()
Returns a string representation of this construct.
private void AddOverride(string Path, object Value)
- Type: string
- Type: object
private void OverrideLogicalId(string NewLogicalId)
Overrides the auto-generated logical ID with a specific ID.
- Type: string
The new logical ID to use for this stack element.
private void ResetOverrideLogicalId()
Resets a previously passed logical Id to use the auto-generated logical id again.
private object ToHclTerraform()
private object ToMetadata()
private object ToTerraform()
Adds this resource to the terraform JSON output.
private void ResetAlias()
private void ResetAllowUnverifiedSsl()
private void ResetApiTimeout()
private void ResetClientDebug()
private void ResetClientDebugPath()
private void ResetClientDebugPathRun()
private void ResetPersistSession()
private void ResetRestSessionPath()
private void ResetVcenterServer()
private void ResetVimKeepAlive()
private void ResetVimSessionPath()
private void ResetVsphereServer()
Name | Description |
---|---|
IsConstruct |
Checks if x is a construct. |
IsTerraformElement |
No description. |
IsTerraformProvider |
No description. |
GenerateConfigForImport |
Generates CDKTF code for importing a VsphereProvider resource upon running "cdktf plan ". |
using HashiCorp.Cdktf.Providers.Vsphere;
VsphereProvider.IsConstruct(object X);
Checks if x
is a construct.
Use this method instead of instanceof
to properly detect Construct
instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the constructs
library on
disk are seen as independent, completely different libraries. As a
consequence, the class Construct
in each copy of the constructs
library
is seen as a different class, and an instance of one class will not test as
instanceof
the other class. npm install
will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the constructs
library can be accidentally installed, and instanceof
will behave
unpredictably. It is safest to avoid using instanceof
, and using
this type-testing method instead.
- Type: object
Any object.
using HashiCorp.Cdktf.Providers.Vsphere;
VsphereProvider.IsTerraformElement(object X);
- Type: object
using HashiCorp.Cdktf.Providers.Vsphere;
VsphereProvider.IsTerraformProvider(object X);
- Type: object
using HashiCorp.Cdktf.Providers.Vsphere;
VsphereProvider.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null);
Generates CDKTF code for importing a VsphereProvider resource upon running "cdktf plan ".
- Type: Constructs.Construct
The scope in which to define this construct.
- Type: string
The construct id used in the generated config for the VsphereProvider to import.
- Type: string
The id of the existing VsphereProvider that should be imported.
Refer to the {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.10.0/docs#import import section} in the documentation of this resource for the id to use
- Type: HashiCorp.Cdktf.TerraformProvider
? Optional instance of the provider where the VsphereProvider to import is found.
Name | Type | Description |
---|---|---|
Node |
Constructs.Node |
The tree node. |
CdktfStack |
HashiCorp.Cdktf.TerraformStack |
No description. |
Fqn |
string |
No description. |
FriendlyUniqueId |
string |
No description. |
MetaAttributes |
System.Collections.Generic.IDictionary<string, object> |
No description. |
TerraformResourceType |
string |
No description. |
TerraformGeneratorMetadata |
HashiCorp.Cdktf.TerraformProviderGeneratorMetadata |
No description. |
TerraformProviderSource |
string |
No description. |
Alias |
string |
No description. |
AliasInput |
string |
No description. |
AllowUnverifiedSslInput |
object |
No description. |
ApiTimeoutInput |
double |
No description. |
ClientDebugInput |
object |
No description. |
ClientDebugPathInput |
string |
No description. |
ClientDebugPathRunInput |
string |
No description. |
PasswordInput |
string |
No description. |
PersistSessionInput |
object |
No description. |
RestSessionPathInput |
string |
No description. |
UserInput |
string |
No description. |
VcenterServerInput |
string |
No description. |
VimKeepAliveInput |
double |
No description. |
VimSessionPathInput |
string |
No description. |
VsphereServerInput |
string |
No description. |
AllowUnverifiedSsl |
object |
No description. |
ApiTimeout |
double |
No description. |
ClientDebug |
object |
No description. |
ClientDebugPath |
string |
No description. |
ClientDebugPathRun |
string |
No description. |
Password |
string |
No description. |
PersistSession |
object |
No description. |
RestSessionPath |
string |
No description. |
User |
string |
No description. |
VcenterServer |
string |
No description. |
VimKeepAlive |
double |
No description. |
VimSessionPath |
string |
No description. |
VsphereServer |
string |
No description. |
public Node Node { get; }
- Type: Constructs.Node
The tree node.
public TerraformStack CdktfStack { get; }
- Type: HashiCorp.Cdktf.TerraformStack
public string Fqn { get; }
- Type: string
public string FriendlyUniqueId { get; }
- Type: string
public System.Collections.Generic.IDictionary<string, object> MetaAttributes { get; }
- Type: System.Collections.Generic.IDictionary<string, object>
public string TerraformResourceType { get; }
- Type: string
public TerraformProviderGeneratorMetadata TerraformGeneratorMetadata { get; }
- Type: HashiCorp.Cdktf.TerraformProviderGeneratorMetadata
public string TerraformProviderSource { get; }
- Type: string
public string Alias { get; }
- Type: string
public string AliasInput { get; }
- Type: string
public object AllowUnverifiedSslInput { get; }
- Type: object
public double ApiTimeoutInput { get; }
- Type: double
public object ClientDebugInput { get; }
- Type: object
public string ClientDebugPathInput { get; }
- Type: string
public string ClientDebugPathRunInput { get; }
- Type: string
public string PasswordInput { get; }
- Type: string
public object PersistSessionInput { get; }
- Type: object
public string RestSessionPathInput { get; }
- Type: string
public string UserInput { get; }
- Type: string
public string VcenterServerInput { get; }
- Type: string
public double VimKeepAliveInput { get; }
- Type: double
public string VimSessionPathInput { get; }
- Type: string
public string VsphereServerInput { get; }
- Type: string
public object AllowUnverifiedSsl { get; }
- Type: object
public double ApiTimeout { get; }
- Type: double
public object ClientDebug { get; }
- Type: object
public string ClientDebugPath { get; }
- Type: string
public string ClientDebugPathRun { get; }
- Type: string
public string Password { get; }
- Type: string
public object PersistSession { get; }
- Type: object
public string RestSessionPath { get; }
- Type: string
public string User { get; }
- Type: string
public string VcenterServer { get; }
- Type: string
public double VimKeepAlive { get; }
- Type: double
public string VimSessionPath { get; }
- Type: string
public string VsphereServer { get; }
- Type: string
Name | Type | Description |
---|---|---|
TfResourceType |
string |
No description. |
public string TfResourceType { get; }
- Type: string
using HashiCorp.Cdktf.Providers.Vsphere;
new VsphereProviderConfig {
string Password,
string User,
string Alias = null,
object AllowUnverifiedSsl = null,
double ApiTimeout = null,
object ClientDebug = null,
string ClientDebugPath = null,
string ClientDebugPathRun = null,
object PersistSession = null,
string RestSessionPath = null,
string VcenterServer = null,
double VimKeepAlive = null,
string VimSessionPath = null,
string VsphereServer = null
};
Name | Type | Description |
---|---|---|
Password |
string |
The user password for vSphere API operations. |
User |
string |
The user name for vSphere API operations. |
Alias |
string |
Alias name. |
AllowUnverifiedSsl |
object |
If set, VMware vSphere client will permit unverifiable SSL certificates. |
ApiTimeout |
double |
API timeout in minutes (Default: 5). |
ClientDebug |
object |
govmomi debug. |
ClientDebugPath |
string |
govmomi debug path for debug. |
ClientDebugPathRun |
string |
govmomi debug path for a single run. |
PersistSession |
object |
Persist vSphere client sessions to disk. |
RestSessionPath |
string |
The directory to save vSphere REST API sessions to. |
VcenterServer |
string |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.10.0/docs#vcenter_server VsphereProvider#vcenter_server}. |
VimKeepAlive |
double |
Keep alive interval for the VIM session in minutes. |
VimSessionPath |
string |
The directory to save vSphere SOAP API sessions to. |
VsphereServer |
string |
The vSphere Server name for vSphere API operations. |
public string Password { get; set; }
- Type: string
The user password for vSphere API operations.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.10.0/docs#password VsphereProvider#password}
public string User { get; set; }
- Type: string
The user name for vSphere API operations.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.10.0/docs#user VsphereProvider#user}
public string Alias { get; set; }
- Type: string
Alias name.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.10.0/docs#alias VsphereProvider#alias}
public object AllowUnverifiedSsl { get; set; }
- Type: object
If set, VMware vSphere client will permit unverifiable SSL certificates.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.10.0/docs#allow_unverified_ssl VsphereProvider#allow_unverified_ssl}
public double ApiTimeout { get; set; }
- Type: double
API timeout in minutes (Default: 5).
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.10.0/docs#api_timeout VsphereProvider#api_timeout}
public object ClientDebug { get; set; }
- Type: object
govmomi debug.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.10.0/docs#client_debug VsphereProvider#client_debug}
public string ClientDebugPath { get; set; }
- Type: string
govmomi debug path for debug.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.10.0/docs#client_debug_path VsphereProvider#client_debug_path}
public string ClientDebugPathRun { get; set; }
- Type: string
govmomi debug path for a single run.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.10.0/docs#client_debug_path_run VsphereProvider#client_debug_path_run}
public object PersistSession { get; set; }
- Type: object
Persist vSphere client sessions to disk.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.10.0/docs#persist_session VsphereProvider#persist_session}
public string RestSessionPath { get; set; }
- Type: string
The directory to save vSphere REST API sessions to.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.10.0/docs#rest_session_path VsphereProvider#rest_session_path}
public string VcenterServer { get; set; }
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.10.0/docs#vcenter_server VsphereProvider#vcenter_server}.
public double VimKeepAlive { get; set; }
- Type: double
Keep alive interval for the VIM session in minutes.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.10.0/docs#vim_keep_alive VsphereProvider#vim_keep_alive}
public string VimSessionPath { get; set; }
- Type: string
The directory to save vSphere SOAP API sessions to.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.10.0/docs#vim_session_path VsphereProvider#vim_session_path}
public string VsphereServer { get; set; }
- Type: string
The vSphere Server name for vSphere API operations.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.10.0/docs#vsphere_server VsphereProvider#vsphere_server}