Documentation ¶
Index ¶
- func Provider() terraform.ResourceProvider
- type Config
- type IPPool
- type PartialMe
- type PublicCloudPrivateNetworkCreateOpts
- type PublicCloudPrivateNetworkRegion
- type PublicCloudPrivateNetworkResponse
- type PublicCloudPrivateNetworkUpdateOpts
- type PublicCloudPrivateNetworksCreateOpts
- type PublicCloudPrivateNetworksResponse
- type PublicCloudRegionResponse
- type PublicCloudServiceStatusResponse
- type PublicCloudUserCreateOpts
- type PublicCloudUserOpenstackRC
- type PublicCloudUserResponse
- type TaskOpts
- type VRackAttachOpts
- type VRackAttachTaskResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Provider ¶
func Provider() terraform.ResourceProvider
Provider returns a schema.Provider for OVH.
Types ¶
type IPPool ¶
type PartialMe ¶
type PartialMe struct {
Firstname string `json:"firstname"`
}
type used to verify client access to ovh api
type PublicCloudPrivateNetworkCreateOpts ¶
type PublicCloudPrivateNetworkCreateOpts struct { ProjectId string `json:"serviceName"` VlanId int `json:"vlanId"` Name string `json:"name"` Regions []string `json:"regions"` }
Opts
func (*PublicCloudPrivateNetworkCreateOpts) String ¶
func (p *PublicCloudPrivateNetworkCreateOpts) String() string
type PublicCloudPrivateNetworkRegion ¶
type PublicCloudPrivateNetworkRegion struct { Status string `json:"status"` Region string `json:"region"` }
func (*PublicCloudPrivateNetworkRegion) String ¶
func (p *PublicCloudPrivateNetworkRegion) String() string
type PublicCloudPrivateNetworkResponse ¶
type PublicCloudPrivateNetworkResponse struct { Id string `json:"id"` Status string `json:"status"` Vlanid int `json:"vlanId"` Name string `json:"name"` Type string `json:"type"` Regions []*PublicCloudPrivateNetworkRegion `json:"regions"` }
func (*PublicCloudPrivateNetworkResponse) String ¶
func (p *PublicCloudPrivateNetworkResponse) String() string
type PublicCloudPrivateNetworkUpdateOpts ¶
type PublicCloudPrivateNetworkUpdateOpts struct {
Name string `json:"name"`
}
Opts
type PublicCloudPrivateNetworksCreateOpts ¶
type PublicCloudPrivateNetworksCreateOpts struct { ProjectId string `json:"serviceName"` NetworkId string `json:"networkId"` Dhcp bool `json:"dhcp"` NoGateway bool `json:"noGateway"` Start string `json:"start"` End string `json:"end"` Network string `json:"network"` Region string `json:"region"` }
Opts
func (*PublicCloudPrivateNetworksCreateOpts) String ¶
func (p *PublicCloudPrivateNetworksCreateOpts) String() string
type PublicCloudPrivateNetworksResponse ¶
type PublicCloudPrivateNetworksResponse struct { Id string `json:"id"` GatewayIp string `json:"gatewayIp"` Cidr string `json:"cidr"` IPPools []*IPPool `json:"ipPools"` }
func (*PublicCloudPrivateNetworksResponse) String ¶
func (p *PublicCloudPrivateNetworksResponse) String() string
type PublicCloudRegionResponse ¶
type PublicCloudRegionResponse struct { ContinentCode string `json:"continentCode"` DatacenterLocation string `json:"datacenterLocation"` Name string `json:"name"` Services []PublicCloudServiceStatusResponse `json:"services"` }
func (*PublicCloudRegionResponse) String ¶
func (r *PublicCloudRegionResponse) String() string
type PublicCloudServiceStatusResponse ¶
type PublicCloudServiceStatusResponse struct { Status string `json:"status"` Name string `json:"name"` }
func (*PublicCloudServiceStatusResponse) String ¶
func (s *PublicCloudServiceStatusResponse) String() string
type PublicCloudUserCreateOpts ¶
type PublicCloudUserCreateOpts struct { ProjectId string `json:"serviceName"` Description string `json:"description"` }
Opts
func (*PublicCloudUserCreateOpts) String ¶
func (p *PublicCloudUserCreateOpts) String() string
type PublicCloudUserOpenstackRC ¶
type PublicCloudUserOpenstackRC struct {
Content string `json:"content"`
}
type PublicCloudUserResponse ¶
type PublicCloudUserResponse struct { Id int `json:"id"` Username string `json:"username"` Status string `json:"status"` Description string `json:"description"` Password string `json:"password"` CreationDate string `json:"creationDate"` }
func (*PublicCloudUserResponse) String ¶
func (p *PublicCloudUserResponse) String() string
type VRackAttachTaskResponse ¶
type VRackAttachTaskResponse struct { Id int `json:"id"` Function string `json:"function"` TargetDomain string `json:"targetDomain"` Status string `json:"status"` ServiceName string `json:"serviceName"` OrderId int `json:"orderId"` LastUpdate time.Time `json:"lastUpdate"` TodoDate time.Time `json:"TodoDate"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.