Documentation ¶
Index ¶
- func ValidateApiID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateApiSchemaID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceApiID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceApiSchemaID(input interface{}, key string) (warnings []string, errors []error)
- type ApiId
- type ApiSchemaClient
- func (c ApiSchemaClient) CreateOrUpdate(ctx context.Context, id ApiSchemaId, input SchemaContract, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c ApiSchemaClient) CreateOrUpdateThenPoll(ctx context.Context, id ApiSchemaId, input SchemaContract, ...) error
- func (c ApiSchemaClient) Delete(ctx context.Context, id ApiSchemaId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c ApiSchemaClient) Get(ctx context.Context, id ApiSchemaId) (result GetOperationResponse, err error)
- func (c ApiSchemaClient) GetEntityTag(ctx context.Context, id ApiSchemaId) (result GetEntityTagOperationResponse, err error)
- func (c ApiSchemaClient) ListByApi(ctx context.Context, id ApiId, options ListByApiOperationOptions) (result ListByApiOperationResponse, err error)
- func (c ApiSchemaClient) ListByApiComplete(ctx context.Context, id ApiId, options ListByApiOperationOptions) (ListByApiCompleteResult, error)
- func (c ApiSchemaClient) ListByApiCompleteMatchingPredicate(ctx context.Context, id ApiId, options ListByApiOperationOptions, ...) (result ListByApiCompleteResult, err error)
- func (c ApiSchemaClient) WorkspaceApiSchemaCreateOrUpdate(ctx context.Context, id WorkspaceApiSchemaId, input SchemaContract, ...) (result WorkspaceApiSchemaCreateOrUpdateOperationResponse, err error)
- func (c ApiSchemaClient) WorkspaceApiSchemaCreateOrUpdateThenPoll(ctx context.Context, id WorkspaceApiSchemaId, input SchemaContract, ...) error
- func (c ApiSchemaClient) WorkspaceApiSchemaDelete(ctx context.Context, id WorkspaceApiSchemaId, ...) (result WorkspaceApiSchemaDeleteOperationResponse, err error)
- func (c ApiSchemaClient) WorkspaceApiSchemaGet(ctx context.Context, id WorkspaceApiSchemaId) (result WorkspaceApiSchemaGetOperationResponse, err error)
- func (c ApiSchemaClient) WorkspaceApiSchemaGetEntityTag(ctx context.Context, id WorkspaceApiSchemaId) (result WorkspaceApiSchemaGetEntityTagOperationResponse, err error)
- func (c ApiSchemaClient) WorkspaceApiSchemaListByApi(ctx context.Context, id WorkspaceApiId, ...) (result WorkspaceApiSchemaListByApiOperationResponse, err error)
- func (c ApiSchemaClient) WorkspaceApiSchemaListByApiComplete(ctx context.Context, id WorkspaceApiId, ...) (WorkspaceApiSchemaListByApiCompleteResult, error)
- func (c ApiSchemaClient) WorkspaceApiSchemaListByApiCompleteMatchingPredicate(ctx context.Context, id WorkspaceApiId, ...) (result WorkspaceApiSchemaListByApiCompleteResult, err error)
- type ApiSchemaId
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetEntityTagOperationResponse
- type GetOperationResponse
- type ListByApiCompleteResult
- type ListByApiOperationOptions
- type ListByApiOperationResponse
- type SchemaContract
- type SchemaContractOperationPredicate
- type SchemaContractProperties
- type SchemaDocumentProperties
- type WorkspaceApiId
- type WorkspaceApiSchemaCreateOrUpdateOperationOptions
- type WorkspaceApiSchemaCreateOrUpdateOperationResponse
- type WorkspaceApiSchemaDeleteOperationOptions
- type WorkspaceApiSchemaDeleteOperationResponse
- type WorkspaceApiSchemaGetEntityTagOperationResponse
- type WorkspaceApiSchemaGetOperationResponse
- type WorkspaceApiSchemaId
- type WorkspaceApiSchemaListByApiCompleteResult
- type WorkspaceApiSchemaListByApiOperationOptions
- type WorkspaceApiSchemaListByApiOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateApiID ¶
ValidateApiID checks that 'input' can be parsed as a Api ID
func ValidateApiSchemaID ¶
ValidateApiSchemaID checks that 'input' can be parsed as a Api Schema ID
func ValidateWorkspaceApiID ¶
ValidateWorkspaceApiID checks that 'input' can be parsed as a Workspace Api ID
func ValidateWorkspaceApiSchemaID ¶
func ValidateWorkspaceApiSchemaID(input interface{}, key string) (warnings []string, errors []error)
ValidateWorkspaceApiSchemaID checks that 'input' can be parsed as a Workspace Api Schema ID
Types ¶
type ApiId ¶
type ApiId struct { SubscriptionId string ResourceGroupName string ServiceName string ApiId string }
ApiId is a struct representing the Resource ID for a Api
func NewApiID ¶
func NewApiID(subscriptionId string, resourceGroupName string, serviceName string, apiId string) ApiId
NewApiID returns a new ApiId struct
func ParseApiID ¶
ParseApiID parses 'input' into a ApiId
func ParseApiIDInsensitively ¶
ParseApiIDInsensitively parses 'input' case-insensitively into a ApiId note: this method should only be used for API response data and not user input
func (ApiId) Segments ¶
func (id ApiId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Api ID
type ApiSchemaClient ¶
type ApiSchemaClient struct {
Client *resourcemanager.Client
}
func NewApiSchemaClientWithBaseURI ¶
func NewApiSchemaClientWithBaseURI(sdkApi sdkEnv.Api) (*ApiSchemaClient, error)
func (ApiSchemaClient) CreateOrUpdate ¶
func (c ApiSchemaClient) CreateOrUpdate(ctx context.Context, id ApiSchemaId, input SchemaContract, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ApiSchemaClient) CreateOrUpdateThenPoll ¶
func (c ApiSchemaClient) CreateOrUpdateThenPoll(ctx context.Context, id ApiSchemaId, input SchemaContract, options CreateOrUpdateOperationOptions) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ApiSchemaClient) Delete ¶
func (c ApiSchemaClient) Delete(ctx context.Context, id ApiSchemaId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (ApiSchemaClient) Get ¶
func (c ApiSchemaClient) Get(ctx context.Context, id ApiSchemaId) (result GetOperationResponse, err error)
Get ...
func (ApiSchemaClient) GetEntityTag ¶
func (c ApiSchemaClient) GetEntityTag(ctx context.Context, id ApiSchemaId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (ApiSchemaClient) ListByApi ¶
func (c ApiSchemaClient) ListByApi(ctx context.Context, id ApiId, options ListByApiOperationOptions) (result ListByApiOperationResponse, err error)
ListByApi ...
func (ApiSchemaClient) ListByApiComplete ¶
func (c ApiSchemaClient) ListByApiComplete(ctx context.Context, id ApiId, options ListByApiOperationOptions) (ListByApiCompleteResult, error)
ListByApiComplete retrieves all the results into a single object
func (ApiSchemaClient) ListByApiCompleteMatchingPredicate ¶
func (c ApiSchemaClient) ListByApiCompleteMatchingPredicate(ctx context.Context, id ApiId, options ListByApiOperationOptions, predicate SchemaContractOperationPredicate) (result ListByApiCompleteResult, err error)
ListByApiCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ApiSchemaClient) WorkspaceApiSchemaCreateOrUpdate ¶
func (c ApiSchemaClient) WorkspaceApiSchemaCreateOrUpdate(ctx context.Context, id WorkspaceApiSchemaId, input SchemaContract, options WorkspaceApiSchemaCreateOrUpdateOperationOptions) (result WorkspaceApiSchemaCreateOrUpdateOperationResponse, err error)
WorkspaceApiSchemaCreateOrUpdate ...
func (ApiSchemaClient) WorkspaceApiSchemaCreateOrUpdateThenPoll ¶
func (c ApiSchemaClient) WorkspaceApiSchemaCreateOrUpdateThenPoll(ctx context.Context, id WorkspaceApiSchemaId, input SchemaContract, options WorkspaceApiSchemaCreateOrUpdateOperationOptions) error
WorkspaceApiSchemaCreateOrUpdateThenPoll performs WorkspaceApiSchemaCreateOrUpdate then polls until it's completed
func (ApiSchemaClient) WorkspaceApiSchemaDelete ¶
func (c ApiSchemaClient) WorkspaceApiSchemaDelete(ctx context.Context, id WorkspaceApiSchemaId, options WorkspaceApiSchemaDeleteOperationOptions) (result WorkspaceApiSchemaDeleteOperationResponse, err error)
WorkspaceApiSchemaDelete ...
func (ApiSchemaClient) WorkspaceApiSchemaGet ¶
func (c ApiSchemaClient) WorkspaceApiSchemaGet(ctx context.Context, id WorkspaceApiSchemaId) (result WorkspaceApiSchemaGetOperationResponse, err error)
WorkspaceApiSchemaGet ...
func (ApiSchemaClient) WorkspaceApiSchemaGetEntityTag ¶
func (c ApiSchemaClient) WorkspaceApiSchemaGetEntityTag(ctx context.Context, id WorkspaceApiSchemaId) (result WorkspaceApiSchemaGetEntityTagOperationResponse, err error)
WorkspaceApiSchemaGetEntityTag ...
func (ApiSchemaClient) WorkspaceApiSchemaListByApi ¶
func (c ApiSchemaClient) WorkspaceApiSchemaListByApi(ctx context.Context, id WorkspaceApiId, options WorkspaceApiSchemaListByApiOperationOptions) (result WorkspaceApiSchemaListByApiOperationResponse, err error)
WorkspaceApiSchemaListByApi ...
func (ApiSchemaClient) WorkspaceApiSchemaListByApiComplete ¶
func (c ApiSchemaClient) WorkspaceApiSchemaListByApiComplete(ctx context.Context, id WorkspaceApiId, options WorkspaceApiSchemaListByApiOperationOptions) (WorkspaceApiSchemaListByApiCompleteResult, error)
WorkspaceApiSchemaListByApiComplete retrieves all the results into a single object
func (ApiSchemaClient) WorkspaceApiSchemaListByApiCompleteMatchingPredicate ¶
func (c ApiSchemaClient) WorkspaceApiSchemaListByApiCompleteMatchingPredicate(ctx context.Context, id WorkspaceApiId, options WorkspaceApiSchemaListByApiOperationOptions, predicate SchemaContractOperationPredicate) (result WorkspaceApiSchemaListByApiCompleteResult, err error)
WorkspaceApiSchemaListByApiCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ApiSchemaId ¶
type ApiSchemaId struct { SubscriptionId string ResourceGroupName string ServiceName string ApiId string SchemaId string }
ApiSchemaId is a struct representing the Resource ID for a Api Schema
func NewApiSchemaID ¶
func NewApiSchemaID(subscriptionId string, resourceGroupName string, serviceName string, apiId string, schemaId string) ApiSchemaId
NewApiSchemaID returns a new ApiSchemaId struct
func ParseApiSchemaID ¶
func ParseApiSchemaID(input string) (*ApiSchemaId, error)
ParseApiSchemaID parses 'input' into a ApiSchemaId
func ParseApiSchemaIDInsensitively ¶
func ParseApiSchemaIDInsensitively(input string) (*ApiSchemaId, error)
ParseApiSchemaIDInsensitively parses 'input' case-insensitively into a ApiSchemaId note: this method should only be used for API response data and not user input
func (ApiSchemaId) Segments ¶
func (id ApiSchemaId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Api Schema ID
func (ApiSchemaId) String ¶
func (id ApiSchemaId) String() string
String returns a human-readable description of this Api Schema ID
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 DeleteOperationOptions ¶
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 *SchemaContract }
type ListByApiCompleteResult ¶
type ListByApiCompleteResult struct {
Items []SchemaContract
}
type ListByApiOperationOptions ¶
func DefaultListByApiOperationOptions ¶
func DefaultListByApiOperationOptions() ListByApiOperationOptions
func (ListByApiOperationOptions) ToHeaders ¶
func (o ListByApiOperationOptions) ToHeaders() *client.Headers
func (ListByApiOperationOptions) ToOData ¶
func (o ListByApiOperationOptions) ToOData() *odata.Query
func (ListByApiOperationOptions) ToQuery ¶
func (o ListByApiOperationOptions) ToQuery() *client.QueryParams
type ListByApiOperationResponse ¶
type ListByApiOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SchemaContract }
type SchemaContract ¶
type SchemaContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SchemaContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type SchemaContractOperationPredicate ¶
func (SchemaContractOperationPredicate) Matches ¶
func (p SchemaContractOperationPredicate) Matches(input SchemaContract) bool
type SchemaContractProperties ¶
type SchemaContractProperties struct { ContentType string `json:"contentType"` Document SchemaDocumentProperties `json:"document"` }
type SchemaDocumentProperties ¶
type SchemaDocumentProperties struct { Components *interface{} `json:"components,omitempty"` Definitions *interface{} `json:"definitions,omitempty"` Value *string `json:"value,omitempty"` }
type WorkspaceApiId ¶
type WorkspaceApiId struct { SubscriptionId string ResourceGroupName string ServiceName string WorkspaceId string ApiId string }
WorkspaceApiId is a struct representing the Resource ID for a Workspace Api
func NewWorkspaceApiID ¶
func NewWorkspaceApiID(subscriptionId string, resourceGroupName string, serviceName string, workspaceId string, apiId string) WorkspaceApiId
NewWorkspaceApiID returns a new WorkspaceApiId struct
func ParseWorkspaceApiID ¶
func ParseWorkspaceApiID(input string) (*WorkspaceApiId, error)
ParseWorkspaceApiID parses 'input' into a WorkspaceApiId
func ParseWorkspaceApiIDInsensitively ¶
func ParseWorkspaceApiIDInsensitively(input string) (*WorkspaceApiId, error)
ParseWorkspaceApiIDInsensitively parses 'input' case-insensitively into a WorkspaceApiId note: this method should only be used for API response data and not user input
func (WorkspaceApiId) ID ¶
func (id WorkspaceApiId) ID() string
ID returns the formatted Workspace Api ID
func (WorkspaceApiId) Segments ¶
func (id WorkspaceApiId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace Api ID
func (WorkspaceApiId) String ¶
func (id WorkspaceApiId) String() string
String returns a human-readable description of this Workspace Api ID
type WorkspaceApiSchemaCreateOrUpdateOperationOptions ¶
type WorkspaceApiSchemaCreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultWorkspaceApiSchemaCreateOrUpdateOperationOptions ¶
func DefaultWorkspaceApiSchemaCreateOrUpdateOperationOptions() WorkspaceApiSchemaCreateOrUpdateOperationOptions
func (WorkspaceApiSchemaCreateOrUpdateOperationOptions) ToHeaders ¶
func (o WorkspaceApiSchemaCreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (WorkspaceApiSchemaCreateOrUpdateOperationOptions) ToOData ¶
func (o WorkspaceApiSchemaCreateOrUpdateOperationOptions) ToOData() *odata.Query
func (WorkspaceApiSchemaCreateOrUpdateOperationOptions) ToQuery ¶
func (o WorkspaceApiSchemaCreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type WorkspaceApiSchemaDeleteOperationOptions ¶
func DefaultWorkspaceApiSchemaDeleteOperationOptions ¶
func DefaultWorkspaceApiSchemaDeleteOperationOptions() WorkspaceApiSchemaDeleteOperationOptions
func (WorkspaceApiSchemaDeleteOperationOptions) ToHeaders ¶
func (o WorkspaceApiSchemaDeleteOperationOptions) ToHeaders() *client.Headers
func (WorkspaceApiSchemaDeleteOperationOptions) ToOData ¶
func (o WorkspaceApiSchemaDeleteOperationOptions) ToOData() *odata.Query
func (WorkspaceApiSchemaDeleteOperationOptions) ToQuery ¶
func (o WorkspaceApiSchemaDeleteOperationOptions) ToQuery() *client.QueryParams
type WorkspaceApiSchemaGetOperationResponse ¶
type WorkspaceApiSchemaGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SchemaContract }
type WorkspaceApiSchemaId ¶
type WorkspaceApiSchemaId struct { SubscriptionId string ResourceGroupName string ServiceName string WorkspaceId string ApiId string SchemaId string }
WorkspaceApiSchemaId is a struct representing the Resource ID for a Workspace Api Schema
func NewWorkspaceApiSchemaID ¶
func NewWorkspaceApiSchemaID(subscriptionId string, resourceGroupName string, serviceName string, workspaceId string, apiId string, schemaId string) WorkspaceApiSchemaId
NewWorkspaceApiSchemaID returns a new WorkspaceApiSchemaId struct
func ParseWorkspaceApiSchemaID ¶
func ParseWorkspaceApiSchemaID(input string) (*WorkspaceApiSchemaId, error)
ParseWorkspaceApiSchemaID parses 'input' into a WorkspaceApiSchemaId
func ParseWorkspaceApiSchemaIDInsensitively ¶
func ParseWorkspaceApiSchemaIDInsensitively(input string) (*WorkspaceApiSchemaId, error)
ParseWorkspaceApiSchemaIDInsensitively parses 'input' case-insensitively into a WorkspaceApiSchemaId note: this method should only be used for API response data and not user input
func (WorkspaceApiSchemaId) ID ¶
func (id WorkspaceApiSchemaId) ID() string
ID returns the formatted Workspace Api Schema ID
func (WorkspaceApiSchemaId) Segments ¶
func (id WorkspaceApiSchemaId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace Api Schema ID
func (WorkspaceApiSchemaId) String ¶
func (id WorkspaceApiSchemaId) String() string
String returns a human-readable description of this Workspace Api Schema ID
type WorkspaceApiSchemaListByApiCompleteResult ¶
type WorkspaceApiSchemaListByApiCompleteResult struct {
Items []SchemaContract
}
type WorkspaceApiSchemaListByApiOperationOptions ¶
func DefaultWorkspaceApiSchemaListByApiOperationOptions ¶
func DefaultWorkspaceApiSchemaListByApiOperationOptions() WorkspaceApiSchemaListByApiOperationOptions
func (WorkspaceApiSchemaListByApiOperationOptions) ToHeaders ¶
func (o WorkspaceApiSchemaListByApiOperationOptions) ToHeaders() *client.Headers
func (WorkspaceApiSchemaListByApiOperationOptions) ToOData ¶
func (o WorkspaceApiSchemaListByApiOperationOptions) ToOData() *odata.Query
func (WorkspaceApiSchemaListByApiOperationOptions) ToQuery ¶
func (o WorkspaceApiSchemaListByApiOperationOptions) ToQuery() *client.QueryParams
type WorkspaceApiSchemaListByApiOperationResponse ¶
type WorkspaceApiSchemaListByApiOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SchemaContract }
Source Files ¶
- client.go
- id_api.go
- id_apischema.go
- id_workspaceapi.go
- id_workspaceapischema.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getentitytag.go
- method_listbyapi.go
- method_workspaceapischemacreateorupdate.go
- method_workspaceapischemadelete.go
- method_workspaceapischemaget.go
- method_workspaceapischemagetentitytag.go
- method_workspaceapischemalistbyapi.go
- model_schemacontract.go
- model_schemacontractproperties.go
- model_schemadocumentproperties.go
- predicates.go
- version.go