Documentation ¶
Index ¶
- func PossibleValuesForCreatedByType() []string
- func PossibleValuesForResourceState() []string
- func ValidateLoadTestID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateResourceGroupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateResponse
- type CreatedByType
- type DeleteResponse
- type GetResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionResponse
- type LoadTestId
- type LoadTestProperties
- type LoadTestResource
- type LoadTestResourcePatchRequestBody
- type LoadTestResourcePatchRequestBodyProperties
- type LoadTestResourcePredicate
- type LoadTestsClient
- func (c LoadTestsClient) CreateOrUpdate(ctx context.Context, id LoadTestId, input LoadTestResource) (result CreateOrUpdateResponse, err error)
- func (c LoadTestsClient) Delete(ctx context.Context, id LoadTestId) (result DeleteResponse, err error)
- func (c LoadTestsClient) DeleteThenPoll(ctx context.Context, id LoadTestId) error
- func (c LoadTestsClient) Get(ctx context.Context, id LoadTestId) (result GetResponse, err error)
- func (c LoadTestsClient) ListByResourceGroup(ctx context.Context, id ResourceGroupId) (resp ListByResourceGroupResponse, err error)
- func (c LoadTestsClient) ListByResourceGroupComplete(ctx context.Context, id ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c LoadTestsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ResourceGroupId, predicate LoadTestResourcePredicate) (resp ListByResourceGroupCompleteResult, err error)
- func (c LoadTestsClient) ListBySubscription(ctx context.Context, id SubscriptionId) (resp ListBySubscriptionResponse, err error)
- func (c LoadTestsClient) ListBySubscriptionComplete(ctx context.Context, id SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c LoadTestsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id SubscriptionId, predicate LoadTestResourcePredicate) (resp ListBySubscriptionCompleteResult, err error)
- func (c LoadTestsClient) Update(ctx context.Context, id LoadTestId, input LoadTestResourcePatchRequestBody) (result UpdateResponse, err error)
- type ResourceGroupId
- type ResourceState
- type SubscriptionId
- type SystemData
- type UpdateResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCreatedByType ¶
func PossibleValuesForCreatedByType() []string
func PossibleValuesForResourceState ¶
func PossibleValuesForResourceState() []string
func ValidateLoadTestID ¶
ValidateLoadTestID checks that 'input' can be parsed as a Load Test ID
func ValidateResourceGroupID ¶
ValidateResourceGroupID checks that 'input' can be parsed as a Resource Group ID
func ValidateSubscriptionID ¶
ValidateSubscriptionID checks that 'input' can be parsed as a Subscription ID
Types ¶
type CreateOrUpdateResponse ¶
type CreateOrUpdateResponse struct { HttpResponse *http.Response Model *LoadTestResource }
type CreatedByType ¶
type CreatedByType string
const ( CreatedByTypeApplication CreatedByType = "Application" CreatedByTypeKey CreatedByType = "Key" CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity" CreatedByTypeUser CreatedByType = "User" )
type DeleteResponse ¶
type DeleteResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetResponse ¶
type GetResponse struct { HttpResponse *http.Response Model *LoadTestResource }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []LoadTestResource
}
type ListByResourceGroupResponse ¶
type ListByResourceGroupResponse struct { HttpResponse *http.Response Model *[]LoadTestResource // contains filtered or unexported fields }
func (ListByResourceGroupResponse) HasMore ¶
func (r ListByResourceGroupResponse) HasMore() bool
func (ListByResourceGroupResponse) LoadMore ¶
func (r ListByResourceGroupResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupResponse, err error)
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []LoadTestResource
}
type ListBySubscriptionResponse ¶
type ListBySubscriptionResponse struct { HttpResponse *http.Response Model *[]LoadTestResource // contains filtered or unexported fields }
func (ListBySubscriptionResponse) HasMore ¶
func (r ListBySubscriptionResponse) HasMore() bool
func (ListBySubscriptionResponse) LoadMore ¶
func (r ListBySubscriptionResponse) LoadMore(ctx context.Context) (resp ListBySubscriptionResponse, err error)
type LoadTestId ¶
LoadTestId is a struct representing the Resource ID for a Load Test
func NewLoadTestID ¶
func NewLoadTestID(subscriptionId string, resourceGroupName string, loadTestName string) LoadTestId
NewLoadTestID returns a new LoadTestId struct
func ParseLoadTestID ¶
func ParseLoadTestID(input string) (*LoadTestId, error)
ParseLoadTestID parses 'input' into a LoadTestId
func ParseLoadTestIDInsensitively ¶
func ParseLoadTestIDInsensitively(input string) (*LoadTestId, error)
ParseLoadTestIDInsensitively parses 'input' case-insensitively into a LoadTestId note: this method should only be used for API response data and not user input
func (LoadTestId) Segments ¶
func (id LoadTestId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Load Test ID
func (LoadTestId) String ¶
func (id LoadTestId) String() string
String returns a human-readable description of this Load Test ID
type LoadTestProperties ¶
type LoadTestProperties struct { DataPlaneURI *string `json:"dataPlaneURI,omitempty"` Description *string `json:"description,omitempty"` ProvisioningState *ResourceState `json:"provisioningState,omitempty"` }
type LoadTestResource ¶
type LoadTestResource struct { Id *string `json:"id,omitempty"` Identity *identity.SystemAssigned `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *LoadTestProperties `json:"properties,omitempty"` SystemData *SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type LoadTestResourcePatchRequestBody ¶
type LoadTestResourcePatchRequestBody struct { Identity *identity.SystemAssigned `json:"identity,omitempty"` Properties *LoadTestResourcePatchRequestBodyProperties `json:"properties,omitempty"` Tags *interface{} `json:"tags,omitempty"` }
type LoadTestResourcePatchRequestBodyProperties ¶
type LoadTestResourcePatchRequestBodyProperties struct {
Description *string `json:"description,omitempty"`
}
type LoadTestResourcePredicate ¶
func (LoadTestResourcePredicate) Matches ¶
func (p LoadTestResourcePredicate) Matches(input LoadTestResource) bool
type LoadTestsClient ¶
func NewLoadTestsClientWithBaseURI ¶
func NewLoadTestsClientWithBaseURI(endpoint string) LoadTestsClient
func (LoadTestsClient) CreateOrUpdate ¶
func (c LoadTestsClient) CreateOrUpdate(ctx context.Context, id LoadTestId, input LoadTestResource) (result CreateOrUpdateResponse, err error)
CreateOrUpdate ...
func (LoadTestsClient) Delete ¶
func (c LoadTestsClient) Delete(ctx context.Context, id LoadTestId) (result DeleteResponse, err error)
Delete ...
func (LoadTestsClient) DeleteThenPoll ¶
func (c LoadTestsClient) DeleteThenPoll(ctx context.Context, id LoadTestId) error
DeleteThenPoll performs Delete then polls until it's completed
func (LoadTestsClient) Get ¶
func (c LoadTestsClient) Get(ctx context.Context, id LoadTestId) (result GetResponse, err error)
Get ...
func (LoadTestsClient) ListByResourceGroup ¶
func (c LoadTestsClient) ListByResourceGroup(ctx context.Context, id ResourceGroupId) (resp ListByResourceGroupResponse, err error)
ListByResourceGroup ...
func (LoadTestsClient) ListByResourceGroupComplete ¶
func (c LoadTestsClient) ListByResourceGroupComplete(ctx context.Context, id ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (LoadTestsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c LoadTestsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ResourceGroupId, predicate LoadTestResourcePredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (LoadTestsClient) ListBySubscription ¶
func (c LoadTestsClient) ListBySubscription(ctx context.Context, id SubscriptionId) (resp ListBySubscriptionResponse, err error)
ListBySubscription ...
func (LoadTestsClient) ListBySubscriptionComplete ¶
func (c LoadTestsClient) ListBySubscriptionComplete(ctx context.Context, id SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all of the results into a single object
func (LoadTestsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c LoadTestsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id SubscriptionId, predicate LoadTestResourcePredicate) (resp ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (LoadTestsClient) Update ¶
func (c LoadTestsClient) Update(ctx context.Context, id LoadTestId, input LoadTestResourcePatchRequestBody) (result UpdateResponse, err error)
Update ...
type ResourceGroupId ¶
ResourceGroupId is a struct representing the Resource ID for a Resource Group
func NewResourceGroupID ¶
func NewResourceGroupID(subscriptionId string, resourceGroupName string) ResourceGroupId
NewResourceGroupID returns a new ResourceGroupId struct
func ParseResourceGroupID ¶
func ParseResourceGroupID(input string) (*ResourceGroupId, error)
ParseResourceGroupID parses 'input' into a ResourceGroupId
func ParseResourceGroupIDInsensitively ¶
func ParseResourceGroupIDInsensitively(input string) (*ResourceGroupId, error)
ParseResourceGroupIDInsensitively parses 'input' case-insensitively into a ResourceGroupId note: this method should only be used for API response data and not user input
func (ResourceGroupId) ID ¶
func (id ResourceGroupId) ID() string
ID returns the formatted Resource Group ID
func (ResourceGroupId) Segments ¶
func (id ResourceGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Resource Group ID
func (ResourceGroupId) String ¶
func (id ResourceGroupId) String() string
String returns a human-readable description of this Resource Group ID
type ResourceState ¶
type ResourceState string
const ( ResourceStateCanceled ResourceState = "Canceled" ResourceStateDeleted ResourceState = "Deleted" ResourceStateFailed ResourceState = "Failed" ResourceStateSucceeded ResourceState = "Succeeded" )
type SubscriptionId ¶
type SubscriptionId struct {
SubscriptionId string
}
SubscriptionId is a struct representing the Resource ID for a Subscription
func NewSubscriptionID ¶
func NewSubscriptionID(subscriptionId string) SubscriptionId
NewSubscriptionID returns a new SubscriptionId struct
func ParseSubscriptionID ¶
func ParseSubscriptionID(input string) (*SubscriptionId, error)
ParseSubscriptionID parses 'input' into a SubscriptionId
func ParseSubscriptionIDInsensitively ¶
func ParseSubscriptionIDInsensitively(input string) (*SubscriptionId, error)
ParseSubscriptionIDInsensitively parses 'input' case-insensitively into a SubscriptionId note: this method should only be used for API response data and not user input
func (SubscriptionId) ID ¶
func (id SubscriptionId) ID() string
ID returns the formatted Subscription ID
func (SubscriptionId) Segments ¶
func (id SubscriptionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Subscription ID
func (SubscriptionId) String ¶
func (id SubscriptionId) String() string
String returns a human-readable description of this Subscription ID
type SystemData ¶
type SystemData struct { CreatedAt *string `json:"createdAt,omitempty"` CreatedBy *string `json:"createdBy,omitempty"` CreatedByType *CreatedByType `json:"createdByType,omitempty"` LastModifiedAt *string `json:"lastModifiedAt,omitempty"` LastModifiedBy *string `json:"lastModifiedBy,omitempty"` LastModifiedByType *CreatedByType `json:"lastModifiedByType,omitempty"` }
func (SystemData) GetCreatedAtAsTime ¶
func (o SystemData) GetCreatedAtAsTime() (*time.Time, error)
func (SystemData) GetLastModifiedAtAsTime ¶
func (o SystemData) GetLastModifiedAtAsTime() (*time.Time, error)
func (SystemData) SetCreatedAtAsTime ¶
func (o SystemData) SetCreatedAtAsTime(input time.Time)
func (SystemData) SetLastModifiedAtAsTime ¶
func (o SystemData) SetLastModifiedAtAsTime(input time.Time)
type UpdateResponse ¶
type UpdateResponse struct { HttpResponse *http.Response Model *LoadTestResource }
Source Files ¶
- client.go
- constants.go
- id_loadtest.go
- id_resourcegroup.go
- id_subscription.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listbysubscription_autorest.go
- method_update_autorest.go
- model_loadtestproperties.go
- model_loadtestresource.go
- model_loadtestresourcepatchrequestbody.go
- model_loadtestresourcepatchrequestbodyproperties.go
- model_systemdata.go
- predicates.go
- version.go