README
¶
github.com/hashicorp/go-azure-sdk/resource-manager/cdn/2024-02-01/validateprobe
Documentation
The validateprobe
SDK allows for interaction with Azure Resource Manager cdn
(API Version 2024-02-01
).
This readme covers example usages, but further information on using this SDK can be found in the project root.
Import Path
import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/cdn/2024-02-01/validateprobe"
Client Initialization
client := validateprobe.NewValidateProbeClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: ValidateProbeClient.ValidateProbe
ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")
payload := validateprobe.ValidateProbeInput{
// ...
}
read, err := client.ValidateProbe(ctx, id, payload)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ValidateProbeClient ¶
type ValidateProbeClient struct {
Client *resourcemanager.Client
}
func NewValidateProbeClientWithBaseURI ¶
func NewValidateProbeClientWithBaseURI(sdkApi sdkEnv.Api) (*ValidateProbeClient, error)
func (ValidateProbeClient) ValidateProbe ¶
func (c ValidateProbeClient) ValidateProbe(ctx context.Context, id commonids.SubscriptionId, input ValidateProbeInput) (result ValidateProbeOperationResponse, err error)
ValidateProbe ...
type ValidateProbeInput ¶
type ValidateProbeInput struct {
ProbeURL string `json:"probeURL"`
}
type ValidateProbeOperationResponse ¶
type ValidateProbeOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ValidateProbeOutput }
type ValidateProbeOutput ¶
Click to show internal directories.
Click to hide internal directories.