All URIs are relative to /v3
Method | HTTP request | Description |
---|---|---|
EnableScaleTesting | Post /enable-scale-testing | This is used for performance testing to enable engine and object duplication. |
EnableScaleTesting(ctx).EnableScaleTestingRequest(enableScaleTestingRequest).Execute()
This is used for performance testing to enable engine and object duplication.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/delphix/dct-sdk-go"
)
func main() {
enableScaleTestingRequest := *openapiclient.NewEnableScaleTestingRequest(int32(123), []string{"EnginesList_example"}, int32(123), int32(123)) // EnableScaleTestingRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.TestApi.EnableScaleTesting(context.Background()).EnableScaleTestingRequest(enableScaleTestingRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TestApi.EnableScaleTesting``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Other parameters are passed through a pointer to a apiEnableScaleTestingRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
enableScaleTestingRequest | EnableScaleTestingRequest |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]