Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForTroubleshootingScenario() []string + func ValidateSqlVirtualMachineID(input interface{}, key string) (warnings []string, errors []error) + type SqlVMTroubleshooting struct + EndTimeUtc *string + Properties *TroubleshootingAdditionalProperties + StartTimeUtc *string + TroubleshootingScenario *TroubleshootingScenario + VirtualMachineResourceId *string + func (o *SqlVMTroubleshooting) GetEndTimeUtcAsTime() (*time.Time, error) + func (o *SqlVMTroubleshooting) GetStartTimeUtcAsTime() (*time.Time, error) + func (o *SqlVMTroubleshooting) SetEndTimeUtcAsTime(input time.Time) + func (o *SqlVMTroubleshooting) SetStartTimeUtcAsTime(input time.Time) + type SqlVirtualMachineId struct + ResourceGroupName string + SqlVirtualMachineName string + SubscriptionId string + func NewSqlVirtualMachineID(subscriptionId string, resourceGroupName string, sqlVirtualMachineName string) SqlVirtualMachineId + func ParseSqlVirtualMachineID(input string) (*SqlVirtualMachineId, error) + func ParseSqlVirtualMachineIDInsensitively(input string) (*SqlVirtualMachineId, error) + func (id *SqlVirtualMachineId) FromParseResult(input resourceids.ParseResult) error + func (id SqlVirtualMachineId) ID() string + func (id SqlVirtualMachineId) Segments() []resourceids.Segment + func (id SqlVirtualMachineId) String() string + type SqlVirtualMachineTroubleshootClient struct + Client *resourcemanager.Client + func NewSqlVirtualMachineTroubleshootClientWithBaseURI(sdkApi sdkEnv.Api) (*SqlVirtualMachineTroubleshootClient, error) + func (c SqlVirtualMachineTroubleshootClient) Troubleshoot(ctx context.Context, id SqlVirtualMachineId, input SqlVMTroubleshooting) (result TroubleshootOperationResponse, err error) + func (c SqlVirtualMachineTroubleshootClient) TroubleshootThenPoll(ctx context.Context, id SqlVirtualMachineId, input SqlVMTroubleshooting) error + type TroubleshootOperationResponse struct + HttpResponse *http.Response + Model *SqlVMTroubleshooting + OData *odata.OData + Poller pollers.Poller + type TroubleshootingAdditionalProperties struct + UnhealthyReplicaInfo *UnhealthyReplicaInfo + type TroubleshootingScenario string + const TroubleshootingScenarioUnhealthyReplica + func (s *TroubleshootingScenario) UnmarshalJSON(bytes []byte) error + type UnhealthyReplicaInfo struct + AvailabilityGroupName *string