Documentation ¶
Index ¶
- func PossibleValuesForFormat() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForSchemaType() []string
- func ValidateSchemaID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSchemaRegistryID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrReplaceOperationResponse
- type DeleteOperationResponse
- type Format
- type GetOperationResponse
- type ListBySchemaRegistryCompleteResult
- type ListBySchemaRegistryCustomPager
- type ListBySchemaRegistryOperationResponse
- type ProvisioningState
- type Schema
- type SchemaId
- type SchemaOperationPredicate
- type SchemaProperties
- type SchemaRegistryId
- type SchemaType
- type SchemasClient
- func (c SchemasClient) CreateOrReplace(ctx context.Context, id SchemaId, input Schema) (result CreateOrReplaceOperationResponse, err error)
- func (c SchemasClient) Delete(ctx context.Context, id SchemaId) (result DeleteOperationResponse, err error)
- func (c SchemasClient) Get(ctx context.Context, id SchemaId) (result GetOperationResponse, err error)
- func (c SchemasClient) ListBySchemaRegistry(ctx context.Context, id SchemaRegistryId) (result ListBySchemaRegistryOperationResponse, err error)
- func (c SchemasClient) ListBySchemaRegistryComplete(ctx context.Context, id SchemaRegistryId) (ListBySchemaRegistryCompleteResult, error)
- func (c SchemasClient) ListBySchemaRegistryCompleteMatchingPredicate(ctx context.Context, id SchemaRegistryId, predicate SchemaOperationPredicate) (result ListBySchemaRegistryCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForFormat ¶
func PossibleValuesForFormat() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForSchemaType ¶
func PossibleValuesForSchemaType() []string
func ValidateSchemaID ¶
ValidateSchemaID checks that 'input' can be parsed as a Schema ID
func ValidateSchemaRegistryID ¶
ValidateSchemaRegistryID checks that 'input' can be parsed as a Schema Registry ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListBySchemaRegistryCustomPager ¶
func (*ListBySchemaRegistryCustomPager) NextPageLink ¶
func (p *ListBySchemaRegistryCustomPager) NextPageLink() *odata.Link
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 Schema ¶
type Schema struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SchemaProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
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 SchemaOperationPredicate ¶
func (SchemaOperationPredicate) Matches ¶
func (p SchemaOperationPredicate) Matches(input Schema) bool
type SchemaProperties ¶
type SchemaProperties struct { Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` Format Format `json:"format"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` SchemaType SchemaType `json:"schemaType"` Tags *map[string]string `json:"tags,omitempty"` Uuid *string `json:"uuid,omitempty"` }
type SchemaRegistryId ¶
type SchemaRegistryId struct { SubscriptionId string ResourceGroupName string SchemaRegistryName string }
SchemaRegistryId is a struct representing the Resource ID for a Schema Registry
func NewSchemaRegistryID ¶
func NewSchemaRegistryID(subscriptionId string, resourceGroupName string, schemaRegistryName string) SchemaRegistryId
NewSchemaRegistryID returns a new SchemaRegistryId struct
func ParseSchemaRegistryID ¶
func ParseSchemaRegistryID(input string) (*SchemaRegistryId, error)
ParseSchemaRegistryID parses 'input' into a SchemaRegistryId
func ParseSchemaRegistryIDInsensitively ¶
func ParseSchemaRegistryIDInsensitively(input string) (*SchemaRegistryId, error)
ParseSchemaRegistryIDInsensitively parses 'input' case-insensitively into a SchemaRegistryId note: this method should only be used for API response data and not user input
func (*SchemaRegistryId) FromParseResult ¶
func (id *SchemaRegistryId) FromParseResult(input resourceids.ParseResult) error
func (SchemaRegistryId) ID ¶
func (id SchemaRegistryId) ID() string
ID returns the formatted Schema Registry ID
func (SchemaRegistryId) Segments ¶
func (id SchemaRegistryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Schema Registry ID
func (SchemaRegistryId) String ¶
func (id SchemaRegistryId) String() string
String returns a human-readable description of this Schema Registry ID
type SchemaType ¶
type SchemaType string
const (
SchemaTypeMessageSchema SchemaType = "MessageSchema"
)
func (*SchemaType) UnmarshalJSON ¶
func (s *SchemaType) UnmarshalJSON(bytes []byte) error
type SchemasClient ¶
type SchemasClient struct {
Client *resourcemanager.Client
}
func NewSchemasClientWithBaseURI ¶
func NewSchemasClientWithBaseURI(sdkApi sdkEnv.Api) (*SchemasClient, error)
func (SchemasClient) CreateOrReplace ¶
func (c SchemasClient) CreateOrReplace(ctx context.Context, id SchemaId, input Schema) (result CreateOrReplaceOperationResponse, err error)
CreateOrReplace ...
func (SchemasClient) Delete ¶
func (c SchemasClient) Delete(ctx context.Context, id SchemaId) (result DeleteOperationResponse, err error)
Delete ...
func (SchemasClient) Get ¶
func (c SchemasClient) Get(ctx context.Context, id SchemaId) (result GetOperationResponse, err error)
Get ...
func (SchemasClient) ListBySchemaRegistry ¶
func (c SchemasClient) ListBySchemaRegistry(ctx context.Context, id SchemaRegistryId) (result ListBySchemaRegistryOperationResponse, err error)
ListBySchemaRegistry ...
func (SchemasClient) ListBySchemaRegistryComplete ¶
func (c SchemasClient) ListBySchemaRegistryComplete(ctx context.Context, id SchemaRegistryId) (ListBySchemaRegistryCompleteResult, error)
ListBySchemaRegistryComplete retrieves all the results into a single object
func (SchemasClient) ListBySchemaRegistryCompleteMatchingPredicate ¶
func (c SchemasClient) ListBySchemaRegistryCompleteMatchingPredicate(ctx context.Context, id SchemaRegistryId, predicate SchemaOperationPredicate) (result ListBySchemaRegistryCompleteResult, err error)
ListBySchemaRegistryCompleteMatchingPredicate retrieves all the results and then applies the predicate