Documentation ¶
Index ¶
- func PossibleValuesForFilterType() []string
- func PossibleValuesForSelectorType() []string
- func PossibleValuesForTargetReferenceType() []string
- func ValidateExecutionDetailID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateExperimentID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateStatusID(input interface{}, key string) (warnings []string, errors []error)
- type Action
- type ActionStatus
- type Branch
- type BranchStatus
- type CancelOperationResponse
- type ContinuousAction
- type CreateOrUpdateOperationResponse
- type DelayAction
- type DeleteOperationResponse
- type DiscreteAction
- type ExecutionDetailId
- type Experiment
- type ExperimentCancelOperationResult
- type ExperimentExecutionActionTargetDetailsError
- type ExperimentExecutionActionTargetDetailsProperties
- func (o *ExperimentExecutionActionTargetDetailsProperties) GetTargetCompletedTimeAsTime() (*time.Time, error)
- func (o *ExperimentExecutionActionTargetDetailsProperties) GetTargetFailedTimeAsTime() (*time.Time, error)
- func (o *ExperimentExecutionActionTargetDetailsProperties) SetTargetCompletedTimeAsTime(input time.Time)
- func (o *ExperimentExecutionActionTargetDetailsProperties) SetTargetFailedTimeAsTime(input time.Time)
- type ExperimentExecutionDetails
- type ExperimentExecutionDetailsOperationPredicate
- type ExperimentExecutionDetailsProperties
- func (o *ExperimentExecutionDetailsProperties) GetCreatedDateTimeAsTime() (*time.Time, error)
- func (o *ExperimentExecutionDetailsProperties) GetLastActionDateTimeAsTime() (*time.Time, error)
- func (o *ExperimentExecutionDetailsProperties) GetStartDateTimeAsTime() (*time.Time, error)
- func (o *ExperimentExecutionDetailsProperties) GetStopDateTimeAsTime() (*time.Time, error)
- func (o *ExperimentExecutionDetailsProperties) SetCreatedDateTimeAsTime(input time.Time)
- func (o *ExperimentExecutionDetailsProperties) SetLastActionDateTimeAsTime(input time.Time)
- func (o *ExperimentExecutionDetailsProperties) SetStartDateTimeAsTime(input time.Time)
- func (o *ExperimentExecutionDetailsProperties) SetStopDateTimeAsTime(input time.Time)
- type ExperimentExecutionDetailsPropertiesRunInformation
- type ExperimentId
- type ExperimentOperationPredicate
- type ExperimentProperties
- type ExperimentStartOperationResult
- type ExperimentStatus
- type ExperimentStatusOperationPredicate
- type ExperimentStatusProperties
- func (o *ExperimentStatusProperties) GetCreatedDateUtcAsTime() (*time.Time, error)
- func (o *ExperimentStatusProperties) GetEndDateUtcAsTime() (*time.Time, error)
- func (o *ExperimentStatusProperties) SetCreatedDateUtcAsTime(input time.Time)
- func (o *ExperimentStatusProperties) SetEndDateUtcAsTime(input time.Time)
- type ExperimentUpdate
- type ExperimentsClient
- func (c ExperimentsClient) Cancel(ctx context.Context, id ExperimentId) (result CancelOperationResponse, err error)
- func (c ExperimentsClient) CreateOrUpdate(ctx context.Context, id ExperimentId, input Experiment) (result CreateOrUpdateOperationResponse, err error)
- func (c ExperimentsClient) Delete(ctx context.Context, id ExperimentId) (result DeleteOperationResponse, err error)
- func (c ExperimentsClient) Get(ctx context.Context, id ExperimentId) (result GetOperationResponse, err error)
- func (c ExperimentsClient) GetExecutionDetails(ctx context.Context, id ExecutionDetailId) (result GetExecutionDetailsOperationResponse, err error)
- func (c ExperimentsClient) GetStatus(ctx context.Context, id StatusId) (result GetStatusOperationResponse, err error)
- func (c ExperimentsClient) List(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListOperationResponse, err error)
- func (c ExperimentsClient) ListAll(ctx context.Context, id commonids.SubscriptionId, ...) (result ListAllOperationResponse, err error)
- func (c ExperimentsClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId, ...) (ListAllCompleteResult, error)
- func (c ExperimentsClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListAllCompleteResult, err error)
- func (c ExperimentsClient) ListAllStatuses(ctx context.Context, id ExperimentId) (result ListAllStatusesOperationResponse, err error)
- func (c ExperimentsClient) ListAllStatusesComplete(ctx context.Context, id ExperimentId) (ListAllStatusesCompleteResult, error)
- func (c ExperimentsClient) ListAllStatusesCompleteMatchingPredicate(ctx context.Context, id ExperimentId, ...) (result ListAllStatusesCompleteResult, err error)
- func (c ExperimentsClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (ListCompleteResult, error)
- func (c ExperimentsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListCompleteResult, err error)
- func (c ExperimentsClient) ListExecutionDetails(ctx context.Context, id ExperimentId) (result ListExecutionDetailsOperationResponse, err error)
- func (c ExperimentsClient) ListExecutionDetailsComplete(ctx context.Context, id ExperimentId) (ListExecutionDetailsCompleteResult, error)
- func (c ExperimentsClient) ListExecutionDetailsCompleteMatchingPredicate(ctx context.Context, id ExperimentId, ...) (result ListExecutionDetailsCompleteResult, err error)
- func (c ExperimentsClient) Start(ctx context.Context, id ExperimentId) (result StartOperationResponse, err error)
- func (c ExperimentsClient) Update(ctx context.Context, id ExperimentId, input ExperimentUpdate) (result UpdateOperationResponse, err error)
- type Filter
- type FilterType
- type GetExecutionDetailsOperationResponse
- type GetOperationResponse
- type GetStatusOperationResponse
- type KeyValuePair
- type ListAllCompleteResult
- type ListAllOperationOptions
- type ListAllOperationResponse
- type ListAllStatusesCompleteResult
- type ListAllStatusesOperationResponse
- type ListCompleteResult
- type ListExecutionDetailsCompleteResult
- type ListExecutionDetailsOperationResponse
- type ListOperationOptions
- type ListOperationResponse
- type ListSelector
- type QuerySelector
- type RawActionImpl
- type RawFilterImpl
- type RawSelectorImpl
- type Selector
- type SelectorType
- type SimpleFilter
- type SimpleFilterParameters
- type StartOperationResponse
- type StatusId
- type Step
- type StepStatus
- type TargetReference
- type TargetReferenceType
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForFilterType ¶
func PossibleValuesForFilterType() []string
func PossibleValuesForSelectorType ¶
func PossibleValuesForSelectorType() []string
func PossibleValuesForTargetReferenceType ¶ added in v0.20240131.1120756
func PossibleValuesForTargetReferenceType() []string
func ValidateExecutionDetailID ¶
ValidateExecutionDetailID checks that 'input' can be parsed as a Execution Detail ID
func ValidateExperimentID ¶
ValidateExperimentID checks that 'input' can be parsed as a Experiment ID
func ValidateStatusID ¶
ValidateStatusID checks that 'input' can be parsed as a Status ID
Types ¶
type ActionStatus ¶
type ActionStatus struct { ActionId *string `json:"actionId,omitempty"` ActionName *string `json:"actionName,omitempty"` EndTime *string `json:"endTime,omitempty"` StartTime *string `json:"startTime,omitempty"` Status *string `json:"status,omitempty"` Targets *[]ExperimentExecutionActionTargetDetailsProperties `json:"targets,omitempty"` }
func (*ActionStatus) GetEndTimeAsTime ¶
func (o *ActionStatus) GetEndTimeAsTime() (*time.Time, error)
func (*ActionStatus) GetStartTimeAsTime ¶
func (o *ActionStatus) GetStartTimeAsTime() (*time.Time, error)
func (*ActionStatus) SetEndTimeAsTime ¶
func (o *ActionStatus) SetEndTimeAsTime(input time.Time)
func (*ActionStatus) SetStartTimeAsTime ¶
func (o *ActionStatus) SetStartTimeAsTime(input time.Time)
type Branch ¶
func (*Branch) UnmarshalJSON ¶ added in v0.20240131.1120756
type BranchStatus ¶
type BranchStatus struct { Actions *[]ActionStatus `json:"actions,omitempty"` BranchId *string `json:"branchId,omitempty"` BranchName *string `json:"branchName,omitempty"` Status *string `json:"status,omitempty"` }
type CancelOperationResponse ¶
type CancelOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ExperimentCancelOperationResult }
type ContinuousAction ¶ added in v0.20240131.1120756
type ContinuousAction struct { Duration string `json:"duration"` Parameters []KeyValuePair `json:"parameters"` SelectorId string `json:"selectorId"` // Fields inherited from Action Name string `json:"name"` }
func (ContinuousAction) MarshalJSON ¶ added in v0.20240131.1120756
func (s ContinuousAction) MarshalJSON() ([]byte, error)
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Experiment }
type DelayAction ¶ added in v0.20240131.1120756
type DelayAction struct { Duration string `json:"duration"` // Fields inherited from Action Name string `json:"name"` }
func (DelayAction) MarshalJSON ¶ added in v0.20240131.1120756
func (s DelayAction) MarshalJSON() ([]byte, error)
type DeleteOperationResponse ¶
type DiscreteAction ¶ added in v0.20240131.1120756
type DiscreteAction struct { Parameters []KeyValuePair `json:"parameters"` SelectorId string `json:"selectorId"` // Fields inherited from Action Name string `json:"name"` }
func (DiscreteAction) MarshalJSON ¶ added in v0.20240131.1120756
func (s DiscreteAction) MarshalJSON() ([]byte, error)
type ExecutionDetailId ¶
type ExecutionDetailId struct { SubscriptionId string ResourceGroupName string ExperimentName string ExecutionDetailsId string }
ExecutionDetailId is a struct representing the Resource ID for a Execution Detail
func NewExecutionDetailID ¶
func NewExecutionDetailID(subscriptionId string, resourceGroupName string, experimentName string, executionDetailsId string) ExecutionDetailId
NewExecutionDetailID returns a new ExecutionDetailId struct
func ParseExecutionDetailID ¶
func ParseExecutionDetailID(input string) (*ExecutionDetailId, error)
ParseExecutionDetailID parses 'input' into a ExecutionDetailId
func ParseExecutionDetailIDInsensitively ¶
func ParseExecutionDetailIDInsensitively(input string) (*ExecutionDetailId, error)
ParseExecutionDetailIDInsensitively parses 'input' case-insensitively into a ExecutionDetailId note: this method should only be used for API response data and not user input
func (*ExecutionDetailId) FromParseResult ¶
func (id *ExecutionDetailId) FromParseResult(input resourceids.ParseResult) error
func (ExecutionDetailId) ID ¶
func (id ExecutionDetailId) ID() string
ID returns the formatted Execution Detail ID
func (ExecutionDetailId) Segments ¶
func (id ExecutionDetailId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Execution Detail ID
func (ExecutionDetailId) String ¶
func (id ExecutionDetailId) String() string
String returns a human-readable description of this Execution Detail ID
type Experiment ¶
type Experiment struct { Id *string `json:"id,omitempty"` Identity *identity.SystemOrUserAssignedMap `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties ExperimentProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ExperimentExecutionActionTargetDetailsProperties ¶
type ExperimentExecutionActionTargetDetailsProperties struct { Error *ExperimentExecutionActionTargetDetailsError `json:"error,omitempty"` Status *string `json:"status,omitempty"` Target *string `json:"target,omitempty"` TargetCompletedTime *string `json:"targetCompletedTime,omitempty"` TargetFailedTime *string `json:"targetFailedTime,omitempty"` }
func (*ExperimentExecutionActionTargetDetailsProperties) GetTargetCompletedTimeAsTime ¶
func (o *ExperimentExecutionActionTargetDetailsProperties) GetTargetCompletedTimeAsTime() (*time.Time, error)
func (*ExperimentExecutionActionTargetDetailsProperties) GetTargetFailedTimeAsTime ¶
func (o *ExperimentExecutionActionTargetDetailsProperties) GetTargetFailedTimeAsTime() (*time.Time, error)
func (*ExperimentExecutionActionTargetDetailsProperties) SetTargetCompletedTimeAsTime ¶
func (o *ExperimentExecutionActionTargetDetailsProperties) SetTargetCompletedTimeAsTime(input time.Time)
func (*ExperimentExecutionActionTargetDetailsProperties) SetTargetFailedTimeAsTime ¶
func (o *ExperimentExecutionActionTargetDetailsProperties) SetTargetFailedTimeAsTime(input time.Time)
type ExperimentExecutionDetails ¶
type ExperimentExecutionDetails struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ExperimentExecutionDetailsProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ExperimentExecutionDetailsOperationPredicate ¶
func (ExperimentExecutionDetailsOperationPredicate) Matches ¶
func (p ExperimentExecutionDetailsOperationPredicate) Matches(input ExperimentExecutionDetails) bool
type ExperimentExecutionDetailsProperties ¶
type ExperimentExecutionDetailsProperties struct { CreatedDateTime *string `json:"createdDateTime,omitempty"` ExperimentId *string `json:"experimentId,omitempty"` FailureReason *string `json:"failureReason,omitempty"` LastActionDateTime *string `json:"lastActionDateTime,omitempty"` RunInformation *ExperimentExecutionDetailsPropertiesRunInformation `json:"runInformation,omitempty"` StartDateTime *string `json:"startDateTime,omitempty"` Status *string `json:"status,omitempty"` StopDateTime *string `json:"stopDateTime,omitempty"` }
func (*ExperimentExecutionDetailsProperties) GetCreatedDateTimeAsTime ¶
func (o *ExperimentExecutionDetailsProperties) GetCreatedDateTimeAsTime() (*time.Time, error)
func (*ExperimentExecutionDetailsProperties) GetLastActionDateTimeAsTime ¶
func (o *ExperimentExecutionDetailsProperties) GetLastActionDateTimeAsTime() (*time.Time, error)
func (*ExperimentExecutionDetailsProperties) GetStartDateTimeAsTime ¶
func (o *ExperimentExecutionDetailsProperties) GetStartDateTimeAsTime() (*time.Time, error)
func (*ExperimentExecutionDetailsProperties) GetStopDateTimeAsTime ¶
func (o *ExperimentExecutionDetailsProperties) GetStopDateTimeAsTime() (*time.Time, error)
func (*ExperimentExecutionDetailsProperties) SetCreatedDateTimeAsTime ¶
func (o *ExperimentExecutionDetailsProperties) SetCreatedDateTimeAsTime(input time.Time)
func (*ExperimentExecutionDetailsProperties) SetLastActionDateTimeAsTime ¶
func (o *ExperimentExecutionDetailsProperties) SetLastActionDateTimeAsTime(input time.Time)
func (*ExperimentExecutionDetailsProperties) SetStartDateTimeAsTime ¶
func (o *ExperimentExecutionDetailsProperties) SetStartDateTimeAsTime(input time.Time)
func (*ExperimentExecutionDetailsProperties) SetStopDateTimeAsTime ¶
func (o *ExperimentExecutionDetailsProperties) SetStopDateTimeAsTime(input time.Time)
type ExperimentExecutionDetailsPropertiesRunInformation ¶
type ExperimentExecutionDetailsPropertiesRunInformation struct {
Steps *[]StepStatus `json:"steps,omitempty"`
}
type ExperimentId ¶
ExperimentId is a struct representing the Resource ID for a Experiment
func NewExperimentID ¶
func NewExperimentID(subscriptionId string, resourceGroupName string, experimentName string) ExperimentId
NewExperimentID returns a new ExperimentId struct
func ParseExperimentID ¶
func ParseExperimentID(input string) (*ExperimentId, error)
ParseExperimentID parses 'input' into a ExperimentId
func ParseExperimentIDInsensitively ¶
func ParseExperimentIDInsensitively(input string) (*ExperimentId, error)
ParseExperimentIDInsensitively parses 'input' case-insensitively into a ExperimentId note: this method should only be used for API response data and not user input
func (*ExperimentId) FromParseResult ¶
func (id *ExperimentId) FromParseResult(input resourceids.ParseResult) error
func (ExperimentId) Segments ¶
func (id ExperimentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Experiment ID
func (ExperimentId) String ¶
func (id ExperimentId) String() string
String returns a human-readable description of this Experiment ID
type ExperimentOperationPredicate ¶
func (ExperimentOperationPredicate) Matches ¶
func (p ExperimentOperationPredicate) Matches(input Experiment) bool
type ExperimentProperties ¶
type ExperimentProperties struct { Selectors []Selector `json:"selectors"` StartOnCreation *bool `json:"startOnCreation,omitempty"` Steps []Step `json:"steps"` }
func (*ExperimentProperties) UnmarshalJSON ¶ added in v0.20240131.1120756
func (s *ExperimentProperties) UnmarshalJSON(bytes []byte) error
type ExperimentStatus ¶
type ExperimentStatus struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ExperimentStatusProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ExperimentStatusOperationPredicate ¶
func (ExperimentStatusOperationPredicate) Matches ¶
func (p ExperimentStatusOperationPredicate) Matches(input ExperimentStatus) bool
type ExperimentStatusProperties ¶
type ExperimentStatusProperties struct { CreatedDateUtc *string `json:"createdDateUtc,omitempty"` EndDateUtc *string `json:"endDateUtc,omitempty"` Status *string `json:"status,omitempty"` }
func (*ExperimentStatusProperties) GetCreatedDateUtcAsTime ¶
func (o *ExperimentStatusProperties) GetCreatedDateUtcAsTime() (*time.Time, error)
func (*ExperimentStatusProperties) GetEndDateUtcAsTime ¶
func (o *ExperimentStatusProperties) GetEndDateUtcAsTime() (*time.Time, error)
func (*ExperimentStatusProperties) SetCreatedDateUtcAsTime ¶
func (o *ExperimentStatusProperties) SetCreatedDateUtcAsTime(input time.Time)
func (*ExperimentStatusProperties) SetEndDateUtcAsTime ¶
func (o *ExperimentStatusProperties) SetEndDateUtcAsTime(input time.Time)
type ExperimentUpdate ¶
type ExperimentUpdate struct {
Identity *identity.SystemOrUserAssignedMap `json:"identity,omitempty"`
}
type ExperimentsClient ¶
type ExperimentsClient struct {
Client *resourcemanager.Client
}
func NewExperimentsClientWithBaseURI ¶
func NewExperimentsClientWithBaseURI(sdkApi sdkEnv.Api) (*ExperimentsClient, error)
func (ExperimentsClient) Cancel ¶
func (c ExperimentsClient) Cancel(ctx context.Context, id ExperimentId) (result CancelOperationResponse, err error)
Cancel ...
func (ExperimentsClient) CreateOrUpdate ¶
func (c ExperimentsClient) CreateOrUpdate(ctx context.Context, id ExperimentId, input Experiment) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ExperimentsClient) Delete ¶
func (c ExperimentsClient) Delete(ctx context.Context, id ExperimentId) (result DeleteOperationResponse, err error)
Delete ...
func (ExperimentsClient) Get ¶
func (c ExperimentsClient) Get(ctx context.Context, id ExperimentId) (result GetOperationResponse, err error)
Get ...
func (ExperimentsClient) GetExecutionDetails ¶
func (c ExperimentsClient) GetExecutionDetails(ctx context.Context, id ExecutionDetailId) (result GetExecutionDetailsOperationResponse, err error)
GetExecutionDetails ...
func (ExperimentsClient) GetStatus ¶
func (c ExperimentsClient) GetStatus(ctx context.Context, id StatusId) (result GetStatusOperationResponse, err error)
GetStatus ...
func (ExperimentsClient) List ¶
func (c ExperimentsClient) List(ctx context.Context, id commonids.ResourceGroupId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (ExperimentsClient) ListAll ¶
func (c ExperimentsClient) ListAll(ctx context.Context, id commonids.SubscriptionId, options ListAllOperationOptions) (result ListAllOperationResponse, err error)
ListAll ...
func (ExperimentsClient) ListAllComplete ¶
func (c ExperimentsClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId, options ListAllOperationOptions) (ListAllCompleteResult, error)
ListAllComplete retrieves all the results into a single object
func (ExperimentsClient) ListAllCompleteMatchingPredicate ¶
func (c ExperimentsClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListAllOperationOptions, predicate ExperimentOperationPredicate) (result ListAllCompleteResult, err error)
ListAllCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ExperimentsClient) ListAllStatuses ¶
func (c ExperimentsClient) ListAllStatuses(ctx context.Context, id ExperimentId) (result ListAllStatusesOperationResponse, err error)
ListAllStatuses ...
func (ExperimentsClient) ListAllStatusesComplete ¶
func (c ExperimentsClient) ListAllStatusesComplete(ctx context.Context, id ExperimentId) (ListAllStatusesCompleteResult, error)
ListAllStatusesComplete retrieves all the results into a single object
func (ExperimentsClient) ListAllStatusesCompleteMatchingPredicate ¶
func (c ExperimentsClient) ListAllStatusesCompleteMatchingPredicate(ctx context.Context, id ExperimentId, predicate ExperimentStatusOperationPredicate) (result ListAllStatusesCompleteResult, err error)
ListAllStatusesCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ExperimentsClient) ListComplete ¶
func (c ExperimentsClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ExperimentsClient) ListCompleteMatchingPredicate ¶
func (c ExperimentsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListOperationOptions, predicate ExperimentOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ExperimentsClient) ListExecutionDetails ¶
func (c ExperimentsClient) ListExecutionDetails(ctx context.Context, id ExperimentId) (result ListExecutionDetailsOperationResponse, err error)
ListExecutionDetails ...
func (ExperimentsClient) ListExecutionDetailsComplete ¶
func (c ExperimentsClient) ListExecutionDetailsComplete(ctx context.Context, id ExperimentId) (ListExecutionDetailsCompleteResult, error)
ListExecutionDetailsComplete retrieves all the results into a single object
func (ExperimentsClient) ListExecutionDetailsCompleteMatchingPredicate ¶
func (c ExperimentsClient) ListExecutionDetailsCompleteMatchingPredicate(ctx context.Context, id ExperimentId, predicate ExperimentExecutionDetailsOperationPredicate) (result ListExecutionDetailsCompleteResult, err error)
ListExecutionDetailsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ExperimentsClient) Start ¶
func (c ExperimentsClient) Start(ctx context.Context, id ExperimentId) (result StartOperationResponse, err error)
Start ...
func (ExperimentsClient) Update ¶
func (c ExperimentsClient) Update(ctx context.Context, id ExperimentId, input ExperimentUpdate) (result UpdateOperationResponse, err error)
Update ...
type FilterType ¶
type FilterType string
const (
FilterTypeSimple FilterType = "Simple"
)
func (*FilterType) UnmarshalJSON ¶
func (s *FilterType) UnmarshalJSON(bytes []byte) error
type GetExecutionDetailsOperationResponse ¶
type GetExecutionDetailsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ExperimentExecutionDetails }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Experiment }
type GetStatusOperationResponse ¶
type GetStatusOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ExperimentStatus }
type KeyValuePair ¶ added in v0.20240131.1120756
type ListAllCompleteResult ¶
type ListAllCompleteResult struct { LatestHttpResponse *http.Response Items []Experiment }
type ListAllOperationOptions ¶
func DefaultListAllOperationOptions ¶
func DefaultListAllOperationOptions() ListAllOperationOptions
func (ListAllOperationOptions) ToHeaders ¶
func (o ListAllOperationOptions) ToHeaders() *client.Headers
func (ListAllOperationOptions) ToOData ¶
func (o ListAllOperationOptions) ToOData() *odata.Query
func (ListAllOperationOptions) ToQuery ¶
func (o ListAllOperationOptions) ToQuery() *client.QueryParams
type ListAllOperationResponse ¶
type ListAllOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Experiment }
type ListAllStatusesCompleteResult ¶
type ListAllStatusesCompleteResult struct { LatestHttpResponse *http.Response Items []ExperimentStatus }
type ListAllStatusesOperationResponse ¶
type ListAllStatusesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ExperimentStatus }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []Experiment }
type ListExecutionDetailsCompleteResult ¶
type ListExecutionDetailsCompleteResult struct { LatestHttpResponse *http.Response Items []ExperimentExecutionDetails }
type ListExecutionDetailsOperationResponse ¶
type ListExecutionDetailsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ExperimentExecutionDetails }
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Experiment }
type ListSelector ¶ added in v0.20240131.1120756
type ListSelector struct { Targets []TargetReference `json:"targets"` // Fields inherited from Selector Filter Filter `json:"filter"` Id string `json:"id"` }
func (ListSelector) MarshalJSON ¶ added in v0.20240131.1120756
func (s ListSelector) MarshalJSON() ([]byte, error)
func (*ListSelector) UnmarshalJSON ¶ added in v0.20240131.1120756
func (s *ListSelector) UnmarshalJSON(bytes []byte) error
type QuerySelector ¶ added in v0.20240131.1120756
type QuerySelector struct { QueryString string `json:"queryString"` SubscriptionIds []string `json:"subscriptionIds"` // Fields inherited from Selector Filter Filter `json:"filter"` Id string `json:"id"` }
func (QuerySelector) MarshalJSON ¶ added in v0.20240131.1120756
func (s QuerySelector) MarshalJSON() ([]byte, error)
func (*QuerySelector) UnmarshalJSON ¶ added in v0.20240131.1120756
func (s *QuerySelector) UnmarshalJSON(bytes []byte) error
type RawActionImpl ¶ added in v0.20240131.1120756
RawActionImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RawFilterImpl ¶ added in v0.20240131.1120756
RawFilterImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RawSelectorImpl ¶ added in v0.20240131.1120756
RawSelectorImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type SelectorType ¶
type SelectorType string
const ( SelectorTypeList SelectorType = "List" SelectorTypeQuery SelectorType = "Query" )
func (*SelectorType) UnmarshalJSON ¶
func (s *SelectorType) UnmarshalJSON(bytes []byte) error
type SimpleFilter ¶ added in v0.20240131.1120756
type SimpleFilter struct {
Parameters *SimpleFilterParameters `json:"parameters,omitempty"`
}
func (SimpleFilter) MarshalJSON ¶ added in v0.20240131.1120756
func (s SimpleFilter) MarshalJSON() ([]byte, error)
type SimpleFilterParameters ¶ added in v0.20240131.1120756
type SimpleFilterParameters struct {
Zones *[]string `json:"zones,omitempty"`
}
type StartOperationResponse ¶
type StartOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ExperimentStartOperationResult }
type StatusId ¶
type StatusId struct { SubscriptionId string ResourceGroupName string ExperimentName string StatusId string }
StatusId is a struct representing the Resource ID for a Status
func NewStatusID ¶
func NewStatusID(subscriptionId string, resourceGroupName string, experimentName string, statusId string) StatusId
NewStatusID returns a new StatusId struct
func ParseStatusID ¶
ParseStatusID parses 'input' into a StatusId
func ParseStatusIDInsensitively ¶
ParseStatusIDInsensitively parses 'input' case-insensitively into a StatusId note: this method should only be used for API response data and not user input
func (*StatusId) FromParseResult ¶
func (id *StatusId) FromParseResult(input resourceids.ParseResult) error
func (StatusId) Segments ¶
func (id StatusId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Status ID
type StepStatus ¶
type StepStatus struct { Branches *[]BranchStatus `json:"branches,omitempty"` Status *string `json:"status,omitempty"` StepId *string `json:"stepId,omitempty"` StepName *string `json:"stepName,omitempty"` }
type TargetReference ¶ added in v0.20240131.1120756
type TargetReference struct { Id string `json:"id"` Type TargetReferenceType `json:"type"` }
type TargetReferenceType ¶ added in v0.20240131.1120756
type TargetReferenceType string
const (
TargetReferenceTypeChaosTarget TargetReferenceType = "ChaosTarget"
)
func (*TargetReferenceType) UnmarshalJSON ¶ added in v0.20240131.1120756
func (s *TargetReferenceType) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Experiment }
Source Files ¶
- client.go
- constants.go
- id_executiondetail.go
- id_experiment.go
- id_status.go
- method_cancel.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getexecutiondetails.go
- method_getstatus.go
- method_list.go
- method_listall.go
- method_listallstatuses.go
- method_listexecutiondetails.go
- method_start.go
- method_update.go
- model_action.go
- model_actionstatus.go
- model_branch.go
- model_branchstatus.go
- model_continuousaction.go
- model_delayaction.go
- model_discreteaction.go
- model_experiment.go
- model_experimentcanceloperationresult.go
- model_experimentexecutionactiontargetdetailserror.go
- model_experimentexecutionactiontargetdetailsproperties.go
- model_experimentexecutiondetails.go
- model_experimentexecutiondetailsproperties.go
- model_experimentexecutiondetailspropertiesruninformation.go
- model_experimentproperties.go
- model_experimentstartoperationresult.go
- model_experimentstatus.go
- model_experimentstatusproperties.go
- model_experimentupdate.go
- model_filter.go
- model_keyvaluepair.go
- model_listselector.go
- model_queryselector.go
- model_selector.go
- model_simplefilter.go
- model_simplefilterparameters.go
- model_step.go
- model_stepstatus.go
- model_targetreference.go
- predicates.go
- version.go