Documentation ¶
Index ¶
- func PossibleValuesForSchemaType() []string
- func ValidateSchemaID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceSchemaID(input interface{}, key string) (warnings []string, errors []error)
- type GlobalSchemaContract
- type GlobalSchemaContractOperationPredicate
- type GlobalSchemaContractProperties
- type GlobalSchemaCreateOrUpdateOperationOptions
- type GlobalSchemaCreateOrUpdateOperationResponse
- type GlobalSchemaDeleteOperationOptions
- type GlobalSchemaDeleteOperationResponse
- type GlobalSchemaGetEntityTagOperationResponse
- type GlobalSchemaGetOperationResponse
- type GlobalSchemaListByServiceCompleteResult
- type GlobalSchemaListByServiceOperationOptions
- type GlobalSchemaListByServiceOperationResponse
- type SchemaClient
- func (c SchemaClient) GlobalSchemaCreateOrUpdate(ctx context.Context, id SchemaId, input GlobalSchemaContract, ...) (result GlobalSchemaCreateOrUpdateOperationResponse, err error)
- func (c SchemaClient) GlobalSchemaCreateOrUpdateThenPoll(ctx context.Context, id SchemaId, input GlobalSchemaContract, ...) error
- func (c SchemaClient) GlobalSchemaDelete(ctx context.Context, id SchemaId, options GlobalSchemaDeleteOperationOptions) (result GlobalSchemaDeleteOperationResponse, err error)
- func (c SchemaClient) GlobalSchemaGet(ctx context.Context, id SchemaId) (result GlobalSchemaGetOperationResponse, err error)
- func (c SchemaClient) GlobalSchemaGetEntityTag(ctx context.Context, id SchemaId) (result GlobalSchemaGetEntityTagOperationResponse, err error)
- func (c SchemaClient) GlobalSchemaListByService(ctx context.Context, id ServiceId, ...) (result GlobalSchemaListByServiceOperationResponse, err error)
- func (c SchemaClient) GlobalSchemaListByServiceComplete(ctx context.Context, id ServiceId, ...) (GlobalSchemaListByServiceCompleteResult, error)
- func (c SchemaClient) GlobalSchemaListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, ...) (result GlobalSchemaListByServiceCompleteResult, err error)
- func (c SchemaClient) WorkspaceGlobalSchemaCreateOrUpdate(ctx context.Context, id WorkspaceSchemaId, input GlobalSchemaContract, ...) (result WorkspaceGlobalSchemaCreateOrUpdateOperationResponse, err error)
- func (c SchemaClient) WorkspaceGlobalSchemaCreateOrUpdateThenPoll(ctx context.Context, id WorkspaceSchemaId, input GlobalSchemaContract, ...) error
- func (c SchemaClient) WorkspaceGlobalSchemaDelete(ctx context.Context, id WorkspaceSchemaId, ...) (result WorkspaceGlobalSchemaDeleteOperationResponse, err error)
- func (c SchemaClient) WorkspaceGlobalSchemaGet(ctx context.Context, id WorkspaceSchemaId) (result WorkspaceGlobalSchemaGetOperationResponse, err error)
- func (c SchemaClient) WorkspaceGlobalSchemaGetEntityTag(ctx context.Context, id WorkspaceSchemaId) (result WorkspaceGlobalSchemaGetEntityTagOperationResponse, err error)
- func (c SchemaClient) WorkspaceGlobalSchemaListByService(ctx context.Context, id WorkspaceId, ...) (result WorkspaceGlobalSchemaListByServiceOperationResponse, err error)
- func (c SchemaClient) WorkspaceGlobalSchemaListByServiceComplete(ctx context.Context, id WorkspaceId, ...) (WorkspaceGlobalSchemaListByServiceCompleteResult, error)
- func (c SchemaClient) WorkspaceGlobalSchemaListByServiceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, ...) (result WorkspaceGlobalSchemaListByServiceCompleteResult, err error)
- type SchemaId
- type SchemaType
- type ServiceId
- type WorkspaceGlobalSchemaCreateOrUpdateOperationOptions
- type WorkspaceGlobalSchemaCreateOrUpdateOperationResponse
- type WorkspaceGlobalSchemaDeleteOperationOptions
- type WorkspaceGlobalSchemaDeleteOperationResponse
- type WorkspaceGlobalSchemaGetEntityTagOperationResponse
- type WorkspaceGlobalSchemaGetOperationResponse
- type WorkspaceGlobalSchemaListByServiceCompleteResult
- type WorkspaceGlobalSchemaListByServiceOperationOptions
- type WorkspaceGlobalSchemaListByServiceOperationResponse
- type WorkspaceId
- type WorkspaceSchemaId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForSchemaType ¶
func PossibleValuesForSchemaType() []string
func ValidateSchemaID ¶
ValidateSchemaID checks that 'input' can be parsed as a Schema ID
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
func ValidateWorkspaceSchemaID ¶
ValidateWorkspaceSchemaID checks that 'input' can be parsed as a Workspace Schema ID
Types ¶
type GlobalSchemaContract ¶
type GlobalSchemaContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *GlobalSchemaContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type GlobalSchemaContractOperationPredicate ¶
func (GlobalSchemaContractOperationPredicate) Matches ¶
func (p GlobalSchemaContractOperationPredicate) Matches(input GlobalSchemaContract) bool
type GlobalSchemaContractProperties ¶
type GlobalSchemaContractProperties struct { Description *string `json:"description,omitempty"` Document *interface{} `json:"document,omitempty"` SchemaType SchemaType `json:"schemaType"` Value *interface{} `json:"value,omitempty"` }
type GlobalSchemaCreateOrUpdateOperationOptions ¶
type GlobalSchemaCreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultGlobalSchemaCreateOrUpdateOperationOptions ¶
func DefaultGlobalSchemaCreateOrUpdateOperationOptions() GlobalSchemaCreateOrUpdateOperationOptions
func (GlobalSchemaCreateOrUpdateOperationOptions) ToHeaders ¶
func (o GlobalSchemaCreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (GlobalSchemaCreateOrUpdateOperationOptions) ToOData ¶
func (o GlobalSchemaCreateOrUpdateOperationOptions) ToOData() *odata.Query
func (GlobalSchemaCreateOrUpdateOperationOptions) ToQuery ¶
func (o GlobalSchemaCreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type GlobalSchemaDeleteOperationOptions ¶
type GlobalSchemaDeleteOperationOptions struct {
IfMatch *string
}
func DefaultGlobalSchemaDeleteOperationOptions ¶
func DefaultGlobalSchemaDeleteOperationOptions() GlobalSchemaDeleteOperationOptions
func (GlobalSchemaDeleteOperationOptions) ToHeaders ¶
func (o GlobalSchemaDeleteOperationOptions) ToHeaders() *client.Headers
func (GlobalSchemaDeleteOperationOptions) ToOData ¶
func (o GlobalSchemaDeleteOperationOptions) ToOData() *odata.Query
func (GlobalSchemaDeleteOperationOptions) ToQuery ¶
func (o GlobalSchemaDeleteOperationOptions) ToQuery() *client.QueryParams
type GlobalSchemaGetOperationResponse ¶
type GlobalSchemaGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GlobalSchemaContract }
type GlobalSchemaListByServiceCompleteResult ¶
type GlobalSchemaListByServiceCompleteResult struct {
Items []GlobalSchemaContract
}
type GlobalSchemaListByServiceOperationOptions ¶
func DefaultGlobalSchemaListByServiceOperationOptions ¶
func DefaultGlobalSchemaListByServiceOperationOptions() GlobalSchemaListByServiceOperationOptions
func (GlobalSchemaListByServiceOperationOptions) ToHeaders ¶
func (o GlobalSchemaListByServiceOperationOptions) ToHeaders() *client.Headers
func (GlobalSchemaListByServiceOperationOptions) ToOData ¶
func (o GlobalSchemaListByServiceOperationOptions) ToOData() *odata.Query
func (GlobalSchemaListByServiceOperationOptions) ToQuery ¶
func (o GlobalSchemaListByServiceOperationOptions) ToQuery() *client.QueryParams
type GlobalSchemaListByServiceOperationResponse ¶
type GlobalSchemaListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]GlobalSchemaContract }
type SchemaClient ¶
type SchemaClient struct {
Client *resourcemanager.Client
}
func NewSchemaClientWithBaseURI ¶
func NewSchemaClientWithBaseURI(sdkApi sdkEnv.Api) (*SchemaClient, error)
func (SchemaClient) GlobalSchemaCreateOrUpdate ¶
func (c SchemaClient) GlobalSchemaCreateOrUpdate(ctx context.Context, id SchemaId, input GlobalSchemaContract, options GlobalSchemaCreateOrUpdateOperationOptions) (result GlobalSchemaCreateOrUpdateOperationResponse, err error)
GlobalSchemaCreateOrUpdate ...
func (SchemaClient) GlobalSchemaCreateOrUpdateThenPoll ¶
func (c SchemaClient) GlobalSchemaCreateOrUpdateThenPoll(ctx context.Context, id SchemaId, input GlobalSchemaContract, options GlobalSchemaCreateOrUpdateOperationOptions) error
GlobalSchemaCreateOrUpdateThenPoll performs GlobalSchemaCreateOrUpdate then polls until it's completed
func (SchemaClient) GlobalSchemaDelete ¶
func (c SchemaClient) GlobalSchemaDelete(ctx context.Context, id SchemaId, options GlobalSchemaDeleteOperationOptions) (result GlobalSchemaDeleteOperationResponse, err error)
GlobalSchemaDelete ...
func (SchemaClient) GlobalSchemaGet ¶
func (c SchemaClient) GlobalSchemaGet(ctx context.Context, id SchemaId) (result GlobalSchemaGetOperationResponse, err error)
GlobalSchemaGet ...
func (SchemaClient) GlobalSchemaGetEntityTag ¶
func (c SchemaClient) GlobalSchemaGetEntityTag(ctx context.Context, id SchemaId) (result GlobalSchemaGetEntityTagOperationResponse, err error)
GlobalSchemaGetEntityTag ...
func (SchemaClient) GlobalSchemaListByService ¶
func (c SchemaClient) GlobalSchemaListByService(ctx context.Context, id ServiceId, options GlobalSchemaListByServiceOperationOptions) (result GlobalSchemaListByServiceOperationResponse, err error)
GlobalSchemaListByService ...
func (SchemaClient) GlobalSchemaListByServiceComplete ¶
func (c SchemaClient) GlobalSchemaListByServiceComplete(ctx context.Context, id ServiceId, options GlobalSchemaListByServiceOperationOptions) (GlobalSchemaListByServiceCompleteResult, error)
GlobalSchemaListByServiceComplete retrieves all the results into a single object
func (SchemaClient) GlobalSchemaListByServiceCompleteMatchingPredicate ¶
func (c SchemaClient) GlobalSchemaListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options GlobalSchemaListByServiceOperationOptions, predicate GlobalSchemaContractOperationPredicate) (result GlobalSchemaListByServiceCompleteResult, err error)
GlobalSchemaListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SchemaClient) WorkspaceGlobalSchemaCreateOrUpdate ¶
func (c SchemaClient) WorkspaceGlobalSchemaCreateOrUpdate(ctx context.Context, id WorkspaceSchemaId, input GlobalSchemaContract, options WorkspaceGlobalSchemaCreateOrUpdateOperationOptions) (result WorkspaceGlobalSchemaCreateOrUpdateOperationResponse, err error)
WorkspaceGlobalSchemaCreateOrUpdate ...
func (SchemaClient) WorkspaceGlobalSchemaCreateOrUpdateThenPoll ¶
func (c SchemaClient) WorkspaceGlobalSchemaCreateOrUpdateThenPoll(ctx context.Context, id WorkspaceSchemaId, input GlobalSchemaContract, options WorkspaceGlobalSchemaCreateOrUpdateOperationOptions) error
WorkspaceGlobalSchemaCreateOrUpdateThenPoll performs WorkspaceGlobalSchemaCreateOrUpdate then polls until it's completed
func (SchemaClient) WorkspaceGlobalSchemaDelete ¶
func (c SchemaClient) WorkspaceGlobalSchemaDelete(ctx context.Context, id WorkspaceSchemaId, options WorkspaceGlobalSchemaDeleteOperationOptions) (result WorkspaceGlobalSchemaDeleteOperationResponse, err error)
WorkspaceGlobalSchemaDelete ...
func (SchemaClient) WorkspaceGlobalSchemaGet ¶
func (c SchemaClient) WorkspaceGlobalSchemaGet(ctx context.Context, id WorkspaceSchemaId) (result WorkspaceGlobalSchemaGetOperationResponse, err error)
WorkspaceGlobalSchemaGet ...
func (SchemaClient) WorkspaceGlobalSchemaGetEntityTag ¶
func (c SchemaClient) WorkspaceGlobalSchemaGetEntityTag(ctx context.Context, id WorkspaceSchemaId) (result WorkspaceGlobalSchemaGetEntityTagOperationResponse, err error)
WorkspaceGlobalSchemaGetEntityTag ...
func (SchemaClient) WorkspaceGlobalSchemaListByService ¶
func (c SchemaClient) WorkspaceGlobalSchemaListByService(ctx context.Context, id WorkspaceId, options WorkspaceGlobalSchemaListByServiceOperationOptions) (result WorkspaceGlobalSchemaListByServiceOperationResponse, err error)
WorkspaceGlobalSchemaListByService ...
func (SchemaClient) WorkspaceGlobalSchemaListByServiceComplete ¶
func (c SchemaClient) WorkspaceGlobalSchemaListByServiceComplete(ctx context.Context, id WorkspaceId, options WorkspaceGlobalSchemaListByServiceOperationOptions) (WorkspaceGlobalSchemaListByServiceCompleteResult, error)
WorkspaceGlobalSchemaListByServiceComplete retrieves all the results into a single object
func (SchemaClient) WorkspaceGlobalSchemaListByServiceCompleteMatchingPredicate ¶
func (c SchemaClient) WorkspaceGlobalSchemaListByServiceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options WorkspaceGlobalSchemaListByServiceOperationOptions, predicate GlobalSchemaContractOperationPredicate) (result WorkspaceGlobalSchemaListByServiceCompleteResult, err error)
WorkspaceGlobalSchemaListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
type SchemaId ¶
type SchemaId struct { SubscriptionId string ResourceGroupName string ServiceName string SchemaId string }
SchemaId is a struct representing the Resource ID for a Schema
func NewSchemaID ¶
func NewSchemaID(subscriptionId string, resourceGroupName string, serviceName string, schemaId string) SchemaId
NewSchemaID returns a new SchemaId struct
func ParseSchemaID ¶
ParseSchemaID parses 'input' into a SchemaId
func ParseSchemaIDInsensitively ¶
ParseSchemaIDInsensitively parses 'input' case-insensitively into a SchemaId note: this method should only be used for API response data and not user input
func (*SchemaId) FromParseResult ¶ added in v0.20231127.1171502
func (id *SchemaId) FromParseResult(input resourceids.ParseResult) error
func (SchemaId) Segments ¶
func (id SchemaId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Schema ID
type SchemaType ¶
type SchemaType string
const ( SchemaTypeJson SchemaType = "json" SchemaTypeXml SchemaType = "xml" )
func (*SchemaType) UnmarshalJSON ¶
func (s *SchemaType) UnmarshalJSON(bytes []byte) 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) FromParseResult ¶ added in v0.20231127.1171502
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 WorkspaceGlobalSchemaCreateOrUpdateOperationOptions ¶
type WorkspaceGlobalSchemaCreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultWorkspaceGlobalSchemaCreateOrUpdateOperationOptions ¶
func DefaultWorkspaceGlobalSchemaCreateOrUpdateOperationOptions() WorkspaceGlobalSchemaCreateOrUpdateOperationOptions
func (WorkspaceGlobalSchemaCreateOrUpdateOperationOptions) ToHeaders ¶
func (o WorkspaceGlobalSchemaCreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (WorkspaceGlobalSchemaCreateOrUpdateOperationOptions) ToOData ¶
func (o WorkspaceGlobalSchemaCreateOrUpdateOperationOptions) ToOData() *odata.Query
func (WorkspaceGlobalSchemaCreateOrUpdateOperationOptions) ToQuery ¶
func (o WorkspaceGlobalSchemaCreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type WorkspaceGlobalSchemaDeleteOperationOptions ¶
type WorkspaceGlobalSchemaDeleteOperationOptions struct {
IfMatch *string
}
func DefaultWorkspaceGlobalSchemaDeleteOperationOptions ¶
func DefaultWorkspaceGlobalSchemaDeleteOperationOptions() WorkspaceGlobalSchemaDeleteOperationOptions
func (WorkspaceGlobalSchemaDeleteOperationOptions) ToHeaders ¶
func (o WorkspaceGlobalSchemaDeleteOperationOptions) ToHeaders() *client.Headers
func (WorkspaceGlobalSchemaDeleteOperationOptions) ToOData ¶
func (o WorkspaceGlobalSchemaDeleteOperationOptions) ToOData() *odata.Query
func (WorkspaceGlobalSchemaDeleteOperationOptions) ToQuery ¶
func (o WorkspaceGlobalSchemaDeleteOperationOptions) ToQuery() *client.QueryParams
type WorkspaceGlobalSchemaGetOperationResponse ¶
type WorkspaceGlobalSchemaGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GlobalSchemaContract }
type WorkspaceGlobalSchemaListByServiceCompleteResult ¶
type WorkspaceGlobalSchemaListByServiceCompleteResult struct {
Items []GlobalSchemaContract
}
type WorkspaceGlobalSchemaListByServiceOperationOptions ¶
type WorkspaceGlobalSchemaListByServiceOperationOptions struct { Filter *string Skip *int64 Top *int64 }
func DefaultWorkspaceGlobalSchemaListByServiceOperationOptions ¶
func DefaultWorkspaceGlobalSchemaListByServiceOperationOptions() WorkspaceGlobalSchemaListByServiceOperationOptions
func (WorkspaceGlobalSchemaListByServiceOperationOptions) ToHeaders ¶
func (o WorkspaceGlobalSchemaListByServiceOperationOptions) ToHeaders() *client.Headers
func (WorkspaceGlobalSchemaListByServiceOperationOptions) ToOData ¶
func (o WorkspaceGlobalSchemaListByServiceOperationOptions) ToOData() *odata.Query
func (WorkspaceGlobalSchemaListByServiceOperationOptions) ToQuery ¶
func (o WorkspaceGlobalSchemaListByServiceOperationOptions) ToQuery() *client.QueryParams
type WorkspaceGlobalSchemaListByServiceOperationResponse ¶
type WorkspaceGlobalSchemaListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]GlobalSchemaContract }
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 ¶ added in v0.20231127.1171502
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 WorkspaceSchemaId ¶
type WorkspaceSchemaId struct { SubscriptionId string ResourceGroupName string ServiceName string WorkspaceId string SchemaId string }
WorkspaceSchemaId is a struct representing the Resource ID for a Workspace Schema
func NewWorkspaceSchemaID ¶
func NewWorkspaceSchemaID(subscriptionId string, resourceGroupName string, serviceName string, workspaceId string, schemaId string) WorkspaceSchemaId
NewWorkspaceSchemaID returns a new WorkspaceSchemaId struct
func ParseWorkspaceSchemaID ¶
func ParseWorkspaceSchemaID(input string) (*WorkspaceSchemaId, error)
ParseWorkspaceSchemaID parses 'input' into a WorkspaceSchemaId
func ParseWorkspaceSchemaIDInsensitively ¶
func ParseWorkspaceSchemaIDInsensitively(input string) (*WorkspaceSchemaId, error)
ParseWorkspaceSchemaIDInsensitively parses 'input' case-insensitively into a WorkspaceSchemaId note: this method should only be used for API response data and not user input
func (*WorkspaceSchemaId) FromParseResult ¶ added in v0.20231127.1171502
func (id *WorkspaceSchemaId) FromParseResult(input resourceids.ParseResult) error
func (WorkspaceSchemaId) ID ¶
func (id WorkspaceSchemaId) ID() string
ID returns the formatted Workspace Schema ID
func (WorkspaceSchemaId) Segments ¶
func (id WorkspaceSchemaId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace Schema ID
func (WorkspaceSchemaId) String ¶
func (id WorkspaceSchemaId) String() string
String returns a human-readable description of this Workspace Schema ID
Source Files ¶
- client.go
- constants.go
- id_schema.go
- id_service.go
- id_workspace.go
- id_workspaceschema.go
- method_globalschemacreateorupdate.go
- method_globalschemadelete.go
- method_globalschemaget.go
- method_globalschemagetentitytag.go
- method_globalschemalistbyservice.go
- method_workspaceglobalschemacreateorupdate.go
- method_workspaceglobalschemadelete.go
- method_workspaceglobalschemaget.go
- method_workspaceglobalschemagetentitytag.go
- method_workspaceglobalschemalistbyservice.go
- model_globalschemacontract.go
- model_globalschemacontractproperties.go
- predicates.go
- version.go