Documentation ¶
Index ¶
- func ValidateWatchlistID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type UserInfo
- type Watchlist
- type WatchlistId
- type WatchlistOperationPredicate
- type WatchlistProperties
- type WatchlistsClient
- func (c WatchlistsClient) CreateOrUpdate(ctx context.Context, id WatchlistId, input Watchlist) (result CreateOrUpdateOperationResponse, err error)
- func (c WatchlistsClient) Delete(ctx context.Context, id WatchlistId) (result DeleteOperationResponse, err error)
- func (c WatchlistsClient) Get(ctx context.Context, id WatchlistId) (result GetOperationResponse, err error)
- func (c WatchlistsClient) List(ctx context.Context, id WorkspaceId) (resp ListOperationResponse, err error)
- func (c WatchlistsClient) ListComplete(ctx context.Context, id WorkspaceId) (ListCompleteResult, error)
- func (c WatchlistsClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, predicate WatchlistOperationPredicate) (resp ListCompleteResult, err error)
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateWatchlistID ¶
ValidateWatchlistID checks that 'input' can be parsed as a Watchlist ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Watchlist
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]Watchlist // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type Watchlist ¶
type Watchlist struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *WatchlistProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type WatchlistId ¶
type WatchlistId struct { SubscriptionId string ResourceGroupName string WorkspaceName string WatchlistAlias string }
WatchlistId is a struct representing the Resource ID for a Watchlist
func NewWatchlistID ¶
func NewWatchlistID(subscriptionId string, resourceGroupName string, workspaceName string, watchlistAlias string) WatchlistId
NewWatchlistID returns a new WatchlistId struct
func ParseWatchlistID ¶
func ParseWatchlistID(input string) (*WatchlistId, error)
ParseWatchlistID parses 'input' into a WatchlistId
func ParseWatchlistIDInsensitively ¶
func ParseWatchlistIDInsensitively(input string) (*WatchlistId, error)
ParseWatchlistIDInsensitively parses 'input' case-insensitively into a WatchlistId note: this method should only be used for API response data and not user input
func (*WatchlistId) FromParseResult ¶
func (id *WatchlistId) FromParseResult(input resourceids.ParseResult) error
func (WatchlistId) Segments ¶
func (id WatchlistId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Watchlist ID
func (WatchlistId) String ¶
func (id WatchlistId) String() string
String returns a human-readable description of this Watchlist ID
type WatchlistOperationPredicate ¶
func (WatchlistOperationPredicate) Matches ¶
func (p WatchlistOperationPredicate) Matches(input Watchlist) bool
type WatchlistProperties ¶
type WatchlistProperties struct { ContentType *string `json:"contentType,omitempty"` Created *string `json:"created,omitempty"` CreatedBy *UserInfo `json:"createdBy,omitempty"` DefaultDuration *string `json:"defaultDuration,omitempty"` Description *string `json:"description,omitempty"` DisplayName string `json:"displayName"` IsDeleted *bool `json:"isDeleted,omitempty"` ItemsSearchKey string `json:"itemsSearchKey"` Labels *[]string `json:"labels,omitempty"` NumberOfLinesToSkip *int64 `json:"numberOfLinesToSkip,omitempty"` Provider string `json:"provider"` RawContent *string `json:"rawContent,omitempty"` Source *string `json:"source,omitempty"` TenantId *string `json:"tenantId,omitempty"` Updated *string `json:"updated,omitempty"` UpdatedBy *UserInfo `json:"updatedBy,omitempty"` UploadStatus *string `json:"uploadStatus,omitempty"` WatchlistAlias *string `json:"watchlistAlias,omitempty"` WatchlistId *string `json:"watchlistId,omitempty"` WatchlistType *string `json:"watchlistType,omitempty"` }
func (*WatchlistProperties) GetCreatedAsTime ¶
func (o *WatchlistProperties) GetCreatedAsTime() (*time.Time, error)
func (*WatchlistProperties) GetUpdatedAsTime ¶
func (o *WatchlistProperties) GetUpdatedAsTime() (*time.Time, error)
func (*WatchlistProperties) SetCreatedAsTime ¶
func (o *WatchlistProperties) SetCreatedAsTime(input time.Time)
func (*WatchlistProperties) SetUpdatedAsTime ¶
func (o *WatchlistProperties) SetUpdatedAsTime(input time.Time)
type WatchlistsClient ¶
func NewWatchlistsClientWithBaseURI ¶
func NewWatchlistsClientWithBaseURI(endpoint string) WatchlistsClient
func (WatchlistsClient) CreateOrUpdate ¶
func (c WatchlistsClient) CreateOrUpdate(ctx context.Context, id WatchlistId, input Watchlist) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (WatchlistsClient) Delete ¶
func (c WatchlistsClient) Delete(ctx context.Context, id WatchlistId) (result DeleteOperationResponse, err error)
Delete ...
func (WatchlistsClient) Get ¶
func (c WatchlistsClient) Get(ctx context.Context, id WatchlistId) (result GetOperationResponse, err error)
Get ...
func (WatchlistsClient) List ¶
func (c WatchlistsClient) List(ctx context.Context, id WorkspaceId) (resp ListOperationResponse, err error)
List ...
func (WatchlistsClient) ListComplete ¶
func (c WatchlistsClient) ListComplete(ctx context.Context, id WorkspaceId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (WatchlistsClient) ListCompleteMatchingPredicate ¶
func (c WatchlistsClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, predicate WatchlistOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type WorkspaceId ¶
WorkspaceId is a struct representing the Resource ID for a Workspace
func NewWorkspaceID ¶
func NewWorkspaceID(subscriptionId string, resourceGroupName string, workspaceName string) WorkspaceId
NewWorkspaceID returns a new WorkspaceId struct
func ParseWorkspaceID ¶
func ParseWorkspaceID(input string) (*WorkspaceId, error)
ParseWorkspaceID parses 'input' into a WorkspaceId
func ParseWorkspaceIDInsensitively ¶
func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error)
ParseWorkspaceIDInsensitively parses 'input' case-insensitively into a WorkspaceId note: this method should only be used for API response data and not user input
func (*WorkspaceId) FromParseResult ¶
func (id *WorkspaceId) FromParseResult(input resourceids.ParseResult) error
func (WorkspaceId) Segments ¶
func (id WorkspaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace ID
func (WorkspaceId) String ¶
func (id WorkspaceId) String() string
String returns a human-readable description of this Workspace ID