Documentation ¶
Index ¶
- func PossibleValuesForDayOfWeek() []string
- func ValidateDatabaseID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DatabaseId
- type DayOfWeek
- type GetOperationOptions
- type GetOperationResponse
- type MaintenanceWindowTimeRange
- type MaintenanceWindows
- type MaintenanceWindowsClient
- func (c MaintenanceWindowsClient) CreateOrUpdate(ctx context.Context, id DatabaseId, input MaintenanceWindows, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c MaintenanceWindowsClient) Get(ctx context.Context, id DatabaseId, options GetOperationOptions) (result GetOperationResponse, err error)
- type MaintenanceWindowsProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDayOfWeek ¶
func PossibleValuesForDayOfWeek() []string
func ValidateDatabaseID ¶
ValidateDatabaseID checks that 'input' can be parsed as a Database ID
Types ¶
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
MaintenanceWindowName *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
func (CreateOrUpdateOperationOptions) ToHeaders ¶
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
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 GetOperationOptions ¶
type GetOperationOptions struct {
MaintenanceWindowName *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MaintenanceWindows }
type MaintenanceWindows ¶
type MaintenanceWindows struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *MaintenanceWindowsProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type MaintenanceWindowsClient ¶
type MaintenanceWindowsClient struct {
Client *resourcemanager.Client
}
func NewMaintenanceWindowsClientWithBaseURI ¶
func NewMaintenanceWindowsClientWithBaseURI(sdkApi sdkEnv.Api) (*MaintenanceWindowsClient, error)
func (MaintenanceWindowsClient) CreateOrUpdate ¶
func (c MaintenanceWindowsClient) CreateOrUpdate(ctx context.Context, id DatabaseId, input MaintenanceWindows, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (MaintenanceWindowsClient) Get ¶
func (c MaintenanceWindowsClient) Get(ctx context.Context, id DatabaseId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
type MaintenanceWindowsProperties ¶
type MaintenanceWindowsProperties struct {
TimeRanges *[]MaintenanceWindowTimeRange `json:"timeRanges,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.