loadtests

package
v0.20220623.1111642 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForResourceState

func PossibleValuesForResourceState() []string

func ValidateLoadTestID

func ValidateLoadTestID(input interface{}, key string) (warnings []string, errors []error)

ValidateLoadTestID checks that 'input' can be parsed as a Load Test ID

Types

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	HttpResponse *http.Response
	Model        *LoadTestResource
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	Model        *LoadTestResource
}

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	Items []LoadTestResource
}

type ListByResourceGroupOperationResponse

type ListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]LoadTestResource
	// contains filtered or unexported fields
}

func (ListByResourceGroupOperationResponse) HasMore

func (ListByResourceGroupOperationResponse) LoadMore

type ListBySubscriptionCompleteResult

type ListBySubscriptionCompleteResult struct {
	Items []LoadTestResource
}

type ListBySubscriptionOperationResponse

type ListBySubscriptionOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]LoadTestResource
	// contains filtered or unexported fields
}

func (ListBySubscriptionOperationResponse) HasMore

func (ListBySubscriptionOperationResponse) LoadMore

type LoadTestId

type LoadTestId struct {
	SubscriptionId    string
	ResourceGroupName string
	LoadTestName      string
}

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) ID

func (id LoadTestId) ID() string

ID returns the formatted Load Test ID

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.SystemData   `json:"systemData,omitempty"`
	Tags       *map[string]string       `json:"tags,omitempty"`
	Type       *string                  `json:"type,omitempty"`
}

type LoadTestResourceOperationPredicate

type LoadTestResourceOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (LoadTestResourceOperationPredicate) Matches

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 LoadTestsClient

type LoadTestsClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewLoadTestsClientWithBaseURI

func NewLoadTestsClientWithBaseURI(endpoint string) LoadTestsClient

func (LoadTestsClient) CreateOrUpdate

func (c LoadTestsClient) CreateOrUpdate(ctx context.Context, id LoadTestId, input LoadTestResource) (result CreateOrUpdateOperationResponse, err error)

CreateOrUpdate ...

func (LoadTestsClient) Delete

func (c LoadTestsClient) Delete(ctx context.Context, id LoadTestId) (result DeleteOperationResponse, 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 GetOperationResponse, err error)

Get ...

func (LoadTestsClient) ListByResourceGroup

ListByResourceGroup ...

func (LoadTestsClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all of the results into a single object

func (LoadTestsClient) ListByResourceGroupCompleteMatchingPredicate

func (c LoadTestsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate LoadTestResourceOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)

ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (LoadTestsClient) ListBySubscription

ListBySubscription ...

func (LoadTestsClient) ListBySubscriptionComplete

ListBySubscriptionComplete retrieves all of the results into a single object

func (LoadTestsClient) ListBySubscriptionCompleteMatchingPredicate

func (c LoadTestsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate LoadTestResourceOperationPredicate) (resp ListBySubscriptionCompleteResult, err error)

ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (LoadTestsClient) Update

Update ...

type ResourceState

type ResourceState string
const (
	ResourceStateCanceled  ResourceState = "Canceled"
	ResourceStateDeleted   ResourceState = "Deleted"
	ResourceStateFailed    ResourceState = "Failed"
	ResourceStateSucceeded ResourceState = "Succeeded"
)

type UpdateOperationResponse

type UpdateOperationResponse struct {
	HttpResponse *http.Response
	Model        *LoadTestResource
}

Jump to

Keyboard shortcuts

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