Documentation ¶
Index ¶
- func PossibleValuesForTroubleshootingScenario() []string
- func ValidateSqlVirtualMachineID(input interface{}, key string) (warnings []string, errors []error)
- type SqlVMTroubleshooting
- type SqlVirtualMachineId
- type SqlVirtualMachineTroubleshootClient
- 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
- type TroubleshootingAdditionalProperties
- type TroubleshootingScenario
- type UnhealthyReplicaInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForTroubleshootingScenario ¶
func PossibleValuesForTroubleshootingScenario() []string
func ValidateSqlVirtualMachineID ¶
ValidateSqlVirtualMachineID checks that 'input' can be parsed as a Sql Virtual Machine ID
Types ¶
type SqlVMTroubleshooting ¶
type SqlVMTroubleshooting struct { EndTimeUtc *string `json:"endTimeUtc,omitempty"` Properties *TroubleshootingAdditionalProperties `json:"properties,omitempty"` StartTimeUtc *string `json:"startTimeUtc,omitempty"` TroubleshootingScenario *TroubleshootingScenario `json:"troubleshootingScenario,omitempty"` VirtualMachineResourceId *string `json:"virtualMachineResourceId,omitempty"` }
func (*SqlVMTroubleshooting) GetEndTimeUtcAsTime ¶
func (o *SqlVMTroubleshooting) GetEndTimeUtcAsTime() (*time.Time, error)
func (*SqlVMTroubleshooting) GetStartTimeUtcAsTime ¶
func (o *SqlVMTroubleshooting) GetStartTimeUtcAsTime() (*time.Time, error)
func (*SqlVMTroubleshooting) SetEndTimeUtcAsTime ¶
func (o *SqlVMTroubleshooting) SetEndTimeUtcAsTime(input time.Time)
func (*SqlVMTroubleshooting) SetStartTimeUtcAsTime ¶
func (o *SqlVMTroubleshooting) SetStartTimeUtcAsTime(input time.Time)
type SqlVirtualMachineId ¶
type SqlVirtualMachineId struct { SubscriptionId string ResourceGroupName string SqlVirtualMachineName string }
SqlVirtualMachineId is a struct representing the Resource ID for a Sql Virtual Machine
func NewSqlVirtualMachineID ¶
func NewSqlVirtualMachineID(subscriptionId string, resourceGroupName string, sqlVirtualMachineName string) SqlVirtualMachineId
NewSqlVirtualMachineID returns a new SqlVirtualMachineId struct
func ParseSqlVirtualMachineID ¶
func ParseSqlVirtualMachineID(input string) (*SqlVirtualMachineId, error)
ParseSqlVirtualMachineID parses 'input' into a SqlVirtualMachineId
func ParseSqlVirtualMachineIDInsensitively ¶
func ParseSqlVirtualMachineIDInsensitively(input string) (*SqlVirtualMachineId, error)
ParseSqlVirtualMachineIDInsensitively parses 'input' case-insensitively into a SqlVirtualMachineId note: this method should only be used for API response data and not user input
func (*SqlVirtualMachineId) FromParseResult ¶
func (id *SqlVirtualMachineId) FromParseResult(input resourceids.ParseResult) error
func (SqlVirtualMachineId) ID ¶
func (id SqlVirtualMachineId) ID() string
ID returns the formatted Sql Virtual Machine ID
func (SqlVirtualMachineId) Segments ¶
func (id SqlVirtualMachineId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Sql Virtual Machine ID
func (SqlVirtualMachineId) String ¶
func (id SqlVirtualMachineId) String() string
String returns a human-readable description of this Sql Virtual Machine ID
type SqlVirtualMachineTroubleshootClient ¶
type SqlVirtualMachineTroubleshootClient struct {
Client *resourcemanager.Client
}
func NewSqlVirtualMachineTroubleshootClientWithBaseURI ¶
func NewSqlVirtualMachineTroubleshootClientWithBaseURI(sdkApi sdkEnv.Api) (*SqlVirtualMachineTroubleshootClient, error)
func (SqlVirtualMachineTroubleshootClient) Troubleshoot ¶
func (c SqlVirtualMachineTroubleshootClient) Troubleshoot(ctx context.Context, id SqlVirtualMachineId, input SqlVMTroubleshooting) (result TroubleshootOperationResponse, err error)
Troubleshoot ...
func (SqlVirtualMachineTroubleshootClient) TroubleshootThenPoll ¶
func (c SqlVirtualMachineTroubleshootClient) TroubleshootThenPoll(ctx context.Context, id SqlVirtualMachineId, input SqlVMTroubleshooting) error
TroubleshootThenPoll performs Troubleshoot then polls until it's completed
type TroubleshootingAdditionalProperties ¶
type TroubleshootingAdditionalProperties struct {
UnhealthyReplicaInfo *UnhealthyReplicaInfo `json:"unhealthyReplicaInfo,omitempty"`
}
type TroubleshootingScenario ¶
type TroubleshootingScenario string
const (
TroubleshootingScenarioUnhealthyReplica TroubleshootingScenario = "UnhealthyReplica"
)
func (*TroubleshootingScenario) UnmarshalJSON ¶
func (s *TroubleshootingScenario) UnmarshalJSON(bytes []byte) error
type UnhealthyReplicaInfo ¶
type UnhealthyReplicaInfo struct {
AvailabilityGroupName *string `json:"availabilityGroupName,omitempty"`
}