Documentation ¶
Index ¶
- func PossibleValuesForResourceState() []string
- func PossibleValuesForType() []string
- func ValidateLoadTestID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type EncryptionProperties
- type EncryptionPropertiesIdentity
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type LoadTestId
- type LoadTestProperties
- type LoadTestResource
- type LoadTestResourceOperationPredicate
- type LoadTestResourcePatchRequestBody
- type LoadTestResourcePatchRequestBodyProperties
- type LoadTestsClient
- func (c LoadTestsClient) CreateOrUpdate(ctx context.Context, id LoadTestId, input LoadTestResource) (result CreateOrUpdateOperationResponse, err error)
- func (c LoadTestsClient) CreateOrUpdateThenPoll(ctx context.Context, id LoadTestId, input LoadTestResource) error
- func (c LoadTestsClient) Delete(ctx context.Context, id LoadTestId) (result DeleteOperationResponse, err error)
- func (c LoadTestsClient) DeleteThenPoll(ctx context.Context, id LoadTestId) error
- func (c LoadTestsClient) Get(ctx context.Context, id LoadTestId) (result GetOperationResponse, err error)
- func (c LoadTestsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c LoadTestsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c LoadTestsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c LoadTestsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c LoadTestsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c LoadTestsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c LoadTestsClient) Update(ctx context.Context, id LoadTestId, input LoadTestResourcePatchRequestBody) (result UpdateOperationResponse, err error)
- func (c LoadTestsClient) UpdateThenPoll(ctx context.Context, id LoadTestId, input LoadTestResourcePatchRequestBody) error
- type ResourceState
- type Type
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForResourceState ¶
func PossibleValuesForResourceState() []string
func PossibleValuesForType ¶
func PossibleValuesForType() []string
func ValidateLoadTestID ¶
ValidateLoadTestID checks that 'input' can be parsed as a Load Test ID
Types ¶
type DeleteOperationResponse ¶
type EncryptionProperties ¶
type EncryptionProperties struct { Identity *EncryptionPropertiesIdentity `json:"identity,omitempty"` KeyUrl *string `json:"keyUrl,omitempty"` }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LoadTestResource }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []LoadTestResource }
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]LoadTestResource }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []LoadTestResource }
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]LoadTestResource }
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) FromParseResult ¶ added in v0.20231127.1171502
func (id *LoadTestId) FromParseResult(input resourceids.ParseResult) error
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"` Encryption *EncryptionProperties `json:"encryption,omitempty"` ProvisioningState *ResourceState `json:"provisioningState,omitempty"` }
type LoadTestResource ¶
type LoadTestResource struct { Id *string `json:"id,omitempty"` Identity *identity.LegacySystemAndUserAssignedMap `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 ¶
func (p LoadTestResourceOperationPredicate) Matches(input LoadTestResource) bool
type LoadTestResourcePatchRequestBody ¶
type LoadTestResourcePatchRequestBody struct { Identity *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"` Properties *LoadTestResourcePatchRequestBodyProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type LoadTestResourcePatchRequestBodyProperties ¶
type LoadTestResourcePatchRequestBodyProperties struct { Description *string `json:"description,omitempty"` Encryption *EncryptionProperties `json:"encryption,omitempty"` }
type LoadTestsClient ¶
type LoadTestsClient struct {
Client *resourcemanager.Client
}
func NewLoadTestsClientWithBaseURI ¶
func NewLoadTestsClientWithBaseURI(sdkApi sdkEnv.Api) (*LoadTestsClient, error)
func (LoadTestsClient) CreateOrUpdate ¶
func (c LoadTestsClient) CreateOrUpdate(ctx context.Context, id LoadTestId, input LoadTestResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (LoadTestsClient) CreateOrUpdateThenPoll ¶
func (c LoadTestsClient) CreateOrUpdateThenPoll(ctx context.Context, id LoadTestId, input LoadTestResource) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
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 ¶
func (c LoadTestsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (LoadTestsClient) ListByResourceGroupComplete ¶
func (c LoadTestsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (LoadTestsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c LoadTestsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate LoadTestResourceOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (LoadTestsClient) ListBySubscription ¶
func (c LoadTestsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (LoadTestsClient) ListBySubscriptionComplete ¶
func (c LoadTestsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (LoadTestsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c LoadTestsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate LoadTestResourceOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (LoadTestsClient) Update ¶
func (c LoadTestsClient) Update(ctx context.Context, id LoadTestId, input LoadTestResourcePatchRequestBody) (result UpdateOperationResponse, err error)
Update ...
func (LoadTestsClient) UpdateThenPoll ¶
func (c LoadTestsClient) UpdateThenPoll(ctx context.Context, id LoadTestId, input LoadTestResourcePatchRequestBody) error
UpdateThenPoll performs Update then polls until it's completed
type ResourceState ¶
type ResourceState string
const ( ResourceStateCanceled ResourceState = "Canceled" ResourceStateDeleted ResourceState = "Deleted" ResourceStateFailed ResourceState = "Failed" ResourceStateSucceeded ResourceState = "Succeeded" )
func (*ResourceState) UnmarshalJSON ¶ added in v0.20240122.1052955
func (s *ResourceState) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_loadtest.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_update.go
- model_encryptionproperties.go
- model_encryptionpropertiesidentity.go
- model_loadtestproperties.go
- model_loadtestresource.go
- model_loadtestresourcepatchrequestbody.go
- model_loadtestresourcepatchrequestbodyproperties.go
- predicates.go
- version.go