Documentation ¶
Index ¶
- func PossibleValuesForSchemaCompatibility() []string
- func PossibleValuesForSchemaType() []string
- func ValidateNamespaceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSchemaGroupID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByNamespaceCompleteResult
- type ListByNamespaceOperationOptions
- type ListByNamespaceOperationResponse
- type NamespaceId
- type SchemaCompatibility
- type SchemaGroup
- type SchemaGroupId
- type SchemaGroupOperationPredicate
- type SchemaGroupProperties
- type SchemaRegistryClient
- func (c SchemaRegistryClient) CreateOrUpdate(ctx context.Context, id SchemaGroupId, input SchemaGroup) (result CreateOrUpdateOperationResponse, err error)
- func (c SchemaRegistryClient) Delete(ctx context.Context, id SchemaGroupId) (result DeleteOperationResponse, err error)
- func (c SchemaRegistryClient) Get(ctx context.Context, id SchemaGroupId) (result GetOperationResponse, err error)
- func (c SchemaRegistryClient) ListByNamespace(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (resp ListByNamespaceOperationResponse, err error)
- func (c SchemaRegistryClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (ListByNamespaceCompleteResult, error)
- func (c SchemaRegistryClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions, ...) (resp ListByNamespaceCompleteResult, err error)
- type SchemaType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForSchemaCompatibility ¶
func PossibleValuesForSchemaCompatibility() []string
func PossibleValuesForSchemaType ¶
func PossibleValuesForSchemaType() []string
func ValidateNamespaceID ¶
ValidateNamespaceID checks that 'input' can be parsed as a Namespace ID
func ValidateSchemaGroupID ¶ added in v0.20220621.114739
ValidateSchemaGroupID checks that 'input' can be parsed as a Schema Group ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *SchemaGroup }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *SchemaGroup }
type ListByNamespaceCompleteResult ¶
type ListByNamespaceCompleteResult struct {
Items []SchemaGroup
}
type ListByNamespaceOperationOptions ¶
func DefaultListByNamespaceOperationOptions ¶
func DefaultListByNamespaceOperationOptions() ListByNamespaceOperationOptions
type ListByNamespaceOperationResponse ¶
type ListByNamespaceOperationResponse struct { HttpResponse *http.Response Model *[]SchemaGroup // contains filtered or unexported fields }
func (ListByNamespaceOperationResponse) HasMore ¶
func (r ListByNamespaceOperationResponse) HasMore() bool
func (ListByNamespaceOperationResponse) LoadMore ¶
func (r ListByNamespaceOperationResponse) LoadMore(ctx context.Context) (resp ListByNamespaceOperationResponse, err error)
type NamespaceId ¶
NamespaceId is a struct representing the Resource ID for a Namespace
func NewNamespaceID ¶
func NewNamespaceID(subscriptionId string, resourceGroupName string, namespaceName string) NamespaceId
NewNamespaceID returns a new NamespaceId struct
func ParseNamespaceID ¶
func ParseNamespaceID(input string) (*NamespaceId, error)
ParseNamespaceID parses 'input' into a NamespaceId
func ParseNamespaceIDInsensitively ¶
func ParseNamespaceIDInsensitively(input string) (*NamespaceId, error)
ParseNamespaceIDInsensitively parses 'input' case-insensitively into a NamespaceId note: this method should only be used for API response data and not user input
func (NamespaceId) Segments ¶
func (id NamespaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Namespace ID
func (NamespaceId) String ¶
func (id NamespaceId) String() string
String returns a human-readable description of this Namespace ID
type SchemaCompatibility ¶
type SchemaCompatibility string
const ( SchemaCompatibilityBackward SchemaCompatibility = "Backward" SchemaCompatibilityForward SchemaCompatibility = "Forward" SchemaCompatibilityNone SchemaCompatibility = "None" )
type SchemaGroup ¶
type SchemaGroup struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *SchemaGroupProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type SchemaGroupId ¶ added in v0.20220621.114739
type SchemaGroupId struct { SubscriptionId string ResourceGroupName string NamespaceName string SchemaGroupName string }
SchemaGroupId is a struct representing the Resource ID for a Schema Group
func NewSchemaGroupID ¶ added in v0.20220621.114739
func NewSchemaGroupID(subscriptionId string, resourceGroupName string, namespaceName string, schemaGroupName string) SchemaGroupId
NewSchemaGroupID returns a new SchemaGroupId struct
func ParseSchemaGroupID ¶ added in v0.20220621.114739
func ParseSchemaGroupID(input string) (*SchemaGroupId, error)
ParseSchemaGroupID parses 'input' into a SchemaGroupId
func ParseSchemaGroupIDInsensitively ¶ added in v0.20220621.114739
func ParseSchemaGroupIDInsensitively(input string) (*SchemaGroupId, error)
ParseSchemaGroupIDInsensitively parses 'input' case-insensitively into a SchemaGroupId note: this method should only be used for API response data and not user input
func (SchemaGroupId) ID ¶ added in v0.20220621.114739
func (id SchemaGroupId) ID() string
ID returns the formatted Schema Group ID
func (SchemaGroupId) Segments ¶ added in v0.20220621.114739
func (id SchemaGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Schema Group ID
func (SchemaGroupId) String ¶ added in v0.20220621.114739
func (id SchemaGroupId) String() string
String returns a human-readable description of this Schema Group ID
type SchemaGroupOperationPredicate ¶
func (SchemaGroupOperationPredicate) Matches ¶
func (p SchemaGroupOperationPredicate) Matches(input SchemaGroup) bool
type SchemaGroupProperties ¶
type SchemaGroupProperties struct { CreatedAtUtc *string `json:"createdAtUtc,omitempty"` ETag *string `json:"eTag,omitempty"` GroupProperties *map[string]string `json:"groupProperties,omitempty"` SchemaCompatibility *SchemaCompatibility `json:"schemaCompatibility,omitempty"` SchemaType *SchemaType `json:"schemaType,omitempty"` UpdatedAtUtc *string `json:"updatedAtUtc,omitempty"` }
func (*SchemaGroupProperties) GetCreatedAtUtcAsTime ¶
func (o *SchemaGroupProperties) GetCreatedAtUtcAsTime() (*time.Time, error)
func (*SchemaGroupProperties) GetUpdatedAtUtcAsTime ¶
func (o *SchemaGroupProperties) GetUpdatedAtUtcAsTime() (*time.Time, error)
func (*SchemaGroupProperties) SetCreatedAtUtcAsTime ¶
func (o *SchemaGroupProperties) SetCreatedAtUtcAsTime(input time.Time)
func (*SchemaGroupProperties) SetUpdatedAtUtcAsTime ¶
func (o *SchemaGroupProperties) SetUpdatedAtUtcAsTime(input time.Time)
type SchemaRegistryClient ¶
type SchemaRegistryClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewSchemaRegistryClientWithBaseURI ¶
func NewSchemaRegistryClientWithBaseURI(endpoint string) SchemaRegistryClient
func (SchemaRegistryClient) CreateOrUpdate ¶
func (c SchemaRegistryClient) CreateOrUpdate(ctx context.Context, id SchemaGroupId, input SchemaGroup) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (SchemaRegistryClient) Delete ¶
func (c SchemaRegistryClient) Delete(ctx context.Context, id SchemaGroupId) (result DeleteOperationResponse, err error)
Delete ...
func (SchemaRegistryClient) Get ¶
func (c SchemaRegistryClient) Get(ctx context.Context, id SchemaGroupId) (result GetOperationResponse, err error)
Get ...
func (SchemaRegistryClient) ListByNamespace ¶
func (c SchemaRegistryClient) ListByNamespace(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (resp ListByNamespaceOperationResponse, err error)
ListByNamespace ...
func (SchemaRegistryClient) ListByNamespaceComplete ¶
func (c SchemaRegistryClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (ListByNamespaceCompleteResult, error)
ListByNamespaceComplete retrieves all of the results into a single object
func (SchemaRegistryClient) ListByNamespaceCompleteMatchingPredicate ¶
func (c SchemaRegistryClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions, predicate SchemaGroupOperationPredicate) (resp ListByNamespaceCompleteResult, err error)
ListByNamespaceCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type SchemaType ¶
type SchemaType string
const ( SchemaTypeAvro SchemaType = "Avro" SchemaTypeUnknown SchemaType = "Unknown" )