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 HeaderField
- type TagsResource
- type WebTest
- type WebTestGeolocation
- type WebTestId
- type WebTestKind
- type WebTestOperationPredicate
- type WebTestProperties
- type WebTestPropertiesConfiguration
- type WebTestPropertiesRequest
- type WebTestPropertiesValidationRules
- type WebTestPropertiesValidationRulesContentValidation
- 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) (resp WebTestsListOperationResponse, err error)
- func (c WebTestsAPIsClient) WebTestsListByComponent(ctx context.Context, id ComponentId) (resp 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) (resp WebTestsListByComponentCompleteResult, err error)
- func (c WebTestsAPIsClient) WebTestsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp 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, ...) (resp 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, ...) (resp 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) 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 HeaderField ¶
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) 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" WebTestKindStandard WebTestKind = "standard" )
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"` Request *WebTestPropertiesRequest `json:"Request,omitempty"` RetryEnabled *bool `json:"RetryEnabled,omitempty"` SyntheticMonitorId string `json:"SyntheticMonitorId"` Timeout *int64 `json:"Timeout,omitempty"` ValidationRules *WebTestPropertiesValidationRules `json:"ValidationRules,omitempty"` }
type WebTestPropertiesConfiguration ¶
type WebTestPropertiesConfiguration struct {
WebTest *string `json:"WebTest,omitempty"`
}
type WebTestPropertiesRequest ¶
type WebTestPropertiesRequest struct { FollowRedirects *bool `json:"FollowRedirects,omitempty"` HTTPVerb *string `json:"HttpVerb,omitempty"` Headers *[]HeaderField `json:"Headers,omitempty"` ParseDependentRequests *bool `json:"ParseDependentRequests,omitempty"` RequestBody *string `json:"RequestBody,omitempty"` RequestUrl *string `json:"RequestUrl,omitempty"` }
type WebTestPropertiesValidationRules ¶
type WebTestPropertiesValidationRules struct { ContentValidation *WebTestPropertiesValidationRulesContentValidation `json:"ContentValidation,omitempty"` ExpectedHTTPStatusCode *int64 `json:"ExpectedHttpStatusCode,omitempty"` IgnoreHTTPSStatusCode *bool `json:"IgnoreHttpsStatusCode,omitempty"` SSLCertRemainingLifetimeCheck *int64 `json:"SSLCertRemainingLifetimeCheck,omitempty"` SSLCheck *bool `json:"SSLCheck,omitempty"` }
type WebTestsAPIsClient ¶
func NewWebTestsAPIsClientWithBaseURI ¶
func NewWebTestsAPIsClientWithBaseURI(endpoint string) WebTestsAPIsClient
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) (resp WebTestsListOperationResponse, err error)
WebTestsList ...
func (WebTestsAPIsClient) WebTestsListByComponent ¶
func (c WebTestsAPIsClient) WebTestsListByComponent(ctx context.Context, id ComponentId) (resp WebTestsListByComponentOperationResponse, err error)
WebTestsListByComponent ...
func (WebTestsAPIsClient) WebTestsListByComponentComplete ¶
func (c WebTestsAPIsClient) WebTestsListByComponentComplete(ctx context.Context, id ComponentId) (WebTestsListByComponentCompleteResult, error)
WebTestsListByComponentComplete retrieves all of the results into a single object
func (WebTestsAPIsClient) WebTestsListByComponentCompleteMatchingPredicate ¶
func (c WebTestsAPIsClient) WebTestsListByComponentCompleteMatchingPredicate(ctx context.Context, id ComponentId, predicate WebTestOperationPredicate) (resp WebTestsListByComponentCompleteResult, err error)
WebTestsListByComponentCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (WebTestsAPIsClient) WebTestsListByResourceGroup ¶
func (c WebTestsAPIsClient) WebTestsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp WebTestsListByResourceGroupOperationResponse, err error)
WebTestsListByResourceGroup ...
func (WebTestsAPIsClient) WebTestsListByResourceGroupComplete ¶
func (c WebTestsAPIsClient) WebTestsListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (WebTestsListByResourceGroupCompleteResult, error)
WebTestsListByResourceGroupComplete retrieves all of the results into a single object
func (WebTestsAPIsClient) WebTestsListByResourceGroupCompleteMatchingPredicate ¶
func (c WebTestsAPIsClient) WebTestsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate WebTestOperationPredicate) (resp WebTestsListByResourceGroupCompleteResult, err error)
WebTestsListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (WebTestsAPIsClient) WebTestsListComplete ¶
func (c WebTestsAPIsClient) WebTestsListComplete(ctx context.Context, id commonids.SubscriptionId) (WebTestsListCompleteResult, error)
WebTestsListComplete retrieves all of the results into a single object
func (WebTestsAPIsClient) WebTestsListCompleteMatchingPredicate ¶
func (c WebTestsAPIsClient) WebTestsListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate WebTestOperationPredicate) (resp WebTestsListCompleteResult, err error)
WebTestsListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (WebTestsAPIsClient) WebTestsUpdateTags ¶
func (c WebTestsAPIsClient) WebTestsUpdateTags(ctx context.Context, id WebTestId, input TagsResource) (result WebTestsUpdateTagsOperationResponse, err error)
WebTestsUpdateTags ...
type WebTestsListByComponentCompleteResult ¶
type WebTestsListByComponentCompleteResult struct {
Items []WebTest
}
type WebTestsListByComponentOperationResponse ¶
type WebTestsListByComponentOperationResponse struct { HttpResponse *http.Response Model *[]WebTest // contains filtered or unexported fields }
func (WebTestsListByComponentOperationResponse) HasMore ¶
func (r WebTestsListByComponentOperationResponse) HasMore() bool
func (WebTestsListByComponentOperationResponse) LoadMore ¶
func (r WebTestsListByComponentOperationResponse) LoadMore(ctx context.Context) (resp WebTestsListByComponentOperationResponse, err error)
type WebTestsListByResourceGroupCompleteResult ¶
type WebTestsListByResourceGroupCompleteResult struct {
Items []WebTest
}
type WebTestsListByResourceGroupOperationResponse ¶
type WebTestsListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]WebTest // contains filtered or unexported fields }
func (WebTestsListByResourceGroupOperationResponse) HasMore ¶
func (r WebTestsListByResourceGroupOperationResponse) HasMore() bool
func (WebTestsListByResourceGroupOperationResponse) LoadMore ¶
func (r WebTestsListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp WebTestsListByResourceGroupOperationResponse, err error)
type WebTestsListCompleteResult ¶
type WebTestsListCompleteResult struct {
Items []WebTest
}
type WebTestsListOperationResponse ¶
type WebTestsListOperationResponse struct { HttpResponse *http.Response Model *[]WebTest // contains filtered or unexported fields }
func (WebTestsListOperationResponse) HasMore ¶
func (r WebTestsListOperationResponse) HasMore() bool
func (WebTestsListOperationResponse) LoadMore ¶
func (r WebTestsListOperationResponse) LoadMore(ctx context.Context) (resp WebTestsListOperationResponse, err error)
Source Files ¶
- client.go
- constants.go
- id_component.go
- id_webtest.go
- method_webtestscreateorupdate_autorest.go
- method_webtestsdelete_autorest.go
- method_webtestsget_autorest.go
- method_webtestslist_autorest.go
- method_webtestslistbycomponent_autorest.go
- method_webtestslistbyresourcegroup_autorest.go
- method_webtestsupdatetags_autorest.go
- model_headerfield.go
- model_tagsresource.go
- model_webtest.go
- model_webtestgeolocation.go
- model_webtestproperties.go
- model_webtestpropertiesconfiguration.go
- model_webtestpropertiesrequest.go
- model_webtestpropertiesvalidationrules.go
- model_webtestpropertiesvalidationrulescontentvalidation.go
- predicates.go
- version.go