Documentation ¶
Index ¶
- func PossibleValuesForBackupStorageRedundancy() []string
- func PossibleValuesForDatabaseState() []string
- func PossibleValuesForRequestedBackupStorageRedundancy() []string
- func PossibleValuesForTargetBackupStorageRedundancy() []string
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLocationLongTermRetentionServerID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLocationLongTermRetentionServerLongTermRetentionDatabaseID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLongTermRetentionBackupID(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 BackupStorageRedundancy
- type CopyByResourceGroupOperationResponse
- type CopyLongTermRetentionBackupParameters
- type CopyLongTermRetentionBackupParametersProperties
- type CopyOperationResponse
- type DatabaseState
- 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 LocationLongTermRetentionServerLongTermRetentionDatabaseId
- func NewLocationLongTermRetentionServerLongTermRetentionDatabaseID(subscriptionId string, resourceGroupName string, locationName string, ...) LocationLongTermRetentionServerLongTermRetentionDatabaseId
- func ParseLocationLongTermRetentionServerLongTermRetentionDatabaseID(input string) (*LocationLongTermRetentionServerLongTermRetentionDatabaseId, error)
- func ParseLocationLongTermRetentionServerLongTermRetentionDatabaseIDInsensitively(input string) (*LocationLongTermRetentionServerLongTermRetentionDatabaseId, 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 LongTermRetentionBackupOperationResult
- 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) Copy(ctx context.Context, id LongTermRetentionBackupId, ...) (result CopyOperationResponse, err error)
- func (c LongTermRetentionBackupsClient) CopyByResourceGroup(ctx context.Context, id LongTermRetentionDatabaseLongTermRetentionBackupId, ...) (result CopyByResourceGroupOperationResponse, err error)
- func (c LongTermRetentionBackupsClient) CopyByResourceGroupThenPoll(ctx context.Context, id LongTermRetentionDatabaseLongTermRetentionBackupId, ...) error
- func (c LongTermRetentionBackupsClient) CopyThenPoll(ctx context.Context, id LongTermRetentionBackupId, ...) error
- 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 LongTermRetentionServerLongTermRetentionDatabaseId, ...) (result ListByDatabaseOperationResponse, err error)
- func (c LongTermRetentionBackupsClient) ListByDatabaseComplete(ctx context.Context, id LongTermRetentionServerLongTermRetentionDatabaseId, ...) (ListByDatabaseCompleteResult, error)
- func (c LongTermRetentionBackupsClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id LongTermRetentionServerLongTermRetentionDatabaseId, ...) (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, ...) (result ListByResourceGroupDatabaseOperationResponse, err error)
- func (c LongTermRetentionBackupsClient) ListByResourceGroupDatabaseComplete(ctx context.Context, ...) (ListByResourceGroupDatabaseCompleteResult, error)
- func (c LongTermRetentionBackupsClient) ListByResourceGroupDatabaseCompleteMatchingPredicate(ctx context.Context, ...) (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)
- func (c LongTermRetentionBackupsClient) Update(ctx context.Context, id LongTermRetentionBackupId, ...) (result UpdateOperationResponse, err error)
- func (c LongTermRetentionBackupsClient) UpdateByResourceGroup(ctx context.Context, id LongTermRetentionDatabaseLongTermRetentionBackupId, ...) (result UpdateByResourceGroupOperationResponse, err error)
- func (c LongTermRetentionBackupsClient) UpdateByResourceGroupThenPoll(ctx context.Context, id LongTermRetentionDatabaseLongTermRetentionBackupId, ...) error
- func (c LongTermRetentionBackupsClient) UpdateThenPoll(ctx context.Context, id LongTermRetentionBackupId, ...) 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 LongTermRetentionOperationResultProperties
- 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, locationName string, longTermRetentionServerName string, ...) LongTermRetentionServerLongTermRetentionDatabaseId
- func ParseLongTermRetentionServerLongTermRetentionDatabaseID(input string) (*LongTermRetentionServerLongTermRetentionDatabaseId, error)
- func ParseLongTermRetentionServerLongTermRetentionDatabaseIDInsensitively(input string) (*LongTermRetentionServerLongTermRetentionDatabaseId, error)
- type ProviderLocationId
- type RequestedBackupStorageRedundancy
- type TargetBackupStorageRedundancy
- type UpdateByResourceGroupOperationResponse
- type UpdateLongTermRetentionBackupParameters
- type UpdateLongTermRetentionBackupParametersProperties
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForBackupStorageRedundancy ¶
func PossibleValuesForBackupStorageRedundancy() []string
func PossibleValuesForDatabaseState ¶
func PossibleValuesForDatabaseState() []string
func PossibleValuesForRequestedBackupStorageRedundancy ¶
func PossibleValuesForRequestedBackupStorageRedundancy() []string
func PossibleValuesForTargetBackupStorageRedundancy ¶
func PossibleValuesForTargetBackupStorageRedundancy() []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 ValidateLocationLongTermRetentionServerLongTermRetentionDatabaseID ¶
func ValidateLocationLongTermRetentionServerLongTermRetentionDatabaseID(input interface{}, key string) (warnings []string, errors []error)
ValidateLocationLongTermRetentionServerLongTermRetentionDatabaseID checks that 'input' can be parsed as a Location Long Term Retention Server Long Term Retention Database 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 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 BackupStorageRedundancy ¶
type BackupStorageRedundancy string
const ( BackupStorageRedundancyGeo BackupStorageRedundancy = "Geo" BackupStorageRedundancyLocal BackupStorageRedundancy = "Local" BackupStorageRedundancyZone BackupStorageRedundancy = "Zone" )
func (*BackupStorageRedundancy) UnmarshalJSON ¶
func (s *BackupStorageRedundancy) UnmarshalJSON(bytes []byte) error
type CopyLongTermRetentionBackupParameters ¶
type CopyLongTermRetentionBackupParameters struct {
Properties *CopyLongTermRetentionBackupParametersProperties `json:"properties,omitempty"`
}
type CopyLongTermRetentionBackupParametersProperties ¶
type CopyLongTermRetentionBackupParametersProperties struct { TargetBackupStorageRedundancy *TargetBackupStorageRedundancy `json:"targetBackupStorageRedundancy,omitempty"` TargetDatabaseName *string `json:"targetDatabaseName,omitempty"` TargetResourceGroup *string `json:"targetResourceGroup,omitempty"` TargetServerFullyQualifiedDomainName *string `json:"targetServerFullyQualifiedDomainName,omitempty"` TargetServerResourceId *string `json:"targetServerResourceId,omitempty"` TargetSubscriptionId *string `json:"targetSubscriptionId,omitempty"` }
type CopyOperationResponse ¶
type DatabaseState ¶
type DatabaseState string
const ( DatabaseStateAll DatabaseState = "All" DatabaseStateDeleted DatabaseState = "Deleted" DatabaseStateLive DatabaseState = "Live" )
func (*DatabaseState) UnmarshalJSON ¶
func (s *DatabaseState) UnmarshalJSON(bytes []byte) error
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 *DatabaseState 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 *DatabaseState 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 *DatabaseState 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 *DatabaseState 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 *DatabaseState 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 *DatabaseState 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 LocationLongTermRetentionServerLongTermRetentionDatabaseId ¶
type LocationLongTermRetentionServerLongTermRetentionDatabaseId struct { SubscriptionId string ResourceGroupName string LocationName string LongTermRetentionServerName string LongTermRetentionDatabaseName string }
LocationLongTermRetentionServerLongTermRetentionDatabaseId is a struct representing the Resource ID for a Location Long Term Retention Server Long Term Retention Database
func NewLocationLongTermRetentionServerLongTermRetentionDatabaseID ¶
func NewLocationLongTermRetentionServerLongTermRetentionDatabaseID(subscriptionId string, resourceGroupName string, locationName string, longTermRetentionServerName string, longTermRetentionDatabaseName string) LocationLongTermRetentionServerLongTermRetentionDatabaseId
NewLocationLongTermRetentionServerLongTermRetentionDatabaseID returns a new LocationLongTermRetentionServerLongTermRetentionDatabaseId struct
func ParseLocationLongTermRetentionServerLongTermRetentionDatabaseID ¶
func ParseLocationLongTermRetentionServerLongTermRetentionDatabaseID(input string) (*LocationLongTermRetentionServerLongTermRetentionDatabaseId, error)
ParseLocationLongTermRetentionServerLongTermRetentionDatabaseID parses 'input' into a LocationLongTermRetentionServerLongTermRetentionDatabaseId
func ParseLocationLongTermRetentionServerLongTermRetentionDatabaseIDInsensitively ¶
func ParseLocationLongTermRetentionServerLongTermRetentionDatabaseIDInsensitively(input string) (*LocationLongTermRetentionServerLongTermRetentionDatabaseId, error)
ParseLocationLongTermRetentionServerLongTermRetentionDatabaseIDInsensitively parses 'input' case-insensitively into a LocationLongTermRetentionServerLongTermRetentionDatabaseId note: this method should only be used for API response data and not user input
func (LocationLongTermRetentionServerLongTermRetentionDatabaseId) ID ¶
func (id LocationLongTermRetentionServerLongTermRetentionDatabaseId) ID() string
ID returns the formatted Location Long Term Retention Server Long Term Retention Database ID
func (LocationLongTermRetentionServerLongTermRetentionDatabaseId) Segments ¶
func (id LocationLongTermRetentionServerLongTermRetentionDatabaseId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Location Long Term Retention Server Long Term Retention Database ID
func (LocationLongTermRetentionServerLongTermRetentionDatabaseId) String ¶
func (id LocationLongTermRetentionServerLongTermRetentionDatabaseId) String() string
String returns a human-readable description of this Location Long Term Retention Server Long Term Retention Database 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 LongTermRetentionBackupOperationResult ¶
type LongTermRetentionBackupOperationResult struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *LongTermRetentionOperationResultProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type LongTermRetentionBackupProperties ¶
type LongTermRetentionBackupProperties struct { BackupExpirationTime *string `json:"backupExpirationTime,omitempty"` BackupStorageRedundancy *BackupStorageRedundancy `json:"backupStorageRedundancy,omitempty"` BackupTime *string `json:"backupTime,omitempty"` DatabaseDeletionTime *string `json:"databaseDeletionTime,omitempty"` DatabaseName *string `json:"databaseName,omitempty"` RequestedBackupStorageRedundancy *BackupStorageRedundancy `json:"requestedBackupStorageRedundancy,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) Copy ¶
func (c LongTermRetentionBackupsClient) Copy(ctx context.Context, id LongTermRetentionBackupId, input CopyLongTermRetentionBackupParameters) (result CopyOperationResponse, err error)
Copy ...
func (LongTermRetentionBackupsClient) CopyByResourceGroup ¶
func (c LongTermRetentionBackupsClient) CopyByResourceGroup(ctx context.Context, id LongTermRetentionDatabaseLongTermRetentionBackupId, input CopyLongTermRetentionBackupParameters) (result CopyByResourceGroupOperationResponse, err error)
CopyByResourceGroup ...
func (LongTermRetentionBackupsClient) CopyByResourceGroupThenPoll ¶
func (c LongTermRetentionBackupsClient) CopyByResourceGroupThenPoll(ctx context.Context, id LongTermRetentionDatabaseLongTermRetentionBackupId, input CopyLongTermRetentionBackupParameters) error
CopyByResourceGroupThenPoll performs CopyByResourceGroup then polls until it's completed
func (LongTermRetentionBackupsClient) CopyThenPoll ¶
func (c LongTermRetentionBackupsClient) CopyThenPoll(ctx context.Context, id LongTermRetentionBackupId, input CopyLongTermRetentionBackupParameters) error
CopyThenPoll performs Copy then polls until it's completed
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 LongTermRetentionServerLongTermRetentionDatabaseId, options ListByDatabaseOperationOptions) (result ListByDatabaseOperationResponse, err error)
ListByDatabase ...
func (LongTermRetentionBackupsClient) ListByDatabaseComplete ¶
func (c LongTermRetentionBackupsClient) ListByDatabaseComplete(ctx context.Context, id LongTermRetentionServerLongTermRetentionDatabaseId, options ListByDatabaseOperationOptions) (ListByDatabaseCompleteResult, error)
ListByDatabaseComplete retrieves all the results into a single object
func (LongTermRetentionBackupsClient) ListByDatabaseCompleteMatchingPredicate ¶
func (c LongTermRetentionBackupsClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id LongTermRetentionServerLongTermRetentionDatabaseId, 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 LocationLongTermRetentionServerLongTermRetentionDatabaseId, options ListByResourceGroupDatabaseOperationOptions) (result ListByResourceGroupDatabaseOperationResponse, err error)
ListByResourceGroupDatabase ...
func (LongTermRetentionBackupsClient) ListByResourceGroupDatabaseComplete ¶
func (c LongTermRetentionBackupsClient) ListByResourceGroupDatabaseComplete(ctx context.Context, id LocationLongTermRetentionServerLongTermRetentionDatabaseId, options ListByResourceGroupDatabaseOperationOptions) (ListByResourceGroupDatabaseCompleteResult, error)
ListByResourceGroupDatabaseComplete retrieves all the results into a single object
func (LongTermRetentionBackupsClient) ListByResourceGroupDatabaseCompleteMatchingPredicate ¶
func (c LongTermRetentionBackupsClient) ListByResourceGroupDatabaseCompleteMatchingPredicate(ctx context.Context, id LocationLongTermRetentionServerLongTermRetentionDatabaseId, 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
func (LongTermRetentionBackupsClient) Update ¶
func (c LongTermRetentionBackupsClient) Update(ctx context.Context, id LongTermRetentionBackupId, input UpdateLongTermRetentionBackupParameters) (result UpdateOperationResponse, err error)
Update ...
func (LongTermRetentionBackupsClient) UpdateByResourceGroup ¶
func (c LongTermRetentionBackupsClient) UpdateByResourceGroup(ctx context.Context, id LongTermRetentionDatabaseLongTermRetentionBackupId, input UpdateLongTermRetentionBackupParameters) (result UpdateByResourceGroupOperationResponse, err error)
UpdateByResourceGroup ...
func (LongTermRetentionBackupsClient) UpdateByResourceGroupThenPoll ¶
func (c LongTermRetentionBackupsClient) UpdateByResourceGroupThenPoll(ctx context.Context, id LongTermRetentionDatabaseLongTermRetentionBackupId, input UpdateLongTermRetentionBackupParameters) error
UpdateByResourceGroupThenPoll performs UpdateByResourceGroup then polls until it's completed
func (LongTermRetentionBackupsClient) UpdateThenPoll ¶
func (c LongTermRetentionBackupsClient) UpdateThenPoll(ctx context.Context, id LongTermRetentionBackupId, input UpdateLongTermRetentionBackupParameters) error
UpdateThenPoll performs Update then polls until it's completed
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 LongTermRetentionOperationResultProperties ¶
type LongTermRetentionOperationResultProperties struct { FromBackupResourceId *string `json:"fromBackupResourceId,omitempty"` Message *string `json:"message,omitempty"` OperationType *string `json:"operationType,omitempty"` RequestId *string `json:"requestId,omitempty"` Status *string `json:"status,omitempty"` TargetBackupStorageRedundancy *BackupStorageRedundancy `json:"targetBackupStorageRedundancy,omitempty"` ToBackupResourceId *string `json:"toBackupResourceId,omitempty"` }
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 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, 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
type RequestedBackupStorageRedundancy ¶
type RequestedBackupStorageRedundancy string
const ( RequestedBackupStorageRedundancyGeo RequestedBackupStorageRedundancy = "Geo" RequestedBackupStorageRedundancyLocal RequestedBackupStorageRedundancy = "Local" RequestedBackupStorageRedundancyZone RequestedBackupStorageRedundancy = "Zone" )
func (*RequestedBackupStorageRedundancy) UnmarshalJSON ¶
func (s *RequestedBackupStorageRedundancy) UnmarshalJSON(bytes []byte) error
type TargetBackupStorageRedundancy ¶
type TargetBackupStorageRedundancy string
const ( TargetBackupStorageRedundancyGeo TargetBackupStorageRedundancy = "Geo" TargetBackupStorageRedundancyLocal TargetBackupStorageRedundancy = "Local" TargetBackupStorageRedundancyZone TargetBackupStorageRedundancy = "Zone" )
func (*TargetBackupStorageRedundancy) UnmarshalJSON ¶
func (s *TargetBackupStorageRedundancy) UnmarshalJSON(bytes []byte) error
type UpdateLongTermRetentionBackupParameters ¶
type UpdateLongTermRetentionBackupParameters struct {
Properties *UpdateLongTermRetentionBackupParametersProperties `json:"properties,omitempty"`
}
type UpdateLongTermRetentionBackupParametersProperties ¶
type UpdateLongTermRetentionBackupParametersProperties struct {
RequestedBackupStorageRedundancy *RequestedBackupStorageRedundancy `json:"requestedBackupStorageRedundancy,omitempty"`
}
Source Files ¶
- client.go
- constants.go
- id_location.go
- id_locationlongtermretentionserver.go
- id_locationlongtermretentionserverlongtermretentiondatabase.go
- id_longtermretentionbackup.go
- id_longtermretentiondatabaselongtermretentionbackup.go
- id_longtermretentionserver.go
- id_longtermretentionserverlongtermretentiondatabase.go
- id_providerlocation.go
- method_copy.go
- method_copybyresourcegroup.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
- method_update.go
- method_updatebyresourcegroup.go
- model_copylongtermretentionbackupparameters.go
- model_copylongtermretentionbackupparametersproperties.go
- model_longtermretentionbackup.go
- model_longtermretentionbackupoperationresult.go
- model_longtermretentionbackupproperties.go
- model_longtermretentionoperationresultproperties.go
- model_updatelongtermretentionbackupparameters.go
- model_updatelongtermretentionbackupparametersproperties.go
- predicates.go
- version.go