azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/serialconsole/mgmt/2018-05-01/serialconsole Index | Files | Directories

package serialconsole

import "github.com/Azure/azure-sdk-for-go/services/serialconsole/mgmt/2018-05-01/serialconsole"

Package serialconsole implements the Azure ARM Serialconsole service API version 2018-05-01.

Azure Virtual Machine Serial Console allows you to access serial console of a Virtual Machine

Index

Package Files

client.go console.go list.go listconsole.go models.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Serialconsole
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent Uses

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version Uses

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type BaseClient Uses

type BaseClient struct {
    autorest.Client
    BaseURI        string
    SubscriptionID string
}

BaseClient is the base client for Serialconsole.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type ConsoleClient Uses

type ConsoleClient struct {
    BaseClient
}

ConsoleClient is the azure Virtual Machine Serial Console allows you to access serial console of a Virtual Machine

func NewConsoleClient Uses

func NewConsoleClient(subscriptionID string) ConsoleClient

NewConsoleClient creates an instance of the ConsoleClient client.

func NewConsoleClientWithBaseURI Uses

func NewConsoleClientWithBaseURI(baseURI string, subscriptionID string) ConsoleClient

NewConsoleClientWithBaseURI creates an instance of the ConsoleClient client.

func (ConsoleClient) DisableConsole Uses

func (client ConsoleClient) DisableConsole(ctx context.Context) (result SetDisabledResult, err error)

DisableConsole disables Serial Console for a subscription

func (ConsoleClient) DisableConsolePreparer Uses

func (client ConsoleClient) DisableConsolePreparer(ctx context.Context) (*http.Request, error)

DisableConsolePreparer prepares the DisableConsole request.

func (ConsoleClient) DisableConsoleResponder Uses

func (client ConsoleClient) DisableConsoleResponder(resp *http.Response) (result SetDisabledResult, err error)

DisableConsoleResponder handles the response to the DisableConsole request. The method always closes the http.Response Body.

func (ConsoleClient) DisableConsoleSender Uses

func (client ConsoleClient) DisableConsoleSender(req *http.Request) (*http.Response, error)

DisableConsoleSender sends the DisableConsole request. The method will close the http.Response Body if it receives an error.

func (ConsoleClient) EnableConsole Uses

func (client ConsoleClient) EnableConsole(ctx context.Context) (result SetDisabledResult, err error)

EnableConsole enables Serial Console for a subscription

func (ConsoleClient) EnableConsolePreparer Uses

func (client ConsoleClient) EnableConsolePreparer(ctx context.Context) (*http.Request, error)

EnableConsolePreparer prepares the EnableConsole request.

func (ConsoleClient) EnableConsoleResponder Uses

func (client ConsoleClient) EnableConsoleResponder(resp *http.Response) (result SetDisabledResult, err error)

EnableConsoleResponder handles the response to the EnableConsole request. The method always closes the http.Response Body.

func (ConsoleClient) EnableConsoleSender Uses

func (client ConsoleClient) EnableConsoleSender(req *http.Request) (*http.Response, error)

EnableConsoleSender sends the EnableConsole request. The method will close the http.Response Body if it receives an error.

type DeploymentValidateResult Uses

type DeploymentValidateResult struct {
    // ErrorMessage - Error message
    ErrorMessage *string `json:"errorMessage,omitempty"`
}

DeploymentValidateResult details on Failure

type GetDisabledResult Uses

type GetDisabledResult struct {
    autorest.Response `json:"-"`
    // Disabled - Disabled result
    Disabled *bool `json:"disabled,omitempty"`
}

GetDisabledResult returns whether or not Serial Console is disabled for this given subscription

type GetResult Uses

type GetResult struct {
    // Value - Whether or not Serial Console is disabled.
    Value *bool `json:"value,omitempty"`
}

GetResult returns whether or not Serial Console is disabled.

type ListClient Uses

type ListClient struct {
    BaseClient
}

ListClient is the azure Virtual Machine Serial Console allows you to access serial console of a Virtual Machine

func NewListClient Uses

func NewListClient(subscriptionID string) ListClient

NewListClient creates an instance of the ListClient client.

func NewListClientWithBaseURI Uses

func NewListClientWithBaseURI(baseURI string, subscriptionID string) ListClient

NewListClientWithBaseURI creates an instance of the ListClient client.

func (ListClient) Operations Uses

func (client ListClient) Operations(ctx context.Context) (result Operations, err error)

Operations gets a list of Serial Console API operations.

func (ListClient) OperationsPreparer Uses

func (client ListClient) OperationsPreparer(ctx context.Context) (*http.Request, error)

OperationsPreparer prepares the Operations request.

func (ListClient) OperationsResponder Uses

func (client ListClient) OperationsResponder(resp *http.Response) (result Operations, err error)

OperationsResponder handles the response to the Operations request. The method always closes the http.Response Body.

func (ListClient) OperationsSender Uses

func (client ListClient) OperationsSender(req *http.Request) (*http.Response, error)

OperationsSender sends the Operations request. The method will close the http.Response Body if it receives an error.

type ListConsoleClient Uses

type ListConsoleClient struct {
    BaseClient
}

ListConsoleClient is the azure Virtual Machine Serial Console allows you to access serial console of a Virtual Machine

func NewListConsoleClient Uses

func NewListConsoleClient(subscriptionID string) ListConsoleClient

NewListConsoleClient creates an instance of the ListConsoleClient client.

func NewListConsoleClientWithBaseURI Uses

func NewListConsoleClientWithBaseURI(baseURI string, subscriptionID string) ListConsoleClient

NewListConsoleClientWithBaseURI creates an instance of the ListConsoleClient client.

func (ListConsoleClient) Disabled Uses

func (client ListConsoleClient) Disabled(ctx context.Context) (result GetDisabledResult, err error)

Disabled gets if Serial Console is disabled for a subscription.

func (ListConsoleClient) DisabledPreparer Uses

func (client ListConsoleClient) DisabledPreparer(ctx context.Context) (*http.Request, error)

DisabledPreparer prepares the Disabled request.

func (ListConsoleClient) DisabledResponder Uses

func (client ListConsoleClient) DisabledResponder(resp *http.Response) (result GetDisabledResult, err error)

DisabledResponder handles the response to the Disabled request. The method always closes the http.Response Body.

func (ListConsoleClient) DisabledSender Uses

func (client ListConsoleClient) DisabledSender(req *http.Request) (*http.Response, error)

DisabledSender sends the Disabled request. The method will close the http.Response Body if it receives an error.

type Operations Uses

type Operations struct {
    autorest.Response `json:"-"`
    // Value - Serial Console operations
    Value *string `json:"value,omitempty"`
}

Operations serial Console operations

type SetDisabledResult Uses

type SetDisabledResult struct {
    autorest.Response `json:"-"`
    // Disabled - Disabled result
    Disabled *bool `json:"disabled,omitempty"`
}

SetDisabledResult sets disable status and returns whether or not Serial Console is now disabled for this given subscription

Directories

PathSynopsis
serialconsoleapi

Package serialconsole imports 6 packages (graph) and is imported by 3 packages. Updated 2019-07-31. Refresh now. Tools for package owners.