README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/applicationinsights/2015-05-01/webtestlocationsapis
Documentation
The webtestlocationsapis
SDK allows for interaction with the Azure Resource Manager Service applicationinsights
(API Version 2015-05-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-sdk/resource-manager/applicationinsights/2015-05-01/webtestlocationsapis"
Client Initialization
client := webtestlocationsapis.NewWebTestLocationsAPIsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: WebTestLocationsAPIsClient.WebTestLocationsList
ctx := context.TODO()
id := webtestlocationsapis.NewComponentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "componentValue")
read, err := client.WebTestLocationsList(ctx, id)
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 ¶
func ValidateComponentID ¶
ValidateComponentID checks that 'input' can be parsed as a Component ID
Types ¶
type ApplicationInsightsWebTestLocationsListResult ¶
type ApplicationInsightsWebTestLocationsListResult struct {
Value []ApplicationInsightsComponentWebTestLocation `json:"value"`
}
type ComponentId ¶
ComponentId is a struct representing the Resource ID for a Component
func NewComponentID ¶
func NewComponentID(subscriptionId string, resourceGroupName string, componentName string) ComponentId
NewComponentID returns a new ComponentId struct
func ParseComponentID ¶
func ParseComponentID(input string) (*ComponentId, error)
ParseComponentID parses 'input' into a ComponentId
func ParseComponentIDInsensitively ¶
func ParseComponentIDInsensitively(input string) (*ComponentId, error)
ParseComponentIDInsensitively parses 'input' case-insensitively into a ComponentId note: this method should only be used for API response data and not user input
func (*ComponentId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ComponentId) FromParseResult(input resourceids.ParseResult) error
func (ComponentId) Segments ¶
func (id ComponentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Component ID
func (ComponentId) String ¶
func (id ComponentId) String() string
String returns a human-readable description of this Component ID
type WebTestLocationsAPIsClient ¶
type WebTestLocationsAPIsClient struct {
Client *resourcemanager.Client
}
func NewWebTestLocationsAPIsClientWithBaseURI ¶
func NewWebTestLocationsAPIsClientWithBaseURI(sdkApi sdkEnv.Api) (*WebTestLocationsAPIsClient, error)
func (WebTestLocationsAPIsClient) WebTestLocationsList ¶
func (c WebTestLocationsAPIsClient) WebTestLocationsList(ctx context.Context, id ComponentId) (result WebTestLocationsListOperationResponse, err error)
WebTestLocationsList ...
type WebTestLocationsListOperationResponse ¶
type WebTestLocationsListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplicationInsightsWebTestLocationsListResult }