All URIs are relative to http://localhost/api/v3
Method | HTTP request | Description |
---|---|---|
ManagedBlueprintsApplyCreate | Post /managed/blueprints/{instance_uuid}/apply/ | |
ManagedBlueprintsAvailableList | Get /managed/blueprints/available/ | |
ManagedBlueprintsCreate | Post /managed/blueprints/ | |
ManagedBlueprintsDestroy | Delete /managed/blueprints/{instance_uuid}/ | |
ManagedBlueprintsList | Get /managed/blueprints/ | |
ManagedBlueprintsPartialUpdate | Patch /managed/blueprints/{instance_uuid}/ | |
ManagedBlueprintsRetrieve | Get /managed/blueprints/{instance_uuid}/ | |
ManagedBlueprintsUpdate | Put /managed/blueprints/{instance_uuid}/ | |
ManagedBlueprintsUsedByList | Get /managed/blueprints/{instance_uuid}/used_by/ |
BlueprintInstance ManagedBlueprintsApplyCreate(ctx, instanceUuid).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
instanceUuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this Blueprint Instance.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManagedApi.ManagedBlueprintsApplyCreate(context.Background(), instanceUuid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManagedApi.ManagedBlueprintsApplyCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManagedBlueprintsApplyCreate`: BlueprintInstance
fmt.Fprintf(os.Stdout, "Response from `ManagedApi.ManagedBlueprintsApplyCreate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
instanceUuid | string | A UUID string identifying this Blueprint Instance. |
Other parameters are passed through a pointer to a apiManagedBlueprintsApplyCreateRequest 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]
[]BlueprintFile ManagedBlueprintsAvailableList(ctx).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManagedApi.ManagedBlueprintsAvailableList(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManagedApi.ManagedBlueprintsAvailableList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManagedBlueprintsAvailableList`: []BlueprintFile
fmt.Fprintf(os.Stdout, "Response from `ManagedApi.ManagedBlueprintsAvailableList`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiManagedBlueprintsAvailableListRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BlueprintInstance ManagedBlueprintsCreate(ctx).BlueprintInstanceRequest(blueprintInstanceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
blueprintInstanceRequest := *openapiclient.NewBlueprintInstanceRequest("Name_example") // BlueprintInstanceRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManagedApi.ManagedBlueprintsCreate(context.Background()).BlueprintInstanceRequest(blueprintInstanceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManagedApi.ManagedBlueprintsCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManagedBlueprintsCreate`: BlueprintInstance
fmt.Fprintf(os.Stdout, "Response from `ManagedApi.ManagedBlueprintsCreate`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiManagedBlueprintsCreateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
blueprintInstanceRequest | BlueprintInstanceRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ManagedBlueprintsDestroy(ctx, instanceUuid).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
instanceUuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this Blueprint Instance.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManagedApi.ManagedBlueprintsDestroy(context.Background(), instanceUuid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManagedApi.ManagedBlueprintsDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
instanceUuid | string | A UUID string identifying this Blueprint Instance. |
Other parameters are passed through a pointer to a apiManagedBlueprintsDestroyRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PaginatedBlueprintInstanceList ManagedBlueprintsList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Path(path).Search(search).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
name := "name_example" // string | (optional)
ordering := "ordering_example" // string | Which field to use when ordering the results. (optional)
page := int32(56) // int32 | A page number within the paginated result set. (optional)
pageSize := int32(56) // int32 | Number of results to return per page. (optional)
path := "path_example" // string | (optional)
search := "search_example" // string | A search term. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManagedApi.ManagedBlueprintsList(context.Background()).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Path(path).Search(search).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManagedApi.ManagedBlueprintsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManagedBlueprintsList`: PaginatedBlueprintInstanceList
fmt.Fprintf(os.Stdout, "Response from `ManagedApi.ManagedBlueprintsList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiManagedBlueprintsListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
ordering | string | Which field to use when ordering the results. | |
page | int32 | A page number within the paginated result set. | |
pageSize | int32 | Number of results to return per page. | |
path | string | ||
search | string | A search term. |
PaginatedBlueprintInstanceList
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BlueprintInstance ManagedBlueprintsPartialUpdate(ctx, instanceUuid).PatchedBlueprintInstanceRequest(patchedBlueprintInstanceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
instanceUuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this Blueprint Instance.
patchedBlueprintInstanceRequest := *openapiclient.NewPatchedBlueprintInstanceRequest() // PatchedBlueprintInstanceRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManagedApi.ManagedBlueprintsPartialUpdate(context.Background(), instanceUuid).PatchedBlueprintInstanceRequest(patchedBlueprintInstanceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManagedApi.ManagedBlueprintsPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManagedBlueprintsPartialUpdate`: BlueprintInstance
fmt.Fprintf(os.Stdout, "Response from `ManagedApi.ManagedBlueprintsPartialUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
instanceUuid | string | A UUID string identifying this Blueprint Instance. |
Other parameters are passed through a pointer to a apiManagedBlueprintsPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
patchedBlueprintInstanceRequest | PatchedBlueprintInstanceRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BlueprintInstance ManagedBlueprintsRetrieve(ctx, instanceUuid).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
instanceUuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this Blueprint Instance.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManagedApi.ManagedBlueprintsRetrieve(context.Background(), instanceUuid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManagedApi.ManagedBlueprintsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManagedBlueprintsRetrieve`: BlueprintInstance
fmt.Fprintf(os.Stdout, "Response from `ManagedApi.ManagedBlueprintsRetrieve`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
instanceUuid | string | A UUID string identifying this Blueprint Instance. |
Other parameters are passed through a pointer to a apiManagedBlueprintsRetrieveRequest 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]
BlueprintInstance ManagedBlueprintsUpdate(ctx, instanceUuid).BlueprintInstanceRequest(blueprintInstanceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
instanceUuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this Blueprint Instance.
blueprintInstanceRequest := *openapiclient.NewBlueprintInstanceRequest("Name_example") // BlueprintInstanceRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManagedApi.ManagedBlueprintsUpdate(context.Background(), instanceUuid).BlueprintInstanceRequest(blueprintInstanceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManagedApi.ManagedBlueprintsUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManagedBlueprintsUpdate`: BlueprintInstance
fmt.Fprintf(os.Stdout, "Response from `ManagedApi.ManagedBlueprintsUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
instanceUuid | string | A UUID string identifying this Blueprint Instance. |
Other parameters are passed through a pointer to a apiManagedBlueprintsUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
blueprintInstanceRequest | BlueprintInstanceRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]UsedBy ManagedBlueprintsUsedByList(ctx, instanceUuid).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
instanceUuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this Blueprint Instance.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ManagedApi.ManagedBlueprintsUsedByList(context.Background(), instanceUuid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ManagedApi.ManagedBlueprintsUsedByList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ManagedBlueprintsUsedByList`: []UsedBy
fmt.Fprintf(os.Stdout, "Response from `ManagedApi.ManagedBlueprintsUsedByList`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
instanceUuid | string | A UUID string identifying this Blueprint Instance. |
Other parameters are passed through a pointer to a apiManagedBlueprintsUsedByListRequest 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]