Documentation ¶
Index ¶
- func ValidateDatabaseID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSchemaID(input interface{}, key string) (warnings []string, errors []error)
- type DatabaseId
- type DatabaseSchemasClient
- func (c DatabaseSchemasClient) Get(ctx context.Context, id SchemaId) (result GetOperationResponse, err error)
- func (c DatabaseSchemasClient) ListByDatabase(ctx context.Context, id DatabaseId, options ListByDatabaseOperationOptions) (result ListByDatabaseOperationResponse, err error)
- func (c DatabaseSchemasClient) ListByDatabaseComplete(ctx context.Context, id DatabaseId, options ListByDatabaseOperationOptions) (ListByDatabaseCompleteResult, error)
- func (c DatabaseSchemasClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id DatabaseId, options ListByDatabaseOperationOptions, ...) (result ListByDatabaseCompleteResult, err error)
- type GetOperationResponse
- type ListByDatabaseCompleteResult
- type ListByDatabaseOperationOptions
- type ListByDatabaseOperationResponse
- type Resource
- type ResourceOperationPredicate
- type SchemaId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateDatabaseID ¶
ValidateDatabaseID checks that 'input' can be parsed as a Database ID
func ValidateSchemaID ¶
ValidateSchemaID checks that 'input' can be parsed as a Schema ID
Types ¶
type DatabaseId ¶
type DatabaseId struct { SubscriptionId string ResourceGroupName string ServerName string DatabaseName string }
DatabaseId is a struct representing the Resource ID for a Database
func NewDatabaseID ¶
func NewDatabaseID(subscriptionId string, resourceGroupName string, serverName string, databaseName string) DatabaseId
NewDatabaseID returns a new DatabaseId struct
func ParseDatabaseID ¶
func ParseDatabaseID(input string) (*DatabaseId, error)
ParseDatabaseID parses 'input' into a DatabaseId
func ParseDatabaseIDInsensitively ¶
func ParseDatabaseIDInsensitively(input string) (*DatabaseId, error)
ParseDatabaseIDInsensitively parses 'input' case-insensitively into a DatabaseId note: this method should only be used for API response data and not user input
func (DatabaseId) Segments ¶
func (id DatabaseId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Database ID
func (DatabaseId) String ¶
func (id DatabaseId) String() string
String returns a human-readable description of this Database ID
type DatabaseSchemasClient ¶
type DatabaseSchemasClient struct {
Client *resourcemanager.Client
}
func NewDatabaseSchemasClientWithBaseURI ¶
func NewDatabaseSchemasClientWithBaseURI(api environments.Api) (*DatabaseSchemasClient, error)
func (DatabaseSchemasClient) Get ¶
func (c DatabaseSchemasClient) Get(ctx context.Context, id SchemaId) (result GetOperationResponse, err error)
Get ...
func (DatabaseSchemasClient) ListByDatabase ¶
func (c DatabaseSchemasClient) ListByDatabase(ctx context.Context, id DatabaseId, options ListByDatabaseOperationOptions) (result ListByDatabaseOperationResponse, err error)
ListByDatabase ...
func (DatabaseSchemasClient) ListByDatabaseComplete ¶
func (c DatabaseSchemasClient) ListByDatabaseComplete(ctx context.Context, id DatabaseId, options ListByDatabaseOperationOptions) (ListByDatabaseCompleteResult, error)
ListByDatabaseComplete retrieves all the results into a single object
func (DatabaseSchemasClient) ListByDatabaseCompleteMatchingPredicate ¶
func (c DatabaseSchemasClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id DatabaseId, options ListByDatabaseOperationOptions, predicate ResourceOperationPredicate) (result ListByDatabaseCompleteResult, err error)
ListByDatabaseCompleteMatchingPredicate retrieves all the results and then applies the predicate
type GetOperationResponse ¶
type ListByDatabaseCompleteResult ¶
type ListByDatabaseCompleteResult struct {
Items []Resource
}
type ListByDatabaseOperationOptions ¶
type ListByDatabaseOperationOptions struct {
Filter *string
}
func DefaultListByDatabaseOperationOptions ¶
func DefaultListByDatabaseOperationOptions() ListByDatabaseOperationOptions
func (ListByDatabaseOperationOptions) ToHeaders ¶
func (o ListByDatabaseOperationOptions) ToHeaders() *client.Headers
func (ListByDatabaseOperationOptions) ToOData ¶
func (o ListByDatabaseOperationOptions) ToOData() *odata.Query
func (ListByDatabaseOperationOptions) ToQuery ¶
func (o ListByDatabaseOperationOptions) ToQuery() *client.QueryParams
type ResourceOperationPredicate ¶
func (ResourceOperationPredicate) Matches ¶
func (p ResourceOperationPredicate) Matches(input Resource) bool
type SchemaId ¶
type SchemaId struct { SubscriptionId string ResourceGroupName string ServerName string DatabaseName string SchemaName string }
SchemaId is a struct representing the Resource ID for a Schema
func NewSchemaID ¶
func NewSchemaID(subscriptionId string, resourceGroupName string, serverName string, databaseName 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) Segments ¶
func (id SchemaId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Schema ID