Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateServerID ¶
ValidateServerID checks that 'input' can be parsed as a Server ID
Types ¶
type ServerId ¶
ServerId is a struct representing the Resource ID for a Server
func NewServerID ¶
NewServerID returns a new ServerId struct
func ParseServerID ¶
ParseServerID parses 'input' into a ServerId
func ParseServerIDInsensitively ¶
ParseServerIDInsensitively parses 'input' case-insensitively into a ServerId note: this method should only be used for API response data and not user input
func (ServerId) Segments ¶
func (id ServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Server ID
type ServerRestartClient ¶
type ServerRestartClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewServerRestartClientWithBaseURI ¶
func NewServerRestartClientWithBaseURI(endpoint string) ServerRestartClient
func (ServerRestartClient) ServersRestart ¶
func (c ServerRestartClient) ServersRestart(ctx context.Context, id ServerId) (result ServersRestartOperationResponse, err error)
ServersRestart ...
func (ServerRestartClient) ServersRestartThenPoll ¶
func (c ServerRestartClient) ServersRestartThenPoll(ctx context.Context, id ServerId) error
ServersRestartThenPoll performs ServersRestart then polls until it's completed
type ServersRestartOperationResponse ¶
type ServersRestartOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
Click to show internal directories.
Click to hide internal directories.