validateprobe

package
v0.20241118.1115603 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/cdn/2024-09-01/validateprobe Documentation

The validateprobe SDK allows for interaction with Azure Resource Manager cdn (API Version 2024-09-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-09-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

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

type ValidateProbeOutput struct {
	ErrorCode *string `json:"errorCode,omitempty"`
	IsValid   *bool   `json:"isValid,omitempty"`
	Message   *string `json:"message,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL