Documentation ¶
Index ¶
- func ValidateContentTypeID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type ContentTypeClient
- func (c ContentTypeClient) CreateOrUpdate(ctx context.Context, id ContentTypeId, input ContentTypeContract, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c ContentTypeClient) Delete(ctx context.Context, id ContentTypeId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c ContentTypeClient) Get(ctx context.Context, id ContentTypeId) (result GetOperationResponse, err error)
- func (c ContentTypeClient) ListByService(ctx context.Context, id ServiceId) (resp ListByServiceOperationResponse, err error)
- func (c ContentTypeClient) ListByServiceComplete(ctx context.Context, id ServiceId) (ListByServiceCompleteResult, error)
- func (c ContentTypeClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, ...) (resp ListByServiceCompleteResult, err error)
- type ContentTypeContract
- type ContentTypeContractOperationPredicate
- type ContentTypeContractProperties
- type ContentTypeId
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByServiceCompleteResult
- type ListByServiceOperationResponse
- type ServiceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateContentTypeID ¶
ValidateContentTypeID checks that 'input' can be parsed as a Content Type ID
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type ContentTypeClient ¶
func NewContentTypeClientWithBaseURI ¶
func NewContentTypeClientWithBaseURI(endpoint string) ContentTypeClient
func (ContentTypeClient) CreateOrUpdate ¶
func (c ContentTypeClient) CreateOrUpdate(ctx context.Context, id ContentTypeId, input ContentTypeContract, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ContentTypeClient) Delete ¶
func (c ContentTypeClient) Delete(ctx context.Context, id ContentTypeId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (ContentTypeClient) Get ¶
func (c ContentTypeClient) Get(ctx context.Context, id ContentTypeId) (result GetOperationResponse, err error)
Get ...
func (ContentTypeClient) ListByService ¶
func (c ContentTypeClient) ListByService(ctx context.Context, id ServiceId) (resp ListByServiceOperationResponse, err error)
ListByService ...
func (ContentTypeClient) ListByServiceComplete ¶
func (c ContentTypeClient) ListByServiceComplete(ctx context.Context, id ServiceId) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all of the results into a single object
func (ContentTypeClient) ListByServiceCompleteMatchingPredicate ¶
func (c ContentTypeClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, predicate ContentTypeContractOperationPredicate) (resp ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type ContentTypeContract ¶
type ContentTypeContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ContentTypeContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ContentTypeContractOperationPredicate ¶
func (ContentTypeContractOperationPredicate) Matches ¶
func (p ContentTypeContractOperationPredicate) Matches(input ContentTypeContract) bool
type ContentTypeId ¶
type ContentTypeId struct { SubscriptionId string ResourceGroupName string ServiceName string ContentTypeId string }
ContentTypeId is a struct representing the Resource ID for a Content Type
func NewContentTypeID ¶
func NewContentTypeID(subscriptionId string, resourceGroupName string, serviceName string, contentTypeId string) ContentTypeId
NewContentTypeID returns a new ContentTypeId struct
func ParseContentTypeID ¶
func ParseContentTypeID(input string) (*ContentTypeId, error)
ParseContentTypeID parses 'input' into a ContentTypeId
func ParseContentTypeIDInsensitively ¶
func ParseContentTypeIDInsensitively(input string) (*ContentTypeId, error)
ParseContentTypeIDInsensitively parses 'input' case-insensitively into a ContentTypeId note: this method should only be used for API response data and not user input
func (ContentTypeId) ID ¶
func (id ContentTypeId) ID() string
ID returns the formatted Content Type ID
func (ContentTypeId) Segments ¶
func (id ContentTypeId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Content Type ID
func (ContentTypeId) String ¶
func (id ContentTypeId) String() string
String returns a human-readable description of this Content Type ID
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *ContentTypeContract }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ContentTypeContract }
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct {
Items []ContentTypeContract
}
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response Model *[]ContentTypeContract // contains filtered or unexported fields }
func (ListByServiceOperationResponse) HasMore ¶
func (r ListByServiceOperationResponse) HasMore() bool
func (ListByServiceOperationResponse) LoadMore ¶
func (r ListByServiceOperationResponse) LoadMore(ctx context.Context) (resp ListByServiceOperationResponse, err error)
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) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID