Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func ValidateSchemaID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSchemaVersionID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrReplaceOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListBySchemaCompleteResult
- type ListBySchemaCustomPager
- type ListBySchemaOperationResponse
- type ProvisioningState
- type SchemaId
- type SchemaVersion
- type SchemaVersionId
- type SchemaVersionOperationPredicate
- type SchemaVersionProperties
- type SchemaVersionsClient
- func (c SchemaVersionsClient) CreateOrReplace(ctx context.Context, id SchemaVersionId, input SchemaVersion) (result CreateOrReplaceOperationResponse, err error)
- func (c SchemaVersionsClient) Delete(ctx context.Context, id SchemaVersionId) (result DeleteOperationResponse, err error)
- func (c SchemaVersionsClient) Get(ctx context.Context, id SchemaVersionId) (result GetOperationResponse, err error)
- func (c SchemaVersionsClient) ListBySchema(ctx context.Context, id SchemaId) (result ListBySchemaOperationResponse, err error)
- func (c SchemaVersionsClient) ListBySchemaComplete(ctx context.Context, id SchemaId) (ListBySchemaCompleteResult, error)
- func (c SchemaVersionsClient) ListBySchemaCompleteMatchingPredicate(ctx context.Context, id SchemaId, predicate SchemaVersionOperationPredicate) (result ListBySchemaCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateSchemaID ¶
ValidateSchemaID checks that 'input' can be parsed as a Schema ID
func ValidateSchemaVersionID ¶
ValidateSchemaVersionID checks that 'input' can be parsed as a Schema Version ID
Types ¶
type CreateOrReplaceOperationResponse ¶
type CreateOrReplaceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SchemaVersion }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SchemaVersion }
type ListBySchemaCompleteResult ¶
type ListBySchemaCompleteResult struct { LatestHttpResponse *http.Response Items []SchemaVersion }
type ListBySchemaCustomPager ¶
func (*ListBySchemaCustomPager) NextPageLink ¶
func (p *ListBySchemaCustomPager) NextPageLink() *odata.Link
type ListBySchemaOperationResponse ¶
type ListBySchemaOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SchemaVersion }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type SchemaId ¶
type SchemaId struct { SubscriptionId string ResourceGroupName string SchemaRegistryName string SchemaName string }
SchemaId is a struct representing the Resource ID for a Schema
func NewSchemaID ¶
func NewSchemaID(subscriptionId string, resourceGroupName string, schemaRegistryName string, schemaName 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 ¶
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 SchemaVersion ¶
type SchemaVersion struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SchemaVersionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type SchemaVersionId ¶
type SchemaVersionId struct { SubscriptionId string ResourceGroupName string SchemaRegistryName string SchemaName string SchemaVersionName string }
SchemaVersionId is a struct representing the Resource ID for a Schema Version
func NewSchemaVersionID ¶
func NewSchemaVersionID(subscriptionId string, resourceGroupName string, schemaRegistryName string, schemaName string, schemaVersionName string) SchemaVersionId
NewSchemaVersionID returns a new SchemaVersionId struct
func ParseSchemaVersionID ¶
func ParseSchemaVersionID(input string) (*SchemaVersionId, error)
ParseSchemaVersionID parses 'input' into a SchemaVersionId
func ParseSchemaVersionIDInsensitively ¶
func ParseSchemaVersionIDInsensitively(input string) (*SchemaVersionId, error)
ParseSchemaVersionIDInsensitively parses 'input' case-insensitively into a SchemaVersionId note: this method should only be used for API response data and not user input
func (*SchemaVersionId) FromParseResult ¶
func (id *SchemaVersionId) FromParseResult(input resourceids.ParseResult) error
func (SchemaVersionId) ID ¶
func (id SchemaVersionId) ID() string
ID returns the formatted Schema Version ID
func (SchemaVersionId) Segments ¶
func (id SchemaVersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Schema Version ID
func (SchemaVersionId) String ¶
func (id SchemaVersionId) String() string
String returns a human-readable description of this Schema Version ID
type SchemaVersionOperationPredicate ¶
func (SchemaVersionOperationPredicate) Matches ¶
func (p SchemaVersionOperationPredicate) Matches(input SchemaVersion) bool
type SchemaVersionProperties ¶
type SchemaVersionProperties struct { Description *string `json:"description,omitempty"` Hash *string `json:"hash,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` SchemaContent string `json:"schemaContent"` Uuid *string `json:"uuid,omitempty"` }
type SchemaVersionsClient ¶
type SchemaVersionsClient struct {
Client *resourcemanager.Client
}
func NewSchemaVersionsClientWithBaseURI ¶
func NewSchemaVersionsClientWithBaseURI(sdkApi sdkEnv.Api) (*SchemaVersionsClient, error)
func (SchemaVersionsClient) CreateOrReplace ¶
func (c SchemaVersionsClient) CreateOrReplace(ctx context.Context, id SchemaVersionId, input SchemaVersion) (result CreateOrReplaceOperationResponse, err error)
CreateOrReplace ...
func (SchemaVersionsClient) Delete ¶
func (c SchemaVersionsClient) Delete(ctx context.Context, id SchemaVersionId) (result DeleteOperationResponse, err error)
Delete ...
func (SchemaVersionsClient) Get ¶
func (c SchemaVersionsClient) Get(ctx context.Context, id SchemaVersionId) (result GetOperationResponse, err error)
Get ...
func (SchemaVersionsClient) ListBySchema ¶
func (c SchemaVersionsClient) ListBySchema(ctx context.Context, id SchemaId) (result ListBySchemaOperationResponse, err error)
ListBySchema ...
func (SchemaVersionsClient) ListBySchemaComplete ¶
func (c SchemaVersionsClient) ListBySchemaComplete(ctx context.Context, id SchemaId) (ListBySchemaCompleteResult, error)
ListBySchemaComplete retrieves all the results into a single object
func (SchemaVersionsClient) ListBySchemaCompleteMatchingPredicate ¶
func (c SchemaVersionsClient) ListBySchemaCompleteMatchingPredicate(ctx context.Context, id SchemaId, predicate SchemaVersionOperationPredicate) (result ListBySchemaCompleteResult, err error)
ListBySchemaCompleteMatchingPredicate retrieves all the results and then applies the predicate