Documentation ¶
Index ¶
- func PossibleValuesForWebTestKind() []string
- func ValidateComponentID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWebTestID(input interface{}, key string) (warnings []string, errors []error)
- type ComponentId
- type TagsResource
- type WebTest
- type WebTestGeolocation
- type WebTestId
- type WebTestKind
- type WebTestOperationPredicate
- type WebTestProperties
- type WebTestPropertiesConfiguration
- type WebTestsAPIsClient
- func (c WebTestsAPIsClient) WebTestsCreateOrUpdate(ctx context.Context, id WebTestId, input WebTest) (result WebTestsCreateOrUpdateOperationResponse, err error)
- func (c WebTestsAPIsClient) WebTestsDelete(ctx context.Context, id WebTestId) (result WebTestsDeleteOperationResponse, err error)
- func (c WebTestsAPIsClient) WebTestsGet(ctx context.Context, id WebTestId) (result WebTestsGetOperationResponse, err error)
- func (c WebTestsAPIsClient) WebTestsList(ctx context.Context, id commonids.SubscriptionId) (result WebTestsListOperationResponse, err error)
- func (c WebTestsAPIsClient) WebTestsListByComponent(ctx context.Context, id ComponentId) (result WebTestsListByComponentOperationResponse, err error)
- func (c WebTestsAPIsClient) WebTestsListByComponentComplete(ctx context.Context, id ComponentId) (WebTestsListByComponentCompleteResult, error)
- func (c WebTestsAPIsClient) WebTestsListByComponentCompleteMatchingPredicate(ctx context.Context, id ComponentId, predicate WebTestOperationPredicate) (result WebTestsListByComponentCompleteResult, err error)
- func (c WebTestsAPIsClient) WebTestsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result WebTestsListByResourceGroupOperationResponse, err error)
- func (c WebTestsAPIsClient) WebTestsListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (WebTestsListByResourceGroupCompleteResult, error)
- func (c WebTestsAPIsClient) WebTestsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result WebTestsListByResourceGroupCompleteResult, err error)
- func (c WebTestsAPIsClient) WebTestsListComplete(ctx context.Context, id commonids.SubscriptionId) (WebTestsListCompleteResult, error)
- func (c WebTestsAPIsClient) WebTestsListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result WebTestsListCompleteResult, err error)
- func (c WebTestsAPIsClient) WebTestsUpdateTags(ctx context.Context, id WebTestId, input TagsResource) (result WebTestsUpdateTagsOperationResponse, err error)
- type WebTestsCreateOrUpdateOperationResponse
- type WebTestsDeleteOperationResponse
- type WebTestsGetOperationResponse
- type WebTestsListByComponentCompleteResult
- type WebTestsListByComponentOperationResponse
- type WebTestsListByResourceGroupCompleteResult
- type WebTestsListByResourceGroupOperationResponse
- type WebTestsListCompleteResult
- type WebTestsListOperationResponse
- type WebTestsUpdateTagsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForWebTestKind ¶
func PossibleValuesForWebTestKind() []string
func ValidateComponentID ¶
ValidateComponentID checks that 'input' can be parsed as a Component ID
func ValidateWebTestID ¶
ValidateWebTestID checks that 'input' can be parsed as a Web Test ID
Types ¶
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 ¶
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 TagsResource ¶
type WebTest ¶
type WebTest struct { Id *string `json:"id,omitempty"` Kind *WebTestKind `json:"kind,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *WebTestProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type WebTestGeolocation ¶
type WebTestGeolocation struct {
Id *string `json:"Id,omitempty"`
}
type WebTestId ¶
WebTestId is a struct representing the Resource ID for a Web Test
func NewWebTestID ¶
NewWebTestID returns a new WebTestId struct
func ParseWebTestID ¶
ParseWebTestID parses 'input' into a WebTestId
func ParseWebTestIDInsensitively ¶
ParseWebTestIDInsensitively parses 'input' case-insensitively into a WebTestId note: this method should only be used for API response data and not user input
func (*WebTestId) FromParseResult ¶
func (id *WebTestId) FromParseResult(input resourceids.ParseResult) error
func (WebTestId) Segments ¶
func (id WebTestId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Web Test ID
type WebTestKind ¶
type WebTestKind string
const ( WebTestKindMultistep WebTestKind = "multistep" WebTestKindPing WebTestKind = "ping" )
func (*WebTestKind) UnmarshalJSON ¶
func (s *WebTestKind) UnmarshalJSON(bytes []byte) error
type WebTestOperationPredicate ¶
func (WebTestOperationPredicate) Matches ¶
func (p WebTestOperationPredicate) Matches(input WebTest) bool
type WebTestProperties ¶
type WebTestProperties struct { Configuration *WebTestPropertiesConfiguration `json:"Configuration,omitempty"` Description *string `json:"Description,omitempty"` Enabled *bool `json:"Enabled,omitempty"` Frequency *int64 `json:"Frequency,omitempty"` Kind WebTestKind `json:"Kind"` Locations []WebTestGeolocation `json:"Locations"` Name string `json:"Name"` ProvisioningState *string `json:"provisioningState,omitempty"` RetryEnabled *bool `json:"RetryEnabled,omitempty"` SyntheticMonitorId string `json:"SyntheticMonitorId"` Timeout *int64 `json:"Timeout,omitempty"` }
type WebTestPropertiesConfiguration ¶
type WebTestPropertiesConfiguration struct {
WebTest *string `json:"WebTest,omitempty"`
}
type WebTestsAPIsClient ¶
type WebTestsAPIsClient struct {
Client *resourcemanager.Client
}
func NewWebTestsAPIsClientWithBaseURI ¶
func NewWebTestsAPIsClientWithBaseURI(sdkApi sdkEnv.Api) (*WebTestsAPIsClient, error)
func (WebTestsAPIsClient) WebTestsCreateOrUpdate ¶
func (c WebTestsAPIsClient) WebTestsCreateOrUpdate(ctx context.Context, id WebTestId, input WebTest) (result WebTestsCreateOrUpdateOperationResponse, err error)
WebTestsCreateOrUpdate ...
func (WebTestsAPIsClient) WebTestsDelete ¶
func (c WebTestsAPIsClient) WebTestsDelete(ctx context.Context, id WebTestId) (result WebTestsDeleteOperationResponse, err error)
WebTestsDelete ...
func (WebTestsAPIsClient) WebTestsGet ¶
func (c WebTestsAPIsClient) WebTestsGet(ctx context.Context, id WebTestId) (result WebTestsGetOperationResponse, err error)
WebTestsGet ...
func (WebTestsAPIsClient) WebTestsList ¶
func (c WebTestsAPIsClient) WebTestsList(ctx context.Context, id commonids.SubscriptionId) (result WebTestsListOperationResponse, err error)
WebTestsList ...
func (WebTestsAPIsClient) WebTestsListByComponent ¶
func (c WebTestsAPIsClient) WebTestsListByComponent(ctx context.Context, id ComponentId) (result WebTestsListByComponentOperationResponse, err error)
WebTestsListByComponent ...
func (WebTestsAPIsClient) WebTestsListByComponentComplete ¶
func (c WebTestsAPIsClient) WebTestsListByComponentComplete(ctx context.Context, id ComponentId) (WebTestsListByComponentCompleteResult, error)
WebTestsListByComponentComplete retrieves all the results into a single object
func (WebTestsAPIsClient) WebTestsListByComponentCompleteMatchingPredicate ¶
func (c WebTestsAPIsClient) WebTestsListByComponentCompleteMatchingPredicate(ctx context.Context, id ComponentId, predicate WebTestOperationPredicate) (result WebTestsListByComponentCompleteResult, err error)
WebTestsListByComponentCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (WebTestsAPIsClient) WebTestsListByResourceGroup ¶
func (c WebTestsAPIsClient) WebTestsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result WebTestsListByResourceGroupOperationResponse, err error)
WebTestsListByResourceGroup ...
func (WebTestsAPIsClient) WebTestsListByResourceGroupComplete ¶
func (c WebTestsAPIsClient) WebTestsListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (WebTestsListByResourceGroupCompleteResult, error)
WebTestsListByResourceGroupComplete retrieves all the results into a single object
func (WebTestsAPIsClient) WebTestsListByResourceGroupCompleteMatchingPredicate ¶
func (c WebTestsAPIsClient) WebTestsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate WebTestOperationPredicate) (result WebTestsListByResourceGroupCompleteResult, err error)
WebTestsListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (WebTestsAPIsClient) WebTestsListComplete ¶
func (c WebTestsAPIsClient) WebTestsListComplete(ctx context.Context, id commonids.SubscriptionId) (WebTestsListCompleteResult, error)
WebTestsListComplete retrieves all the results into a single object
func (WebTestsAPIsClient) WebTestsListCompleteMatchingPredicate ¶
func (c WebTestsAPIsClient) WebTestsListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate WebTestOperationPredicate) (result WebTestsListCompleteResult, err error)
WebTestsListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (WebTestsAPIsClient) WebTestsUpdateTags ¶
func (c WebTestsAPIsClient) WebTestsUpdateTags(ctx context.Context, id WebTestId, input TagsResource) (result WebTestsUpdateTagsOperationResponse, err error)
WebTestsUpdateTags ...
Source Files ¶
- client.go
- constants.go
- id_component.go
- id_webtest.go
- method_webtestscreateorupdate.go
- method_webtestsdelete.go
- method_webtestsget.go
- method_webtestslist.go
- method_webtestslistbycomponent.go
- method_webtestslistbyresourcegroup.go
- method_webtestsupdatetags.go
- model_tagsresource.go
- model_webtest.go
- model_webtestgeolocation.go
- model_webtestproperties.go
- model_webtestpropertiesconfiguration.go
- predicates.go
- version.go