Documentation ¶
Index ¶
- Constants
- Variables
- func DataSourceIBMComputeBareMetal() *schema.Resource
- func DataSourceIBMComputeImageTemplate() *schema.Resource
- func DataSourceIBMComputePlacementGroup() *schema.Resource
- func DataSourceIBMComputeReservedCapacity() *schema.Resource
- func DataSourceIBMComputeSSHKey() *schema.Resource
- func DataSourceIBMComputeVmInstance() *schema.Resource
- func DataSourceIBMDNSDomain() *schema.Resource
- func DataSourceIBMDNSDomainRegistration() *schema.Resource
- func DataSourceIBMDNSSecondary() *schema.Resource
- func DataSourceIBMLbaas() *schema.Resource
- func DataSourceIBMNetworkVlan() *schema.Resource
- func DataSourceIBMSecurityGroup() *schema.Resource
- func ResourceIBMCDN() *schema.Resource
- func ResourceIBMComputeAutoScaleGroup() *schema.Resource
- func ResourceIBMComputeAutoScalePolicy() *schema.Resource
- func ResourceIBMComputeBareMetal() *schema.Resource
- func ResourceIBMComputeDedicatedHost() *schema.Resource
- func ResourceIBMComputeMonitor() *schema.Resource
- func ResourceIBMComputePlacementGroup() *schema.Resource
- func ResourceIBMComputeProvisioningHook() *schema.Resource
- func ResourceIBMComputeReservedCapacity() *schema.Resource
- func ResourceIBMComputeSSHKey() *schema.Resource
- func ResourceIBMComputeSSLCertificate() *schema.Resource
- func ResourceIBMComputeUser() *schema.Resource
- func ResourceIBMComputeVmInstance() *schema.Resource
- func ResourceIBMDNSDomain() *schema.Resource
- func ResourceIBMDNSDomainRegistrationNameservers() *schema.Resource
- func ResourceIBMDNSRecord() *schema.Resource
- func ResourceIBMDNSReverseRecord() *schema.Resource
- func ResourceIBMDNSSecondary() *schema.Resource
- func ResourceIBMFirewall() *schema.Resource
- func ResourceIBMFirewallPolicy() *schema.Resource
- func ResourceIBMFirewallShared() *schema.Resource
- func ResourceIBMIPSecVPN() *schema.Resource
- func ResourceIBMLb() *schema.Resource
- func ResourceIBMLbService() *schema.Resource
- func ResourceIBMLbServiceGroup() *schema.Resource
- func ResourceIBMLbVpx() *schema.Resource
- func ResourceIBMLbVpxHa() *schema.Resource
- func ResourceIBMLbVpxService() *schema.Resource
- func ResourceIBMLbVpxVip() *schema.Resource
- func ResourceIBMLbaas() *schema.Resource
- func ResourceIBMLbaasHealthMonitor() *schema.Resource
- func ResourceIBMLbaasServerInstanceAttachment() *schema.Resource
- func ResourceIBMMultiVlanFirewall() *schema.Resource
- func ResourceIBMNetworkGateway() *schema.Resource
- func ResourceIBMNetworkGatewayVlanAttachment() *schema.Resource
- func ResourceIBMNetworkInterfaceSGAttachment() *schema.Resource
- func ResourceIBMNetworkPublicIp() *schema.Resource
- func ResourceIBMNetworkVlan() *schema.Resource
- func ResourceIBMNetworkVlanSpan() *schema.Resource
- func ResourceIBMObjectStorageAccount() *schema.Resource
- func ResourceIBMSSLCertificate() *schema.Resource
- func ResourceIBMSecurityGroup() *schema.Resource
- func ResourceIBMSecurityGroupRule() *schema.Resource
- func ResourceIBMStorageBlock() *schema.Resource
- func ResourceIBMStorageEvault() *schema.Resource
- func ResourceIBMStorageFile() *schema.Resource
- func ResourceIBMSubnet() *schema.Resource
- func WaitForEvaultAvailable(d *schema.ResourceData, meta interface{}, timeout string) (interface{}, error)
- func WaitForNoActiveTransactions(id int, d *schema.ResourceData, timeout time.Duration, meta interface{}) (interface{}, error)
- func WaitForOrderCompletion(receipt *datatypes.Container_Product_Order_Receipt, meta interface{}) (datatypes.Billing_Order_Item, error)
- func WaitForStorageAvailable(d *schema.ResourceData, meta interface{}) (interface{}, error)
- func WaitForStorageUpdate(d *schema.ResourceData, meta interface{}) (interface{}, error)
- func WaitForUpgradeTransactionsToAppear(d *schema.ResourceData, meta interface{}) (interface{}, error)
- func WaitForVSAvailable(d *schema.ResourceData, meta interface{}, timeout time.Duration) (interface{}, error)
- func WaitForVirtualGuestAvailable(id int, d *schema.ResourceData, meta interface{}) (interface{}, error)
Constants ¶
View Source
const ( IBMComputeTimeFormat = string("2006-01-02T15:04:05-07:00") IBMCOMPUTE_SCALE_POLICY_TRIGGER_TYPE_ID_RESOURCE_USE = 1 IBMCOMPUTE_SCALE_POLICY_TRIGGER_TYPE_ID_REPEATING = 2 IBMCOMPUTE_SCALE_POLICY_TRIGGER_TYPE_ID_ONE_TIME = 3 )
View Source
const ( LB_LARGE_150000_CONNECTIONS = 150000 LB_SMALL_15000_CONNECTIONS = 15000 LbLocalPackageType = "ADDITIONAL_SERVICES_LOAD_BALANCER" )
View Source
const ( PACKAGE_ID_APPLICATION_DELIVERY_CONTROLLER = 192 DELIMITER = "_" )
View Source
const ( AdditionalServicesGlobalIpAddressesPackageType = "ADDITIONAL_SERVICES_GLOBAL_IP_ADDRESSES" GlobalIpMask = "id,ipAddress[ipAddress,id,note],destinationIpAddress[ipAddress]" )
View Source
const ( AdditionalServicesPackageType = "ADDITIONAL_SERVICES" AdditionalServicesNetworkVlanPackageType = "ADDITIONAL_SERVICES_NETWORK_VLAN" VlanMask = "id,name,primaryRouter[datacenter[name]],primaryRouter[hostname],vlanNumber," + "billingItem[recurringFee],guestNetworkComponentCount,subnets[networkIdentifier,cidr,subnetType],tagReferences[id,tag[name]]" )
View Source
const ( AdditionalSSLServicesPackageType = "ADDITIONAL_SERVICES" AdditionalServicesSSLCertificatePackageType = "ADDITIONAL_SERVICES_SSL_CERTIFICATE" SSLMask = "id" )
View Source
const (
BareMetalMask = "globalIdentifier,hostname,domain,bandwidthAllocation,provisionDate,id," +
"primaryIpAddress,primaryBackendIpAddress,privateNetworkOnlyFlag," +
"notes,userData[value],tagReferences[id,tag[name]]," +
"allowedNetworkStorage[id,nasType]," +
"hourlyBillingFlag," +
"datacenter[id,name,longName]," +
"primaryNetworkComponent[primarySubnet[networkVlan[id,primaryRouter,vlanNumber],id],maxSpeed," +
"primaryIpAddressRecord[id]," +
"primaryVersion6IpAddressRecord[subnet,id]]," +
"primaryBackendNetworkComponent[primarySubnet[networkVlan[id,primaryRouter,vlanNumber],id]," +
"primaryIpAddressRecord[id]," +
"maxSpeed,redundancyEnabledFlag]," +
"memoryCapacity,powerSupplyCount," +
"operatingSystem[softwareLicense[softwareDescription[referenceCode]]]"
)
View Source
const (
FwHardwareDedicatedPackageType = "ADDITIONAL_SERVICES_FIREWALL"
)
View Source
const (
FwHardwarePackageType = "ADDITIONAL_SERVICES_FIREWALL"
)
View Source
const GATEWAY_APPLIANCE_CLUSTER = "NETWORK_GATEWAY_APPLIANCE_CLUSTER"
View Source
const HEALTH_CHECK_TYPE_HTTP_CUSTOM = "HTTP-CUSTOM"
View Source
const NOT_FOUND = "SoftLayer_Exception_Network_LBaaS_ObjectNotFound"
View Source
const (
SubnetMask = "id,addressSpace,subnetType,version,ipAddressCount," +
"networkIdentifier,cidr,note,endPointIpAddress[ipAddress],networkVlan[id],totalIpAddresses"
)
View Source
const (
VPX_VERSION_10_1 = "10.1"
)
Variables ¶
View Source
var IBMComputeAutoScaleGroupObjectMask = []string{
"id",
"name",
"minimumMemberCount",
"maximumMemberCount",
"cooldown",
"status[keyName]",
"regionalGroup[id,name]",
"terminationPolicy[keyName]",
"virtualGuestMemberTemplate[blockDeviceTemplateGroup,primaryNetworkComponent[networkVlan[id]],primaryBackendNetworkComponent[networkVlan[id]]]",
"loadBalancers[id,port,virtualServerId,healthCheck[id]]",
"networkVlans[id,networkVlanId,networkVlan[vlanNumber,primaryRouter[hostname]]]",
"loadBalancers[healthCheck[healthCheckTypeId,type[keyname],attributes[value,type[id,keyname]]]]",
}
View Source
var IBMComputeAutoScalePolicyObjectMask = []string{
"cooldown",
"id",
"name",
"scaleActions",
"scaleGroupId",
"oneTimeTriggers",
"repeatingTriggers",
"resourceUseTriggers.watches",
"triggers",
}
Functions ¶
func DataSourceIBMDNSDomain ¶
func DataSourceIBMLbaas ¶
func ResourceIBMCDN ¶
func ResourceIBMComputeUser ¶
func ResourceIBMDNSDomain ¶
func ResourceIBMDNSRecord ¶
func ResourceIBMDNSSecondary ¶
func ResourceIBMFirewall ¶
func ResourceIBMIPSecVPN ¶
func ResourceIBMLb ¶
func ResourceIBMLbService ¶
func ResourceIBMLbVpx ¶
func ResourceIBMLbVpxHa ¶
func ResourceIBMLbVpxService ¶
func ResourceIBMLbVpxVip ¶
func ResourceIBMLbaas ¶
func ResourceIBMNetworkVlan ¶
func ResourceIBMStorageBlock ¶
func ResourceIBMStorageFile ¶
func ResourceIBMSubnet ¶
func WaitForEvaultAvailable ¶
func WaitForEvaultAvailable(d *schema.ResourceData, meta interface{}, timeout string) (interface{}, error)
Waits for storage provisioning
func WaitForNoActiveTransactions ¶
func WaitForNoActiveTransactions(id int, d *schema.ResourceData, timeout time.Duration, meta interface{}) (interface{}, error)
WaitForNoActiveTransactions Wait for no active transactions
func WaitForOrderCompletion ¶
func WaitForOrderCompletion( receipt *datatypes.Container_Product_Order_Receipt, meta interface{}) (datatypes.Billing_Order_Item, error)
func WaitForStorageAvailable ¶
func WaitForStorageAvailable(d *schema.ResourceData, meta interface{}) (interface{}, error)
Waits for storage provisioning
func WaitForStorageUpdate ¶
func WaitForStorageUpdate(d *schema.ResourceData, meta interface{}) (interface{}, error)
Waits for storage update
func WaitForUpgradeTransactionsToAppear ¶
func WaitForUpgradeTransactionsToAppear(d *schema.ResourceData, meta interface{}) (interface{}, error)
WaitForUpgradeTransactionsToAppear Wait for upgrade transactions
func WaitForVSAvailable ¶
func WaitForVSAvailable(d *schema.ResourceData, meta interface{}, timeout time.Duration) (interface{}, error)
WaitForVirtualGuestAvailable Waits for virtual guest creation
func WaitForVirtualGuestAvailable ¶
func WaitForVirtualGuestAvailable(id int, d *schema.ResourceData, meta interface{}) (interface{}, error)
WaitForVirtualGuestAvailable Waits for virtual guest creation
Types ¶
This section is empty.
Source Files ¶
- data_source_ibm_compute_bare_metal.go
- data_source_ibm_compute_image_template.go
- data_source_ibm_compute_placement_group.go
- data_source_ibm_compute_reserved_capacity.go
- data_source_ibm_compute_ssh_key.go
- data_source_ibm_compute_vm_instance.go
- data_source_ibm_dns_domain.go
- data_source_ibm_dns_domain_registration.go
- data_source_ibm_dns_secondary.go
- data_source_ibm_lbaas.go
- data_source_ibm_network_vlan.go
- data_source_ibm_security_group.go
- resource_ibm_cdn.go
- resource_ibm_compute_autoscale_group.go
- resource_ibm_compute_autoscale_policy.go
- resource_ibm_compute_bare_metal.go
- resource_ibm_compute_dedicated_host.go
- resource_ibm_compute_monitor.go
- resource_ibm_compute_placement_group.go
- resource_ibm_compute_provisioning_hook.go
- resource_ibm_compute_reserved_capacity.go
- resource_ibm_compute_ssh_key.go
- resource_ibm_compute_ssl_certificate.go
- resource_ibm_compute_user.go
- resource_ibm_compute_vm_instance.go
- resource_ibm_dns_domain.go
- resource_ibm_dns_domain_registration_nameservers.go
- resource_ibm_dns_record.go
- resource_ibm_dns_reverse_record.go
- resource_ibm_dns_secondary.go
- resource_ibm_firewall.go
- resource_ibm_firewall_policy.go
- resource_ibm_firewall_shared.go
- resource_ibm_ipsec_vpn.go
- resource_ibm_lb.go
- resource_ibm_lb_service.go
- resource_ibm_lb_service_group.go
- resource_ibm_lb_vpx.go
- resource_ibm_lb_vpx_ha.go
- resource_ibm_lb_vpx_service.go
- resource_ibm_lb_vpx_vip.go
- resource_ibm_lbaas.go
- resource_ibm_lbaas_health_monitor.go
- resource_ibm_lbaas_server_instance_attachment.go
- resource_ibm_multi_vlan_firewall.go
- resource_ibm_network_gateway.go
- resource_ibm_network_gateway_vlan_attachment.go
- resource_ibm_network_interface_sg_attachment.go
- resource_ibm_network_public_ip.go
- resource_ibm_network_vlan.go
- resource_ibm_network_vlan_spanning.go
- resource_ibm_object_storage_account.go
- resource_ibm_securitygroup.go
- resource_ibm_securitygroup_rule.go
- resource_ibm_ssl_certificate.go
- resource_ibm_storage_block.go
- resource_ibm_storage_evault.go
- resource_ibm_storage_file.go
- resource_ibm_subnet.go
Click to show internal directories.
Click to hide internal directories.