Documentation ¶
Index ¶
- func PossibleValuesForLongTermRetentionDatabaseState() []string
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLocationLongTermRetentionServerID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLongTermRetentionBackupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLongTermRetentionDatabaseID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLongTermRetentionDatabaseLongTermRetentionBackupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLongTermRetentionServerID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLongTermRetentionServerLongTermRetentionDatabaseID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProviderLocationID(input interface{}, key string) (warnings []string, errors []error)
- type DeleteByResourceGroupOperationResponse
- type DeleteOperationResponse
- type GetByResourceGroupOperationResponse
- type GetOperationResponse
- type ListByDatabaseCompleteResult
- type ListByDatabaseOperationOptions
- type ListByDatabaseOperationResponse
- type ListByLocationCompleteResult
- type ListByLocationOperationOptions
- type ListByLocationOperationResponse
- type ListByResourceGroupDatabaseCompleteResult
- type ListByResourceGroupDatabaseOperationOptions
- type ListByResourceGroupDatabaseOperationResponse
- type ListByResourceGroupLocationCompleteResult
- type ListByResourceGroupLocationOperationOptions
- type ListByResourceGroupLocationOperationResponse
- type ListByResourceGroupServerCompleteResult
- type ListByResourceGroupServerOperationOptions
- type ListByResourceGroupServerOperationResponse
- type ListByServerCompleteResult
- type ListByServerOperationOptions
- type ListByServerOperationResponse
- type LocationId
- type LocationLongTermRetentionServerId
- func NewLocationLongTermRetentionServerID(subscriptionId string, resourceGroupName string, locationName string, ...) LocationLongTermRetentionServerId
- func ParseLocationLongTermRetentionServerID(input string) (*LocationLongTermRetentionServerId, error)
- func ParseLocationLongTermRetentionServerIDInsensitively(input string) (*LocationLongTermRetentionServerId, error)
- type LongTermRetentionBackup
- type LongTermRetentionBackupId
- func NewLongTermRetentionBackupID(subscriptionId string, locationName string, longTermRetentionServerName string, ...) LongTermRetentionBackupId
- func ParseLongTermRetentionBackupID(input string) (*LongTermRetentionBackupId, error)
- func ParseLongTermRetentionBackupIDInsensitively(input string) (*LongTermRetentionBackupId, error)
- type LongTermRetentionBackupOperationPredicate
- type LongTermRetentionBackupProperties
- func (o *LongTermRetentionBackupProperties) GetBackupExpirationTimeAsTime() (*time.Time, error)
- func (o *LongTermRetentionBackupProperties) GetBackupTimeAsTime() (*time.Time, error)
- func (o *LongTermRetentionBackupProperties) GetDatabaseDeletionTimeAsTime() (*time.Time, error)
- func (o *LongTermRetentionBackupProperties) GetServerCreateTimeAsTime() (*time.Time, error)
- func (o *LongTermRetentionBackupProperties) SetBackupExpirationTimeAsTime(input time.Time)
- func (o *LongTermRetentionBackupProperties) SetBackupTimeAsTime(input time.Time)
- func (o *LongTermRetentionBackupProperties) SetDatabaseDeletionTimeAsTime(input time.Time)
- func (o *LongTermRetentionBackupProperties) SetServerCreateTimeAsTime(input time.Time)
- type LongTermRetentionBackupsClient
- func (c LongTermRetentionBackupsClient) Delete(ctx context.Context, id LongTermRetentionBackupId) (result DeleteOperationResponse, err error)
- func (c LongTermRetentionBackupsClient) DeleteByResourceGroup(ctx context.Context, id LongTermRetentionDatabaseLongTermRetentionBackupId) (result DeleteByResourceGroupOperationResponse, err error)
- func (c LongTermRetentionBackupsClient) DeleteByResourceGroupThenPoll(ctx context.Context, id LongTermRetentionDatabaseLongTermRetentionBackupId) error
- func (c LongTermRetentionBackupsClient) DeleteThenPoll(ctx context.Context, id LongTermRetentionBackupId) error
- func (c LongTermRetentionBackupsClient) Get(ctx context.Context, id LongTermRetentionBackupId) (result GetOperationResponse, err error)
- func (c LongTermRetentionBackupsClient) GetByResourceGroup(ctx context.Context, id LongTermRetentionDatabaseLongTermRetentionBackupId) (result GetByResourceGroupOperationResponse, err error)
- func (c LongTermRetentionBackupsClient) ListByDatabase(ctx context.Context, id LongTermRetentionDatabaseId, ...) (result ListByDatabaseOperationResponse, err error)
- func (c LongTermRetentionBackupsClient) ListByDatabaseComplete(ctx context.Context, id LongTermRetentionDatabaseId, ...) (ListByDatabaseCompleteResult, error)
- func (c LongTermRetentionBackupsClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id LongTermRetentionDatabaseId, ...) (result ListByDatabaseCompleteResult, err error)
- func (c LongTermRetentionBackupsClient) ListByLocation(ctx context.Context, id LocationId, options ListByLocationOperationOptions) (result ListByLocationOperationResponse, err error)
- func (c LongTermRetentionBackupsClient) ListByLocationComplete(ctx context.Context, id LocationId, options ListByLocationOperationOptions) (ListByLocationCompleteResult, error)
- func (c LongTermRetentionBackupsClient) ListByLocationCompleteMatchingPredicate(ctx context.Context, id LocationId, options ListByLocationOperationOptions, ...) (result ListByLocationCompleteResult, err error)
- func (c LongTermRetentionBackupsClient) ListByResourceGroupDatabase(ctx context.Context, id LongTermRetentionServerLongTermRetentionDatabaseId, ...) (result ListByResourceGroupDatabaseOperationResponse, err error)
- func (c LongTermRetentionBackupsClient) ListByResourceGroupDatabaseComplete(ctx context.Context, id LongTermRetentionServerLongTermRetentionDatabaseId, ...) (ListByResourceGroupDatabaseCompleteResult, error)
- func (c LongTermRetentionBackupsClient) ListByResourceGroupDatabaseCompleteMatchingPredicate(ctx context.Context, id LongTermRetentionServerLongTermRetentionDatabaseId, ...) (result ListByResourceGroupDatabaseCompleteResult, err error)
- func (c LongTermRetentionBackupsClient) ListByResourceGroupLocation(ctx context.Context, id ProviderLocationId, ...) (result ListByResourceGroupLocationOperationResponse, err error)
- func (c LongTermRetentionBackupsClient) ListByResourceGroupLocationComplete(ctx context.Context, id ProviderLocationId, ...) (ListByResourceGroupLocationCompleteResult, error)
- func (c LongTermRetentionBackupsClient) ListByResourceGroupLocationCompleteMatchingPredicate(ctx context.Context, id ProviderLocationId, ...) (result ListByResourceGroupLocationCompleteResult, err error)
- func (c LongTermRetentionBackupsClient) ListByResourceGroupServer(ctx context.Context, id LocationLongTermRetentionServerId, ...) (result ListByResourceGroupServerOperationResponse, err error)
- func (c LongTermRetentionBackupsClient) ListByResourceGroupServerComplete(ctx context.Context, id LocationLongTermRetentionServerId, ...) (ListByResourceGroupServerCompleteResult, error)
- func (c LongTermRetentionBackupsClient) ListByResourceGroupServerCompleteMatchingPredicate(ctx context.Context, id LocationLongTermRetentionServerId, ...) (result ListByResourceGroupServerCompleteResult, err error)
- func (c LongTermRetentionBackupsClient) ListByServer(ctx context.Context, id LongTermRetentionServerId, ...) (result ListByServerOperationResponse, err error)
- func (c LongTermRetentionBackupsClient) ListByServerComplete(ctx context.Context, id LongTermRetentionServerId, ...) (ListByServerCompleteResult, error)
- func (c LongTermRetentionBackupsClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id LongTermRetentionServerId, ...) (result ListByServerCompleteResult, err error)
- type LongTermRetentionDatabaseId
- func NewLongTermRetentionDatabaseID(subscriptionId string, locationName string, longTermRetentionServerName string, ...) LongTermRetentionDatabaseId
- func ParseLongTermRetentionDatabaseID(input string) (*LongTermRetentionDatabaseId, error)
- func ParseLongTermRetentionDatabaseIDInsensitively(input string) (*LongTermRetentionDatabaseId, error)
- type LongTermRetentionDatabaseLongTermRetentionBackupId
- func NewLongTermRetentionDatabaseLongTermRetentionBackupID(subscriptionId string, resourceGroupName string, locationName string, ...) LongTermRetentionDatabaseLongTermRetentionBackupId
- func ParseLongTermRetentionDatabaseLongTermRetentionBackupID(input string) (*LongTermRetentionDatabaseLongTermRetentionBackupId, error)
- func ParseLongTermRetentionDatabaseLongTermRetentionBackupIDInsensitively(input string) (*LongTermRetentionDatabaseLongTermRetentionBackupId, error)
- type LongTermRetentionDatabaseState
- type LongTermRetentionServerId
- func NewLongTermRetentionServerID(subscriptionId string, locationName string, longTermRetentionServerName string) LongTermRetentionServerId
- func ParseLongTermRetentionServerID(input string) (*LongTermRetentionServerId, error)
- func ParseLongTermRetentionServerIDInsensitively(input string) (*LongTermRetentionServerId, error)
- type LongTermRetentionServerLongTermRetentionDatabaseId
- func NewLongTermRetentionServerLongTermRetentionDatabaseID(subscriptionId string, resourceGroupName string, locationName string, ...) LongTermRetentionServerLongTermRetentionDatabaseId
- func ParseLongTermRetentionServerLongTermRetentionDatabaseID(input string) (*LongTermRetentionServerLongTermRetentionDatabaseId, error)
- func ParseLongTermRetentionServerLongTermRetentionDatabaseIDInsensitively(input string) (*LongTermRetentionServerLongTermRetentionDatabaseId, error)
- type ProviderLocationId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForLongTermRetentionDatabaseState ¶
func PossibleValuesForLongTermRetentionDatabaseState() []string
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
func ValidateLocationLongTermRetentionServerID ¶
func ValidateLocationLongTermRetentionServerID(input interface{}, key string) (warnings []string, errors []error)
ValidateLocationLongTermRetentionServerID checks that 'input' can be parsed as a Location Long Term Retention Server ID
func ValidateLongTermRetentionBackupID ¶
func ValidateLongTermRetentionBackupID(input interface{}, key string) (warnings []string, errors []error)
ValidateLongTermRetentionBackupID checks that 'input' can be parsed as a Long Term Retention Backup ID
func ValidateLongTermRetentionDatabaseID ¶
func ValidateLongTermRetentionDatabaseID(input interface{}, key string) (warnings []string, errors []error)
ValidateLongTermRetentionDatabaseID checks that 'input' can be parsed as a Long Term Retention Database ID
func ValidateLongTermRetentionDatabaseLongTermRetentionBackupID ¶
func ValidateLongTermRetentionDatabaseLongTermRetentionBackupID(input interface{}, key string) (warnings []string, errors []error)
ValidateLongTermRetentionDatabaseLongTermRetentionBackupID checks that 'input' can be parsed as a Long Term Retention Database Long Term Retention Backup ID
func ValidateLongTermRetentionServerID ¶
func ValidateLongTermRetentionServerID(input interface{}, key string) (warnings []string, errors []error)
ValidateLongTermRetentionServerID checks that 'input' can be parsed as a Long Term Retention Server ID
func ValidateLongTermRetentionServerLongTermRetentionDatabaseID ¶
func ValidateLongTermRetentionServerLongTermRetentionDatabaseID(input interface{}, key string) (warnings []string, errors []error)
ValidateLongTermRetentionServerLongTermRetentionDatabaseID checks that 'input' can be parsed as a Long Term Retention Server Long Term Retention Database ID
func ValidateProviderLocationID ¶
ValidateProviderLocationID checks that 'input' can be parsed as a Provider Location ID
Types ¶
type DeleteOperationResponse ¶
type GetByResourceGroupOperationResponse ¶
type GetByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LongTermRetentionBackup }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LongTermRetentionBackup }
type ListByDatabaseCompleteResult ¶
type ListByDatabaseCompleteResult struct {
Items []LongTermRetentionBackup
}
type ListByDatabaseOperationOptions ¶
type ListByDatabaseOperationOptions struct { DatabaseState *LongTermRetentionDatabaseState OnlyLatestPerDatabase *bool }
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 ListByDatabaseOperationResponse ¶
type ListByDatabaseOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]LongTermRetentionBackup }
type ListByLocationCompleteResult ¶
type ListByLocationCompleteResult struct {
Items []LongTermRetentionBackup
}
type ListByLocationOperationOptions ¶
type ListByLocationOperationOptions struct { DatabaseState *LongTermRetentionDatabaseState OnlyLatestPerDatabase *bool }
func DefaultListByLocationOperationOptions ¶
func DefaultListByLocationOperationOptions() ListByLocationOperationOptions
func (ListByLocationOperationOptions) ToHeaders ¶
func (o ListByLocationOperationOptions) ToHeaders() *client.Headers
func (ListByLocationOperationOptions) ToOData ¶
func (o ListByLocationOperationOptions) ToOData() *odata.Query
func (ListByLocationOperationOptions) ToQuery ¶
func (o ListByLocationOperationOptions) ToQuery() *client.QueryParams
type ListByLocationOperationResponse ¶
type ListByLocationOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]LongTermRetentionBackup }
type ListByResourceGroupDatabaseCompleteResult ¶
type ListByResourceGroupDatabaseCompleteResult struct {
Items []LongTermRetentionBackup
}
type ListByResourceGroupDatabaseOperationOptions ¶
type ListByResourceGroupDatabaseOperationOptions struct { DatabaseState *LongTermRetentionDatabaseState OnlyLatestPerDatabase *bool }
func DefaultListByResourceGroupDatabaseOperationOptions ¶
func DefaultListByResourceGroupDatabaseOperationOptions() ListByResourceGroupDatabaseOperationOptions
func (ListByResourceGroupDatabaseOperationOptions) ToHeaders ¶
func (o ListByResourceGroupDatabaseOperationOptions) ToHeaders() *client.Headers
func (ListByResourceGroupDatabaseOperationOptions) ToOData ¶
func (o ListByResourceGroupDatabaseOperationOptions) ToOData() *odata.Query
func (ListByResourceGroupDatabaseOperationOptions) ToQuery ¶
func (o ListByResourceGroupDatabaseOperationOptions) ToQuery() *client.QueryParams
type ListByResourceGroupDatabaseOperationResponse ¶
type ListByResourceGroupDatabaseOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]LongTermRetentionBackup }
type ListByResourceGroupLocationCompleteResult ¶
type ListByResourceGroupLocationCompleteResult struct {
Items []LongTermRetentionBackup
}
type ListByResourceGroupLocationOperationOptions ¶
type ListByResourceGroupLocationOperationOptions struct { DatabaseState *LongTermRetentionDatabaseState OnlyLatestPerDatabase *bool }
func DefaultListByResourceGroupLocationOperationOptions ¶
func DefaultListByResourceGroupLocationOperationOptions() ListByResourceGroupLocationOperationOptions
func (ListByResourceGroupLocationOperationOptions) ToHeaders ¶
func (o ListByResourceGroupLocationOperationOptions) ToHeaders() *client.Headers
func (ListByResourceGroupLocationOperationOptions) ToOData ¶
func (o ListByResourceGroupLocationOperationOptions) ToOData() *odata.Query
func (ListByResourceGroupLocationOperationOptions) ToQuery ¶
func (o ListByResourceGroupLocationOperationOptions) ToQuery() *client.QueryParams
type ListByResourceGroupLocationOperationResponse ¶
type ListByResourceGroupLocationOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]LongTermRetentionBackup }
type ListByResourceGroupServerCompleteResult ¶
type ListByResourceGroupServerCompleteResult struct {
Items []LongTermRetentionBackup
}
type ListByResourceGroupServerOperationOptions ¶
type ListByResourceGroupServerOperationOptions struct { DatabaseState *LongTermRetentionDatabaseState OnlyLatestPerDatabase *bool }
func DefaultListByResourceGroupServerOperationOptions ¶
func DefaultListByResourceGroupServerOperationOptions() ListByResourceGroupServerOperationOptions
func (ListByResourceGroupServerOperationOptions) ToHeaders ¶
func (o ListByResourceGroupServerOperationOptions) ToHeaders() *client.Headers
func (ListByResourceGroupServerOperationOptions) ToOData ¶
func (o ListByResourceGroupServerOperationOptions) ToOData() *odata.Query
func (ListByResourceGroupServerOperationOptions) ToQuery ¶
func (o ListByResourceGroupServerOperationOptions) ToQuery() *client.QueryParams
type ListByResourceGroupServerOperationResponse ¶
type ListByResourceGroupServerOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]LongTermRetentionBackup }
type ListByServerCompleteResult ¶
type ListByServerCompleteResult struct {
Items []LongTermRetentionBackup
}
type ListByServerOperationOptions ¶
type ListByServerOperationOptions struct { DatabaseState *LongTermRetentionDatabaseState OnlyLatestPerDatabase *bool }
func DefaultListByServerOperationOptions ¶
func DefaultListByServerOperationOptions() ListByServerOperationOptions
func (ListByServerOperationOptions) ToHeaders ¶
func (o ListByServerOperationOptions) ToHeaders() *client.Headers
func (ListByServerOperationOptions) ToOData ¶
func (o ListByServerOperationOptions) ToOData() *odata.Query
func (ListByServerOperationOptions) ToQuery ¶
func (o ListByServerOperationOptions) ToQuery() *client.QueryParams
type ListByServerOperationResponse ¶
type ListByServerOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]LongTermRetentionBackup }
type LocationId ¶
LocationId is a struct representing the Resource ID for a Location
func NewLocationID ¶
func NewLocationID(subscriptionId string, locationName string) LocationId
NewLocationID returns a new LocationId struct
func ParseLocationID ¶
func ParseLocationID(input string) (*LocationId, error)
ParseLocationID parses 'input' into a LocationId
func ParseLocationIDInsensitively ¶
func ParseLocationIDInsensitively(input string) (*LocationId, error)
ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId note: this method should only be used for API response data and not user input
func (LocationId) Segments ¶
func (id LocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Location ID
func (LocationId) String ¶
func (id LocationId) String() string
String returns a human-readable description of this Location ID
type LocationLongTermRetentionServerId ¶
type LocationLongTermRetentionServerId struct { SubscriptionId string ResourceGroupName string LocationName string LongTermRetentionServerName string }
LocationLongTermRetentionServerId is a struct representing the Resource ID for a Location Long Term Retention Server
func NewLocationLongTermRetentionServerID ¶
func NewLocationLongTermRetentionServerID(subscriptionId string, resourceGroupName string, locationName string, longTermRetentionServerName string) LocationLongTermRetentionServerId
NewLocationLongTermRetentionServerID returns a new LocationLongTermRetentionServerId struct
func ParseLocationLongTermRetentionServerID ¶
func ParseLocationLongTermRetentionServerID(input string) (*LocationLongTermRetentionServerId, error)
ParseLocationLongTermRetentionServerID parses 'input' into a LocationLongTermRetentionServerId
func ParseLocationLongTermRetentionServerIDInsensitively ¶
func ParseLocationLongTermRetentionServerIDInsensitively(input string) (*LocationLongTermRetentionServerId, error)
ParseLocationLongTermRetentionServerIDInsensitively parses 'input' case-insensitively into a LocationLongTermRetentionServerId note: this method should only be used for API response data and not user input
func (LocationLongTermRetentionServerId) ID ¶
func (id LocationLongTermRetentionServerId) ID() string
ID returns the formatted Location Long Term Retention Server ID
func (LocationLongTermRetentionServerId) Segments ¶
func (id LocationLongTermRetentionServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Location Long Term Retention Server ID
func (LocationLongTermRetentionServerId) String ¶
func (id LocationLongTermRetentionServerId) String() string
String returns a human-readable description of this Location Long Term Retention Server ID
type LongTermRetentionBackup ¶
type LongTermRetentionBackup struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *LongTermRetentionBackupProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type LongTermRetentionBackupId ¶
type LongTermRetentionBackupId struct { SubscriptionId string LocationName string LongTermRetentionServerName string LongTermRetentionDatabaseName string LongTermRetentionBackupName string }
LongTermRetentionBackupId is a struct representing the Resource ID for a Long Term Retention Backup
func NewLongTermRetentionBackupID ¶
func NewLongTermRetentionBackupID(subscriptionId string, locationName string, longTermRetentionServerName string, longTermRetentionDatabaseName string, longTermRetentionBackupName string) LongTermRetentionBackupId
NewLongTermRetentionBackupID returns a new LongTermRetentionBackupId struct
func ParseLongTermRetentionBackupID ¶
func ParseLongTermRetentionBackupID(input string) (*LongTermRetentionBackupId, error)
ParseLongTermRetentionBackupID parses 'input' into a LongTermRetentionBackupId
func ParseLongTermRetentionBackupIDInsensitively ¶
func ParseLongTermRetentionBackupIDInsensitively(input string) (*LongTermRetentionBackupId, error)
ParseLongTermRetentionBackupIDInsensitively parses 'input' case-insensitively into a LongTermRetentionBackupId note: this method should only be used for API response data and not user input
func (LongTermRetentionBackupId) ID ¶
func (id LongTermRetentionBackupId) ID() string
ID returns the formatted Long Term Retention Backup ID
func (LongTermRetentionBackupId) Segments ¶
func (id LongTermRetentionBackupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Long Term Retention Backup ID
func (LongTermRetentionBackupId) String ¶
func (id LongTermRetentionBackupId) String() string
String returns a human-readable description of this Long Term Retention Backup ID
type LongTermRetentionBackupOperationPredicate ¶
func (LongTermRetentionBackupOperationPredicate) Matches ¶
func (p LongTermRetentionBackupOperationPredicate) Matches(input LongTermRetentionBackup) bool
type LongTermRetentionBackupProperties ¶
type LongTermRetentionBackupProperties struct { BackupExpirationTime *string `json:"backupExpirationTime,omitempty"` BackupTime *string `json:"backupTime,omitempty"` DatabaseDeletionTime *string `json:"databaseDeletionTime,omitempty"` DatabaseName *string `json:"databaseName,omitempty"` ServerCreateTime *string `json:"serverCreateTime,omitempty"` ServerName *string `json:"serverName,omitempty"` }
func (*LongTermRetentionBackupProperties) GetBackupExpirationTimeAsTime ¶
func (o *LongTermRetentionBackupProperties) GetBackupExpirationTimeAsTime() (*time.Time, error)
func (*LongTermRetentionBackupProperties) GetBackupTimeAsTime ¶
func (o *LongTermRetentionBackupProperties) GetBackupTimeAsTime() (*time.Time, error)
func (*LongTermRetentionBackupProperties) GetDatabaseDeletionTimeAsTime ¶
func (o *LongTermRetentionBackupProperties) GetDatabaseDeletionTimeAsTime() (*time.Time, error)
func (*LongTermRetentionBackupProperties) GetServerCreateTimeAsTime ¶
func (o *LongTermRetentionBackupProperties) GetServerCreateTimeAsTime() (*time.Time, error)
func (*LongTermRetentionBackupProperties) SetBackupExpirationTimeAsTime ¶
func (o *LongTermRetentionBackupProperties) SetBackupExpirationTimeAsTime(input time.Time)
func (*LongTermRetentionBackupProperties) SetBackupTimeAsTime ¶
func (o *LongTermRetentionBackupProperties) SetBackupTimeAsTime(input time.Time)
func (*LongTermRetentionBackupProperties) SetDatabaseDeletionTimeAsTime ¶
func (o *LongTermRetentionBackupProperties) SetDatabaseDeletionTimeAsTime(input time.Time)
func (*LongTermRetentionBackupProperties) SetServerCreateTimeAsTime ¶
func (o *LongTermRetentionBackupProperties) SetServerCreateTimeAsTime(input time.Time)
type LongTermRetentionBackupsClient ¶
type LongTermRetentionBackupsClient struct {
Client *resourcemanager.Client
}
func NewLongTermRetentionBackupsClientWithBaseURI ¶
func NewLongTermRetentionBackupsClientWithBaseURI(sdkApi sdkEnv.Api) (*LongTermRetentionBackupsClient, error)
func (LongTermRetentionBackupsClient) Delete ¶
func (c LongTermRetentionBackupsClient) Delete(ctx context.Context, id LongTermRetentionBackupId) (result DeleteOperationResponse, err error)
Delete ...
func (LongTermRetentionBackupsClient) DeleteByResourceGroup ¶
func (c LongTermRetentionBackupsClient) DeleteByResourceGroup(ctx context.Context, id LongTermRetentionDatabaseLongTermRetentionBackupId) (result DeleteByResourceGroupOperationResponse, err error)
DeleteByResourceGroup ...
func (LongTermRetentionBackupsClient) DeleteByResourceGroupThenPoll ¶
func (c LongTermRetentionBackupsClient) DeleteByResourceGroupThenPoll(ctx context.Context, id LongTermRetentionDatabaseLongTermRetentionBackupId) error
DeleteByResourceGroupThenPoll performs DeleteByResourceGroup then polls until it's completed
func (LongTermRetentionBackupsClient) DeleteThenPoll ¶
func (c LongTermRetentionBackupsClient) DeleteThenPoll(ctx context.Context, id LongTermRetentionBackupId) error
DeleteThenPoll performs Delete then polls until it's completed
func (LongTermRetentionBackupsClient) Get ¶
func (c LongTermRetentionBackupsClient) Get(ctx context.Context, id LongTermRetentionBackupId) (result GetOperationResponse, err error)
Get ...
func (LongTermRetentionBackupsClient) GetByResourceGroup ¶
func (c LongTermRetentionBackupsClient) GetByResourceGroup(ctx context.Context, id LongTermRetentionDatabaseLongTermRetentionBackupId) (result GetByResourceGroupOperationResponse, err error)
GetByResourceGroup ...
func (LongTermRetentionBackupsClient) ListByDatabase ¶
func (c LongTermRetentionBackupsClient) ListByDatabase(ctx context.Context, id LongTermRetentionDatabaseId, options ListByDatabaseOperationOptions) (result ListByDatabaseOperationResponse, err error)
ListByDatabase ...
func (LongTermRetentionBackupsClient) ListByDatabaseComplete ¶
func (c LongTermRetentionBackupsClient) ListByDatabaseComplete(ctx context.Context, id LongTermRetentionDatabaseId, options ListByDatabaseOperationOptions) (ListByDatabaseCompleteResult, error)
ListByDatabaseComplete retrieves all the results into a single object
func (LongTermRetentionBackupsClient) ListByDatabaseCompleteMatchingPredicate ¶
func (c LongTermRetentionBackupsClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id LongTermRetentionDatabaseId, options ListByDatabaseOperationOptions, predicate LongTermRetentionBackupOperationPredicate) (result ListByDatabaseCompleteResult, err error)
ListByDatabaseCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (LongTermRetentionBackupsClient) ListByLocation ¶
func (c LongTermRetentionBackupsClient) ListByLocation(ctx context.Context, id LocationId, options ListByLocationOperationOptions) (result ListByLocationOperationResponse, err error)
ListByLocation ...
func (LongTermRetentionBackupsClient) ListByLocationComplete ¶
func (c LongTermRetentionBackupsClient) ListByLocationComplete(ctx context.Context, id LocationId, options ListByLocationOperationOptions) (ListByLocationCompleteResult, error)
ListByLocationComplete retrieves all the results into a single object
func (LongTermRetentionBackupsClient) ListByLocationCompleteMatchingPredicate ¶
func (c LongTermRetentionBackupsClient) ListByLocationCompleteMatchingPredicate(ctx context.Context, id LocationId, options ListByLocationOperationOptions, predicate LongTermRetentionBackupOperationPredicate) (result ListByLocationCompleteResult, err error)
ListByLocationCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (LongTermRetentionBackupsClient) ListByResourceGroupDatabase ¶
func (c LongTermRetentionBackupsClient) ListByResourceGroupDatabase(ctx context.Context, id LongTermRetentionServerLongTermRetentionDatabaseId, options ListByResourceGroupDatabaseOperationOptions) (result ListByResourceGroupDatabaseOperationResponse, err error)
ListByResourceGroupDatabase ...
func (LongTermRetentionBackupsClient) ListByResourceGroupDatabaseComplete ¶
func (c LongTermRetentionBackupsClient) ListByResourceGroupDatabaseComplete(ctx context.Context, id LongTermRetentionServerLongTermRetentionDatabaseId, options ListByResourceGroupDatabaseOperationOptions) (ListByResourceGroupDatabaseCompleteResult, error)
ListByResourceGroupDatabaseComplete retrieves all the results into a single object
func (LongTermRetentionBackupsClient) ListByResourceGroupDatabaseCompleteMatchingPredicate ¶
func (c LongTermRetentionBackupsClient) ListByResourceGroupDatabaseCompleteMatchingPredicate(ctx context.Context, id LongTermRetentionServerLongTermRetentionDatabaseId, options ListByResourceGroupDatabaseOperationOptions, predicate LongTermRetentionBackupOperationPredicate) (result ListByResourceGroupDatabaseCompleteResult, err error)
ListByResourceGroupDatabaseCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (LongTermRetentionBackupsClient) ListByResourceGroupLocation ¶
func (c LongTermRetentionBackupsClient) ListByResourceGroupLocation(ctx context.Context, id ProviderLocationId, options ListByResourceGroupLocationOperationOptions) (result ListByResourceGroupLocationOperationResponse, err error)
ListByResourceGroupLocation ...
func (LongTermRetentionBackupsClient) ListByResourceGroupLocationComplete ¶
func (c LongTermRetentionBackupsClient) ListByResourceGroupLocationComplete(ctx context.Context, id ProviderLocationId, options ListByResourceGroupLocationOperationOptions) (ListByResourceGroupLocationCompleteResult, error)
ListByResourceGroupLocationComplete retrieves all the results into a single object
func (LongTermRetentionBackupsClient) ListByResourceGroupLocationCompleteMatchingPredicate ¶
func (c LongTermRetentionBackupsClient) ListByResourceGroupLocationCompleteMatchingPredicate(ctx context.Context, id ProviderLocationId, options ListByResourceGroupLocationOperationOptions, predicate LongTermRetentionBackupOperationPredicate) (result ListByResourceGroupLocationCompleteResult, err error)
ListByResourceGroupLocationCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (LongTermRetentionBackupsClient) ListByResourceGroupServer ¶
func (c LongTermRetentionBackupsClient) ListByResourceGroupServer(ctx context.Context, id LocationLongTermRetentionServerId, options ListByResourceGroupServerOperationOptions) (result ListByResourceGroupServerOperationResponse, err error)
ListByResourceGroupServer ...
func (LongTermRetentionBackupsClient) ListByResourceGroupServerComplete ¶
func (c LongTermRetentionBackupsClient) ListByResourceGroupServerComplete(ctx context.Context, id LocationLongTermRetentionServerId, options ListByResourceGroupServerOperationOptions) (ListByResourceGroupServerCompleteResult, error)
ListByResourceGroupServerComplete retrieves all the results into a single object
func (LongTermRetentionBackupsClient) ListByResourceGroupServerCompleteMatchingPredicate ¶
func (c LongTermRetentionBackupsClient) ListByResourceGroupServerCompleteMatchingPredicate(ctx context.Context, id LocationLongTermRetentionServerId, options ListByResourceGroupServerOperationOptions, predicate LongTermRetentionBackupOperationPredicate) (result ListByResourceGroupServerCompleteResult, err error)
ListByResourceGroupServerCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (LongTermRetentionBackupsClient) ListByServer ¶
func (c LongTermRetentionBackupsClient) ListByServer(ctx context.Context, id LongTermRetentionServerId, options ListByServerOperationOptions) (result ListByServerOperationResponse, err error)
ListByServer ...
func (LongTermRetentionBackupsClient) ListByServerComplete ¶
func (c LongTermRetentionBackupsClient) ListByServerComplete(ctx context.Context, id LongTermRetentionServerId, options ListByServerOperationOptions) (ListByServerCompleteResult, error)
ListByServerComplete retrieves all the results into a single object
func (LongTermRetentionBackupsClient) ListByServerCompleteMatchingPredicate ¶
func (c LongTermRetentionBackupsClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id LongTermRetentionServerId, options ListByServerOperationOptions, predicate LongTermRetentionBackupOperationPredicate) (result ListByServerCompleteResult, err error)
ListByServerCompleteMatchingPredicate retrieves all the results and then applies the predicate
type LongTermRetentionDatabaseId ¶
type LongTermRetentionDatabaseId struct { SubscriptionId string LocationName string LongTermRetentionServerName string LongTermRetentionDatabaseName string }
LongTermRetentionDatabaseId is a struct representing the Resource ID for a Long Term Retention Database
func NewLongTermRetentionDatabaseID ¶
func NewLongTermRetentionDatabaseID(subscriptionId string, locationName string, longTermRetentionServerName string, longTermRetentionDatabaseName string) LongTermRetentionDatabaseId
NewLongTermRetentionDatabaseID returns a new LongTermRetentionDatabaseId struct
func ParseLongTermRetentionDatabaseID ¶
func ParseLongTermRetentionDatabaseID(input string) (*LongTermRetentionDatabaseId, error)
ParseLongTermRetentionDatabaseID parses 'input' into a LongTermRetentionDatabaseId
func ParseLongTermRetentionDatabaseIDInsensitively ¶
func ParseLongTermRetentionDatabaseIDInsensitively(input string) (*LongTermRetentionDatabaseId, error)
ParseLongTermRetentionDatabaseIDInsensitively parses 'input' case-insensitively into a LongTermRetentionDatabaseId note: this method should only be used for API response data and not user input
func (LongTermRetentionDatabaseId) ID ¶
func (id LongTermRetentionDatabaseId) ID() string
ID returns the formatted Long Term Retention Database ID
func (LongTermRetentionDatabaseId) Segments ¶
func (id LongTermRetentionDatabaseId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Long Term Retention Database ID
func (LongTermRetentionDatabaseId) String ¶
func (id LongTermRetentionDatabaseId) String() string
String returns a human-readable description of this Long Term Retention Database ID
type LongTermRetentionDatabaseLongTermRetentionBackupId ¶
type LongTermRetentionDatabaseLongTermRetentionBackupId struct { SubscriptionId string ResourceGroupName string LocationName string LongTermRetentionServerName string LongTermRetentionDatabaseName string LongTermRetentionBackupName string }
LongTermRetentionDatabaseLongTermRetentionBackupId is a struct representing the Resource ID for a Long Term Retention Database Long Term Retention Backup
func NewLongTermRetentionDatabaseLongTermRetentionBackupID ¶
func NewLongTermRetentionDatabaseLongTermRetentionBackupID(subscriptionId string, resourceGroupName string, locationName string, longTermRetentionServerName string, longTermRetentionDatabaseName string, longTermRetentionBackupName string) LongTermRetentionDatabaseLongTermRetentionBackupId
NewLongTermRetentionDatabaseLongTermRetentionBackupID returns a new LongTermRetentionDatabaseLongTermRetentionBackupId struct
func ParseLongTermRetentionDatabaseLongTermRetentionBackupID ¶
func ParseLongTermRetentionDatabaseLongTermRetentionBackupID(input string) (*LongTermRetentionDatabaseLongTermRetentionBackupId, error)
ParseLongTermRetentionDatabaseLongTermRetentionBackupID parses 'input' into a LongTermRetentionDatabaseLongTermRetentionBackupId
func ParseLongTermRetentionDatabaseLongTermRetentionBackupIDInsensitively ¶
func ParseLongTermRetentionDatabaseLongTermRetentionBackupIDInsensitively(input string) (*LongTermRetentionDatabaseLongTermRetentionBackupId, error)
ParseLongTermRetentionDatabaseLongTermRetentionBackupIDInsensitively parses 'input' case-insensitively into a LongTermRetentionDatabaseLongTermRetentionBackupId note: this method should only be used for API response data and not user input
func (LongTermRetentionDatabaseLongTermRetentionBackupId) ID ¶
func (id LongTermRetentionDatabaseLongTermRetentionBackupId) ID() string
ID returns the formatted Long Term Retention Database Long Term Retention Backup ID
func (LongTermRetentionDatabaseLongTermRetentionBackupId) Segments ¶
func (id LongTermRetentionDatabaseLongTermRetentionBackupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Long Term Retention Database Long Term Retention Backup ID
func (LongTermRetentionDatabaseLongTermRetentionBackupId) String ¶
func (id LongTermRetentionDatabaseLongTermRetentionBackupId) String() string
String returns a human-readable description of this Long Term Retention Database Long Term Retention Backup ID
type LongTermRetentionDatabaseState ¶
type LongTermRetentionDatabaseState string
const ( LongTermRetentionDatabaseStateAll LongTermRetentionDatabaseState = "All" LongTermRetentionDatabaseStateDeleted LongTermRetentionDatabaseState = "Deleted" LongTermRetentionDatabaseStateLive LongTermRetentionDatabaseState = "Live" )
func (*LongTermRetentionDatabaseState) UnmarshalJSON ¶
func (s *LongTermRetentionDatabaseState) UnmarshalJSON(bytes []byte) error
type LongTermRetentionServerId ¶
type LongTermRetentionServerId struct { SubscriptionId string LocationName string LongTermRetentionServerName string }
LongTermRetentionServerId is a struct representing the Resource ID for a Long Term Retention Server
func NewLongTermRetentionServerID ¶
func NewLongTermRetentionServerID(subscriptionId string, locationName string, longTermRetentionServerName string) LongTermRetentionServerId
NewLongTermRetentionServerID returns a new LongTermRetentionServerId struct
func ParseLongTermRetentionServerID ¶
func ParseLongTermRetentionServerID(input string) (*LongTermRetentionServerId, error)
ParseLongTermRetentionServerID parses 'input' into a LongTermRetentionServerId
func ParseLongTermRetentionServerIDInsensitively ¶
func ParseLongTermRetentionServerIDInsensitively(input string) (*LongTermRetentionServerId, error)
ParseLongTermRetentionServerIDInsensitively parses 'input' case-insensitively into a LongTermRetentionServerId note: this method should only be used for API response data and not user input
func (LongTermRetentionServerId) ID ¶
func (id LongTermRetentionServerId) ID() string
ID returns the formatted Long Term Retention Server ID
func (LongTermRetentionServerId) Segments ¶
func (id LongTermRetentionServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Long Term Retention Server ID
func (LongTermRetentionServerId) String ¶
func (id LongTermRetentionServerId) String() string
String returns a human-readable description of this Long Term Retention Server ID
type LongTermRetentionServerLongTermRetentionDatabaseId ¶
type LongTermRetentionServerLongTermRetentionDatabaseId struct { SubscriptionId string ResourceGroupName string LocationName string LongTermRetentionServerName string LongTermRetentionDatabaseName string }
LongTermRetentionServerLongTermRetentionDatabaseId is a struct representing the Resource ID for a Long Term Retention Server Long Term Retention Database
func NewLongTermRetentionServerLongTermRetentionDatabaseID ¶
func NewLongTermRetentionServerLongTermRetentionDatabaseID(subscriptionId string, resourceGroupName string, locationName string, longTermRetentionServerName string, longTermRetentionDatabaseName string) LongTermRetentionServerLongTermRetentionDatabaseId
NewLongTermRetentionServerLongTermRetentionDatabaseID returns a new LongTermRetentionServerLongTermRetentionDatabaseId struct
func ParseLongTermRetentionServerLongTermRetentionDatabaseID ¶
func ParseLongTermRetentionServerLongTermRetentionDatabaseID(input string) (*LongTermRetentionServerLongTermRetentionDatabaseId, error)
ParseLongTermRetentionServerLongTermRetentionDatabaseID parses 'input' into a LongTermRetentionServerLongTermRetentionDatabaseId
func ParseLongTermRetentionServerLongTermRetentionDatabaseIDInsensitively ¶
func ParseLongTermRetentionServerLongTermRetentionDatabaseIDInsensitively(input string) (*LongTermRetentionServerLongTermRetentionDatabaseId, error)
ParseLongTermRetentionServerLongTermRetentionDatabaseIDInsensitively parses 'input' case-insensitively into a LongTermRetentionServerLongTermRetentionDatabaseId note: this method should only be used for API response data and not user input
func (LongTermRetentionServerLongTermRetentionDatabaseId) ID ¶
func (id LongTermRetentionServerLongTermRetentionDatabaseId) ID() string
ID returns the formatted Long Term Retention Server Long Term Retention Database ID
func (LongTermRetentionServerLongTermRetentionDatabaseId) Segments ¶
func (id LongTermRetentionServerLongTermRetentionDatabaseId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Long Term Retention Server Long Term Retention Database ID
func (LongTermRetentionServerLongTermRetentionDatabaseId) String ¶
func (id LongTermRetentionServerLongTermRetentionDatabaseId) String() string
String returns a human-readable description of this Long Term Retention Server Long Term Retention Database ID
type ProviderLocationId ¶
type ProviderLocationId struct { SubscriptionId string ResourceGroupName string LocationName string }
ProviderLocationId is a struct representing the Resource ID for a Provider Location
func NewProviderLocationID ¶
func NewProviderLocationID(subscriptionId string, resourceGroupName string, locationName string) ProviderLocationId
NewProviderLocationID returns a new ProviderLocationId struct
func ParseProviderLocationID ¶
func ParseProviderLocationID(input string) (*ProviderLocationId, error)
ParseProviderLocationID parses 'input' into a ProviderLocationId
func ParseProviderLocationIDInsensitively ¶
func ParseProviderLocationIDInsensitively(input string) (*ProviderLocationId, error)
ParseProviderLocationIDInsensitively parses 'input' case-insensitively into a ProviderLocationId note: this method should only be used for API response data and not user input
func (ProviderLocationId) ID ¶
func (id ProviderLocationId) ID() string
ID returns the formatted Provider Location ID
func (ProviderLocationId) Segments ¶
func (id ProviderLocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Provider Location ID
func (ProviderLocationId) String ¶
func (id ProviderLocationId) String() string
String returns a human-readable description of this Provider Location ID
Source Files ¶
- client.go
- constants.go
- id_location.go
- id_locationlongtermretentionserver.go
- id_longtermretentionbackup.go
- id_longtermretentiondatabase.go
- id_longtermretentiondatabaselongtermretentionbackup.go
- id_longtermretentionserver.go
- id_longtermretentionserverlongtermretentiondatabase.go
- id_providerlocation.go
- method_delete.go
- method_deletebyresourcegroup.go
- method_get.go
- method_getbyresourcegroup.go
- method_listbydatabase.go
- method_listbylocation.go
- method_listbyresourcegroupdatabase.go
- method_listbyresourcegrouplocation.go
- method_listbyresourcegroupserver.go
- method_listbyserver.go
- model_longtermretentionbackup.go
- model_longtermretentionbackupproperties.go
- predicates.go
- version.go