Documentation
¶
Index ¶
- Constants
- func CreateHypervisor(ctx context.Context, client *citrixdaasclient.CitrixDaasClient, ...) (*citrixorchestration.HypervisorDetailResponseModel, error)
- func NewAmazonWorkSpacesCoreHypervisorResource() resource.Resource
- func NewAwsHypervisorResource() resource.Resource
- func NewAzureHypervisorResource() resource.Resource
- func NewGcpHypervisorResource() resource.Resource
- func NewHpeMoonshotHypervisorResource() resource.Resource
- func NewHypervisorDataSource() datasource.DataSource
- func NewNutanixHypervisorResource() resource.Resource
- func NewOpenShiftHypervisorResource() resource.Resource
- func NewRemotePCWakeOnLANHypervisorResource() resource.Resource
- func NewSCVMMHypervisorResource() resource.Resource
- func NewVsphereHypervisorResource() resource.Resource
- func NewXenserverHypervisorResource() resource.Resource
- func UpdateHypervisor(ctx context.Context, client *citrixdaasclient.CitrixDaasClient, ...) (*citrixorchestration.HypervisorDetailResponseModel, error)
- type AmazonWorkSpacesCoreHypervisorResourceModel
- func (AmazonWorkSpacesCoreHypervisorResourceModel) GetAttributes() map[string]schema.Attribute
- func (AmazonWorkSpacesCoreHypervisorResourceModel) GetAttributesNamesToMask() map[string]bool
- func (AmazonWorkSpacesCoreHypervisorResourceModel) GetSchema() schema.Schema
- func (r AmazonWorkSpacesCoreHypervisorResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, ...) AmazonWorkSpacesCoreHypervisorResourceModel
- type AwsHypervisorResourceModel
- func (AwsHypervisorResourceModel) GetAttributes() map[string]schema.Attribute
- func (AwsHypervisorResourceModel) GetAttributesNamesToMask() map[string]bool
- func (AwsHypervisorResourceModel) GetSchema() schema.Schema
- func (r AwsHypervisorResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, ...) AwsHypervisorResourceModel
- type AzureHypervisorResourceModel
- func (AzureHypervisorResourceModel) GetAttributes() map[string]schema.Attribute
- func (AzureHypervisorResourceModel) GetAttributesNamesToMask() map[string]bool
- func (AzureHypervisorResourceModel) GetSchema() schema.Schema
- func (r AzureHypervisorResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, ...) AzureHypervisorResourceModel
- type GcpHypervisorResourceModel
- func (GcpHypervisorResourceModel) GetAttributes() map[string]schema.Attribute
- func (GcpHypervisorResourceModel) GetAttributesNamesToMask() map[string]bool
- func (GcpHypervisorResourceModel) GetSchema() schema.Schema
- func (r GcpHypervisorResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, ...) GcpHypervisorResourceModel
- type HYPERVISOR_FAULT_STATE
- type HpeMoonshotHypervisorResourceModel
- func (HpeMoonshotHypervisorResourceModel) GetAttributes() map[string]schema.Attribute
- func (HpeMoonshotHypervisorResourceModel) GetAttributesNamesToMask() map[string]bool
- func (HpeMoonshotHypervisorResourceModel) GetSchema() schema.Schema
- func (r HpeMoonshotHypervisorResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, ...) HpeMoonshotHypervisorResourceModel
- type HypervisorDataSource
- func (d *HypervisorDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *HypervisorDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *HypervisorDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *HypervisorDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type HypervisorDataSourceModel
- type NutanixHypervisorResourceModel
- func (NutanixHypervisorResourceModel) GetAttributes() map[string]schema.Attribute
- func (NutanixHypervisorResourceModel) GetAttributesNamesToMask() map[string]bool
- func (NutanixHypervisorResourceModel) GetSchema() schema.Schema
- func (r NutanixHypervisorResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, ...) NutanixHypervisorResourceModel
- type OpenShiftHypervisorResourceModel
- func (OpenShiftHypervisorResourceModel) GetAttributes() map[string]schema.Attribute
- func (OpenShiftHypervisorResourceModel) GetAttributesNamesToMask() map[string]bool
- func (OpenShiftHypervisorResourceModel) GetSchema() schema.Schema
- func (r OpenShiftHypervisorResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, ...) OpenShiftHypervisorResourceModel
- type RemotePCWakeOnLANHypervisorResourceModel
- func (RemotePCWakeOnLANHypervisorResourceModel) GetAttributes() map[string]schema.Attribute
- func (RemotePCWakeOnLANHypervisorResourceModel) GetAttributesNamesToMask() map[string]bool
- func (RemotePCWakeOnLANHypervisorResourceModel) GetSchema() schema.Schema
- func (r RemotePCWakeOnLANHypervisorResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, ...) RemotePCWakeOnLANHypervisorResourceModel
- type SCVMMMHypervisorResourceModel
- func (SCVMMMHypervisorResourceModel) GetAttributes() map[string]schema.Attribute
- func (SCVMMMHypervisorResourceModel) GetAttributesNamesToMask() map[string]bool
- func (SCVMMMHypervisorResourceModel) GetSchema() schema.Schema
- func (r SCVMMMHypervisorResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, ...) SCVMMMHypervisorResourceModel
- type VsphereHypervisorResourceModel
- func (VsphereHypervisorResourceModel) GetAttributes() map[string]schema.Attribute
- func (VsphereHypervisorResourceModel) GetAttributesNamesToMask() map[string]bool
- func (VsphereHypervisorResourceModel) GetSchema() schema.Schema
- func (r VsphereHypervisorResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, ...) VsphereHypervisorResourceModel
- type XenserverHypervisorResourceModel
- func (XenserverHypervisorResourceModel) GetAttributes() map[string]schema.Attribute
- func (XenserverHypervisorResourceModel) GetAttributesNamesToMask() map[string]bool
- func (XenserverHypervisorResourceModel) GetSchema() schema.Schema
- func (r XenserverHypervisorResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, ...) XenserverHypervisorResourceModel
Constants ¶
const ( EnableAzureADDeviceManagement_CustomProperty = "AzureAdDeviceManagement" ProxyHypervisorTrafficThroughConnector_CustomProperty = "ProxyHypervisorTrafficThroughConnector" AuthenticationMode_CustomProperty = "AuthenticationMode" )
const (
OpenShiftUsername = "__SERVICE_ACCOUNT__"
)
const (
UseSystemProxyForHypervisorTrafficOnConnectors_CustomProperty = "UseSystemProxyForHypervisorTrafficOnConnectors"
)
Variables ¶
This section is empty.
Functions ¶
func CreateHypervisor ¶
func CreateHypervisor(ctx context.Context, client *citrixdaasclient.CitrixDaasClient, diagnostics *diag.Diagnostics, createHypervisorRequestBody citrixorchestration.CreateHypervisorRequestModel) (*citrixorchestration.HypervisorDetailResponseModel, error)
Create creates the resource and sets the initial Terraform state.
func NewAmazonWorkSpacesCoreHypervisorResource ¶ added in v1.0.24
NewHypervisorResource is a helper function to simplify the provider implementation.
func NewAwsHypervisorResource ¶
NewHypervisorResource is a helper function to simplify the provider implementation.
func NewAzureHypervisorResource ¶
NewHypervisorResource is a helper function to simplify the provider implementation.
func NewGcpHypervisorResource ¶
NewHypervisorResource is a helper function to simplify the provider implementation.
func NewHpeMoonshotHypervisorResource ¶ added in v1.0.19
NewHypervisorResource is a helper function to simplify the provider implementation.
func NewHypervisorDataSource ¶ added in v0.6.2
func NewHypervisorDataSource() datasource.DataSource
func NewNutanixHypervisorResource ¶
NewHypervisorResource is a helper function to simplify the provider implementation.
func NewOpenShiftHypervisorResource ¶ added in v1.0.18
NewHypervisorResource is a helper function to simplify the provider implementation.
func NewRemotePCWakeOnLANHypervisorResource ¶ added in v1.0.19
NewHypervisorResource is a helper function to simplify the provider implementation.
func NewSCVMMHypervisorResource ¶ added in v0.6.2
NewHypervisorResource is a helper function to simplify the provider implementation.
func NewVsphereHypervisorResource ¶
NewHypervisorResource is a helper function to simplify the provider implementation.
func NewXenserverHypervisorResource ¶
NewHypervisorResource is a helper function to simplify the provider implementation.
func UpdateHypervisor ¶
func UpdateHypervisor(ctx context.Context, client *citrixdaasclient.CitrixDaasClient, diagnostics *diag.Diagnostics, editHypervisorRequestBody citrixorchestration.EditHypervisorConnectionRequestModel, hypervisorId, hypervisorName string) (*citrixorchestration.HypervisorDetailResponseModel, error)
Update updates the resource and sets the updated Terraform state on success.
Types ¶
type AmazonWorkSpacesCoreHypervisorResourceModel ¶ added in v1.0.24
type AmazonWorkSpacesCoreHypervisorResourceModel struct {
/**** Connection Details ****/
Id types.String `tfsdk:"id"`
Name types.String `tfsdk:"name"`
Zone types.String `tfsdk:"zone"`
Scopes types.Set `tfsdk:"scopes"` // Set[string]
Metadata types.List `tfsdk:"metadata"` // List[NameValueStringPairModel]
Tenants types.Set `tfsdk:"tenants"` // Set[string]
Region types.String `tfsdk:"region"`
ApiKey types.String `tfsdk:"api_key"`
SecretKey types.String `tfsdk:"secret_key"`
UseIamRole types.Bool `tfsdk:"use_iam_role"`
UseSystemProxyForHypervisorTrafficOnConnectors types.Bool `tfsdk:"use_system_proxy_for_hypervisor_traffic_on_connectors"`
}
HypervisorResourceModel maps the resource schema data.
func (AmazonWorkSpacesCoreHypervisorResourceModel) GetAttributes ¶ added in v1.0.24
func (AmazonWorkSpacesCoreHypervisorResourceModel) GetAttributes() map[string]schema.Attribute
func (AmazonWorkSpacesCoreHypervisorResourceModel) GetAttributesNamesToMask ¶ added in v1.0.24
func (AmazonWorkSpacesCoreHypervisorResourceModel) GetAttributesNamesToMask() map[string]bool
func (AmazonWorkSpacesCoreHypervisorResourceModel) GetSchema ¶ added in v1.0.24
func (AmazonWorkSpacesCoreHypervisorResourceModel) GetSchema() schema.Schema
func (AmazonWorkSpacesCoreHypervisorResourceModel) RefreshPropertyValues ¶ added in v1.0.24
func (r AmazonWorkSpacesCoreHypervisorResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, hypervisor *citrixorchestration.HypervisorDetailResponseModel) AmazonWorkSpacesCoreHypervisorResourceModel
type AwsHypervisorResourceModel ¶
type AwsHypervisorResourceModel struct {
/**** Connection Details ****/
Id types.String `tfsdk:"id"`
Name types.String `tfsdk:"name"`
Zone types.String `tfsdk:"zone"`
Scopes types.Set `tfsdk:"scopes"` // Set[string]
Metadata types.List `tfsdk:"metadata"` // List[NameValueStringPairModel]
Tenants types.Set `tfsdk:"tenants"` // Set[string]
/** AWS EC2 Connection **/
Region types.String `tfsdk:"region"`
ApiKey types.String `tfsdk:"api_key"`
SecretKey types.String `tfsdk:"secret_key"`
}
HypervisorResourceModel maps the resource schema data.
func (AwsHypervisorResourceModel) GetAttributes ¶ added in v0.6.2
func (AwsHypervisorResourceModel) GetAttributes() map[string]schema.Attribute
func (AwsHypervisorResourceModel) GetAttributesNamesToMask ¶ added in v1.0.20
func (AwsHypervisorResourceModel) GetAttributesNamesToMask() map[string]bool
func (AwsHypervisorResourceModel) GetSchema ¶ added in v0.6.2
func (AwsHypervisorResourceModel) GetSchema() schema.Schema
func (AwsHypervisorResourceModel) RefreshPropertyValues ¶
func (r AwsHypervisorResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, hypervisor *citrixorchestration.HypervisorDetailResponseModel) AwsHypervisorResourceModel
type AzureHypervisorResourceModel ¶
type AzureHypervisorResourceModel struct {
/**** Connection Details ****/
Id types.String `tfsdk:"id"`
Name types.String `tfsdk:"name"`
Zone types.String `tfsdk:"zone"`
Scopes types.Set `tfsdk:"scopes"` // Set[string]
Metadata types.List `tfsdk:"metadata"` // List[NameValueStringPairModel]
Tenants types.Set `tfsdk:"tenants"` // Set[string]
/** Azure Connection **/
ApplicationId types.String `tfsdk:"application_id"`
ApplicationSecret types.String `tfsdk:"application_secret"`
ApplicationSecretExpirationDate types.String `tfsdk:"application_secret_expiration_date"`
SubscriptionId types.String `tfsdk:"subscription_id"`
ActiveDirectoryId types.String `tfsdk:"active_directory_id"`
EnableAzureADDeviceManagement types.Bool `tfsdk:"enable_azure_ad_device_management"`
AuthenticationMode types.String `tfsdk:"authentication_mode"`
ProxyHypervisorTrafficThroughConnector types.Bool `tfsdk:"proxy_hypervisor_traffic_through_connector"`
}
HypervisorResourceModel maps the resource schema data.
func (AzureHypervisorResourceModel) GetAttributes ¶ added in v0.6.2
func (AzureHypervisorResourceModel) GetAttributes() map[string]schema.Attribute
func (AzureHypervisorResourceModel) GetAttributesNamesToMask ¶ added in v1.0.20
func (AzureHypervisorResourceModel) GetAttributesNamesToMask() map[string]bool
func (AzureHypervisorResourceModel) GetSchema ¶ added in v0.6.2
func (AzureHypervisorResourceModel) GetSchema() schema.Schema
func (AzureHypervisorResourceModel) RefreshPropertyValues ¶
func (r AzureHypervisorResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, hypervisor *citrixorchestration.HypervisorDetailResponseModel) AzureHypervisorResourceModel
type GcpHypervisorResourceModel ¶
type GcpHypervisorResourceModel struct {
/**** Connection Details ****/
Id types.String `tfsdk:"id"`
Name types.String `tfsdk:"name"`
Zone types.String `tfsdk:"zone"`
Scopes types.Set `tfsdk:"scopes"` // Set[string]
Metadata types.List `tfsdk:"metadata"` // List[NameValueStringPairModel]
Tenants types.Set `tfsdk:"tenants"` // Set[string]
/** GCP Connection **/
ServiceAccountId types.String `tfsdk:"service_account_id"`
ServiceAccountCredentials types.String `tfsdk:"service_account_credentials"`
}
HypervisorResourceModel maps the resource schema data.
func (GcpHypervisorResourceModel) GetAttributes ¶ added in v0.6.2
func (GcpHypervisorResourceModel) GetAttributes() map[string]schema.Attribute
func (GcpHypervisorResourceModel) GetAttributesNamesToMask ¶ added in v1.0.20
func (GcpHypervisorResourceModel) GetAttributesNamesToMask() map[string]bool
func (GcpHypervisorResourceModel) GetSchema ¶ added in v0.6.2
func (GcpHypervisorResourceModel) GetSchema() schema.Schema
func (GcpHypervisorResourceModel) RefreshPropertyValues ¶
func (r GcpHypervisorResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, hypervisor *citrixorchestration.HypervisorDetailResponseModel) GcpHypervisorResourceModel
type HYPERVISOR_FAULT_STATE ¶
type HYPERVISOR_FAULT_STATE string
const (
Initializing HYPERVISOR_FAULT_STATE = "Initializing"
)
type HpeMoonshotHypervisorResourceModel ¶ added in v1.0.19
type HpeMoonshotHypervisorResourceModel struct {
/**** Connection Details ****/
Id types.String `tfsdk:"id"`
Name types.String `tfsdk:"name"`
Zone types.String `tfsdk:"zone"`
Scopes types.Set `tfsdk:"scopes"` // Set[string]
Metadata types.List `tfsdk:"metadata"` // List[NameValueStringPairModel]
Tenants types.Set `tfsdk:"tenants"` // Set[string]
/** HPE Moonshot Connection **/
Username types.String `tfsdk:"username"`
Password types.String `tfsdk:"password"`
PasswordFormat types.String `tfsdk:"password_format"`
Addresses types.List `tfsdk:"addresses"` // List[string]
SslThumbprints types.List `tfsdk:"ssl_thumbprints"` //List[string]
MaxAbsoluteActiveActions types.Int64 `tfsdk:"max_absolute_active_actions"`
MaxAbsoluteNewActionsPerMinute types.Int64 `tfsdk:"max_absolute_new_actions_per_minute"`
MaxPowerActionsPercentageOfMachines types.Int64 `tfsdk:"max_power_actions_percentage_of_machines"`
}
HypervisorResourceModel maps the resource schema data.
func (HpeMoonshotHypervisorResourceModel) GetAttributes ¶ added in v1.0.19
func (HpeMoonshotHypervisorResourceModel) GetAttributes() map[string]schema.Attribute
func (HpeMoonshotHypervisorResourceModel) GetAttributesNamesToMask ¶ added in v1.0.20
func (HpeMoonshotHypervisorResourceModel) GetAttributesNamesToMask() map[string]bool
func (HpeMoonshotHypervisorResourceModel) GetSchema ¶ added in v1.0.19
func (HpeMoonshotHypervisorResourceModel) GetSchema() schema.Schema
func (HpeMoonshotHypervisorResourceModel) RefreshPropertyValues ¶ added in v1.0.19
func (r HpeMoonshotHypervisorResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, hypervisor *citrixorchestration.HypervisorDetailResponseModel) HpeMoonshotHypervisorResourceModel
type HypervisorDataSource ¶ added in v0.6.2
type HypervisorDataSource struct {
// contains filtered or unexported fields
}
HypervisorDataSource defines the data source implementation.
func (*HypervisorDataSource) Configure ¶ added in v0.6.2
func (d *HypervisorDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*HypervisorDataSource) Metadata ¶ added in v0.6.2
func (d *HypervisorDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*HypervisorDataSource) Read ¶ added in v0.6.2
func (d *HypervisorDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*HypervisorDataSource) Schema ¶ added in v0.6.2
func (d *HypervisorDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type HypervisorDataSourceModel ¶ added in v0.6.2
type HypervisorDataSourceModel struct {
Id types.String `tfsdk:"id"`
Name types.String `tfsdk:"name"`
Tenants types.Set `tfsdk:"tenants"` // Set[string]
}
HypervisorDataSourceModel defines the Hypervisor data source implementation.
func (HypervisorDataSourceModel) GetSchema ¶ added in v0.6.2
func (HypervisorDataSourceModel) GetSchema() schema.Schema
func (HypervisorDataSourceModel) RefreshPropertyValues ¶ added in v0.6.2
func (r HypervisorDataSourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, hypervisor *citrixorchestration.HypervisorDetailResponseModel) HypervisorDataSourceModel
type NutanixHypervisorResourceModel ¶
type NutanixHypervisorResourceModel struct {
/**** Connection Details ****/
Id types.String `tfsdk:"id"`
Name types.String `tfsdk:"name"`
Zone types.String `tfsdk:"zone"`
Scopes types.Set `tfsdk:"scopes"` // Set[string]
Metadata types.List `tfsdk:"metadata"` // List[NameValueStringPairModel]
Tenants types.Set `tfsdk:"tenants"` // Set[string]
/** Nutanix Connection **/
Username types.String `tfsdk:"username"`
Password types.String `tfsdk:"password"`
PasswordFormat types.String `tfsdk:"password_format"`
Addresses types.List `tfsdk:"addresses"` //List[string]
MaxAbsoluteActiveActions types.Int64 `tfsdk:"max_absolute_active_actions"`
MaxAbsoluteNewActionsPerMinute types.Int64 `tfsdk:"max_absolute_new_actions_per_minute"`
MaxPowerActionsPercentageOfMachines types.Int64 `tfsdk:"max_power_actions_percentage_of_machines"`
}
HypervisorResourceModel maps the resource schema data.
func (NutanixHypervisorResourceModel) GetAttributes ¶ added in v0.6.2
func (NutanixHypervisorResourceModel) GetAttributes() map[string]schema.Attribute
func (NutanixHypervisorResourceModel) GetAttributesNamesToMask ¶ added in v1.0.20
func (NutanixHypervisorResourceModel) GetAttributesNamesToMask() map[string]bool
func (NutanixHypervisorResourceModel) GetSchema ¶ added in v0.6.2
func (NutanixHypervisorResourceModel) GetSchema() schema.Schema
func (NutanixHypervisorResourceModel) RefreshPropertyValues ¶
func (r NutanixHypervisorResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, hypervisor *citrixorchestration.HypervisorDetailResponseModel) NutanixHypervisorResourceModel
type OpenShiftHypervisorResourceModel ¶ added in v1.0.18
type OpenShiftHypervisorResourceModel struct {
/**** Connection Details ****/
Id types.String `tfsdk:"id"`
Name types.String `tfsdk:"name"`
Zone types.String `tfsdk:"zone"`
Scopes types.Set `tfsdk:"scopes"` // Set[string]
Metadata types.List `tfsdk:"metadata"` // List[NameValueStringPairModel]
Tenants types.Set `tfsdk:"tenants"` // Set[string]
/** OpenShift Connection **/
Addresses types.List `tfsdk:"addresses"`
ServiceAccountToken types.String `tfsdk:"service_account_token"`
SslThumbprints types.List `tfsdk:"ssl_thumbprints"`
MaxAbsoluteActiveActions types.Int64 `tfsdk:"max_absolute_active_actions"`
MaxAbsoluteNewActionsPerMinute types.Int64 `tfsdk:"max_absolute_new_actions_per_minute"`
MaxPowerActionsPercentageOfMachines types.Int64 `tfsdk:"max_power_actions_percentage_of_machines"`
}
HypervisorResourceModel maps the resource schema data.
func (OpenShiftHypervisorResourceModel) GetAttributes ¶ added in v1.0.18
func (OpenShiftHypervisorResourceModel) GetAttributes() map[string]schema.Attribute
func (OpenShiftHypervisorResourceModel) GetAttributesNamesToMask ¶ added in v1.0.20
func (OpenShiftHypervisorResourceModel) GetAttributesNamesToMask() map[string]bool
func (OpenShiftHypervisorResourceModel) GetSchema ¶ added in v1.0.18
func (OpenShiftHypervisorResourceModel) GetSchema() schema.Schema
func (OpenShiftHypervisorResourceModel) RefreshPropertyValues ¶ added in v1.0.18
func (r OpenShiftHypervisorResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, hypervisor *citrixorchestration.HypervisorDetailResponseModel) OpenShiftHypervisorResourceModel
type RemotePCWakeOnLANHypervisorResourceModel ¶ added in v1.0.19
type RemotePCWakeOnLANHypervisorResourceModel struct {
/**** Connection Details ****/
Id types.String `tfsdk:"id"`
Name types.String `tfsdk:"name"`
Zone types.String `tfsdk:"zone"`
Scopes types.Set `tfsdk:"scopes"` // Set[string]
Metadata types.List `tfsdk:"metadata"` // List[NameValueStringPairModel]
/**** RemotePC Connection Details ****/
MaxAbsoluteActiveActions types.Int64 `tfsdk:"max_absolute_active_actions"`
MaxAbsoluteNewActionsPerMinute types.Int64 `tfsdk:"max_absolute_new_actions_per_minute"`
MaxPowerActionsPercentageOfMachines types.Int64 `tfsdk:"max_power_actions_percentage_of_machines"`
}
HypervisorResourceModel maps the resource schema data.
func (RemotePCWakeOnLANHypervisorResourceModel) GetAttributes ¶ added in v1.0.19
func (RemotePCWakeOnLANHypervisorResourceModel) GetAttributes() map[string]schema.Attribute
func (RemotePCWakeOnLANHypervisorResourceModel) GetAttributesNamesToMask ¶ added in v1.0.20
func (RemotePCWakeOnLANHypervisorResourceModel) GetAttributesNamesToMask() map[string]bool
func (RemotePCWakeOnLANHypervisorResourceModel) GetSchema ¶ added in v1.0.19
func (RemotePCWakeOnLANHypervisorResourceModel) GetSchema() schema.Schema
func (RemotePCWakeOnLANHypervisorResourceModel) RefreshPropertyValues ¶ added in v1.0.19
func (r RemotePCWakeOnLANHypervisorResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, hypervisor *citrixorchestration.HypervisorDetailResponseModel) RemotePCWakeOnLANHypervisorResourceModel
type SCVMMMHypervisorResourceModel ¶ added in v0.6.2
type SCVMMMHypervisorResourceModel struct {
Id types.String `tfsdk:"id"`
Name types.String `tfsdk:"name"`
Zone types.String `tfsdk:"zone"`
Scopes types.Set `tfsdk:"scopes"` // Set[string]
Metadata types.List `tfsdk:"metadata"` // List[NameValueStringPairModel]
Tenants types.Set `tfsdk:"tenants"` // Set[string]
/** SCVMM Connection **/
Username types.String `tfsdk:"username"`
Password types.String `tfsdk:"password"`
PasswordFormat types.String `tfsdk:"password_format"`
Addresses types.List `tfsdk:"addresses"` // List[string]
MaxAbsoluteActiveActions types.Int64 `tfsdk:"max_absolute_active_actions"`
MaxAbsoluteNewActionsPerMinute types.Int64 `tfsdk:"max_absolute_new_actions_per_minute"`
MaxPowerActionsPercentageOfMachines types.Int64 `tfsdk:"max_power_actions_percentage_of_machines"`
}
func (SCVMMMHypervisorResourceModel) GetAttributes ¶ added in v0.6.2
func (SCVMMMHypervisorResourceModel) GetAttributes() map[string]schema.Attribute
func (SCVMMMHypervisorResourceModel) GetAttributesNamesToMask ¶ added in v1.0.20
func (SCVMMMHypervisorResourceModel) GetAttributesNamesToMask() map[string]bool
func (SCVMMMHypervisorResourceModel) GetSchema ¶ added in v0.6.2
func (SCVMMMHypervisorResourceModel) GetSchema() schema.Schema
func (SCVMMMHypervisorResourceModel) RefreshPropertyValues ¶ added in v0.6.2
func (r SCVMMMHypervisorResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, hypervisor *citrixorchestration.HypervisorDetailResponseModel) SCVMMMHypervisorResourceModel
type VsphereHypervisorResourceModel ¶
type VsphereHypervisorResourceModel struct {
/**** Connection Details ****/
Id types.String `tfsdk:"id"`
Name types.String `tfsdk:"name"`
Zone types.String `tfsdk:"zone"`
Scopes types.Set `tfsdk:"scopes"` // Set[string]
Metadata types.List `tfsdk:"metadata"` // List[NameValueStringPairModel]
Tenants types.Set `tfsdk:"tenants"` // Set[string]
/** vSphere Connection **/
Username types.String `tfsdk:"username"`
Password types.String `tfsdk:"password"`
PasswordFormat types.String `tfsdk:"password_format"`
Addresses types.List `tfsdk:"addresses"` // List[string]
SslThumbprints types.List `tfsdk:"ssl_thumbprints"` // List[string]
MaxAbsoluteActiveActions types.Int64 `tfsdk:"max_absolute_active_actions"`
MaxAbsoluteNewActionsPerMinute types.Int64 `tfsdk:"max_absolute_new_actions_per_minute"`
MaxPowerActionsPercentageOfMachines types.Int64 `tfsdk:"max_power_actions_percentage_of_machines"`
}
HypervisorResourceModel maps the resource schema data.
func (VsphereHypervisorResourceModel) GetAttributes ¶ added in v0.6.2
func (VsphereHypervisorResourceModel) GetAttributes() map[string]schema.Attribute
func (VsphereHypervisorResourceModel) GetAttributesNamesToMask ¶ added in v1.0.20
func (VsphereHypervisorResourceModel) GetAttributesNamesToMask() map[string]bool
func (VsphereHypervisorResourceModel) GetSchema ¶ added in v0.6.2
func (VsphereHypervisorResourceModel) GetSchema() schema.Schema
func (VsphereHypervisorResourceModel) RefreshPropertyValues ¶
func (r VsphereHypervisorResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, hypervisor *citrixorchestration.HypervisorDetailResponseModel) VsphereHypervisorResourceModel
type XenserverHypervisorResourceModel ¶
type XenserverHypervisorResourceModel struct {
/**** Connection Details ****/
Id types.String `tfsdk:"id"`
Name types.String `tfsdk:"name"`
Zone types.String `tfsdk:"zone"`
Scopes types.Set `tfsdk:"scopes"` // Set[string]
Metadata types.List `tfsdk:"metadata"` // List[NameValueStringPairModel]
Tenants types.Set `tfsdk:"tenants"` // Set[string]
/** Xenserver Connection **/
Username types.String `tfsdk:"username"`
Password types.String `tfsdk:"password"`
PasswordFormat types.String `tfsdk:"password_format"`
Addresses types.List `tfsdk:"addresses"` // List[string]
SslThumbprints types.List `tfsdk:"ssl_thumbprints"` //List[string]
MaxAbsoluteActiveActions types.Int64 `tfsdk:"max_absolute_active_actions"`
MaxAbsoluteNewActionsPerMinute types.Int64 `tfsdk:"max_absolute_new_actions_per_minute"`
MaxPowerActionsPercentageOfMachines types.Int64 `tfsdk:"max_power_actions_percentage_of_machines"`
}
HypervisorResourceModel maps the resource schema data.
func (XenserverHypervisorResourceModel) GetAttributes ¶ added in v0.6.2
func (XenserverHypervisorResourceModel) GetAttributes() map[string]schema.Attribute
func (XenserverHypervisorResourceModel) GetAttributesNamesToMask ¶ added in v1.0.20
func (XenserverHypervisorResourceModel) GetAttributesNamesToMask() map[string]bool
func (XenserverHypervisorResourceModel) GetSchema ¶ added in v0.6.2
func (XenserverHypervisorResourceModel) GetSchema() schema.Schema
func (XenserverHypervisorResourceModel) RefreshPropertyValues ¶
func (r XenserverHypervisorResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, hypervisor *citrixorchestration.HypervisorDetailResponseModel) XenserverHypervisorResourceModel
Source Files
¶
- amazon_workspaces_core_hypervisor_resource.go
- amazon_workspaces_core_hypervisor_resource_model.go
- aws_hypervisor_resource.go
- aws_hypervisor_resource_model.go
- azure_hypervisor_resource.go
- azure_hypervisor_resource_model.go
- gcp_hypervisor_resource.go
- gcp_hypervisor_resource_model.go
- hpe_moonshot_hypervisor_resource.go
- hpe_moonshot_hypervisor_resource_model.go
- hypervisor_common.go
- hypervisor_data_source.go
- hypervisor_data_source_model.go
- nutanix_hypervisor_resource.go
- nutanix_hypervisor_resource_model.go
- openshift_hypervisor_resource.go
- openshift_hypervisor_resource_model.go
- remotepc_wake_on_lan_hypervisor_resource.go
- remotepc_wake_on_lan_hypervisor_resource_model.go
- scvmm_hypervisor_resource.go
- scvmm_hypervisor_resource_model.go
- vsphere_hypervisor_resource.go
- vsphere_hypervisor_resource_model.go
- xenserver_hypervisor_resource.go
- xenserver_hypervisor_resource_model.go