Documentation ¶
Index ¶
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
- type Target
- type TargetOperationPredicate
- type TargetsClient
- func (c TargetsClient) CreateOrUpdate(ctx context.Context, id commonids.ChaosStudioTargetId, input Target) (result CreateOrUpdateOperationResponse, err error)
- func (c TargetsClient) Delete(ctx context.Context, id commonids.ChaosStudioTargetId) (result DeleteOperationResponse, err error)
- func (c TargetsClient) Get(ctx context.Context, id commonids.ChaosStudioTargetId) (result GetOperationResponse, err error)
- func (c TargetsClient) List(ctx context.Context, id commonids.ScopeId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c TargetsClient) ListComplete(ctx context.Context, id commonids.ScopeId, options ListOperationOptions) (ListCompleteResult, error)
- func (c TargetsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListCompleteResult ¶
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationOptions ¶
type ListOperationOptions struct {
ContinuationToken *string
}
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 Target ¶
type Target struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties interface{} `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type TargetOperationPredicate ¶
type TargetOperationPredicate struct { Id *string Location *string Name *string Properties *interface{} Type *string }
func (TargetOperationPredicate) Matches ¶
func (p TargetOperationPredicate) Matches(input Target) bool
type TargetsClient ¶
type TargetsClient struct {
Client *resourcemanager.Client
}
func NewTargetsClientWithBaseURI ¶
func NewTargetsClientWithBaseURI(sdkApi sdkEnv.Api) (*TargetsClient, error)
func (TargetsClient) CreateOrUpdate ¶
func (c TargetsClient) CreateOrUpdate(ctx context.Context, id commonids.ChaosStudioTargetId, input Target) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (TargetsClient) Delete ¶
func (c TargetsClient) Delete(ctx context.Context, id commonids.ChaosStudioTargetId) (result DeleteOperationResponse, err error)
Delete ...
func (TargetsClient) Get ¶
func (c TargetsClient) Get(ctx context.Context, id commonids.ChaosStudioTargetId) (result GetOperationResponse, err error)
Get ...
func (TargetsClient) List ¶
func (c TargetsClient) List(ctx context.Context, id commonids.ScopeId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (TargetsClient) ListComplete ¶
func (c TargetsClient) ListComplete(ctx context.Context, id commonids.ScopeId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (TargetsClient) ListCompleteMatchingPredicate ¶
func (c TargetsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListOperationOptions, predicate TargetOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
Click to show internal directories.
Click to hide internal directories.