Documentation ¶
Index ¶
- func ValidateProductID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetEntityTagOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type ProductId
- type ProductWikiClient
- func (c ProductWikiClient) CreateOrUpdate(ctx context.Context, id ProductId, input WikiContract, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c ProductWikiClient) Delete(ctx context.Context, id ProductId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c ProductWikiClient) Get(ctx context.Context, id ProductId) (result GetOperationResponse, err error)
- func (c ProductWikiClient) GetEntityTag(ctx context.Context, id ProductId) (result GetEntityTagOperationResponse, err error)
- func (c ProductWikiClient) List(ctx context.Context, id ProductId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c ProductWikiClient) ListComplete(ctx context.Context, id ProductId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ProductWikiClient) ListCompleteMatchingPredicate(ctx context.Context, id ProductId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c ProductWikiClient) Update(ctx context.Context, id ProductId, input WikiUpdateContract, ...) (result UpdateOperationResponse, err error)
- type UpdateOperationOptions
- type UpdateOperationResponse
- type WikiContract
- type WikiContractOperationPredicate
- type WikiContractProperties
- type WikiDocumentationContract
- type WikiUpdateContract
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateProductID ¶
ValidateProductID checks that 'input' can be parsed as a Product ID
Types ¶
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
func (CreateOrUpdateOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶ added in v0.20230801.1071415
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WikiContract }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶ added in v0.20230801.1071415
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WikiContract }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []WikiContract
}
type ListOperationOptions ¶ added in v0.20230310.1103546
func DefaultListOperationOptions ¶ added in v0.20230310.1103546
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶ added in v0.20230801.1071415
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]WikiContract }
type ProductId ¶
type ProductId struct { SubscriptionId string ResourceGroupName string ServiceName string ProductId string }
ProductId is a struct representing the Resource ID for a Product
func NewProductID ¶
func NewProductID(subscriptionId string, resourceGroupName string, serviceName string, productId string) ProductId
NewProductID returns a new ProductId struct
func ParseProductID ¶
ParseProductID parses 'input' into a ProductId
func ParseProductIDInsensitively ¶
ParseProductIDInsensitively parses 'input' case-insensitively into a ProductId note: this method should only be used for API response data and not user input
func (ProductId) Segments ¶
func (id ProductId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Product ID
type ProductWikiClient ¶
type ProductWikiClient struct {
Client *resourcemanager.Client
}
func NewProductWikiClientWithBaseURI ¶
func NewProductWikiClientWithBaseURI(sdkApi sdkEnv.Api) (*ProductWikiClient, error)
func (ProductWikiClient) CreateOrUpdate ¶
func (c ProductWikiClient) CreateOrUpdate(ctx context.Context, id ProductId, input WikiContract, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ProductWikiClient) Delete ¶
func (c ProductWikiClient) Delete(ctx context.Context, id ProductId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (ProductWikiClient) Get ¶
func (c ProductWikiClient) Get(ctx context.Context, id ProductId) (result GetOperationResponse, err error)
Get ...
func (ProductWikiClient) GetEntityTag ¶
func (c ProductWikiClient) GetEntityTag(ctx context.Context, id ProductId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (ProductWikiClient) List ¶
func (c ProductWikiClient) List(ctx context.Context, id ProductId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (ProductWikiClient) ListComplete ¶
func (c ProductWikiClient) ListComplete(ctx context.Context, id ProductId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ProductWikiClient) ListCompleteMatchingPredicate ¶
func (c ProductWikiClient) ListCompleteMatchingPredicate(ctx context.Context, id ProductId, options ListOperationOptions, predicate WikiContractOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ProductWikiClient) Update ¶
func (c ProductWikiClient) Update(ctx context.Context, id ProductId, input WikiUpdateContract, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
type UpdateOperationOptions ¶
type UpdateOperationOptions struct {
IfMatch *string
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
func (UpdateOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o UpdateOperationOptions) ToHeaders() *client.Headers
func (UpdateOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o UpdateOperationOptions) ToOData() *odata.Query
func (UpdateOperationOptions) ToQuery ¶ added in v0.20230801.1071415
func (o UpdateOperationOptions) ToQuery() *client.QueryParams
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WikiContract }
type WikiContract ¶
type WikiContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *WikiContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type WikiContractOperationPredicate ¶
func (WikiContractOperationPredicate) Matches ¶
func (p WikiContractOperationPredicate) Matches(input WikiContract) bool
type WikiContractProperties ¶
type WikiContractProperties struct {
Documents *[]WikiDocumentationContract `json:"documents,omitempty"`
}
type WikiDocumentationContract ¶
type WikiDocumentationContract struct {
DocumentationId *string `json:"documentationId,omitempty"`
}
type WikiUpdateContract ¶
type WikiUpdateContract struct {
Properties *WikiContractProperties `json:"properties,omitempty"`
}