Documentation ¶
Index ¶
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTagID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceTagID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetEntityStateOperationResponse
- type GetOperationResponse
- type ListByServiceCompleteResult
- type ListByServiceCustomPager
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
- type ServiceId
- type TagClient
- func (c TagClient) CreateOrUpdate(ctx context.Context, id TagId, input TagCreateUpdateParameters, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c TagClient) Delete(ctx context.Context, id TagId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c TagClient) Get(ctx context.Context, id TagId) (result GetOperationResponse, err error)
- func (c TagClient) GetEntityState(ctx context.Context, id TagId) (result GetEntityStateOperationResponse, err error)
- func (c TagClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
- func (c TagClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c TagClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, ...) (result ListByServiceCompleteResult, err error)
- func (c TagClient) Update(ctx context.Context, id TagId, input TagCreateUpdateParameters, ...) (result UpdateOperationResponse, err error)
- func (c TagClient) WorkspaceTagCreateOrUpdate(ctx context.Context, id WorkspaceTagId, input TagCreateUpdateParameters, ...) (result WorkspaceTagCreateOrUpdateOperationResponse, err error)
- func (c TagClient) WorkspaceTagDelete(ctx context.Context, id WorkspaceTagId, ...) (result WorkspaceTagDeleteOperationResponse, err error)
- func (c TagClient) WorkspaceTagGet(ctx context.Context, id WorkspaceTagId) (result WorkspaceTagGetOperationResponse, err error)
- func (c TagClient) WorkspaceTagGetEntityState(ctx context.Context, id WorkspaceTagId) (result WorkspaceTagGetEntityStateOperationResponse, err error)
- func (c TagClient) WorkspaceTagListByService(ctx context.Context, id WorkspaceId, ...) (result WorkspaceTagListByServiceOperationResponse, err error)
- func (c TagClient) WorkspaceTagListByServiceComplete(ctx context.Context, id WorkspaceId, ...) (WorkspaceTagListByServiceCompleteResult, error)
- func (c TagClient) WorkspaceTagListByServiceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, ...) (result WorkspaceTagListByServiceCompleteResult, err error)
- func (c TagClient) WorkspaceTagUpdate(ctx context.Context, id WorkspaceTagId, input TagCreateUpdateParameters, ...) (result WorkspaceTagUpdateOperationResponse, err error)
- type TagContract
- type TagContractOperationPredicate
- type TagContractProperties
- type TagCreateUpdateParameters
- type TagId
- type UpdateOperationOptions
- type UpdateOperationResponse
- type WorkspaceId
- type WorkspaceTagCreateOrUpdateOperationOptions
- type WorkspaceTagCreateOrUpdateOperationResponse
- type WorkspaceTagDeleteOperationOptions
- type WorkspaceTagDeleteOperationResponse
- type WorkspaceTagGetEntityStateOperationResponse
- type WorkspaceTagGetOperationResponse
- type WorkspaceTagId
- type WorkspaceTagListByServiceCompleteResult
- type WorkspaceTagListByServiceCustomPager
- type WorkspaceTagListByServiceOperationOptions
- type WorkspaceTagListByServiceOperationResponse
- type WorkspaceTagUpdateOperationOptions
- type WorkspaceTagUpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
func ValidateTagID ¶
ValidateTagID checks that 'input' can be parsed as a Tag ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
func ValidateWorkspaceTagID ¶
ValidateWorkspaceTagID checks that 'input' can be parsed as a Workspace Tag ID
Types ¶
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
func (CreateOrUpdateOperationOptions) ToHeaders ¶
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TagContract }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TagContract }
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct { LatestHttpResponse *http.Response Items []TagContract }
type ListByServiceCustomPager ¶
func (*ListByServiceCustomPager) NextPageLink ¶
func (p *ListByServiceCustomPager) NextPageLink() *odata.Link
type ListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
func (ListByServiceOperationOptions) ToHeaders ¶
func (o ListByServiceOperationOptions) ToHeaders() *client.Headers
func (ListByServiceOperationOptions) ToOData ¶
func (o ListByServiceOperationOptions) ToOData() *odata.Query
func (ListByServiceOperationOptions) ToQuery ¶
func (o ListByServiceOperationOptions) ToQuery() *client.QueryParams
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TagContract }
type ServiceId ¶
ServiceId is a struct representing the Resource ID for a Service
func NewServiceID ¶
NewServiceID returns a new ServiceId struct
func ParseServiceID ¶
ParseServiceID parses 'input' into a ServiceId
func ParseServiceIDInsensitively ¶
ParseServiceIDInsensitively parses 'input' case-insensitively into a ServiceId note: this method should only be used for API response data and not user input
func (*ServiceId) FromParseResult ¶
func (id *ServiceId) FromParseResult(input resourceids.ParseResult) error
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID
type TagClient ¶
type TagClient struct {
Client *resourcemanager.Client
}
func (TagClient) CreateOrUpdate ¶
func (c TagClient) CreateOrUpdate(ctx context.Context, id TagId, input TagCreateUpdateParameters, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (TagClient) Delete ¶
func (c TagClient) Delete(ctx context.Context, id TagId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (TagClient) GetEntityState ¶
func (c TagClient) GetEntityState(ctx context.Context, id TagId) (result GetEntityStateOperationResponse, err error)
GetEntityState ...
func (TagClient) ListByService ¶
func (c TagClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
ListByService ...
func (TagClient) ListByServiceComplete ¶
func (c TagClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all the results into a single object
func (TagClient) ListByServiceCompleteMatchingPredicate ¶
func (c TagClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, predicate TagContractOperationPredicate) (result ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (TagClient) Update ¶
func (c TagClient) Update(ctx context.Context, id TagId, input TagCreateUpdateParameters, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
func (TagClient) WorkspaceTagCreateOrUpdate ¶
func (c TagClient) WorkspaceTagCreateOrUpdate(ctx context.Context, id WorkspaceTagId, input TagCreateUpdateParameters, options WorkspaceTagCreateOrUpdateOperationOptions) (result WorkspaceTagCreateOrUpdateOperationResponse, err error)
WorkspaceTagCreateOrUpdate ...
func (TagClient) WorkspaceTagDelete ¶
func (c TagClient) WorkspaceTagDelete(ctx context.Context, id WorkspaceTagId, options WorkspaceTagDeleteOperationOptions) (result WorkspaceTagDeleteOperationResponse, err error)
WorkspaceTagDelete ...
func (TagClient) WorkspaceTagGet ¶
func (c TagClient) WorkspaceTagGet(ctx context.Context, id WorkspaceTagId) (result WorkspaceTagGetOperationResponse, err error)
WorkspaceTagGet ...
func (TagClient) WorkspaceTagGetEntityState ¶
func (c TagClient) WorkspaceTagGetEntityState(ctx context.Context, id WorkspaceTagId) (result WorkspaceTagGetEntityStateOperationResponse, err error)
WorkspaceTagGetEntityState ...
func (TagClient) WorkspaceTagListByService ¶
func (c TagClient) WorkspaceTagListByService(ctx context.Context, id WorkspaceId, options WorkspaceTagListByServiceOperationOptions) (result WorkspaceTagListByServiceOperationResponse, err error)
WorkspaceTagListByService ...
func (TagClient) WorkspaceTagListByServiceComplete ¶
func (c TagClient) WorkspaceTagListByServiceComplete(ctx context.Context, id WorkspaceId, options WorkspaceTagListByServiceOperationOptions) (WorkspaceTagListByServiceCompleteResult, error)
WorkspaceTagListByServiceComplete retrieves all the results into a single object
func (TagClient) WorkspaceTagListByServiceCompleteMatchingPredicate ¶
func (c TagClient) WorkspaceTagListByServiceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options WorkspaceTagListByServiceOperationOptions, predicate TagContractOperationPredicate) (result WorkspaceTagListByServiceCompleteResult, err error)
WorkspaceTagListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (TagClient) WorkspaceTagUpdate ¶
func (c TagClient) WorkspaceTagUpdate(ctx context.Context, id WorkspaceTagId, input TagCreateUpdateParameters, options WorkspaceTagUpdateOperationOptions) (result WorkspaceTagUpdateOperationResponse, err error)
WorkspaceTagUpdate ...
type TagContract ¶
type TagContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *TagContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type TagContractOperationPredicate ¶
func (TagContractOperationPredicate) Matches ¶
func (p TagContractOperationPredicate) Matches(input TagContract) bool
type TagContractProperties ¶
type TagContractProperties struct {
DisplayName string `json:"displayName"`
}
type TagCreateUpdateParameters ¶
type TagCreateUpdateParameters struct {
Properties *TagContractProperties `json:"properties,omitempty"`
}
type TagId ¶
type TagId struct { SubscriptionId string ResourceGroupName string ServiceName string TagId string }
TagId is a struct representing the Resource ID for a Tag
func NewTagID ¶
func NewTagID(subscriptionId string, resourceGroupName string, serviceName string, tagId string) TagId
NewTagID returns a new TagId struct
func ParseTagID ¶
ParseTagID parses 'input' into a TagId
func ParseTagIDInsensitively ¶
ParseTagIDInsensitively parses 'input' case-insensitively into a TagId note: this method should only be used for API response data and not user input
func (*TagId) FromParseResult ¶
func (id *TagId) FromParseResult(input resourceids.ParseResult) error
func (TagId) Segments ¶
func (id TagId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Tag ID
type UpdateOperationOptions ¶
type UpdateOperationOptions struct {
IfMatch *string
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
func (UpdateOperationOptions) ToHeaders ¶
func (o UpdateOperationOptions) ToHeaders() *client.Headers
func (UpdateOperationOptions) ToOData ¶
func (o UpdateOperationOptions) ToOData() *odata.Query
func (UpdateOperationOptions) ToQuery ¶
func (o UpdateOperationOptions) ToQuery() *client.QueryParams
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TagContract }
type WorkspaceId ¶
type WorkspaceId struct { SubscriptionId string ResourceGroupName string ServiceName string WorkspaceId string }
WorkspaceId is a struct representing the Resource ID for a Workspace
func NewWorkspaceID ¶
func NewWorkspaceID(subscriptionId string, resourceGroupName string, serviceName string, workspaceId 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
type WorkspaceTagCreateOrUpdateOperationOptions ¶
type WorkspaceTagCreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultWorkspaceTagCreateOrUpdateOperationOptions ¶
func DefaultWorkspaceTagCreateOrUpdateOperationOptions() WorkspaceTagCreateOrUpdateOperationOptions
func (WorkspaceTagCreateOrUpdateOperationOptions) ToHeaders ¶
func (o WorkspaceTagCreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (WorkspaceTagCreateOrUpdateOperationOptions) ToOData ¶
func (o WorkspaceTagCreateOrUpdateOperationOptions) ToOData() *odata.Query
func (WorkspaceTagCreateOrUpdateOperationOptions) ToQuery ¶
func (o WorkspaceTagCreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type WorkspaceTagCreateOrUpdateOperationResponse ¶
type WorkspaceTagCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TagContract }
type WorkspaceTagDeleteOperationOptions ¶
type WorkspaceTagDeleteOperationOptions struct {
IfMatch *string
}
func DefaultWorkspaceTagDeleteOperationOptions ¶
func DefaultWorkspaceTagDeleteOperationOptions() WorkspaceTagDeleteOperationOptions
func (WorkspaceTagDeleteOperationOptions) ToHeaders ¶
func (o WorkspaceTagDeleteOperationOptions) ToHeaders() *client.Headers
func (WorkspaceTagDeleteOperationOptions) ToOData ¶
func (o WorkspaceTagDeleteOperationOptions) ToOData() *odata.Query
func (WorkspaceTagDeleteOperationOptions) ToQuery ¶
func (o WorkspaceTagDeleteOperationOptions) ToQuery() *client.QueryParams
type WorkspaceTagGetOperationResponse ¶
type WorkspaceTagGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TagContract }
type WorkspaceTagId ¶
type WorkspaceTagId struct { SubscriptionId string ResourceGroupName string ServiceName string WorkspaceId string TagId string }
WorkspaceTagId is a struct representing the Resource ID for a Workspace Tag
func NewWorkspaceTagID ¶
func NewWorkspaceTagID(subscriptionId string, resourceGroupName string, serviceName string, workspaceId string, tagId string) WorkspaceTagId
NewWorkspaceTagID returns a new WorkspaceTagId struct
func ParseWorkspaceTagID ¶
func ParseWorkspaceTagID(input string) (*WorkspaceTagId, error)
ParseWorkspaceTagID parses 'input' into a WorkspaceTagId
func ParseWorkspaceTagIDInsensitively ¶
func ParseWorkspaceTagIDInsensitively(input string) (*WorkspaceTagId, error)
ParseWorkspaceTagIDInsensitively parses 'input' case-insensitively into a WorkspaceTagId note: this method should only be used for API response data and not user input
func (*WorkspaceTagId) FromParseResult ¶
func (id *WorkspaceTagId) FromParseResult(input resourceids.ParseResult) error
func (WorkspaceTagId) ID ¶
func (id WorkspaceTagId) ID() string
ID returns the formatted Workspace Tag ID
func (WorkspaceTagId) Segments ¶
func (id WorkspaceTagId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace Tag ID
func (WorkspaceTagId) String ¶
func (id WorkspaceTagId) String() string
String returns a human-readable description of this Workspace Tag ID
type WorkspaceTagListByServiceCompleteResult ¶
type WorkspaceTagListByServiceCompleteResult struct { LatestHttpResponse *http.Response Items []TagContract }
type WorkspaceTagListByServiceCustomPager ¶
func (*WorkspaceTagListByServiceCustomPager) NextPageLink ¶
func (p *WorkspaceTagListByServiceCustomPager) NextPageLink() *odata.Link
type WorkspaceTagListByServiceOperationOptions ¶
type WorkspaceTagListByServiceOperationOptions struct { Filter *string Scope *string Skip *int64 Top *int64 }
func DefaultWorkspaceTagListByServiceOperationOptions ¶
func DefaultWorkspaceTagListByServiceOperationOptions() WorkspaceTagListByServiceOperationOptions
func (WorkspaceTagListByServiceOperationOptions) ToHeaders ¶
func (o WorkspaceTagListByServiceOperationOptions) ToHeaders() *client.Headers
func (WorkspaceTagListByServiceOperationOptions) ToOData ¶
func (o WorkspaceTagListByServiceOperationOptions) ToOData() *odata.Query
func (WorkspaceTagListByServiceOperationOptions) ToQuery ¶
func (o WorkspaceTagListByServiceOperationOptions) ToQuery() *client.QueryParams
type WorkspaceTagListByServiceOperationResponse ¶
type WorkspaceTagListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TagContract }
type WorkspaceTagUpdateOperationOptions ¶
type WorkspaceTagUpdateOperationOptions struct {
IfMatch *string
}
func DefaultWorkspaceTagUpdateOperationOptions ¶
func DefaultWorkspaceTagUpdateOperationOptions() WorkspaceTagUpdateOperationOptions
func (WorkspaceTagUpdateOperationOptions) ToHeaders ¶
func (o WorkspaceTagUpdateOperationOptions) ToHeaders() *client.Headers
func (WorkspaceTagUpdateOperationOptions) ToOData ¶
func (o WorkspaceTagUpdateOperationOptions) ToOData() *odata.Query
func (WorkspaceTagUpdateOperationOptions) ToQuery ¶
func (o WorkspaceTagUpdateOperationOptions) ToQuery() *client.QueryParams
type WorkspaceTagUpdateOperationResponse ¶
type WorkspaceTagUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TagContract }
Source Files ¶
- client.go
- id_service.go
- id_tag.go
- id_workspace.go
- id_workspacetag.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getentitystate.go
- method_listbyservice.go
- method_update.go
- method_workspacetagcreateorupdate.go
- method_workspacetagdelete.go
- method_workspacetagget.go
- method_workspacetaggetentitystate.go
- method_workspacetaglistbyservice.go
- method_workspacetagupdate.go
- model_tagcontract.go
- model_tagcontractproperties.go
- model_tagcreateupdateparameters.go
- predicates.go
- version.go