servermanagement

package
v17.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package servermanagement implements the Azure ARM Servermanagement service API version 2015-07-01-preview.

REST API for Azure Server Management Service.

Index

Constants

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

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

Copyright (c) Microsoft and contributors. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and limitations under the License.

Code generated by Microsoft (R) AutoRest Code Generator. Changes may cause incorrect behavior and will be lost if the code is regenerated. Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. UserAgent returns the UserAgent string to use when sending http.Requests.

func Version deprecated

func Version() string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Version returns the semantic version (see http://semver.org) of the client.

Types

type AutoUpgrade deprecated

type AutoUpgrade string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. AutoUpgrade enumerates the values for auto upgrade.

const (
	// Off ...
	Off AutoUpgrade = "Off"
	// On ...
	On AutoUpgrade = "On"
)

func PossibleAutoUpgradeValues deprecated

func PossibleAutoUpgradeValues() []AutoUpgrade

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. PossibleAutoUpgradeValues returns an array of possible values for the AutoUpgrade const type.

type BaseClient deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. BaseClient is the base client for Servermanagement.

func New deprecated

func New(subscriptionID string) BaseClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. New creates an instance of the BaseClient client.

func NewWithBaseURI deprecated

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. NewWithBaseURI creates an instance of the BaseClient client.

type Error deprecated

type Error struct {
	Code    *int32  `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
	Fields  *string `json:"fields,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Error error message.

type GatewayClient deprecated

type GatewayClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GatewayClient is the REST API for Azure Server Management Service.

func NewGatewayClient deprecated

func NewGatewayClient(subscriptionID string) GatewayClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. NewGatewayClient creates an instance of the GatewayClient client.

func NewGatewayClientWithBaseURI deprecated

func NewGatewayClientWithBaseURI(baseURI string, subscriptionID string) GatewayClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. NewGatewayClientWithBaseURI creates an instance of the GatewayClient client.

func (GatewayClient) Create deprecated

func (client GatewayClient) Create(ctx context.Context, resourceGroupName string, gatewayName string, gatewayParameters GatewayParameters) (result GatewayCreateFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Create creates or updates a ManagementService gateway.

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscriptionId. gatewayName is the gateway name (256 characters maximum). gatewayParameters is parameters supplied to the CreateOrUpdate operation.

func (GatewayClient) CreatePreparer deprecated

func (client GatewayClient) CreatePreparer(ctx context.Context, resourceGroupName string, gatewayName string, gatewayParameters GatewayParameters) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. CreatePreparer prepares the Create request.

func (GatewayClient) CreateResponder deprecated

func (client GatewayClient) CreateResponder(resp *http.Response) (result GatewayResource, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (GatewayClient) CreateSender deprecated

func (client GatewayClient) CreateSender(req *http.Request) (future GatewayCreateFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (GatewayClient) Delete deprecated

func (client GatewayClient) Delete(ctx context.Context, resourceGroupName string, gatewayName string) (result autorest.Response, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Delete deletes a gateway from a resource group.

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscriptionId. gatewayName is the gateway name (256 characters maximum).

func (GatewayClient) DeletePreparer deprecated

func (client GatewayClient) DeletePreparer(ctx context.Context, resourceGroupName string, gatewayName string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. DeletePreparer prepares the Delete request.

func (GatewayClient) DeleteResponder deprecated

func (client GatewayClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (GatewayClient) DeleteSender deprecated

func (client GatewayClient) DeleteSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (GatewayClient) Get deprecated

func (client GatewayClient) Get(ctx context.Context, resourceGroupName string, gatewayName string, expand GatewayExpandOption) (result GatewayResource, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Get gets a gateway.

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscriptionId. gatewayName is the gateway name (256 characters maximum). expand is gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

func (GatewayClient) GetPreparer deprecated

func (client GatewayClient) GetPreparer(ctx context.Context, resourceGroupName string, gatewayName string, expand GatewayExpandOption) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GetPreparer prepares the Get request.

func (GatewayClient) GetProfile deprecated

func (client GatewayClient) GetProfile(ctx context.Context, resourceGroupName string, gatewayName string) (result GatewayGetProfileFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GetProfile gets a gateway profile.

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscriptionId. gatewayName is the gateway name (256 characters maximum).

func (GatewayClient) GetProfilePreparer deprecated

func (client GatewayClient) GetProfilePreparer(ctx context.Context, resourceGroupName string, gatewayName string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GetProfilePreparer prepares the GetProfile request.

func (GatewayClient) GetProfileResponder deprecated

func (client GatewayClient) GetProfileResponder(resp *http.Response) (result GatewayProfile, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GetProfileResponder handles the response to the GetProfile request. The method always closes the http.Response Body.

func (GatewayClient) GetProfileSender deprecated

func (client GatewayClient) GetProfileSender(req *http.Request) (future GatewayGetProfileFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GetProfileSender sends the GetProfile request. The method will close the http.Response Body if it receives an error.

func (GatewayClient) GetResponder deprecated

func (client GatewayClient) GetResponder(resp *http.Response) (result GatewayResource, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (GatewayClient) GetSender deprecated

func (client GatewayClient) GetSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (GatewayClient) List deprecated

func (client GatewayClient) List(ctx context.Context) (result GatewayResourcesPage, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. List lists gateways in a subscription.

func (GatewayClient) ListComplete deprecated

func (client GatewayClient) ListComplete(ctx context.Context) (result GatewayResourcesIterator, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. ListComplete enumerates all values, automatically crossing page boundaries as required.

func (GatewayClient) ListForResourceGroup deprecated

func (client GatewayClient) ListForResourceGroup(ctx context.Context, resourceGroupName string) (result GatewayResourcesPage, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. ListForResourceGroup returns gateways in a resource group.

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscriptionId.

func (GatewayClient) ListForResourceGroupComplete deprecated

func (client GatewayClient) ListForResourceGroupComplete(ctx context.Context, resourceGroupName string) (result GatewayResourcesIterator, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. ListForResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (GatewayClient) ListForResourceGroupPreparer deprecated

func (client GatewayClient) ListForResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. ListForResourceGroupPreparer prepares the ListForResourceGroup request.

func (GatewayClient) ListForResourceGroupResponder deprecated

func (client GatewayClient) ListForResourceGroupResponder(resp *http.Response) (result GatewayResources, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. ListForResourceGroupResponder handles the response to the ListForResourceGroup request. The method always closes the http.Response Body.

func (GatewayClient) ListForResourceGroupSender deprecated

func (client GatewayClient) ListForResourceGroupSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. ListForResourceGroupSender sends the ListForResourceGroup request. The method will close the http.Response Body if it receives an error.

func (GatewayClient) ListPreparer deprecated

func (client GatewayClient) ListPreparer(ctx context.Context) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. ListPreparer prepares the List request.

func (GatewayClient) ListResponder deprecated

func (client GatewayClient) ListResponder(resp *http.Response) (result GatewayResources, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (GatewayClient) ListSender deprecated

func (client GatewayClient) ListSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (GatewayClient) RegenerateProfile deprecated

func (client GatewayClient) RegenerateProfile(ctx context.Context, resourceGroupName string, gatewayName string) (result GatewayRegenerateProfileFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. RegenerateProfile regenerates a gateway's profile

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscriptionId. gatewayName is the gateway name (256 characters maximum).

func (GatewayClient) RegenerateProfilePreparer deprecated

func (client GatewayClient) RegenerateProfilePreparer(ctx context.Context, resourceGroupName string, gatewayName string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. RegenerateProfilePreparer prepares the RegenerateProfile request.

func (GatewayClient) RegenerateProfileResponder deprecated

func (client GatewayClient) RegenerateProfileResponder(resp *http.Response) (result autorest.Response, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. RegenerateProfileResponder handles the response to the RegenerateProfile request. The method always closes the http.Response Body.

func (GatewayClient) RegenerateProfileSender deprecated

func (client GatewayClient) RegenerateProfileSender(req *http.Request) (future GatewayRegenerateProfileFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. RegenerateProfileSender sends the RegenerateProfile request. The method will close the http.Response Body if it receives an error.

func (GatewayClient) Update deprecated

func (client GatewayClient) Update(ctx context.Context, resourceGroupName string, gatewayName string, gatewayParameters GatewayParameters) (result GatewayUpdateFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Update updates a gateway belonging to a resource group.

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscriptionId. gatewayName is the gateway name (256 characters maximum). gatewayParameters is parameters supplied to the Update operation.

func (GatewayClient) UpdatePreparer deprecated

func (client GatewayClient) UpdatePreparer(ctx context.Context, resourceGroupName string, gatewayName string, gatewayParameters GatewayParameters) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. UpdatePreparer prepares the Update request.

func (GatewayClient) UpdateResponder deprecated

func (client GatewayClient) UpdateResponder(resp *http.Response) (result GatewayResource, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (GatewayClient) UpdateSender deprecated

func (client GatewayClient) UpdateSender(req *http.Request) (future GatewayUpdateFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

func (GatewayClient) Upgrade deprecated

func (client GatewayClient) Upgrade(ctx context.Context, resourceGroupName string, gatewayName string) (result GatewayUpgradeFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Upgrade upgrades a gateway.

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscriptionId. gatewayName is the gateway name (256 characters maximum).

func (GatewayClient) UpgradePreparer deprecated

func (client GatewayClient) UpgradePreparer(ctx context.Context, resourceGroupName string, gatewayName string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. UpgradePreparer prepares the Upgrade request.

func (GatewayClient) UpgradeResponder deprecated

func (client GatewayClient) UpgradeResponder(resp *http.Response) (result autorest.Response, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. UpgradeResponder handles the response to the Upgrade request. The method always closes the http.Response Body.

func (GatewayClient) UpgradeSender deprecated

func (client GatewayClient) UpgradeSender(req *http.Request) (future GatewayUpgradeFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. UpgradeSender sends the Upgrade request. The method will close the http.Response Body if it receives an error.

type GatewayCreateFuture deprecated

type GatewayCreateFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GatewayCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (GatewayCreateFuture) Result deprecated

func (future GatewayCreateFuture) Result(client GatewayClient) (gr GatewayResource, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type GatewayExpandOption deprecated

type GatewayExpandOption string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GatewayExpandOption enumerates the values for gateway expand option.

const (
	// Status ...
	Status GatewayExpandOption = "status"
)

func PossibleGatewayExpandOptionValues deprecated

func PossibleGatewayExpandOptionValues() []GatewayExpandOption

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. PossibleGatewayExpandOptionValues returns an array of possible values for the GatewayExpandOption const type.

type GatewayGetProfileFuture deprecated

type GatewayGetProfileFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GatewayGetProfileFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (GatewayGetProfileFuture) Result deprecated

func (future GatewayGetProfileFuture) Result(client GatewayClient) (gp GatewayProfile, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type GatewayParameters deprecated

type GatewayParameters struct {
	// Location - Location of the resource.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags                         interface{} `json:"tags,omitempty"`
	*GatewayParametersProperties `json:"properties,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GatewayParameters ...

func (GatewayParameters) MarshalJSON deprecated

func (gp GatewayParameters) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. MarshalJSON is the custom marshaler for GatewayParameters.

func (*GatewayParameters) UnmarshalJSON deprecated

func (gp *GatewayParameters) UnmarshalJSON(body []byte) error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. UnmarshalJSON is the custom unmarshaler for GatewayParameters struct.

type GatewayParametersProperties deprecated

type GatewayParametersProperties struct {
	// AutoUpgrade - The autoUpgrade property gives the flexibility to gateway to auto upgrade itself. If properties value not specified, then we assume autoUpgrade = Off. Possible values include: 'On', 'Off'
	AutoUpgrade AutoUpgrade `json:"autoUpgrade,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GatewayParametersProperties ...

type GatewayProfile deprecated

type GatewayProfile struct {
	autorest.Response `json:"-"`
	// DataPlaneServiceBaseAddress - The Dataplane connection URL.
	DataPlaneServiceBaseAddress *string `json:"dataPlaneServiceBaseAddress,omitempty"`
	// GatewayID - The ID of the gateway.
	GatewayID *string `json:"gatewayId,omitempty"`
	// Environment - The environment for the gateway (DEV, DogFood, or Production).
	Environment *string `json:"environment,omitempty"`
	// UpgradeManifestURL - Gateway upgrade manifest URL.
	UpgradeManifestURL *string `json:"upgradeManifestUrl,omitempty"`
	// MessagingNamespace - Messaging namespace.
	MessagingNamespace *string `json:"messagingNamespace,omitempty"`
	// MessagingAccount - Messaging Account.
	MessagingAccount *string `json:"messagingAccount,omitempty"`
	// MessagingKey - Messaging Key.
	MessagingKey *string `json:"messagingKey,omitempty"`
	// RequestQueue - Request queue name.
	RequestQueue *string `json:"requestQueue,omitempty"`
	// ResponseTopic - Response topic name.
	ResponseTopic *string `json:"responseTopic,omitempty"`
	// StatusBlobSignature - The gateway status blob SAS URL.
	StatusBlobSignature *string `json:"statusBlobSignature,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GatewayProfile JSON properties that the gateway service uses know how to communicate with the resource.

type GatewayRegenerateProfileFuture deprecated

type GatewayRegenerateProfileFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GatewayRegenerateProfileFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (GatewayRegenerateProfileFuture) Result deprecated

func (future GatewayRegenerateProfileFuture) Result(client GatewayClient) (ar autorest.Response, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type GatewayResource deprecated

type GatewayResource struct {
	autorest.Response          `json:"-"`
	*GatewayResourceProperties `json:"properties,omitempty"`
	// ID - Resource Manager Resource ID.
	ID *string `json:"id,omitempty"`
	// Type - Resource Manager Resource Type.
	Type *string `json:"type,omitempty"`
	// Name - Resource Manager Resource Name.
	Name *string `json:"name,omitempty"`
	// Location - Resource Manager Resource Location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource Manager Resource Tags.
	Tags map[string]*string `json:"tags"`
	Etag *string            `json:"etag,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GatewayResource ...

func (GatewayResource) MarshalJSON deprecated

func (gr GatewayResource) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. MarshalJSON is the custom marshaler for GatewayResource.

func (*GatewayResource) UnmarshalJSON deprecated

func (gr *GatewayResource) UnmarshalJSON(body []byte) error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. UnmarshalJSON is the custom unmarshaler for GatewayResource struct.

type GatewayResourceProperties deprecated

type GatewayResourceProperties struct {
	// Created - UTC date and time when gateway was first added to management service.
	Created *date.Time `json:"created,omitempty"`
	// Updated - UTC date and time when node was last updated.
	Updated *date.Time `json:"updated,omitempty"`
	// AutoUpgrade - Setting of the autoupgrade. Possible values include: 'On', 'Off'
	AutoUpgrade AutoUpgrade `json:"autoUpgrade,omitempty"`
	// DesiredVersion - Latest available MSI version.
	DesiredVersion *string `json:"desiredVersion,omitempty"`
	// Instances - Names of the nodes in the gateway.
	Instances *[]GatewayStatus `json:"instances,omitempty"`
	// ActiveMessageCount - number of active messages
	ActiveMessageCount *int32 `json:"activeMessageCount,omitempty"`
	// LatestPublishedMsiVersion - Last published MSI version.
	LatestPublishedMsiVersion *string `json:"latestPublishedMsiVersion,omitempty"`
	// PublishedTimeUtc - The date/time of the last published gateway.
	PublishedTimeUtc *date.Time `json:"publishedTimeUtc,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GatewayResourceProperties ...

type GatewayResources deprecated

type GatewayResources struct {
	autorest.Response `json:"-"`
	// Value - Collection of Gateway Resources.
	Value *[]GatewayResource `json:"value,omitempty"`
	// NextLink - The URL to the next set of resources.
	NextLink *string `json:"nextLink,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GatewayResources collection of Gateway Resources.

func (GatewayResources) IsEmpty deprecated

func (gr GatewayResources) IsEmpty() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. IsEmpty returns true if the ListResult contains no values.

type GatewayResourcesIterator deprecated

type GatewayResourcesIterator struct {
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GatewayResourcesIterator provides access to a complete listing of GatewayResource values.

func (*GatewayResourcesIterator) Next deprecated

func (iter *GatewayResourcesIterator) Next() error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (GatewayResourcesIterator) NotDone deprecated

func (iter GatewayResourcesIterator) NotDone() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. NotDone returns true if the enumeration should be started or is not yet complete.

func (GatewayResourcesIterator) Response deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Response returns the raw server response from the last page request.

func (GatewayResourcesIterator) Value deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type GatewayResourcesPage deprecated

type GatewayResourcesPage struct {
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GatewayResourcesPage contains a page of GatewayResource values.

func (*GatewayResourcesPage) Next deprecated

func (page *GatewayResourcesPage) Next() error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (GatewayResourcesPage) NotDone deprecated

func (page GatewayResourcesPage) NotDone() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. NotDone returns true if the page enumeration should be started or is not yet complete.

func (GatewayResourcesPage) Response deprecated

func (page GatewayResourcesPage) Response() GatewayResources

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Response returns the raw server response from the last page request.

func (GatewayResourcesPage) Values deprecated

func (page GatewayResourcesPage) Values() []GatewayResource

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Values returns the slice of values for the current page or nil if there are no values.

type GatewayStatus deprecated

type GatewayStatus struct {
	// AvailableMemoryMByte - The available memory on the gateway host machine in megabytes.
	AvailableMemoryMByte *float64 `json:"availableMemoryMByte,omitempty"`
	// GatewayCPUUtilizationPercent - The CPU utilization of the gateway process (numeric value between 0 and 100).
	GatewayCPUUtilizationPercent *float64 `json:"gatewayCpuUtilizationPercent,omitempty"`
	// TotalCPUUtilizationPercent - CPU Utilization of the whole system.
	TotalCPUUtilizationPercent *float64 `json:"totalCpuUtilizationPercent,omitempty"`
	// GatewayVersion - The version of the gateway that is installed on the system.
	GatewayVersion *string `json:"gatewayVersion,omitempty"`
	// FriendlyOsName - The Plaintext description of the OS on the gateway.
	FriendlyOsName *string `json:"friendlyOsName,omitempty"`
	// InstalledDate - The date the gateway was installed.
	InstalledDate *date.Time `json:"installedDate,omitempty"`
	// LogicalProcessorCount - Number of logical processors in the gateway system.
	LogicalProcessorCount *int32 `json:"logicalProcessorCount,omitempty"`
	// Name - The computer name of the gateway system.
	Name *string `json:"name,omitempty"`
	// GatewayID - The gateway resource ID.
	GatewayID *string `json:"gatewayId,omitempty"`
	// GatewayWorkingSetMByte - The working set size of the gateway process in megabytes.
	GatewayWorkingSetMByte *float64 `json:"gatewayWorkingSetMByte,omitempty"`
	// StatusUpdated - UTC date and time when gateway status was last updated.
	StatusUpdated *date.Time `json:"statusUpdated,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GatewayStatus expanded gateway status information.

type GatewayUpdateFuture deprecated

type GatewayUpdateFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GatewayUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (GatewayUpdateFuture) Result deprecated

func (future GatewayUpdateFuture) Result(client GatewayClient) (gr GatewayResource, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type GatewayUpgradeFuture deprecated

type GatewayUpgradeFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GatewayUpgradeFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (GatewayUpgradeFuture) Result deprecated

func (future GatewayUpgradeFuture) Result(client GatewayClient) (ar autorest.Response, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type NodeClient deprecated

type NodeClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. NodeClient is the REST API for Azure Server Management Service.

func NewNodeClient deprecated

func NewNodeClient(subscriptionID string) NodeClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. NewNodeClient creates an instance of the NodeClient client.

func NewNodeClientWithBaseURI deprecated

func NewNodeClientWithBaseURI(baseURI string, subscriptionID string) NodeClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. NewNodeClientWithBaseURI creates an instance of the NodeClient client.

func (NodeClient) Create deprecated

func (client NodeClient) Create(ctx context.Context, resourceGroupName string, nodeName string, gatewayParameters NodeParameters) (result NodeCreateFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Create creates or updates a management node.

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscriptionId. nodeName is the node name (256 characters maximum). gatewayParameters is parameters supplied to the CreateOrUpdate operation.

func (NodeClient) CreatePreparer deprecated

func (client NodeClient) CreatePreparer(ctx context.Context, resourceGroupName string, nodeName string, gatewayParameters NodeParameters) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. CreatePreparer prepares the Create request.

func (NodeClient) CreateResponder deprecated

func (client NodeClient) CreateResponder(resp *http.Response) (result NodeResource, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (NodeClient) CreateSender deprecated

func (client NodeClient) CreateSender(req *http.Request) (future NodeCreateFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (NodeClient) Delete deprecated

func (client NodeClient) Delete(ctx context.Context, resourceGroupName string, nodeName string) (result autorest.Response, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Delete deletes a management node.

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscriptionId. nodeName is the node name (256 characters maximum).

func (NodeClient) DeletePreparer deprecated

func (client NodeClient) DeletePreparer(ctx context.Context, resourceGroupName string, nodeName string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. DeletePreparer prepares the Delete request.

func (NodeClient) DeleteResponder deprecated

func (client NodeClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (NodeClient) DeleteSender deprecated

func (client NodeClient) DeleteSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (NodeClient) Get deprecated

func (client NodeClient) Get(ctx context.Context, resourceGroupName string, nodeName string) (result NodeResource, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Get gets a management node.

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscriptionId. nodeName is the node name (256 characters maximum).

func (NodeClient) GetPreparer deprecated

func (client NodeClient) GetPreparer(ctx context.Context, resourceGroupName string, nodeName string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GetPreparer prepares the Get request.

func (NodeClient) GetResponder deprecated

func (client NodeClient) GetResponder(resp *http.Response) (result NodeResource, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (NodeClient) GetSender deprecated

func (client NodeClient) GetSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (NodeClient) List deprecated

func (client NodeClient) List(ctx context.Context) (result NodeResourcesPage, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. List lists nodes in a subscription.

func (NodeClient) ListComplete deprecated

func (client NodeClient) ListComplete(ctx context.Context) (result NodeResourcesIterator, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. ListComplete enumerates all values, automatically crossing page boundaries as required.

func (NodeClient) ListForResourceGroup deprecated

func (client NodeClient) ListForResourceGroup(ctx context.Context, resourceGroupName string) (result NodeResourcesPage, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. ListForResourceGroup lists nodes in a resource group.

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscriptionId.

func (NodeClient) ListForResourceGroupComplete deprecated

func (client NodeClient) ListForResourceGroupComplete(ctx context.Context, resourceGroupName string) (result NodeResourcesIterator, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. ListForResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (NodeClient) ListForResourceGroupPreparer deprecated

func (client NodeClient) ListForResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. ListForResourceGroupPreparer prepares the ListForResourceGroup request.

func (NodeClient) ListForResourceGroupResponder deprecated

func (client NodeClient) ListForResourceGroupResponder(resp *http.Response) (result NodeResources, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. ListForResourceGroupResponder handles the response to the ListForResourceGroup request. The method always closes the http.Response Body.

func (NodeClient) ListForResourceGroupSender deprecated

func (client NodeClient) ListForResourceGroupSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. ListForResourceGroupSender sends the ListForResourceGroup request. The method will close the http.Response Body if it receives an error.

func (NodeClient) ListPreparer deprecated

func (client NodeClient) ListPreparer(ctx context.Context) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. ListPreparer prepares the List request.

func (NodeClient) ListResponder deprecated

func (client NodeClient) ListResponder(resp *http.Response) (result NodeResources, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (NodeClient) ListSender deprecated

func (client NodeClient) ListSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (NodeClient) Update deprecated

func (client NodeClient) Update(ctx context.Context, resourceGroupName string, nodeName string, nodeParameters NodeParameters) (result NodeUpdateFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Update updates a management node.

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscriptionId. nodeName is the node name (256 characters maximum). nodeParameters is parameters supplied to the CreateOrUpdate operation.

func (NodeClient) UpdatePreparer deprecated

func (client NodeClient) UpdatePreparer(ctx context.Context, resourceGroupName string, nodeName string, nodeParameters NodeParameters) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. UpdatePreparer prepares the Update request.

func (NodeClient) UpdateResponder deprecated

func (client NodeClient) UpdateResponder(resp *http.Response) (result NodeResource, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (NodeClient) UpdateSender deprecated

func (client NodeClient) UpdateSender(req *http.Request) (future NodeUpdateFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type NodeCreateFuture deprecated

type NodeCreateFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. NodeCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (NodeCreateFuture) Result deprecated

func (future NodeCreateFuture) Result(client NodeClient) (nr NodeResource, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type NodeParameters deprecated

type NodeParameters struct {
	// Location - Location of the resource.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags                      interface{} `json:"tags,omitempty"`
	*NodeParametersProperties `json:"properties,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. NodeParameters ...

func (NodeParameters) MarshalJSON deprecated

func (np NodeParameters) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. MarshalJSON is the custom marshaler for NodeParameters.

func (*NodeParameters) UnmarshalJSON deprecated

func (np *NodeParameters) UnmarshalJSON(body []byte) error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. UnmarshalJSON is the custom unmarshaler for NodeParameters struct.

type NodeParametersProperties deprecated

type NodeParametersProperties struct {
	// GatewayID - Gateway ID which will manage this node.
	GatewayID *string `json:"gatewayId,omitempty"`
	// ConnectionName - myhost.domain.com
	ConnectionName *string `json:"connectionName,omitempty"`
	// UserName - User name to be used to connect to node.
	UserName *string `json:"userName,omitempty"`
	// Password - Password associated with user name.
	Password *string `json:"password,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. NodeParametersProperties ...

type NodeResource deprecated

type NodeResource struct {
	autorest.Response       `json:"-"`
	*NodeResourceProperties `json:"properties,omitempty"`
	// ID - Resource Manager Resource ID.
	ID *string `json:"id,omitempty"`
	// Type - Resource Manager Resource Type.
	Type *string `json:"type,omitempty"`
	// Name - Resource Manager Resource Name.
	Name *string `json:"name,omitempty"`
	// Location - Resource Manager Resource Location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource Manager Resource Tags.
	Tags map[string]*string `json:"tags"`
	Etag *string            `json:"etag,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. NodeResource a Node Resource.

func (NodeResource) MarshalJSON deprecated

func (nr NodeResource) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. MarshalJSON is the custom marshaler for NodeResource.

func (*NodeResource) UnmarshalJSON deprecated

func (nr *NodeResource) UnmarshalJSON(body []byte) error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. UnmarshalJSON is the custom unmarshaler for NodeResource struct.

type NodeResourceProperties deprecated

type NodeResourceProperties struct {
	// GatewayID - ID of the gateway.
	GatewayID *string `json:"gatewayId,omitempty"`
	// ConnectionName - myhost.domain.com
	ConnectionName *string `json:"connectionName,omitempty"`
	// Created - UTC date and time when node was first added to management service.
	Created *date.Time `json:"created,omitempty"`
	// Updated - UTC date and time when node was last updated.
	Updated *date.Time `json:"updated,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. NodeResourceProperties ...

type NodeResources deprecated

type NodeResources struct {
	autorest.Response `json:"-"`
	// Value - Collection of Node Resources.
	Value *[]NodeResource `json:"value,omitempty"`
	// NextLink - The URL to the next set of resources.
	NextLink *string `json:"nextLink,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. NodeResources a collection of node resource objects.

func (NodeResources) IsEmpty deprecated

func (nr NodeResources) IsEmpty() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. IsEmpty returns true if the ListResult contains no values.

type NodeResourcesIterator deprecated

type NodeResourcesIterator struct {
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. NodeResourcesIterator provides access to a complete listing of NodeResource values.

func (*NodeResourcesIterator) Next deprecated

func (iter *NodeResourcesIterator) Next() error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (NodeResourcesIterator) NotDone deprecated

func (iter NodeResourcesIterator) NotDone() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. NotDone returns true if the enumeration should be started or is not yet complete.

func (NodeResourcesIterator) Response deprecated

func (iter NodeResourcesIterator) Response() NodeResources

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Response returns the raw server response from the last page request.

func (NodeResourcesIterator) Value deprecated

func (iter NodeResourcesIterator) Value() NodeResource

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type NodeResourcesPage deprecated

type NodeResourcesPage struct {
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. NodeResourcesPage contains a page of NodeResource values.

func (*NodeResourcesPage) Next deprecated

func (page *NodeResourcesPage) Next() error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (NodeResourcesPage) NotDone deprecated

func (page NodeResourcesPage) NotDone() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. NotDone returns true if the page enumeration should be started or is not yet complete.

func (NodeResourcesPage) Response deprecated

func (page NodeResourcesPage) Response() NodeResources

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Response returns the raw server response from the last page request.

func (NodeResourcesPage) Values deprecated

func (page NodeResourcesPage) Values() []NodeResource

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Values returns the slice of values for the current page or nil if there are no values.

type NodeUpdateFuture deprecated

type NodeUpdateFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. NodeUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (NodeUpdateFuture) Result deprecated

func (future NodeUpdateFuture) Result(client NodeClient) (nr NodeResource, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PowerShellCancelCommandFuture deprecated

type PowerShellCancelCommandFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. PowerShellCancelCommandFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (PowerShellCancelCommandFuture) Result deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PowerShellClient deprecated

type PowerShellClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. PowerShellClient is the REST API for Azure Server Management Service.

func NewPowerShellClient deprecated

func NewPowerShellClient(subscriptionID string) PowerShellClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. NewPowerShellClient creates an instance of the PowerShellClient client.

func NewPowerShellClientWithBaseURI deprecated

func NewPowerShellClientWithBaseURI(baseURI string, subscriptionID string) PowerShellClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. NewPowerShellClientWithBaseURI creates an instance of the PowerShellClient client.

func (PowerShellClient) CancelCommand deprecated

func (client PowerShellClient) CancelCommand(ctx context.Context, resourceGroupName string, nodeName string, session string, pssession string) (result PowerShellCancelCommandFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. CancelCommand cancels a PowerShell command.

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscriptionId. nodeName is the node name (256 characters maximum). session is the sessionId from the user. pssession is the PowerShell sessionId from the user.

func (PowerShellClient) CancelCommandPreparer deprecated

func (client PowerShellClient) CancelCommandPreparer(ctx context.Context, resourceGroupName string, nodeName string, session string, pssession string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. CancelCommandPreparer prepares the CancelCommand request.

func (PowerShellClient) CancelCommandResponder deprecated

func (client PowerShellClient) CancelCommandResponder(resp *http.Response) (result PowerShellCommandResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. CancelCommandResponder handles the response to the CancelCommand request. The method always closes the http.Response Body.

func (PowerShellClient) CancelCommandSender deprecated

func (client PowerShellClient) CancelCommandSender(req *http.Request) (future PowerShellCancelCommandFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. CancelCommandSender sends the CancelCommand request. The method will close the http.Response Body if it receives an error.

func (PowerShellClient) CreateSession deprecated

func (client PowerShellClient) CreateSession(ctx context.Context, resourceGroupName string, nodeName string, session string, pssession string) (result PowerShellCreateSessionFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. CreateSession creates a PowerShell session.

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscriptionId. nodeName is the node name (256 characters maximum). session is the sessionId from the user. pssession is the PowerShell sessionId from the user.

func (PowerShellClient) CreateSessionPreparer deprecated

func (client PowerShellClient) CreateSessionPreparer(ctx context.Context, resourceGroupName string, nodeName string, session string, pssession string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. CreateSessionPreparer prepares the CreateSession request.

func (PowerShellClient) CreateSessionResponder deprecated

func (client PowerShellClient) CreateSessionResponder(resp *http.Response) (result PowerShellSessionResource, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. CreateSessionResponder handles the response to the CreateSession request. The method always closes the http.Response Body.

func (PowerShellClient) CreateSessionSender deprecated

func (client PowerShellClient) CreateSessionSender(req *http.Request) (future PowerShellCreateSessionFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. CreateSessionSender sends the CreateSession request. The method will close the http.Response Body if it receives an error.

func (PowerShellClient) GetCommandStatus deprecated

func (client PowerShellClient) GetCommandStatus(ctx context.Context, resourceGroupName string, nodeName string, session string, pssession string, expand PowerShellExpandOption) (result PowerShellCommandStatus, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GetCommandStatus gets the status of a command.

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscriptionId. nodeName is the node name (256 characters maximum). session is the sessionId from the user. pssession is the PowerShell sessionId from the user. expand is gets current output from an ongoing call.

func (PowerShellClient) GetCommandStatusPreparer deprecated

func (client PowerShellClient) GetCommandStatusPreparer(ctx context.Context, resourceGroupName string, nodeName string, session string, pssession string, expand PowerShellExpandOption) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GetCommandStatusPreparer prepares the GetCommandStatus request.

func (PowerShellClient) GetCommandStatusResponder deprecated

func (client PowerShellClient) GetCommandStatusResponder(resp *http.Response) (result PowerShellCommandStatus, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GetCommandStatusResponder handles the response to the GetCommandStatus request. The method always closes the http.Response Body.

func (PowerShellClient) GetCommandStatusSender deprecated

func (client PowerShellClient) GetCommandStatusSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GetCommandStatusSender sends the GetCommandStatus request. The method will close the http.Response Body if it receives an error.

func (PowerShellClient) InvokeCommand deprecated

func (client PowerShellClient) InvokeCommand(ctx context.Context, resourceGroupName string, nodeName string, session string, pssession string, powerShellCommandParameters PowerShellCommandParameters) (result PowerShellInvokeCommandFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. InvokeCommand creates a PowerShell script and invokes it.

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscriptionId. nodeName is the node name (256 characters maximum). session is the sessionId from the user. pssession is the PowerShell sessionId from the user. powerShellCommandParameters is parameters supplied to the Invoke PowerShell Command operation.

func (PowerShellClient) InvokeCommandPreparer deprecated

func (client PowerShellClient) InvokeCommandPreparer(ctx context.Context, resourceGroupName string, nodeName string, session string, pssession string, powerShellCommandParameters PowerShellCommandParameters) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. InvokeCommandPreparer prepares the InvokeCommand request.

func (PowerShellClient) InvokeCommandResponder deprecated

func (client PowerShellClient) InvokeCommandResponder(resp *http.Response) (result PowerShellCommandResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. InvokeCommandResponder handles the response to the InvokeCommand request. The method always closes the http.Response Body.

func (PowerShellClient) InvokeCommandSender deprecated

func (client PowerShellClient) InvokeCommandSender(req *http.Request) (future PowerShellInvokeCommandFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. InvokeCommandSender sends the InvokeCommand request. The method will close the http.Response Body if it receives an error.

func (PowerShellClient) ListSession deprecated

func (client PowerShellClient) ListSession(ctx context.Context, resourceGroupName string, nodeName string, session string) (result PowerShellSessionResources, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. ListSession gets a list of the active sessions.

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscriptionId. nodeName is the node name (256 characters maximum). session is the sessionId from the user.

func (PowerShellClient) ListSessionPreparer deprecated

func (client PowerShellClient) ListSessionPreparer(ctx context.Context, resourceGroupName string, nodeName string, session string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. ListSessionPreparer prepares the ListSession request.

func (PowerShellClient) ListSessionResponder deprecated

func (client PowerShellClient) ListSessionResponder(resp *http.Response) (result PowerShellSessionResources, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. ListSessionResponder handles the response to the ListSession request. The method always closes the http.Response Body.

func (PowerShellClient) ListSessionSender deprecated

func (client PowerShellClient) ListSessionSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. ListSessionSender sends the ListSession request. The method will close the http.Response Body if it receives an error.

func (PowerShellClient) TabCompletion deprecated

func (client PowerShellClient) TabCompletion(ctx context.Context, resourceGroupName string, nodeName string, session string, pssession string, powerShellTabCompletionParamters PowerShellTabCompletionParameters) (result PowerShellTabCompletionResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. TabCompletion gets tab completion values for a command.

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscriptionId. nodeName is the node name (256 characters maximum). session is the sessionId from the user. pssession is the PowerShell sessionId from the user. powerShellTabCompletionParamters is parameters supplied to the tab completion call.

func (PowerShellClient) TabCompletionPreparer deprecated

func (client PowerShellClient) TabCompletionPreparer(ctx context.Context, resourceGroupName string, nodeName string, session string, pssession string, powerShellTabCompletionParamters PowerShellTabCompletionParameters) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. TabCompletionPreparer prepares the TabCompletion request.

func (PowerShellClient) TabCompletionResponder deprecated

func (client PowerShellClient) TabCompletionResponder(resp *http.Response) (result PowerShellTabCompletionResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. TabCompletionResponder handles the response to the TabCompletion request. The method always closes the http.Response Body.

func (PowerShellClient) TabCompletionSender deprecated

func (client PowerShellClient) TabCompletionSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. TabCompletionSender sends the TabCompletion request. The method will close the http.Response Body if it receives an error.

func (PowerShellClient) UpdateCommand deprecated

func (client PowerShellClient) UpdateCommand(ctx context.Context, resourceGroupName string, nodeName string, session string, pssession string) (result PowerShellUpdateCommandFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. UpdateCommand updates a running PowerShell command with more data.

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscriptionId. nodeName is the node name (256 characters maximum). session is the sessionId from the user. pssession is the PowerShell sessionId from the user.

func (PowerShellClient) UpdateCommandPreparer deprecated

func (client PowerShellClient) UpdateCommandPreparer(ctx context.Context, resourceGroupName string, nodeName string, session string, pssession string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. UpdateCommandPreparer prepares the UpdateCommand request.

func (PowerShellClient) UpdateCommandResponder deprecated

func (client PowerShellClient) UpdateCommandResponder(resp *http.Response) (result PowerShellCommandResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. UpdateCommandResponder handles the response to the UpdateCommand request. The method always closes the http.Response Body.

func (PowerShellClient) UpdateCommandSender deprecated

func (client PowerShellClient) UpdateCommandSender(req *http.Request) (future PowerShellUpdateCommandFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. UpdateCommandSender sends the UpdateCommand request. The method will close the http.Response Body if it receives an error.

type PowerShellCommandParameters deprecated

type PowerShellCommandParameters struct {
	*PowerShellCommandParametersProperties `json:"properties,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. PowerShellCommandParameters the parameters to a PowerShell script execution command.

func (PowerShellCommandParameters) MarshalJSON deprecated

func (pscp PowerShellCommandParameters) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. MarshalJSON is the custom marshaler for PowerShellCommandParameters.

func (*PowerShellCommandParameters) UnmarshalJSON deprecated

func (pscp *PowerShellCommandParameters) UnmarshalJSON(body []byte) error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. UnmarshalJSON is the custom unmarshaler for PowerShellCommandParameters struct.

type PowerShellCommandParametersProperties deprecated

type PowerShellCommandParametersProperties struct {
	// Command - Script to execute.
	Command *string `json:"command,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. PowerShellCommandParametersProperties ...

type PowerShellCommandResult deprecated

type PowerShellCommandResult struct {
	// MessageType - The type of message.
	MessageType *int32 `json:"messageType,omitempty"`
	// ForegroundColor - The HTML color string representing the foreground color.
	ForegroundColor *string `json:"foregroundColor,omitempty"`
	// BackgroundColor - The HTML color string representing the background color.
	BackgroundColor *string `json:"backgroundColor,omitempty"`
	// Value - Actual result text from the PowerShell Command.
	Value *string `json:"value,omitempty"`
	// Prompt - The interactive prompt message.
	Prompt *string `json:"prompt,omitempty"`
	// ExitCode - The exit code from a executable that was called from PowerShell.
	ExitCode *int32 `json:"exitCode,omitempty"`
	// ID - ID of the prompt message.
	ID *int32 `json:"id,omitempty"`
	// Caption - Text that precedes the prompt.
	Caption *string `json:"caption,omitempty"`
	// Message - Text of the prompt.
	Message *string `json:"message,omitempty"`
	// Descriptions - Collection of PromptFieldDescription objects that contains the user input
	Descriptions *[]PromptFieldDescription `json:"descriptions,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. PowerShellCommandResult ...

type PowerShellCommandResults deprecated

type PowerShellCommandResults struct {
	autorest.Response `json:"-"`
	Results           *[]PowerShellCommandResult `json:"results,omitempty"`
	Pssession         *string                    `json:"pssession,omitempty"`
	Command           *string                    `json:"command,omitempty"`
	Completed         *bool                      `json:"completed,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. PowerShellCommandResults a collection of results from a PowerShell command.

type PowerShellCommandStatus deprecated

type PowerShellCommandStatus struct {
	autorest.Response         `json:"-"`
	*PowerShellCommandResults `json:"properties,omitempty"`
	// ID - Resource Manager Resource ID.
	ID *string `json:"id,omitempty"`
	// Type - Resource Manager Resource Type.
	Type *string `json:"type,omitempty"`
	// Name - Resource Manager Resource Name.
	Name *string `json:"name,omitempty"`
	// Location - Resource Manager Resource Location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource Manager Resource Tags.
	Tags map[string]*string `json:"tags"`
	Etag *string            `json:"etag,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. PowerShellCommandStatus ...

func (PowerShellCommandStatus) MarshalJSON deprecated

func (pscs PowerShellCommandStatus) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. MarshalJSON is the custom marshaler for PowerShellCommandStatus.

func (*PowerShellCommandStatus) UnmarshalJSON deprecated

func (pscs *PowerShellCommandStatus) UnmarshalJSON(body []byte) error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. UnmarshalJSON is the custom unmarshaler for PowerShellCommandStatus struct.

type PowerShellCreateSessionFuture deprecated

type PowerShellCreateSessionFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. PowerShellCreateSessionFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (PowerShellCreateSessionFuture) Result deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PowerShellExpandOption deprecated

type PowerShellExpandOption string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. PowerShellExpandOption enumerates the values for power shell expand option.

const (
	// Output ...
	Output PowerShellExpandOption = "output"
)

func PossiblePowerShellExpandOptionValues deprecated

func PossiblePowerShellExpandOptionValues() []PowerShellExpandOption

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. PossiblePowerShellExpandOptionValues returns an array of possible values for the PowerShellExpandOption const type.

type PowerShellInvokeCommandFuture deprecated

type PowerShellInvokeCommandFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. PowerShellInvokeCommandFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (PowerShellInvokeCommandFuture) Result deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PowerShellSessionResource deprecated

type PowerShellSessionResource struct {
	autorest.Response                    `json:"-"`
	*PowerShellSessionResourceProperties `json:"properties,omitempty"`
	// ID - Resource Manager Resource ID.
	ID *string `json:"id,omitempty"`
	// Type - Resource Manager Resource Type.
	Type *string `json:"type,omitempty"`
	// Name - Resource Manager Resource Name.
	Name *string `json:"name,omitempty"`
	// Location - Resource Manager Resource Location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource Manager Resource Tags.
	Tags map[string]*string `json:"tags"`
	Etag *string            `json:"etag,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. PowerShellSessionResource a PowerShell session resource (practically equivalent to a runspace instance).

func (PowerShellSessionResource) MarshalJSON deprecated

func (pssr PowerShellSessionResource) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. MarshalJSON is the custom marshaler for PowerShellSessionResource.

func (*PowerShellSessionResource) UnmarshalJSON deprecated

func (pssr *PowerShellSessionResource) UnmarshalJSON(body []byte) error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. UnmarshalJSON is the custom unmarshaler for PowerShellSessionResource struct.

type PowerShellSessionResourceProperties deprecated

type PowerShellSessionResourceProperties struct {
	// SessionID - The PowerShell Session ID.
	SessionID *string `json:"sessionId,omitempty"`
	// State - The runspace state.
	State *string `json:"state,omitempty"`
	// RunspaceAvailability - The availability of the runspace.
	RunspaceAvailability *string `json:"runspaceAvailability,omitempty"`
	// DisconnectedOn - Timestamp of last time the service disconnected from the runspace.
	DisconnectedOn *date.Time `json:"disconnectedOn,omitempty"`
	// ExpiresOn - Timestamp when the runspace expires.
	ExpiresOn *date.Time               `json:"expiresOn,omitempty"`
	Version   *VersionServermanagement `json:"version,omitempty"`
	// Name - Name of the runspace.
	Name *string `json:"name,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. PowerShellSessionResourceProperties ...

type PowerShellSessionResources deprecated

type PowerShellSessionResources struct {
	autorest.Response `json:"-"`
	// Value - Collection of PowerShell session resources.
	Value *[]PowerShellSessionResource `json:"value,omitempty"`
	// NextLink - The URL to the next set of resources.
	NextLink *string `json:"nextLink,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. PowerShellSessionResources a collection of PowerShell session resources.

type PowerShellTabCompletionParameters deprecated

type PowerShellTabCompletionParameters struct {
	// Command - Command to get tab completion for.
	Command *string `json:"command,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. PowerShellTabCompletionParameters ...

type PowerShellTabCompletionResults deprecated

type PowerShellTabCompletionResults struct {
	autorest.Response `json:"-"`
	Results           *[]string `json:"results,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. PowerShellTabCompletionResults an array of strings representing the different values that can be selected through.

type PowerShellUpdateCommandFuture deprecated

type PowerShellUpdateCommandFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. PowerShellUpdateCommandFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (PowerShellUpdateCommandFuture) Result deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PromptFieldDescription deprecated

type PromptFieldDescription struct {
	// Name - The name of the prompt.
	Name *string `json:"name,omitempty"`
	// Label - The label text of the prompt.
	Label *string `json:"label,omitempty"`
	// HelpMessage - The help message of the prompt.
	HelpMessage *string `json:"helpMessage,omitempty"`
	// PromptFieldTypeIsList - When set to 'true' the prompt field type is a list of values.
	PromptFieldTypeIsList *bool `json:"promptFieldTypeIsList,omitempty"`
	// PromptFieldType - Possible values include: 'String', 'SecureString', 'Credential'
	PromptFieldType PromptFieldType `json:"promptFieldType,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. PromptFieldDescription field description for the implementation of PSHostUserInterface.Prompt.

type PromptFieldType deprecated

type PromptFieldType string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. PromptFieldType enumerates the values for prompt field type.

const (
	// Credential ...
	Credential PromptFieldType = "Credential"
	// SecureString ...
	SecureString PromptFieldType = "SecureString"
	// String ...
	String PromptFieldType = "String"
)

func PossiblePromptFieldTypeValues deprecated

func PossiblePromptFieldTypeValues() []PromptFieldType

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. PossiblePromptFieldTypeValues returns an array of possible values for the PromptFieldType const type.

type PromptMessageResponse deprecated

type PromptMessageResponse struct {
	// Response - The list of responses a cmdlet expects.
	Response *[]string `json:"response,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. PromptMessageResponse the response to a prompt message.

type Resource deprecated

type Resource struct {
	// ID - Resource Manager Resource ID.
	ID *string `json:"id,omitempty"`
	// Type - Resource Manager Resource Type.
	Type *string `json:"type,omitempty"`
	// Name - Resource Manager Resource Name.
	Name *string `json:"name,omitempty"`
	// Location - Resource Manager Resource Location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource Manager Resource Tags.
	Tags map[string]*string `json:"tags"`
	Etag *string            `json:"etag,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Resource resource Manager Resource Information.

func (Resource) MarshalJSON deprecated

func (r Resource) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. MarshalJSON is the custom marshaler for Resource.

type SessionClient deprecated

type SessionClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. SessionClient is the REST API for Azure Server Management Service.

func NewSessionClient deprecated

func NewSessionClient(subscriptionID string) SessionClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. NewSessionClient creates an instance of the SessionClient client.

func NewSessionClientWithBaseURI deprecated

func NewSessionClientWithBaseURI(baseURI string, subscriptionID string) SessionClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. NewSessionClientWithBaseURI creates an instance of the SessionClient client.

func (SessionClient) Create deprecated

func (client SessionClient) Create(ctx context.Context, resourceGroupName string, nodeName string, session string, sessionParameters SessionParameters) (result SessionCreateFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Create creates a session for a node.

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscriptionId. nodeName is the node name (256 characters maximum). session is the sessionId from the user. sessionParameters is parameters supplied to the CreateOrUpdate operation.

func (SessionClient) CreatePreparer deprecated

func (client SessionClient) CreatePreparer(ctx context.Context, resourceGroupName string, nodeName string, session string, sessionParameters SessionParameters) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. CreatePreparer prepares the Create request.

func (SessionClient) CreateResponder deprecated

func (client SessionClient) CreateResponder(resp *http.Response) (result SessionResource, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (SessionClient) CreateSender deprecated

func (client SessionClient) CreateSender(req *http.Request) (future SessionCreateFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (SessionClient) Delete deprecated

func (client SessionClient) Delete(ctx context.Context, resourceGroupName string, nodeName string, session string) (result autorest.Response, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Delete deletes a session for a node.

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscriptionId. nodeName is the node name (256 characters maximum). session is the sessionId from the user.

func (SessionClient) DeletePreparer deprecated

func (client SessionClient) DeletePreparer(ctx context.Context, resourceGroupName string, nodeName string, session string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. DeletePreparer prepares the Delete request.

func (SessionClient) DeleteResponder deprecated

func (client SessionClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (SessionClient) DeleteSender deprecated

func (client SessionClient) DeleteSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (SessionClient) Get deprecated

func (client SessionClient) Get(ctx context.Context, resourceGroupName string, nodeName string, session string) (result SessionResource, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Get gets a session for a node.

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscriptionId. nodeName is the node name (256 characters maximum). session is the sessionId from the user.

func (SessionClient) GetPreparer deprecated

func (client SessionClient) GetPreparer(ctx context.Context, resourceGroupName string, nodeName string, session string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GetPreparer prepares the Get request.

func (SessionClient) GetResponder deprecated

func (client SessionClient) GetResponder(resp *http.Response) (result SessionResource, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SessionClient) GetSender deprecated

func (client SessionClient) GetSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type SessionCreateFuture deprecated

type SessionCreateFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. SessionCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (SessionCreateFuture) Result deprecated

func (future SessionCreateFuture) Result(client SessionClient) (sr SessionResource, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type SessionParameters deprecated

type SessionParameters struct {
	*SessionParametersProperties `json:"properties,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. SessionParameters ...

func (SessionParameters) MarshalJSON deprecated

func (sp SessionParameters) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. MarshalJSON is the custom marshaler for SessionParameters.

func (*SessionParameters) UnmarshalJSON deprecated

func (sp *SessionParameters) UnmarshalJSON(body []byte) error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. UnmarshalJSON is the custom unmarshaler for SessionParameters struct.

type SessionParametersProperties deprecated

type SessionParametersProperties struct {
	// UserName - User name to be used to connect to node.
	UserName *string `json:"userName,omitempty"`
	// Password - Password associated with user name.
	Password *string `json:"password,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. SessionParametersProperties ...

type SessionResource deprecated

type SessionResource struct {
	autorest.Response          `json:"-"`
	*SessionResourceProperties `json:"properties,omitempty"`
	// ID - Resource Manager Resource ID.
	ID *string `json:"id,omitempty"`
	// Type - Resource Manager Resource Type.
	Type *string `json:"type,omitempty"`
	// Name - Resource Manager Resource Name.
	Name *string `json:"name,omitempty"`
	// Location - Resource Manager Resource Location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource Manager Resource Tags.
	Tags map[string]*string `json:"tags"`
	Etag *string            `json:"etag,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. SessionResource the session object.

func (SessionResource) MarshalJSON deprecated

func (sr SessionResource) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. MarshalJSON is the custom marshaler for SessionResource.

func (*SessionResource) UnmarshalJSON deprecated

func (sr *SessionResource) UnmarshalJSON(body []byte) error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. UnmarshalJSON is the custom unmarshaler for SessionResource struct.

type SessionResourceProperties deprecated

type SessionResourceProperties struct {
	// UserName - The username connecting to the session.
	UserName *string `json:"userName,omitempty"`
	// Created - UTC date and time when node was first added to management service.
	Created *date.Time `json:"created,omitempty"`
	// Updated - UTC date and time when node was last updated.
	Updated *date.Time `json:"updated,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. SessionResourceProperties ...

type VersionServermanagement deprecated

type VersionServermanagement struct {
	// Major - The leftmost number of the version.
	Major *int32 `json:"major,omitempty"`
	// Minor - The second leftmost number of the version.
	Minor *int32 `json:"minor,omitempty"`
	// Build - The third number of the version.
	Build *int32 `json:"build,omitempty"`
	// Revision - The fourth number of the version.
	Revision *int32 `json:"revision,omitempty"`
	// MajorRevision - The MSW of the fourth part.
	MajorRevision *int32 `json:"majorRevision,omitempty"`
	// MinorRevision - The LSW of the fourth part.
	MinorRevision *int32 `json:"minorRevision,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/servermanagement/mgmt/2015-07-01-preview/servermanagement instead. VersionServermanagement a multipart-numeric version number.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL