CentralApi
Method
HTTP request
Description
CentralFindById
var result CentralMonitoringRead = CentralFindById(ctx, centralId)
.Execute()Example
package main
import (
"context"
"fmt"
"os"
monitoring "github.com/ionos-cloud/sdk-go-bundle/products/monitoring"
"github.com/ionos-cloud/sdk-go-bundle/shared"
)
func main() {
centralId := "23e6183d-6ab3-54de-b165-9b44c3589f4f" // string | The ID (UUID) of the CentralMonitoring.
configuration := shared.NewConfiguration("USERNAME", "PASSWORD", "TOKEN", "HOST_URL")
apiClient := monitoring.NewAPIClient(configuration)
resource, resp, err := apiClient.CentralApi.CentralFindById(context.Background(), centralId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CentralApi.CentralFindById``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", resp)
}
// response from `CentralFindById`: CentralMonitoringRead
fmt.Fprintf(os.Stdout, "Response from `CentralApi.CentralFindById`: %v\n", resource)
}Path Parameters
Name
Type
Description
Notes
Other Parameters
Return type
HTTP request headers
CentralGet
Example
Path Parameters
Other Parameters
Return type
HTTP request headers
CentralPut
Example
Path Parameters
Name
Type
Description
Notes
Other Parameters
Name
Type
Description
Notes
Return type
HTTP request headers
Last updated
