Documentation ¶
Index ¶
- Constants
- func BlockDeviceSnapshotStateRefreshFunc(apiClient client.API, id string) resource.StateRefreshFunc
- func LoadBalancerTargetSchema() *schema.Schema
- func NewClientFromAccessToken(url, accessToken string, insecure bool, apiTimeout int) (interface{}, error)
- func NewClientFromRefreshToken(url, refreshToken string, insecure bool, reauth string, apiTimeout int) (interface{}, error)
- func Provider() *schema.Provider
- type Client
- type ContentSourceRepositoryConfig
- type ReauthTimeout
- type ReauthorizeRuntime
- type SwaggerLogger
Constants ¶
View Source
const ( IaaSAPIVersion = "2021-07-15" CatalogAPIVersion = "2020-08-25" DeploymentsAPIVersion = "2020-08-25" )
API Versions
View Source
const ( ChangeOwnerDeploymentActionName = "ChangeOwner" ChangeLeaseDeploymentActionName = "ChangeLease" EditTagsDeploymentActionName = "EditTags" PowerOffDeploymentActionName = "PowerOff" PowerOnDeploymentActionName = "PowerOn" UpdateDeploymentActionName = "update" )
View Source
const DefaultDollarTop = 1000
Variables ¶
This section is empty.
Functions ¶
func BlockDeviceSnapshotStateRefreshFunc ¶ added in v0.3.3
func BlockDeviceSnapshotStateRefreshFunc(apiClient client.API, id string) resource.StateRefreshFunc
func LoadBalancerTargetSchema ¶ added in v0.1.4
LoadBalancerTargetSchema returns the schema to use for the targets property
func NewClientFromAccessToken ¶
func NewClientFromAccessToken(url, accessToken string, insecure bool, apiTimeout int) (interface{}, error)
NewClientFromAccessToken configures and returns a VRA "Client" struct using "access_token" from provider config
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client the VRA Client
type ContentSourceRepositoryConfig ¶ added in v0.2.0
type ContentSourceRepositoryConfig struct { Path string `json:"path,omitempty"` Branch string `json:"branch,omitempty"` Repository string `json:"repository,omitempty"` ContentType string `json:"contentType,omitempty"` ProjectName string `json:"projectName,omitempty"` IntegrationID string `json:"integrationId,omitempty"` }
ContentSourceRepositoryConfig - Config fields for linking an SCM integration with a repository and project not included in the swagger model so we're hand crafting it
type ReauthTimeout ¶ added in v0.2.0
type ReauthTimeout struct {
// contains filtered or unexported fields
}
func InitializeTimeout ¶ added in v0.2.0
func InitializeTimeout(d time.Duration) *ReauthTimeout
func (*ReauthTimeout) ShouldReload ¶ added in v0.2.0
func (t *ReauthTimeout) ShouldReload() bool
type ReauthorizeRuntime ¶ added in v0.2.0
type ReauthorizeRuntime struct {
// contains filtered or unexported fields
}
func (*ReauthorizeRuntime) Submit ¶ added in v0.2.0
func (r *ReauthorizeRuntime) Submit(operation *runtime.ClientOperation) (interface{}, error)
Submit implements the ClientTransport interface as a wrapper to retry a 401 with a new token.
type SwaggerLogger ¶
type SwaggerLogger struct{}
SwaggerLogger is the interface into the swagger logging facility which logs http traffic
func (SwaggerLogger) Debugf ¶
func (SwaggerLogger) Debugf(format string, args ...interface{})
Debugf is a swagger debug logger
func (SwaggerLogger) Printf ¶
func (SwaggerLogger) Printf(format string, args ...interface{})
Printf is a swagger debug Printf
Source Files ¶
- catalog_item_version.go
- client.go
- constraints.go
- content_source_repository_config.go
- custom_properties_helper.go
- data_source_block_device.go
- data_source_block_device_snapshots.go
- data_source_blueprint.go
- data_source_blueprint_version.go
- data_source_catalog_item.go
- data_source_catalog_item_entitlement.go
- data_source_catalog_source_blueprint.go
- data_source_catalog_source_entitlement.go
- data_source_cloud_account_aws.go
- data_source_cloud_account_azure.go
- data_source_cloud_account_gcp.go
- data_source_cloud_account_nsxt.go
- data_source_cloud_account_nsxv.go
- data_source_cloud_account_vmc.go
- data_source_cloud_account_vsphere.go
- data_source_data_collector.go
- data_source_deployment.go
- data_source_fabric_compute.go
- data_source_fabric_datastore_vsphere.go
- data_source_fabric_network.go
- data_source_fabric_storage_account_azure.go
- data_source_fabric_storage_policy_vsphere.go
- data_source_image.go
- data_source_image_profile.go
- data_source_network.go
- data_source_network_domain.go
- data_source_network_profile.go
- data_source_project.go
- data_source_region.go
- data_source_region_enumeration.go
- data_source_region_enumeration_aws.go
- data_source_region_enumeration_azure.go
- data_source_region_enumeration_gcp.go
- data_source_region_enumeration_vmc.go
- data_source_region_enumeration_vsphere.go
- data_source_security_group.go
- data_source_storage_profile.go
- data_source_storage_profile_aws.go
- data_source_storage_profile_azure.go
- data_source_storage_profile_vsphere.go
- data_source_vra_machine.go
- data_source_zone.go
- deployment_request.go
- expense.go
- image_mapping.go
- links.go
- load_balancer_targets.go
- nics.go
- provider.go
- regions.go
- resource.go
- resource_block_device.go
- resource_block_device_snapshot.go
- resource_blueprint.go
- resource_blueprint_version.go
- resource_catalog_item_entitlement.go
- resource_catalog_source_blueprint.go
- resource_catalog_source_entitlement.go
- resource_cloud_account_aws.go
- resource_cloud_account_azure.go
- resource_cloud_account_gcp.go
- resource_cloud_account_nsxt.go
- resource_cloud_account_nsxv.go
- resource_cloud_account_vmc.go
- resource_cloud_account_vsphere.go
- resource_content_source.go
- resource_deployment.go
- resource_fabric_compute.go
- resource_fabric_datastore_vsphere.go
- resource_fabric_network_vsphere.go
- resource_flavor_profile.go
- resource_image_profile.go
- resource_integration.go
- resource_load_balancer.go
- resource_machine.go
- resource_network.go
- resource_network_ip_range.go
- resource_network_profile.go
- resource_project.go
- resource_reference.go
- resource_storage_profile.go
- resource_storage_profile_aws.go
- resource_storage_profile_azure.go
- resource_storage_profile_vsphere.go
- resource_zone.go
- routes.go
- rules.go
- snapshots.go
- structure.go
- tags.go
- user.go
Click to show internal directories.
Click to hide internal directories.