All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
CreateSupportBundle | Post /api/v1/customers/{cUUID}/universes/{uniUUID}/support_bundle | Create support bundle for specific universe |
DeleteSupportBundle | Delete /api/v1/customers/{cUUID}/universes/{uniUUID}/support_bundle/{sbUUID} | Delete a support bundle |
DownloadSupportBundle | Get /api/v1/customers/{cUUID}/universes/{uniUUID}/support_bundle/{sbUUID}/download | Download support bundle |
EstimateSupportBundleSize | Get /api/v1/customers/{cUUID}/universes/{uniUUID}/support_bundle/estimate_size | Estimate support bundle size for specific universe |
GetSupportBundle | Get /api/v1/customers/{cUUID}/universes/{uniUUID}/support_bundle/{sbUUID} | Get a support bundle from a universe |
ListSupportBundle | Get /api/v1/customers/{cUUID}/universes/{uniUUID}/support_bundle | List all support bundles from a universe |
ListSupportBundleComponents | Get /api/v1/customers/{cUUID}/support_bundle/components | List all components available in support bundle |
YBPTask CreateSupportBundle(ctx, cUUID, uniUUID).SupportBundle(supportBundle).Request(request).Execute()
Create support bundle for specific universe
package main
import (
"context"
"fmt"
"os"
"time"
openapiclient "./openapi"
)
func main() {
cUUID := TODO // string |
uniUUID := TODO // string |
supportBundle := *openapiclient.NewSupportBundleFormData([]string{"Components_example"}, time.Now(), time.Now()) // SupportBundleFormData | post support bundle info
request := TODO // interface{} | (optional)
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.SupportBundleManagementApi.CreateSupportBundle(context.Background(), cUUID, uniUUID).SupportBundle(supportBundle).Request(request).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SupportBundleManagementApi.CreateSupportBundle``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateSupportBundle`: YBPTask
fmt.Fprintf(os.Stdout, "Response from `SupportBundleManagementApi.CreateSupportBundle`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
cUUID | string | ||
uniUUID | string |
Other parameters are passed through a pointer to a apiCreateSupportBundleRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
supportBundle | SupportBundleFormData | post support bundle info | request | interface{} | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
YBPSuccess DeleteSupportBundle(ctx, cUUID, uniUUID, sbUUID).Request(request).Execute()
Delete a support bundle
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
cUUID := TODO // string |
uniUUID := TODO // string |
sbUUID := TODO // string |
request := TODO // interface{} | (optional)
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.SupportBundleManagementApi.DeleteSupportBundle(context.Background(), cUUID, uniUUID, sbUUID).Request(request).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SupportBundleManagementApi.DeleteSupportBundle``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeleteSupportBundle`: YBPSuccess
fmt.Fprintf(os.Stdout, "Response from `SupportBundleManagementApi.DeleteSupportBundle`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
cUUID | string | ||
uniUUID | string | ||
sbUUID | string |
Other parameters are passed through a pointer to a apiDeleteSupportBundleRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
request | interface{} | |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string DownloadSupportBundle(ctx, cUUID, uniUUID, sbUUID).Execute()
Download support bundle
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
cUUID := TODO // string |
uniUUID := TODO // string |
sbUUID := TODO // string |
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.SupportBundleManagementApi.DownloadSupportBundle(context.Background(), cUUID, uniUUID, sbUUID).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SupportBundleManagementApi.DownloadSupportBundle``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DownloadSupportBundle`: string
fmt.Fprintf(os.Stdout, "Response from `SupportBundleManagementApi.DownloadSupportBundle`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
cUUID | string | ||
uniUUID | string | ||
sbUUID | string |
Other parameters are passed through a pointer to a apiDownloadSupportBundleRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
string
- Content-Type: Not defined
- Accept: application/x-compressed
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SupportBundleSizeEstimateResponse EstimateSupportBundleSize(ctx, cUUID, uniUUID).SupportBundle(supportBundle).Request(request).Execute()
Estimate support bundle size for specific universe
package main
import (
"context"
"fmt"
"os"
"time"
openapiclient "./openapi"
)
func main() {
cUUID := TODO // string |
uniUUID := TODO // string |
supportBundle := *openapiclient.NewSupportBundleFormData([]string{"Components_example"}, time.Now(), time.Now()) // SupportBundleFormData | support bundle info
request := TODO // interface{} | (optional)
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.SupportBundleManagementApi.EstimateSupportBundleSize(context.Background(), cUUID, uniUUID).SupportBundle(supportBundle).Request(request).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SupportBundleManagementApi.EstimateSupportBundleSize``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `EstimateSupportBundleSize`: SupportBundleSizeEstimateResponse
fmt.Fprintf(os.Stdout, "Response from `SupportBundleManagementApi.EstimateSupportBundleSize`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
cUUID | string | ||
uniUUID | string |
Other parameters are passed through a pointer to a apiEstimateSupportBundleSizeRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
supportBundle | SupportBundleFormData | support bundle info | request | interface{} | |
SupportBundleSizeEstimateResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SupportBundle GetSupportBundle(ctx, cUUID, uniUUID, sbUUID).Execute()
Get a support bundle from a universe
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
cUUID := TODO // string |
uniUUID := TODO // string |
sbUUID := TODO // string |
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.SupportBundleManagementApi.GetSupportBundle(context.Background(), cUUID, uniUUID, sbUUID).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SupportBundleManagementApi.GetSupportBundle``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetSupportBundle`: SupportBundle
fmt.Fprintf(os.Stdout, "Response from `SupportBundleManagementApi.GetSupportBundle`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
cUUID | string | ||
uniUUID | string | ||
sbUUID | string |
Other parameters are passed through a pointer to a apiGetSupportBundleRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]SupportBundle ListSupportBundle(ctx, cUUID, uniUUID).Execute()
List all support bundles from a universe
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
cUUID := TODO // string |
uniUUID := TODO // string |
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.SupportBundleManagementApi.ListSupportBundle(context.Background(), cUUID, uniUUID).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SupportBundleManagementApi.ListSupportBundle``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListSupportBundle`: []SupportBundle
fmt.Fprintf(os.Stdout, "Response from `SupportBundleManagementApi.ListSupportBundle`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
cUUID | string | ||
uniUUID | string |
Other parameters are passed through a pointer to a apiListSupportBundleRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]string ListSupportBundleComponents(ctx, cUUID).Execute()
List all components available in support bundle
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
cUUID := TODO // string |
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.SupportBundleManagementApi.ListSupportBundleComponents(context.Background(), cUUID).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SupportBundleManagementApi.ListSupportBundleComponents``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListSupportBundleComponents`: []string
fmt.Fprintf(os.Stdout, "Response from `SupportBundleManagementApi.ListSupportBundleComponents`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
cUUID | string |
Other parameters are passed through a pointer to a apiListSupportBundleComponentsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
[]string
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]