All URIs are relative to http://localhost/api/v3
Method | HTTP request | Description |
---|---|---|
RacConnectionTokensDestroy | Delete /rac/connection_tokens/{connection_token_uuid}/ | |
RacConnectionTokensList | Get /rac/connection_tokens/ | |
RacConnectionTokensPartialUpdate | Patch /rac/connection_tokens/{connection_token_uuid}/ | |
RacConnectionTokensRetrieve | Get /rac/connection_tokens/{connection_token_uuid}/ | |
RacConnectionTokensUpdate | Put /rac/connection_tokens/{connection_token_uuid}/ | |
RacConnectionTokensUsedByList | Get /rac/connection_tokens/{connection_token_uuid}/used_by/ | |
RacEndpointsCreate | Post /rac/endpoints/ | |
RacEndpointsDestroy | Delete /rac/endpoints/{pbm_uuid}/ | |
RacEndpointsList | Get /rac/endpoints/ | |
RacEndpointsPartialUpdate | Patch /rac/endpoints/{pbm_uuid}/ | |
RacEndpointsRetrieve | Get /rac/endpoints/{pbm_uuid}/ | |
RacEndpointsUpdate | Put /rac/endpoints/{pbm_uuid}/ | |
RacEndpointsUsedByList | Get /rac/endpoints/{pbm_uuid}/used_by/ |
RacConnectionTokensDestroy(ctx, connectionTokenUuid).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
connectionTokenUuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this RAC Connection token.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.RacApi.RacConnectionTokensDestroy(context.Background(), connectionTokenUuid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `RacApi.RacConnectionTokensDestroy``: %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. | |
connectionTokenUuid | string | A UUID string identifying this RAC Connection token. |
Other parameters are passed through a pointer to a apiRacConnectionTokensDestroyRequest 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]
PaginatedConnectionTokenList RacConnectionTokensList(ctx).Endpoint(endpoint).Ordering(ordering).Page(page).PageSize(pageSize).Provider(provider).Search(search).SessionUser(sessionUser).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
endpoint := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // 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)
provider := int32(56) // int32 | (optional)
search := "search_example" // string | A search term. (optional)
sessionUser := int32(56) // int32 | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.RacApi.RacConnectionTokensList(context.Background()).Endpoint(endpoint).Ordering(ordering).Page(page).PageSize(pageSize).Provider(provider).Search(search).SessionUser(sessionUser).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `RacApi.RacConnectionTokensList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `RacConnectionTokensList`: PaginatedConnectionTokenList
fmt.Fprintf(os.Stdout, "Response from `RacApi.RacConnectionTokensList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiRacConnectionTokensListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
endpoint | 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. | |
provider | int32 | ||
search | string | A search term. | |
sessionUser | int32 |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ConnectionToken RacConnectionTokensPartialUpdate(ctx, connectionTokenUuid).PatchedConnectionTokenRequest(patchedConnectionTokenRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
connectionTokenUuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this RAC Connection token.
patchedConnectionTokenRequest := *openapiclient.NewPatchedConnectionTokenRequest() // PatchedConnectionTokenRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.RacApi.RacConnectionTokensPartialUpdate(context.Background(), connectionTokenUuid).PatchedConnectionTokenRequest(patchedConnectionTokenRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `RacApi.RacConnectionTokensPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `RacConnectionTokensPartialUpdate`: ConnectionToken
fmt.Fprintf(os.Stdout, "Response from `RacApi.RacConnectionTokensPartialUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
connectionTokenUuid | string | A UUID string identifying this RAC Connection token. |
Other parameters are passed through a pointer to a apiRacConnectionTokensPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
patchedConnectionTokenRequest | PatchedConnectionTokenRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ConnectionToken RacConnectionTokensRetrieve(ctx, connectionTokenUuid).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
connectionTokenUuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this RAC Connection token.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.RacApi.RacConnectionTokensRetrieve(context.Background(), connectionTokenUuid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `RacApi.RacConnectionTokensRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `RacConnectionTokensRetrieve`: ConnectionToken
fmt.Fprintf(os.Stdout, "Response from `RacApi.RacConnectionTokensRetrieve`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
connectionTokenUuid | string | A UUID string identifying this RAC Connection token. |
Other parameters are passed through a pointer to a apiRacConnectionTokensRetrieveRequest 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]
ConnectionToken RacConnectionTokensUpdate(ctx, connectionTokenUuid).ConnectionTokenRequest(connectionTokenRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
connectionTokenUuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this RAC Connection token.
connectionTokenRequest := *openapiclient.NewConnectionTokenRequest(int32(123), "Endpoint_example") // ConnectionTokenRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.RacApi.RacConnectionTokensUpdate(context.Background(), connectionTokenUuid).ConnectionTokenRequest(connectionTokenRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `RacApi.RacConnectionTokensUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `RacConnectionTokensUpdate`: ConnectionToken
fmt.Fprintf(os.Stdout, "Response from `RacApi.RacConnectionTokensUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
connectionTokenUuid | string | A UUID string identifying this RAC Connection token. |
Other parameters are passed through a pointer to a apiRacConnectionTokensUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
connectionTokenRequest | ConnectionTokenRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]UsedBy RacConnectionTokensUsedByList(ctx, connectionTokenUuid).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
connectionTokenUuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this RAC Connection token.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.RacApi.RacConnectionTokensUsedByList(context.Background(), connectionTokenUuid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `RacApi.RacConnectionTokensUsedByList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `RacConnectionTokensUsedByList`: []UsedBy
fmt.Fprintf(os.Stdout, "Response from `RacApi.RacConnectionTokensUsedByList`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
connectionTokenUuid | string | A UUID string identifying this RAC Connection token. |
Other parameters are passed through a pointer to a apiRacConnectionTokensUsedByListRequest 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]
Endpoint RacEndpointsCreate(ctx).EndpointRequest(endpointRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
endpointRequest := *openapiclient.NewEndpointRequest("Name_example", int32(123), openapiclient.ProtocolEnum("rdp"), "Host_example", openapiclient.AuthModeEnum("static")) // EndpointRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.RacApi.RacEndpointsCreate(context.Background()).EndpointRequest(endpointRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `RacApi.RacEndpointsCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `RacEndpointsCreate`: Endpoint
fmt.Fprintf(os.Stdout, "Response from `RacApi.RacEndpointsCreate`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiRacEndpointsCreateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
endpointRequest | EndpointRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RacEndpointsDestroy(ctx, pbmUuid).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
pbmUuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this RAC Endpoint.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.RacApi.RacEndpointsDestroy(context.Background(), pbmUuid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `RacApi.RacEndpointsDestroy``: %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. | |
pbmUuid | string | A UUID string identifying this RAC Endpoint. |
Other parameters are passed through a pointer to a apiRacEndpointsDestroyRequest 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]
PaginatedEndpointList RacEndpointsList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Provider(provider).Search(search).SuperuserFullList(superuserFullList).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)
provider := int32(56) // int32 | (optional)
search := "search_example" // string | (optional)
superuserFullList := true // bool | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.RacApi.RacEndpointsList(context.Background()).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Provider(provider).Search(search).SuperuserFullList(superuserFullList).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `RacApi.RacEndpointsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `RacEndpointsList`: PaginatedEndpointList
fmt.Fprintf(os.Stdout, "Response from `RacApi.RacEndpointsList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiRacEndpointsListRequest 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. | |
provider | int32 | ||
search | string | ||
superuserFullList | bool |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Endpoint RacEndpointsPartialUpdate(ctx, pbmUuid).PatchedEndpointRequest(patchedEndpointRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
pbmUuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this RAC Endpoint.
patchedEndpointRequest := *openapiclient.NewPatchedEndpointRequest() // PatchedEndpointRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.RacApi.RacEndpointsPartialUpdate(context.Background(), pbmUuid).PatchedEndpointRequest(patchedEndpointRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `RacApi.RacEndpointsPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `RacEndpointsPartialUpdate`: Endpoint
fmt.Fprintf(os.Stdout, "Response from `RacApi.RacEndpointsPartialUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
pbmUuid | string | A UUID string identifying this RAC Endpoint. |
Other parameters are passed through a pointer to a apiRacEndpointsPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
patchedEndpointRequest | PatchedEndpointRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Endpoint RacEndpointsRetrieve(ctx, pbmUuid).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
pbmUuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this RAC Endpoint.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.RacApi.RacEndpointsRetrieve(context.Background(), pbmUuid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `RacApi.RacEndpointsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `RacEndpointsRetrieve`: Endpoint
fmt.Fprintf(os.Stdout, "Response from `RacApi.RacEndpointsRetrieve`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
pbmUuid | string | A UUID string identifying this RAC Endpoint. |
Other parameters are passed through a pointer to a apiRacEndpointsRetrieveRequest 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]
Endpoint RacEndpointsUpdate(ctx, pbmUuid).EndpointRequest(endpointRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
pbmUuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this RAC Endpoint.
endpointRequest := *openapiclient.NewEndpointRequest("Name_example", int32(123), openapiclient.ProtocolEnum("rdp"), "Host_example", openapiclient.AuthModeEnum("static")) // EndpointRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.RacApi.RacEndpointsUpdate(context.Background(), pbmUuid).EndpointRequest(endpointRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `RacApi.RacEndpointsUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `RacEndpointsUpdate`: Endpoint
fmt.Fprintf(os.Stdout, "Response from `RacApi.RacEndpointsUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
pbmUuid | string | A UUID string identifying this RAC Endpoint. |
Other parameters are passed through a pointer to a apiRacEndpointsUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
endpointRequest | EndpointRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]UsedBy RacEndpointsUsedByList(ctx, pbmUuid).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
pbmUuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this RAC Endpoint.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.RacApi.RacEndpointsUsedByList(context.Background(), pbmUuid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `RacApi.RacEndpointsUsedByList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `RacEndpointsUsedByList`: []UsedBy
fmt.Fprintf(os.Stdout, "Response from `RacApi.RacEndpointsUsedByList`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
pbmUuid | string | A UUID string identifying this RAC Endpoint. |
Other parameters are passed through a pointer to a apiRacEndpointsUsedByListRequest 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]