machinelearning

package
v5.0.0-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package machinelearning implements the Azure ARM Machinelearning service API version 2016-05-01-preview.

These APIs allow end users to operate on Azure Machine Learning Web Services resources. They support the following operations:<ul><li>Create or update a web service</li><li>Get a web service</li><li>Patch a web service</li><li>Delete a web service</li><li>Get All Web Services in a Resource Group </li><li>Get All Web Services in a Subscription</li><li>Get Web Services Keys</li></ul>

Index

Constants

View Source
const (
	// APIVersion is the version of the Machinelearning
	APIVersion = "2016-05-01-preview"

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

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

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

func Version

func Version() string

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

Types

type AssetItem

type AssetItem struct {
	Name         *string                 `json:"name,omitempty"`
	ID           *string                 `json:"id,omitempty"`
	Type         AssetType               `json:"type,omitempty"`
	LocationInfo *AssetLocation          `json:"locationInfo,omitempty"`
	InputPorts   *map[string]*InputPort  `json:"inputPorts,omitempty"`
	OutputPorts  *map[string]*OutputPort `json:"outputPorts,omitempty"`
	Metadata     *map[string]*string     `json:"metadata,omitempty"`
	Parameters   *[]ModuleAssetParameter `json:"parameters,omitempty"`
}

AssetItem is information about an asset associated with the web service.

type AssetLocation

type AssetLocation struct {
	URI         *string `json:"uri,omitempty"`
	Credentials *string `json:"credentials,omitempty"`
}

AssetLocation is describes the access location for a web service asset.

type AssetType

type AssetType string

AssetType enumerates the values for asset type.

const (
	// AssetTypeModule specifies the asset type module state for asset type.
	AssetTypeModule AssetType = "Module"
	// AssetTypeResource specifies the asset type resource state for asset
	// type.
	AssetTypeResource AssetType = "Resource"
)

type ColumnFormat

type ColumnFormat string

ColumnFormat enumerates the values for column format.

const (
	// Byte specifies the byte state for column format.
	Byte ColumnFormat = "Byte"
	// Char specifies the char state for column format.
	Char ColumnFormat = "Char"
	// Datetime specifies the datetime state for column format.
	Datetime ColumnFormat = "Datetime"
	// Double specifies the double state for column format.
	Double ColumnFormat = "Double"
	// Duration specifies the duration state for column format.
	Duration ColumnFormat = "Duration"
	// Float specifies the float state for column format.
	Float ColumnFormat = "Float"
	// Int16 specifies the int 16 state for column format.
	Int16 ColumnFormat = "Int16"
	// Int32 specifies the int 32 state for column format.
	Int32 ColumnFormat = "Int32"
	// Int64 specifies the int 64 state for column format.
	Int64 ColumnFormat = "Int64"
	// Int8 specifies the int 8 state for column format.
	Int8 ColumnFormat = "Int8"
	// Uint16 specifies the uint 16 state for column format.
	Uint16 ColumnFormat = "Uint16"
	// Uint32 specifies the uint 32 state for column format.
	Uint32 ColumnFormat = "Uint32"
	// Uint64 specifies the uint 64 state for column format.
	Uint64 ColumnFormat = "Uint64"
	// Uint8 specifies the uint 8 state for column format.
	Uint8 ColumnFormat = "Uint8"
)

type ColumnSpecification

type ColumnSpecification struct {
	Type          ColumnType                `json:"type,omitempty"`
	Format        ColumnFormat              `json:"format,omitempty"`
	Enum          *[]map[string]interface{} `json:"enum,omitempty"`
	XMsIsnullable *bool                     `json:"x-ms-isnullable,omitempty"`
	XMsIsordered  *bool                     `json:"x-ms-isordered,omitempty"`
}

ColumnSpecification is swagger 2.0 schema for a column within the data table representing a web service input or output. See Swagger specification: http://swagger.io/specification/

type ColumnType

type ColumnType string

ColumnType enumerates the values for column type.

const (
	// Boolean specifies the boolean state for column type.
	Boolean ColumnType = "Boolean"
	// Integer specifies the integer state for column type.
	Integer ColumnType = "Integer"
	// Number specifies the number state for column type.
	Number ColumnType = "Number"
	// String specifies the string state for column type.
	String ColumnType = "String"
)

type CommitmentPlan

type CommitmentPlan struct {
	ID *string `json:"id,omitempty"`
}

CommitmentPlan is information about the machine learning commitment plan associated with the web service.

type DiagnosticsConfiguration

type DiagnosticsConfiguration struct {
	Level  DiagnosticsLevel `json:"level,omitempty"`
	Expiry *date.Time       `json:"expiry,omitempty"`
}

DiagnosticsConfiguration is diagnostics settings for an Azure ML web service.

type DiagnosticsLevel

type DiagnosticsLevel string

DiagnosticsLevel enumerates the values for diagnostics level.

const (
	// All specifies the all state for diagnostics level.
	All DiagnosticsLevel = "All"
	// Error specifies the error state for diagnostics level.
	Error DiagnosticsLevel = "Error"
	// None specifies the none state for diagnostics level.
	None DiagnosticsLevel = "None"
)

type ExampleRequest

type ExampleRequest struct {
	Inputs           *map[string][][]map[string]interface{} `json:"inputs,omitempty"`
	GlobalParameters *map[string]map[string]interface{}     `json:"globalParameters,omitempty"`
}

ExampleRequest is sample input data for the service's input(s).

type GraphEdge

type GraphEdge struct {
	SourceNodeID *string `json:"sourceNodeId,omitempty"`
	SourcePortID *string `json:"sourcePortId,omitempty"`
	TargetNodeID *string `json:"targetNodeId,omitempty"`
	TargetPortID *string `json:"targetPortId,omitempty"`
}

GraphEdge is defines an edge within the web service's graph.

type GraphNode

type GraphNode struct {
	AssetID    *string             `json:"assetId,omitempty"`
	InputID    *string             `json:"inputId,omitempty"`
	OutputID   *string             `json:"outputId,omitempty"`
	Parameters *map[string]*string `json:"parameters,omitempty"`
}

GraphNode is specifies a node in the web service graph. The node can either be an input, output or asset node, so only one of the corresponding id properties is populated at any given time.

type GraphPackage

type GraphPackage struct {
	Nodes           *map[string]*GraphNode      `json:"nodes,omitempty"`
	Edges           *[]GraphEdge                `json:"edges,omitempty"`
	GraphParameters *map[string]*GraphParameter `json:"graphParameters,omitempty"`
}

GraphPackage is defines the graph of modules making up the machine learning solution.

type GraphParameter

type GraphParameter struct {
	Description *string               `json:"description,omitempty"`
	Type        ParameterType         `json:"type,omitempty"`
	Links       *[]GraphParameterLink `json:"links,omitempty"`
}

GraphParameter is defines a global parameter in the graph.

type GraphParameterLink struct {
	NodeID       *string `json:"nodeId,omitempty"`
	ParameterKey *string `json:"parameterKey,omitempty"`
}

GraphParameterLink is association link for a graph global parameter to a node in the graph.

type InputPort

type InputPort struct {
	Type InputPortType `json:"type,omitempty"`
}

InputPort is asset input port

type InputPortType

type InputPortType string

InputPortType enumerates the values for input port type.

const (
	// Dataset specifies the dataset state for input port type.
	Dataset InputPortType = "Dataset"
)

type ManagementClient

type ManagementClient struct {
	autorest.Client
	BaseURI        string
	APIVersion     string
	SubscriptionID string
}

ManagementClient is the base client for Machinelearning.

func New

func New(subscriptionID string) ManagementClient

New creates an instance of the ManagementClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) ManagementClient

NewWithBaseURI creates an instance of the ManagementClient client.

type ModeValueInfo

type ModeValueInfo struct {
	InterfaceString *string                 `json:"interfaceString,omitempty"`
	Parameters      *[]ModuleAssetParameter `json:"parameters,omitempty"`
}

ModeValueInfo is nested parameter definition.

type ModuleAssetParameter

type ModuleAssetParameter struct {
	Name           *string                    `json:"name,omitempty"`
	ParameterType  *string                    `json:"parameterType,omitempty"`
	ModeValuesInfo *map[string]*ModeValueInfo `json:"modeValuesInfo,omitempty"`
}

ModuleAssetParameter is parameter definition for a module asset.

type OutputPort

type OutputPort struct {
	Type OutputPortType `json:"type,omitempty"`
}

OutputPort is asset output port

type OutputPortType

type OutputPortType string

OutputPortType enumerates the values for output port type.

const (
	// OutputPortTypeDataset specifies the output port type dataset state for
	// output port type.
	OutputPortTypeDataset OutputPortType = "Dataset"
)

type PaginatedWebServicesList

type PaginatedWebServicesList struct {
	autorest.Response `json:"-"`
	Value             *[]WebService `json:"value,omitempty"`
	NextLink          *string       `json:"nextLink,omitempty"`
}

PaginatedWebServicesList is paginated list of web services.

type ParameterType

type ParameterType string

ParameterType enumerates the values for parameter type.

const (
	// ParameterTypeBoolean specifies the parameter type boolean state for
	// parameter type.
	ParameterTypeBoolean ParameterType = "Boolean"
	// ParameterTypeColumnPicker specifies the parameter type column picker
	// state for parameter type.
	ParameterTypeColumnPicker ParameterType = "ColumnPicker"
	// ParameterTypeCredential specifies the parameter type credential state
	// for parameter type.
	ParameterTypeCredential ParameterType = "Credential"
	// ParameterTypeDataGatewayName specifies the parameter type data gateway
	// name state for parameter type.
	ParameterTypeDataGatewayName ParameterType = "DataGatewayName"
	// ParameterTypeDouble specifies the parameter type double state for
	// parameter type.
	ParameterTypeDouble ParameterType = "Double"
	// ParameterTypeEnumerated specifies the parameter type enumerated state
	// for parameter type.
	ParameterTypeEnumerated ParameterType = "Enumerated"
	// ParameterTypeFloat specifies the parameter type float state for
	// parameter type.
	ParameterTypeFloat ParameterType = "Float"
	// ParameterTypeInt specifies the parameter type int state for parameter
	// type.
	ParameterTypeInt ParameterType = "Int"
	// ParameterTypeMode specifies the parameter type mode state for parameter
	// type.
	ParameterTypeMode ParameterType = "Mode"
	// ParameterTypeParameterRange specifies the parameter type parameter
	// range state for parameter type.
	ParameterTypeParameterRange ParameterType = "ParameterRange"
	// ParameterTypeScript specifies the parameter type script state for
	// parameter type.
	ParameterTypeScript ParameterType = "Script"
	// ParameterTypeString specifies the parameter type string state for
	// parameter type.
	ParameterTypeString ParameterType = "String"
)

type ProvisioningState

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
	// Canceled specifies the canceled state for provisioning state.
	Canceled ProvisioningState = "Canceled"
	// Failed specifies the failed state for provisioning state.
	Failed ProvisioningState = "Failed"
	// Provisioning specifies the provisioning state for provisioning state.
	Provisioning ProvisioningState = "Provisioning"
	// Succeeded specifies the succeeded state for provisioning state.
	Succeeded ProvisioningState = "Succeeded"
	// Unknown specifies the unknown state for provisioning state.
	Unknown ProvisioningState = "Unknown"
)

type RealtimeConfiguration

type RealtimeConfiguration struct {
	MaxConcurrentCalls *int32 `json:"maxConcurrentCalls,omitempty"`
}

RealtimeConfiguration is holds the available configuration options for an Azure ML web service endpoint.

type Resource

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

Resource is

type ServiceInputOutputSpecification

type ServiceInputOutputSpecification struct {
	Title       *string                         `json:"title,omitempty"`
	Description *string                         `json:"description,omitempty"`
	Type        *string                         `json:"type,omitempty"`
	Properties  *map[string]*TableSpecification `json:"properties,omitempty"`
}

ServiceInputOutputSpecification is the swagger 2.0 schema describing the service's inputs or outputs. See Swagger specification: http://swagger.io/specification/

type StorageAccount

type StorageAccount struct {
	Name *string `json:"name,omitempty"`
	Key  *string `json:"key,omitempty"`
}

StorageAccount is access information for a storage account.

type TableSpecification

type TableSpecification struct {
	Title       *string                          `json:"title,omitempty"`
	Description *string                          `json:"description,omitempty"`
	Type        *string                          `json:"type,omitempty"`
	Format      *string                          `json:"format,omitempty"`
	Properties  *map[string]*ColumnSpecification `json:"properties,omitempty"`
}

TableSpecification is the swagger 2.0 schema describing a single service input or output. See Swagger specification: http://swagger.io/specification/

type WebService

type WebService struct {
	autorest.Response `json:"-"`
	ID                *string               `json:"id,omitempty"`
	Name              *string               `json:"name,omitempty"`
	Location          *string               `json:"location,omitempty"`
	Type              *string               `json:"type,omitempty"`
	Tags              *map[string]*string   `json:"tags,omitempty"`
	Properties        *WebServiceProperties `json:"properties,omitempty"`
}

WebService is instance of an Azure ML web service resource.

type WebServiceKeys

type WebServiceKeys struct {
	autorest.Response `json:"-"`
	Primary           *string `json:"primary,omitempty"`
	Secondary         *string `json:"secondary,omitempty"`
}

WebServiceKeys is access keys for the web service calls.

type WebServiceProperties

type WebServiceProperties struct {
	Title                    *string                          `json:"title,omitempty"`
	Description              *string                          `json:"description,omitempty"`
	CreatedOn                *date.Time                       `json:"createdOn,omitempty"`
	ModifiedOn               *date.Time                       `json:"modifiedOn,omitempty"`
	ProvisioningState        ProvisioningState                `json:"provisioningState,omitempty"`
	Keys                     *WebServiceKeys                  `json:"keys,omitempty"`
	ReadOnly                 *bool                            `json:"readOnly,omitempty"`
	SwaggerLocation          *string                          `json:"swaggerLocation,omitempty"`
	ExposeSampleData         *bool                            `json:"exposeSampleData,omitempty"`
	RealtimeConfiguration    *RealtimeConfiguration           `json:"realtimeConfiguration,omitempty"`
	Diagnostics              *DiagnosticsConfiguration        `json:"diagnostics,omitempty"`
	StorageAccount           *StorageAccount                  `json:"storageAccount,omitempty"`
	MachineLearningWorkspace *Workspace                       `json:"machineLearningWorkspace,omitempty"`
	CommitmentPlan           *CommitmentPlan                  `json:"commitmentPlan,omitempty"`
	Input                    *ServiceInputOutputSpecification `json:"input,omitempty"`
	Output                   *ServiceInputOutputSpecification `json:"output,omitempty"`
	ExampleRequest           *ExampleRequest                  `json:"exampleRequest,omitempty"`
	Assets                   *map[string]*AssetItem           `json:"assets,omitempty"`
	Parameters               *map[string]*string              `json:"parameters,omitempty"`
}

WebServiceProperties is the set of properties specific to the Azure ML web service resource.

type WebServicePropertiesForGraph

type WebServicePropertiesForGraph struct {
	Title                    *string                          `json:"title,omitempty"`
	Description              *string                          `json:"description,omitempty"`
	CreatedOn                *date.Time                       `json:"createdOn,omitempty"`
	ModifiedOn               *date.Time                       `json:"modifiedOn,omitempty"`
	ProvisioningState        ProvisioningState                `json:"provisioningState,omitempty"`
	Keys                     *WebServiceKeys                  `json:"keys,omitempty"`
	ReadOnly                 *bool                            `json:"readOnly,omitempty"`
	SwaggerLocation          *string                          `json:"swaggerLocation,omitempty"`
	ExposeSampleData         *bool                            `json:"exposeSampleData,omitempty"`
	RealtimeConfiguration    *RealtimeConfiguration           `json:"realtimeConfiguration,omitempty"`
	Diagnostics              *DiagnosticsConfiguration        `json:"diagnostics,omitempty"`
	StorageAccount           *StorageAccount                  `json:"storageAccount,omitempty"`
	MachineLearningWorkspace *Workspace                       `json:"machineLearningWorkspace,omitempty"`
	CommitmentPlan           *CommitmentPlan                  `json:"commitmentPlan,omitempty"`
	Input                    *ServiceInputOutputSpecification `json:"input,omitempty"`
	Output                   *ServiceInputOutputSpecification `json:"output,omitempty"`
	ExampleRequest           *ExampleRequest                  `json:"exampleRequest,omitempty"`
	Assets                   *map[string]*AssetItem           `json:"assets,omitempty"`
	Parameters               *map[string]*string              `json:"parameters,omitempty"`
	Package                  *GraphPackage                    `json:"package,omitempty"`
}

WebServicePropertiesForGraph is properties specific to a Graph based web service.

type WebServicesClient

type WebServicesClient struct {
	ManagementClient
}

WebServicesClient is the these APIs allow end users to operate on Azure Machine Learning Web Services resources. They support the following operations:<ul><li>Create or update a web service</li><li>Get a web service</li><li>Patch a web service</li><li>Delete a web service</li><li>Get All Web Services in a Resource Group </li><li>Get All Web Services in a Subscription</li><li>Get Web Services Keys</li></ul>

func NewWebServicesClient

func NewWebServicesClient(subscriptionID string) WebServicesClient

NewWebServicesClient creates an instance of the WebServicesClient client.

func NewWebServicesClientWithBaseURI

func NewWebServicesClientWithBaseURI(baseURI string, subscriptionID string) WebServicesClient

NewWebServicesClientWithBaseURI creates an instance of the WebServicesClient client.

func (WebServicesClient) CreateOrUpdate

func (client WebServicesClient) CreateOrUpdate(createOrUpdatePayload WebService, resourceGroupName string, webServiceName string, cancel <-chan struct{}) (result autorest.Response, err error)

CreateOrUpdate creates or updates a new Azure ML web service or update an existing one. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

createOrUpdatePayload is the payload to create or update the Azure ML web service. resourceGroupName is name of the resource group. webServiceName is the Azure ML web service name which you want to reach.

func (WebServicesClient) CreateOrUpdatePreparer

func (client WebServicesClient) CreateOrUpdatePreparer(createOrUpdatePayload WebService, resourceGroupName string, webServiceName string, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (WebServicesClient) CreateOrUpdateResponder

func (client WebServicesClient) CreateOrUpdateResponder(resp *http.Response) (result autorest.Response, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (WebServicesClient) CreateOrUpdateSender

func (client WebServicesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (WebServicesClient) Get

func (client WebServicesClient) Get(resourceGroupName string, webServiceName string) (result WebService, err error)

Get retrieve an Azure ML web service definition by its subscription, resource group and name.

resourceGroupName is name of the resource group. webServiceName is the Azure ML web service name which you want to reach.

func (WebServicesClient) GetPreparer

func (client WebServicesClient) GetPreparer(resourceGroupName string, webServiceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (WebServicesClient) GetResponder

func (client WebServicesClient) GetResponder(resp *http.Response) (result WebService, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (WebServicesClient) GetSender

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

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

func (WebServicesClient) List

func (client WebServicesClient) List(skiptoken string) (result PaginatedWebServicesList, err error)

List retrieve all Azure ML web services in the current Azure subscription.

skiptoken is continuation token for pagination.

func (WebServicesClient) ListInResourceGroup

func (client WebServicesClient) ListInResourceGroup(resourceGroupName string, skiptoken string) (result PaginatedWebServicesList, err error)

ListInResourceGroup retrieve all Azure ML web services in a given resource group.

resourceGroupName is name of the resource group. skiptoken is continuation token for pagination.

func (WebServicesClient) ListInResourceGroupPreparer

func (client WebServicesClient) ListInResourceGroupPreparer(resourceGroupName string, skiptoken string) (*http.Request, error)

ListInResourceGroupPreparer prepares the ListInResourceGroup request.

func (WebServicesClient) ListInResourceGroupResponder

func (client WebServicesClient) ListInResourceGroupResponder(resp *http.Response) (result PaginatedWebServicesList, err error)

ListInResourceGroupResponder handles the response to the ListInResourceGroup request. The method always closes the http.Response Body.

func (WebServicesClient) ListInResourceGroupSender

func (client WebServicesClient) ListInResourceGroupSender(req *http.Request) (*http.Response, error)

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

func (WebServicesClient) ListKeys

func (client WebServicesClient) ListKeys(resourceGroupName string, webServiceName string) (result WebServiceKeys, err error)

ListKeys get the access keys of a particular Azure ML web service

resourceGroupName is name of the resource group. webServiceName is the Azure ML web service name which you want to reach.

func (WebServicesClient) ListKeysPreparer

func (client WebServicesClient) ListKeysPreparer(resourceGroupName string, webServiceName string) (*http.Request, error)

ListKeysPreparer prepares the ListKeys request.

func (WebServicesClient) ListKeysResponder

func (client WebServicesClient) ListKeysResponder(resp *http.Response) (result WebServiceKeys, err error)

ListKeysResponder handles the response to the ListKeys request. The method always closes the http.Response Body.

func (WebServicesClient) ListKeysSender

func (client WebServicesClient) ListKeysSender(req *http.Request) (*http.Response, error)

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

func (WebServicesClient) ListPreparer

func (client WebServicesClient) ListPreparer(skiptoken string) (*http.Request, error)

ListPreparer prepares the List request.

func (WebServicesClient) ListResponder

func (client WebServicesClient) ListResponder(resp *http.Response) (result PaginatedWebServicesList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (WebServicesClient) ListSender

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

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

func (WebServicesClient) Patch

func (client WebServicesClient) Patch(patchPayload WebService, resourceGroupName string, webServiceName string, cancel <-chan struct{}) (result autorest.Response, err error)

Patch patch an existing Azure ML web service resource. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

patchPayload is the payload to patch the Azure ML web service with. resourceGroupName is name of the resource group. webServiceName is the Azure ML web service name which you want to reach.

func (WebServicesClient) PatchPreparer

func (client WebServicesClient) PatchPreparer(patchPayload WebService, resourceGroupName string, webServiceName string, cancel <-chan struct{}) (*http.Request, error)

PatchPreparer prepares the Patch request.

func (WebServicesClient) PatchResponder

func (client WebServicesClient) PatchResponder(resp *http.Response) (result autorest.Response, err error)

PatchResponder handles the response to the Patch request. The method always closes the http.Response Body.

func (WebServicesClient) PatchSender

func (client WebServicesClient) PatchSender(req *http.Request) (*http.Response, error)

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

func (WebServicesClient) Remove

func (client WebServicesClient) Remove(resourceGroupName string, webServiceName string, cancel <-chan struct{}) (result autorest.Response, err error)

Remove remove an existing Azure ML web service. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is name of the resource group. webServiceName is the Azure ML web service name which you want to reach.

func (WebServicesClient) RemovePreparer

func (client WebServicesClient) RemovePreparer(resourceGroupName string, webServiceName string, cancel <-chan struct{}) (*http.Request, error)

RemovePreparer prepares the Remove request.

func (WebServicesClient) RemoveResponder

func (client WebServicesClient) RemoveResponder(resp *http.Response) (result autorest.Response, err error)

RemoveResponder handles the response to the Remove request. The method always closes the http.Response Body.

func (WebServicesClient) RemoveSender

func (client WebServicesClient) RemoveSender(req *http.Request) (*http.Response, error)

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

type Workspace

type Workspace struct {
	ID *string `json:"id,omitempty"`
}

Workspace is information about the machine learning workspace containing the experiment that is source for the web service.

Jump to

Keyboard shortcuts

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