azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/machinelearning/mgmt/2017-01-01/webservices Index | Files | Directories

package webservices

import "github.com/Azure/azure-sdk-for-go/services/machinelearning/mgmt/2017-01-01/webservices"

Package webservices implements the Azure ARM Webservices service API version 2017-01-01.

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

Package Files

client.go models.go operations.go version.go webservices.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type AssetItem Uses

type AssetItem struct {
    // Name - Asset's friendly name.
    Name *string `json:"name,omitempty"`
    // ID - Asset's Id.
    ID  *string `json:"id,omitempty"`
    // Type - Asset's type. Possible values include: 'AssetTypeModule', 'AssetTypeResource'
    Type AssetType `json:"type,omitempty"`
    // LocationInfo - Access information for the asset.
    LocationInfo *BlobLocation `json:"locationInfo,omitempty"`
    // InputPorts - Information about the asset's input ports.
    InputPorts map[string]*InputPort `json:"inputPorts"`
    // OutputPorts - Information about the asset's output ports.
    OutputPorts map[string]*OutputPort `json:"outputPorts"`
    // Metadata - If the asset is a custom module, this holds the module's metadata.
    Metadata map[string]*string `json:"metadata"`
    // Parameters - If the asset is a custom module, this holds the module's parameters.
    Parameters *[]ModuleAssetParameter `json:"parameters,omitempty"`
}

AssetItem information about an asset associated with the web service.

func (AssetItem) MarshalJSON Uses

func (ai AssetItem) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AssetItem.

type AssetType Uses

type AssetType string

AssetType enumerates the values for asset type.

const (
    // AssetTypeModule ...
    AssetTypeModule AssetType = "Module"
    // AssetTypeResource ...
    AssetTypeResource AssetType = "Resource"
)

func PossibleAssetTypeValues Uses

func PossibleAssetTypeValues() []AssetType

PossibleAssetTypeValues returns an array of possible values for the AssetType const type.

type AsyncOperationErrorInfo Uses

type AsyncOperationErrorInfo struct {
    // Code - READ-ONLY; The error code.
    Code *string `json:"code,omitempty"`
    // Target - READ-ONLY; The error target.
    Target *string `json:"target,omitempty"`
    // Message - READ-ONLY; The error message.
    Message *string `json:"message,omitempty"`
    // Details - READ-ONLY; An array containing error information.
    Details *[]AsyncOperationErrorInfo `json:"details,omitempty"`
}

AsyncOperationErrorInfo the error detail information for async operation

type AsyncOperationStatus Uses

type AsyncOperationStatus struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; Async operation id.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Async operation name.
    Name *string `json:"name,omitempty"`
    // ProvisioningState - READ-ONLY; Read Only: The provisioning state of the web service. Valid values are Unknown, Provisioning, Succeeded, and Failed. Possible values include: 'Unknown', 'Provisioning', 'Succeeded', 'Failed'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // StartTime - READ-ONLY; The date time that the async operation started.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - READ-ONLY; The date time that the async operation finished.
    EndTime *date.Time `json:"endTime,omitempty"`
    // PercentComplete - READ-ONLY; Async operation progress.
    PercentComplete *float64 `json:"percentComplete,omitempty"`
    // ErrorInfo - READ-ONLY; If the async operation fails, this structure contains the error details.
    ErrorInfo *AsyncOperationErrorInfo `json:"errorInfo,omitempty"`
}

AsyncOperationStatus azure async operation status.

type BaseClient Uses

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

BaseClient is the base client for Webservices.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type BasicProperties Uses

type BasicProperties interface {
    AsPropertiesForGraph() (*PropertiesForGraph, bool)
    AsProperties() (*Properties, bool)
}

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

type BlobLocation Uses

type BlobLocation struct {
    // URI - The URI from which the blob is accessible from. For example, aml://abc for system assets or https://xyz for user assets or payload.
    URI *string `json:"uri,omitempty"`
    // Credentials - Access credentials for the blob, if applicable (e.g. blob specified by storage account connection string + blob URI)
    Credentials *string `json:"credentials,omitempty"`
}

BlobLocation describes the access location for a blob.

type Client Uses

type Client struct {
    BaseClient
}

Client 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 NewClient Uses

func NewClient(subscriptionID string) Client

NewClient creates an instance of the Client client.

func NewClientWithBaseURI Uses

func NewClientWithBaseURI(baseURI string, subscriptionID string) Client

NewClientWithBaseURI creates an instance of the Client client.

func (Client) CreateOrUpdate Uses

func (client Client) CreateOrUpdate(ctx context.Context, resourceGroupName string, webServiceName string, createOrUpdatePayload WebService) (result CreateOrUpdateFuture, err error)

CreateOrUpdate create or update a web service. This call will overwrite an existing web service. Note that there is no warning or confirmation. This is a nonrecoverable operation. If your intent is to create a new web service, call the Get operation first to verify that it does not exist. Parameters: resourceGroupName - name of the resource group in which the web service is located. webServiceName - the name of the web service. createOrUpdatePayload - the payload that is used to create or update the web service.

func (Client) CreateOrUpdatePreparer Uses

func (client Client) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, webServiceName string, createOrUpdatePayload WebService) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (Client) CreateOrUpdateResponder Uses

func (client Client) CreateOrUpdateResponder(resp *http.Response) (result WebService, err error)

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

func (Client) CreateOrUpdateSender Uses

func (client Client) CreateOrUpdateSender(req *http.Request) (future CreateOrUpdateFuture, err error)

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

func (Client) CreateRegionalProperties Uses

func (client Client) CreateRegionalProperties(ctx context.Context, resourceGroupName string, webServiceName string, region string) (result CreateRegionalPropertiesFuture, err error)

CreateRegionalProperties creates an encrypted credentials parameter blob for the specified region. To get the web service from a region other than the region in which it has been created, you must first call Create Regional Web Services Properties to create a copy of the encrypted credential parameter blob in that region. You only need to do this before the first time that you get the web service in the new region. Parameters: resourceGroupName - name of the resource group in which the web service is located. webServiceName - the name of the web service. region - the region for which encrypted credential parameters are created.

func (Client) CreateRegionalPropertiesPreparer Uses

func (client Client) CreateRegionalPropertiesPreparer(ctx context.Context, resourceGroupName string, webServiceName string, region string) (*http.Request, error)

CreateRegionalPropertiesPreparer prepares the CreateRegionalProperties request.

func (Client) CreateRegionalPropertiesResponder Uses

func (client Client) CreateRegionalPropertiesResponder(resp *http.Response) (result AsyncOperationStatus, err error)

CreateRegionalPropertiesResponder handles the response to the CreateRegionalProperties request. The method always closes the http.Response Body.

func (Client) CreateRegionalPropertiesSender Uses

func (client Client) CreateRegionalPropertiesSender(req *http.Request) (future CreateRegionalPropertiesFuture, err error)

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

func (Client) Get Uses

func (client Client) Get(ctx context.Context, resourceGroupName string, webServiceName string, region string) (result WebService, err error)

Get gets the Web Service Definition as specified by a subscription, resource group, and name. Note that the storage credentials and web service keys are not returned by this call. To get the web service access keys, call List Keys. Parameters: resourceGroupName - name of the resource group in which the web service is located. webServiceName - the name of the web service. region - the region for which encrypted credential parameters are valid.

func (Client) GetPreparer Uses

func (client Client) GetPreparer(ctx context.Context, resourceGroupName string, webServiceName string, region string) (*http.Request, error)

GetPreparer prepares the Get request.

func (Client) GetResponder Uses

func (client Client) 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 (Client) GetSender Uses

func (client Client) 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 (Client) ListByResourceGroup Uses

func (client Client) ListByResourceGroup(ctx context.Context, resourceGroupName string, skiptoken string) (result PaginatedWebServicesListPage, err error)

ListByResourceGroup gets the web services in the specified resource group. Parameters: resourceGroupName - name of the resource group in which the web service is located. skiptoken - continuation token for pagination.

func (Client) ListByResourceGroupComplete Uses

func (client Client) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, skiptoken string) (result PaginatedWebServicesListIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (Client) ListByResourceGroupPreparer Uses

func (client Client) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, skiptoken string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (Client) ListByResourceGroupResponder Uses

func (client Client) ListByResourceGroupResponder(resp *http.Response) (result PaginatedWebServicesList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (Client) ListByResourceGroupSender Uses

func (client Client) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

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

func (Client) ListBySubscriptionID Uses

func (client Client) ListBySubscriptionID(ctx context.Context, skiptoken string) (result PaginatedWebServicesListPage, err error)

ListBySubscriptionID gets the web services in the specified subscription. Parameters: skiptoken - continuation token for pagination.

func (Client) ListBySubscriptionIDComplete Uses

func (client Client) ListBySubscriptionIDComplete(ctx context.Context, skiptoken string) (result PaginatedWebServicesListIterator, err error)

ListBySubscriptionIDComplete enumerates all values, automatically crossing page boundaries as required.

func (Client) ListBySubscriptionIDPreparer Uses

func (client Client) ListBySubscriptionIDPreparer(ctx context.Context, skiptoken string) (*http.Request, error)

ListBySubscriptionIDPreparer prepares the ListBySubscriptionID request.

func (Client) ListBySubscriptionIDResponder Uses

func (client Client) ListBySubscriptionIDResponder(resp *http.Response) (result PaginatedWebServicesList, err error)

ListBySubscriptionIDResponder handles the response to the ListBySubscriptionID request. The method always closes the http.Response Body.

func (Client) ListBySubscriptionIDSender Uses

func (client Client) ListBySubscriptionIDSender(req *http.Request) (*http.Response, error)

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

func (Client) ListKeys Uses

func (client Client) ListKeys(ctx context.Context, resourceGroupName string, webServiceName string) (result Keys, err error)

ListKeys gets the access keys for the specified web service. Parameters: resourceGroupName - name of the resource group in which the web service is located. webServiceName - the name of the web service.

func (Client) ListKeysPreparer Uses

func (client Client) ListKeysPreparer(ctx context.Context, resourceGroupName string, webServiceName string) (*http.Request, error)

ListKeysPreparer prepares the ListKeys request.

func (Client) ListKeysResponder Uses

func (client Client) ListKeysResponder(resp *http.Response) (result Keys, err error)

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

func (Client) ListKeysSender Uses

func (client Client) 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 (Client) Patch Uses

func (client Client) Patch(ctx context.Context, resourceGroupName string, webServiceName string, patchPayload PatchedWebService) (result PatchFuture, err error)

Patch modifies an existing web service resource. The PATCH API call is an asynchronous operation. To determine whether it has completed successfully, you must perform a Get operation. Parameters: resourceGroupName - name of the resource group in which the web service is located. webServiceName - the name of the web service. patchPayload - the payload to use to patch the web service.

func (Client) PatchPreparer Uses

func (client Client) PatchPreparer(ctx context.Context, resourceGroupName string, webServiceName string, patchPayload PatchedWebService) (*http.Request, error)

PatchPreparer prepares the Patch request.

func (Client) PatchResponder Uses

func (client Client) PatchResponder(resp *http.Response) (result WebService, err error)

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

func (Client) PatchSender Uses

func (client Client) PatchSender(req *http.Request) (future PatchFuture, err error)

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

func (Client) Remove Uses

func (client Client) Remove(ctx context.Context, resourceGroupName string, webServiceName string) (result RemoveFuture, err error)

Remove deletes the specified web service. Parameters: resourceGroupName - name of the resource group in which the web service is located. webServiceName - the name of the web service.

func (Client) RemovePreparer Uses

func (client Client) RemovePreparer(ctx context.Context, resourceGroupName string, webServiceName string) (*http.Request, error)

RemovePreparer prepares the Remove request.

func (Client) RemoveResponder Uses

func (client Client) 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 (Client) RemoveSender Uses

func (client Client) RemoveSender(req *http.Request) (future RemoveFuture, err error)

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

type ColumnFormat Uses

type ColumnFormat string

ColumnFormat enumerates the values for column format.

const (
    // Byte ...
    Byte ColumnFormat = "Byte"
    // Char ...
    Char ColumnFormat = "Char"
    // Complex128 ...
    Complex128 ColumnFormat = "Complex128"
    // Complex64 ...
    Complex64 ColumnFormat = "Complex64"
    // DateTime ...
    DateTime ColumnFormat = "Date-time"
    // DateTimeOffset ...
    DateTimeOffset ColumnFormat = "Date-timeOffset"
    // Double ...
    Double ColumnFormat = "Double"
    // Duration ...
    Duration ColumnFormat = "Duration"
    // Float ...
    Float ColumnFormat = "Float"
    // Int16 ...
    Int16 ColumnFormat = "Int16"
    // Int32 ...
    Int32 ColumnFormat = "Int32"
    // Int64 ...
    Int64 ColumnFormat = "Int64"
    // Int8 ...
    Int8 ColumnFormat = "Int8"
    // Uint16 ...
    Uint16 ColumnFormat = "Uint16"
    // Uint32 ...
    Uint32 ColumnFormat = "Uint32"
    // Uint64 ...
    Uint64 ColumnFormat = "Uint64"
    // Uint8 ...
    Uint8 ColumnFormat = "Uint8"
)

func PossibleColumnFormatValues Uses

func PossibleColumnFormatValues() []ColumnFormat

PossibleColumnFormatValues returns an array of possible values for the ColumnFormat const type.

type ColumnSpecification Uses

type ColumnSpecification struct {
    // Type - Data type of the column. Possible values include: 'Boolean', 'Integer', 'Number', 'String'
    Type ColumnType `json:"type,omitempty"`
    // Format - Additional format information for the data type. Possible values include: 'Byte', 'Char', 'Complex64', 'Complex128', 'DateTime', 'DateTimeOffset', 'Double', 'Duration', 'Float', 'Int8', 'Int16', 'Int32', 'Int64', 'Uint8', 'Uint16', 'Uint32', 'Uint64'
    Format ColumnFormat `json:"format,omitempty"`
    // Enum - If the data type is categorical, this provides the list of accepted categories.
    Enum *[]interface{} `json:"enum,omitempty"`
    // XMsIsnullable - Flag indicating if the type supports null values or not.
    XMsIsnullable *bool `json:"x-ms-isnullable,omitempty"`
    // XMsIsordered - Flag indicating whether the categories are treated as an ordered set or not, if this is a categorical column.
    XMsIsordered *bool `json:"x-ms-isordered,omitempty"`
}

ColumnSpecification 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 Uses

type ColumnType string

ColumnType enumerates the values for column type.

const (
    // Boolean ...
    Boolean ColumnType = "Boolean"
    // Integer ...
    Integer ColumnType = "Integer"
    // Number ...
    Number ColumnType = "Number"
    // String ...
    String ColumnType = "String"
)

func PossibleColumnTypeValues Uses

func PossibleColumnTypeValues() []ColumnType

PossibleColumnTypeValues returns an array of possible values for the ColumnType const type.

type CommitmentPlan Uses

type CommitmentPlan struct {
    // ID - Specifies the Azure Resource Manager ID of the commitment plan associated with the web service.
    ID *string `json:"id,omitempty"`
}

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

type CreateOrUpdateFuture Uses

type CreateOrUpdateFuture struct {
    azure.Future
}

CreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*CreateOrUpdateFuture) Result Uses

func (future *CreateOrUpdateFuture) Result(client Client) (ws WebService, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type CreateRegionalPropertiesFuture Uses

type CreateRegionalPropertiesFuture struct {
    azure.Future
}

CreateRegionalPropertiesFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*CreateRegionalPropertiesFuture) Result Uses

func (future *CreateRegionalPropertiesFuture) Result(client Client) (aos AsyncOperationStatus, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DiagnosticsConfiguration Uses

type DiagnosticsConfiguration struct {
    // Level - Specifies the verbosity of the diagnostic output. Valid values are: None - disables tracing; Error - collects only error (stderr) traces; All - collects all traces (stdout and stderr). Possible values include: 'None', 'Error', 'All'
    Level DiagnosticsLevel `json:"level,omitempty"`
    // Expiry - Specifies the date and time when the logging will cease. If null, diagnostic collection is not time limited.
    Expiry *date.Time `json:"expiry,omitempty"`
}

DiagnosticsConfiguration diagnostics settings for an Azure ML web service.

type DiagnosticsLevel Uses

type DiagnosticsLevel string

DiagnosticsLevel enumerates the values for diagnostics level.

const (
    // All ...
    All DiagnosticsLevel = "All"
    // Error ...
    Error DiagnosticsLevel = "Error"
    // None ...
    None DiagnosticsLevel = "None"
)

func PossibleDiagnosticsLevelValues Uses

func PossibleDiagnosticsLevelValues() []DiagnosticsLevel

PossibleDiagnosticsLevelValues returns an array of possible values for the DiagnosticsLevel const type.

type ExampleRequest Uses

type ExampleRequest struct {
    // Inputs - Sample input data for the web service's input(s) given as an input name to sample input values matrix map.
    Inputs map[string][][]interface{} `json:"inputs"`
    // GlobalParameters - Sample input data for the web service's global parameters
    GlobalParameters map[string]interface{} `json:"globalParameters"`
}

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

func (ExampleRequest) MarshalJSON Uses

func (er ExampleRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExampleRequest.

type GraphEdge Uses

type GraphEdge struct {
    // SourceNodeID - The source graph node's identifier.
    SourceNodeID *string `json:"sourceNodeId,omitempty"`
    // SourcePortID - The identifier of the source node's port that the edge connects from.
    SourcePortID *string `json:"sourcePortId,omitempty"`
    // TargetNodeID - The destination graph node's identifier.
    TargetNodeID *string `json:"targetNodeId,omitempty"`
    // TargetPortID - The identifier of the destination node's port that the edge connects into.
    TargetPortID *string `json:"targetPortId,omitempty"`
}

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

type GraphNode Uses

type GraphNode struct {
    // AssetID - The id of the asset represented by this node.
    AssetID *string `json:"assetId,omitempty"`
    // InputID - The id of the input element represented by this node.
    InputID *string `json:"inputId,omitempty"`
    // OutputID - The id of the output element represented by this node.
    OutputID *string `json:"outputId,omitempty"`
    // Parameters - If applicable, parameters of the node. Global graph parameters map into these, with values set at runtime.
    Parameters map[string]*Parameter `json:"parameters"`
}

GraphNode 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.

func (GraphNode) MarshalJSON Uses

func (gn GraphNode) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GraphNode.

type GraphPackage Uses

type GraphPackage struct {
    // Nodes - The set of nodes making up the graph, provided as a nodeId to GraphNode map
    Nodes map[string]*GraphNode `json:"nodes"`
    // Edges - The list of edges making up the graph.
    Edges *[]GraphEdge `json:"edges,omitempty"`
    // GraphParameters - The collection of global parameters for the graph, given as a global parameter name to GraphParameter map. Each parameter here has a 1:1 match with the global parameters values map declared at the WebServiceProperties level.
    GraphParameters map[string]*GraphParameter `json:"graphParameters"`
}

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

func (GraphPackage) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for GraphPackage.

type GraphParameter Uses

type GraphParameter struct {
    // Description - Description of this graph parameter.
    Description *string `json:"description,omitempty"`
    // Type - Graph parameter's type. Possible values include: 'ParameterTypeString', 'ParameterTypeInt', 'ParameterTypeFloat', 'ParameterTypeEnumerated', 'ParameterTypeScript', 'ParameterTypeMode', 'ParameterTypeCredential', 'ParameterTypeBoolean', 'ParameterTypeDouble', 'ParameterTypeColumnPicker', 'ParameterTypeParameterRange', 'ParameterTypeDataGatewayName'
    Type ParameterType `json:"type,omitempty"`
    // Links - Association links for this parameter to nodes in the graph.
    Links *[]GraphParameterLink `json:"links,omitempty"`
}

GraphParameter defines a global parameter in the graph.

type GraphParameterLink struct {
    // NodeID - The graph node's identifier
    NodeID *string `json:"nodeId,omitempty"`
    // ParameterKey - The identifier of the node parameter that the global parameter maps to.
    ParameterKey *string `json:"parameterKey,omitempty"`
}

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

type InputPort Uses

type InputPort struct {
    // Type - Port data type. Possible values include: 'Dataset'
    Type InputPortType `json:"type,omitempty"`
}

InputPort asset input port

type InputPortType Uses

type InputPortType string

InputPortType enumerates the values for input port type.

const (
    // Dataset ...
    Dataset InputPortType = "Dataset"
)

func PossibleInputPortTypeValues Uses

func PossibleInputPortTypeValues() []InputPortType

PossibleInputPortTypeValues returns an array of possible values for the InputPortType const type.

type Keys Uses

type Keys struct {
    autorest.Response `json:"-"`
    // Primary - The primary access key.
    Primary *string `json:"primary,omitempty"`
    // Secondary - The secondary access key.
    Secondary *string `json:"secondary,omitempty"`
}

Keys access keys for the web service calls.

type MachineLearningWorkspace Uses

type MachineLearningWorkspace struct {
    // ID - Specifies the workspace ID of the machine learning workspace associated with the web service
    ID *string `json:"id,omitempty"`
}

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

type ModeValueInfo Uses

type ModeValueInfo struct {
    // InterfaceString - The interface string name for the nested parameter.
    InterfaceString *string `json:"interfaceString,omitempty"`
    // Parameters - The definition of the parameter.
    Parameters *[]ModuleAssetParameter `json:"parameters,omitempty"`
}

ModeValueInfo nested parameter definition.

type ModuleAssetParameter Uses

type ModuleAssetParameter struct {
    // Name - Parameter name.
    Name *string `json:"name,omitempty"`
    // ParameterType - Parameter type.
    ParameterType *string `json:"parameterType,omitempty"`
    // ModeValuesInfo - Definitions for nested interface parameters if this is a complex module parameter.
    ModeValuesInfo map[string]*ModeValueInfo `json:"modeValuesInfo"`
}

ModuleAssetParameter parameter definition for a module asset.

func (ModuleAssetParameter) MarshalJSON Uses

func (mapVar ModuleAssetParameter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ModuleAssetParameter.

type OperationDisplayInfo Uses

type OperationDisplayInfo struct {
    // Description - READ-ONLY; The description of the operation.
    Description *string `json:"description,omitempty"`
    // Operation - READ-ONLY; The action that users can perform, based on their permission level.
    Operation *string `json:"operation,omitempty"`
    // Provider - READ-ONLY; The service provider.
    Provider *string `json:"provider,omitempty"`
    // Resource - READ-ONLY; The resource on which the operation is performed.
    Resource *string `json:"resource,omitempty"`
}

OperationDisplayInfo the API operation info.

type OperationEntity Uses

type OperationEntity struct {
    // Name - READ-ONLY; Operation name: {provider}/{resource}/{operation}.
    Name *string `json:"name,omitempty"`
    // Display - The API operation info.
    Display *OperationDisplayInfo `json:"display,omitempty"`
}

OperationEntity an API operation.

type OperationEntityListResult Uses

type OperationEntityListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; The list of operations.
    Value *[]OperationEntity `json:"value,omitempty"`
}

OperationEntityListResult the list of REST API operations.

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient 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 NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List Uses

func (client OperationsClient) List(ctx context.Context) (result OperationEntityListResult, err error)

List lists all the available REST API operations.

func (OperationsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationEntityListResult, err error)

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

func (OperationsClient) ListSender Uses

func (client OperationsClient) 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.

type OutputPort Uses

type OutputPort struct {
    // Type - Port data type. Possible values include: 'OutputPortTypeDataset'
    Type OutputPortType `json:"type,omitempty"`
}

OutputPort asset output port

type OutputPortType Uses

type OutputPortType string

OutputPortType enumerates the values for output port type.

const (
    // OutputPortTypeDataset ...
    OutputPortTypeDataset OutputPortType = "Dataset"
)

func PossibleOutputPortTypeValues Uses

func PossibleOutputPortTypeValues() []OutputPortType

PossibleOutputPortTypeValues returns an array of possible values for the OutputPortType const type.

type PackageType Uses

type PackageType string

PackageType enumerates the values for package type.

const (
    // PackageTypeGraph ...
    PackageTypeGraph PackageType = "Graph"
    // PackageTypeWebServiceProperties ...
    PackageTypeWebServiceProperties PackageType = "WebServiceProperties"
)

func PossiblePackageTypeValues Uses

func PossiblePackageTypeValues() []PackageType

PossiblePackageTypeValues returns an array of possible values for the PackageType const type.

type PaginatedWebServicesList Uses

type PaginatedWebServicesList struct {
    autorest.Response `json:"-"`
    // Value - An array of web service objects.
    Value *[]WebService `json:"value,omitempty"`
    // NextLink - A continuation link (absolute URI) to the next page of results in the list.
    NextLink *string `json:"nextLink,omitempty"`
}

PaginatedWebServicesList paginated list of web services.

func (PaginatedWebServicesList) IsEmpty Uses

func (pwsl PaginatedWebServicesList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PaginatedWebServicesListIterator Uses

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

PaginatedWebServicesListIterator provides access to a complete listing of WebService values.

func NewPaginatedWebServicesListIterator Uses

func NewPaginatedWebServicesListIterator(page PaginatedWebServicesListPage) PaginatedWebServicesListIterator

Creates a new instance of the PaginatedWebServicesListIterator type.

func (*PaginatedWebServicesListIterator) Next Uses

func (iter *PaginatedWebServicesListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PaginatedWebServicesListIterator) NextWithContext Uses

func (iter *PaginatedWebServicesListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PaginatedWebServicesListIterator) NotDone Uses

func (iter PaginatedWebServicesListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (PaginatedWebServicesListIterator) Response Uses

func (iter PaginatedWebServicesListIterator) Response() PaginatedWebServicesList

Response returns the raw server response from the last page request.

func (PaginatedWebServicesListIterator) Value Uses

func (iter PaginatedWebServicesListIterator) Value() WebService

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PaginatedWebServicesListPage Uses

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

PaginatedWebServicesListPage contains a page of WebService values.

func NewPaginatedWebServicesListPage Uses

func NewPaginatedWebServicesListPage(getNextPage func(context.Context, PaginatedWebServicesList) (PaginatedWebServicesList, error)) PaginatedWebServicesListPage

Creates a new instance of the PaginatedWebServicesListPage type.

func (*PaginatedWebServicesListPage) Next Uses

func (page *PaginatedWebServicesListPage) Next() error

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. Deprecated: Use NextWithContext() instead.

func (*PaginatedWebServicesListPage) NextWithContext Uses

func (page *PaginatedWebServicesListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 (PaginatedWebServicesListPage) NotDone Uses

func (page PaginatedWebServicesListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PaginatedWebServicesListPage) Response Uses

func (page PaginatedWebServicesListPage) Response() PaginatedWebServicesList

Response returns the raw server response from the last page request.

func (PaginatedWebServicesListPage) Values Uses

func (page PaginatedWebServicesListPage) Values() []WebService

Values returns the slice of values for the current page or nil if there are no values.

type Parameter Uses

type Parameter struct {
    // Value - The parameter value
    Value interface{} `json:"value,omitempty"`
    // CertificateThumbprint - If the parameter value in 'value' field is encrypted, the thumbprint of the certificate should be put here.
    CertificateThumbprint *string `json:"certificateThumbprint,omitempty"`
}

Parameter web Service Parameter object for node and global parameter

type ParameterType Uses

type ParameterType string

ParameterType enumerates the values for parameter type.

const (
    // ParameterTypeBoolean ...
    ParameterTypeBoolean ParameterType = "Boolean"
    // ParameterTypeColumnPicker ...
    ParameterTypeColumnPicker ParameterType = "ColumnPicker"
    // ParameterTypeCredential ...
    ParameterTypeCredential ParameterType = "Credential"
    // ParameterTypeDataGatewayName ...
    ParameterTypeDataGatewayName ParameterType = "DataGatewayName"
    // ParameterTypeDouble ...
    ParameterTypeDouble ParameterType = "Double"
    // ParameterTypeEnumerated ...
    ParameterTypeEnumerated ParameterType = "Enumerated"
    // ParameterTypeFloat ...
    ParameterTypeFloat ParameterType = "Float"
    // ParameterTypeInt ...
    ParameterTypeInt ParameterType = "Int"
    // ParameterTypeMode ...
    ParameterTypeMode ParameterType = "Mode"
    // ParameterTypeParameterRange ...
    ParameterTypeParameterRange ParameterType = "ParameterRange"
    // ParameterTypeScript ...
    ParameterTypeScript ParameterType = "Script"
    // ParameterTypeString ...
    ParameterTypeString ParameterType = "String"
)

func PossibleParameterTypeValues Uses

func PossibleParameterTypeValues() []ParameterType

PossibleParameterTypeValues returns an array of possible values for the ParameterType const type.

type PatchFuture Uses

type PatchFuture struct {
    azure.Future
}

PatchFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PatchFuture) Result Uses

func (future *PatchFuture) Result(client Client) (ws WebService, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PatchedResource Uses

type PatchedResource struct {
    // ID - READ-ONLY; Specifies the resource ID.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Specifies the name of the resource.
    Name *string `json:"name,omitempty"`
    // Location - READ-ONLY; Specifies the location of the resource.
    Location *string `json:"location,omitempty"`
    // Type - READ-ONLY; Specifies the type of the resource.
    Type *string `json:"type,omitempty"`
    // Tags - Contains resource tags defined as key/value pairs.
    Tags map[string]*string `json:"tags"`
}

PatchedResource azure resource.

func (PatchedResource) MarshalJSON Uses

func (pr PatchedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PatchedResource.

type PatchedWebService Uses

type PatchedWebService struct {
    // Properties - Contains the property payload that describes the web service.
    Properties BasicProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Specifies the resource ID.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Specifies the name of the resource.
    Name *string `json:"name,omitempty"`
    // Location - READ-ONLY; Specifies the location of the resource.
    Location *string `json:"location,omitempty"`
    // Type - READ-ONLY; Specifies the type of the resource.
    Type *string `json:"type,omitempty"`
    // Tags - Contains resource tags defined as key/value pairs.
    Tags map[string]*string `json:"tags"`
}

PatchedWebService instance of an Patched Azure ML web service resource.

func (PatchedWebService) MarshalJSON Uses

func (pws PatchedWebService) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PatchedWebService.

func (*PatchedWebService) UnmarshalJSON Uses

func (pws *PatchedWebService) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PatchedWebService struct.

type Properties Uses

type Properties struct {
    // Title - The title of the web service.
    Title *string `json:"title,omitempty"`
    // Description - The description of the web service.
    Description *string `json:"description,omitempty"`
    // CreatedOn - READ-ONLY; Read Only: The date and time when the web service was created.
    CreatedOn *date.Time `json:"createdOn,omitempty"`
    // ModifiedOn - READ-ONLY; Read Only: The date and time when the web service was last modified.
    ModifiedOn *date.Time `json:"modifiedOn,omitempty"`
    // ProvisioningState - READ-ONLY; Read Only: The provision state of the web service. Valid values are Unknown, Provisioning, Succeeded, and Failed. Possible values include: 'Unknown', 'Provisioning', 'Succeeded', 'Failed'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // Keys - Contains the web service provisioning keys. If you do not specify provisioning keys, the Azure Machine Learning system generates them for you. Note: The keys are not returned from calls to GET operations.
    Keys *Keys `json:"keys,omitempty"`
    // ReadOnly - When set to true, indicates that the web service is read-only and can no longer be updated or patched, only removed. Default, is false. Note: Once set to true, you cannot change its value.
    ReadOnly *bool `json:"readOnly,omitempty"`
    // SwaggerLocation - READ-ONLY; Read Only: Contains the URI of the swagger spec associated with this web service.
    SwaggerLocation *string `json:"swaggerLocation,omitempty"`
    // ExposeSampleData - When set to true, sample data is included in the web service's swagger definition. The default value is true.
    ExposeSampleData *bool `json:"exposeSampleData,omitempty"`
    // RealtimeConfiguration - Contains the configuration settings for the web service endpoint.
    RealtimeConfiguration *RealtimeConfiguration `json:"realtimeConfiguration,omitempty"`
    // Diagnostics - Settings controlling the diagnostics traces collection for the web service.
    Diagnostics *DiagnosticsConfiguration `json:"diagnostics,omitempty"`
    // StorageAccount - Specifies the storage account that Azure Machine Learning uses to store information about the web service. Only the name of the storage account is returned from calls to GET operations. When updating the storage account information, you must ensure that all necessary assets are available in the new storage account or calls to your web service will fail.
    StorageAccount *StorageAccount `json:"storageAccount,omitempty"`
    // MachineLearningWorkspace - Specifies the Machine Learning workspace containing the experiment that is source for the web service.
    MachineLearningWorkspace *MachineLearningWorkspace `json:"machineLearningWorkspace,omitempty"`
    // CommitmentPlan - Contains the commitment plan associated with this web service. Set at creation time. Once set, this value cannot be changed. Note: The commitment plan is not returned from calls to GET operations.
    CommitmentPlan *CommitmentPlan `json:"commitmentPlan,omitempty"`
    // Input - Contains the Swagger 2.0 schema describing one or more of the web service's inputs. For more information, see the Swagger specification.
    Input *ServiceInputOutputSpecification `json:"input,omitempty"`
    // Output - Contains the Swagger 2.0 schema describing one or more of the web service's outputs. For more information, see the Swagger specification.
    Output *ServiceInputOutputSpecification `json:"output,omitempty"`
    // ExampleRequest - Defines sample input data for one or more of the service's inputs.
    ExampleRequest *ExampleRequest `json:"exampleRequest,omitempty"`
    // Assets - Contains user defined properties describing web service assets. Properties are expressed as Key/Value pairs.
    Assets map[string]*AssetItem `json:"assets"`
    // Parameters - The set of global parameters values defined for the web service, given as a global parameter name to default value map. If no default value is specified, the parameter is considered to be required.
    Parameters map[string]*Parameter `json:"parameters"`
    // PayloadsInBlobStorage - When set to true, indicates that the payload size is larger than 3 MB. Otherwise false. If the payload size exceed 3 MB, the payload is stored in a blob and the PayloadsLocation parameter contains the URI of the blob. Otherwise, this will be set to false and Assets, Input, Output, Package, Parameters, ExampleRequest are inline. The Payload sizes is determined by adding the size of the Assets, Input, Output, Package, Parameters, and the ExampleRequest.
    PayloadsInBlobStorage *bool `json:"payloadsInBlobStorage,omitempty"`
    // PayloadsLocation - The URI of the payload blob. This parameter contains a value only if the payloadsInBlobStorage parameter is set to true. Otherwise is set to null.
    PayloadsLocation *BlobLocation `json:"payloadsLocation,omitempty"`
    // PackageType - Possible values include: 'PackageTypeWebServiceProperties', 'PackageTypeGraph'
    PackageType PackageType `json:"packageType,omitempty"`
}

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

func (Properties) AsBasicProperties Uses

func (p Properties) AsBasicProperties() (BasicProperties, bool)

AsBasicProperties is the BasicProperties implementation for Properties.

func (Properties) AsProperties Uses

func (p Properties) AsProperties() (*Properties, bool)

AsProperties is the BasicProperties implementation for Properties.

func (Properties) AsPropertiesForGraph Uses

func (p Properties) AsPropertiesForGraph() (*PropertiesForGraph, bool)

AsPropertiesForGraph is the BasicProperties implementation for Properties.

func (Properties) MarshalJSON Uses

func (p Properties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Properties.

type PropertiesForGraph Uses

type PropertiesForGraph struct {
    // Package - The definition of the graph package making up this web service.
    Package *GraphPackage `json:"package,omitempty"`
    // Title - The title of the web service.
    Title *string `json:"title,omitempty"`
    // Description - The description of the web service.
    Description *string `json:"description,omitempty"`
    // CreatedOn - READ-ONLY; Read Only: The date and time when the web service was created.
    CreatedOn *date.Time `json:"createdOn,omitempty"`
    // ModifiedOn - READ-ONLY; Read Only: The date and time when the web service was last modified.
    ModifiedOn *date.Time `json:"modifiedOn,omitempty"`
    // ProvisioningState - READ-ONLY; Read Only: The provision state of the web service. Valid values are Unknown, Provisioning, Succeeded, and Failed. Possible values include: 'Unknown', 'Provisioning', 'Succeeded', 'Failed'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // Keys - Contains the web service provisioning keys. If you do not specify provisioning keys, the Azure Machine Learning system generates them for you. Note: The keys are not returned from calls to GET operations.
    Keys *Keys `json:"keys,omitempty"`
    // ReadOnly - When set to true, indicates that the web service is read-only and can no longer be updated or patched, only removed. Default, is false. Note: Once set to true, you cannot change its value.
    ReadOnly *bool `json:"readOnly,omitempty"`
    // SwaggerLocation - READ-ONLY; Read Only: Contains the URI of the swagger spec associated with this web service.
    SwaggerLocation *string `json:"swaggerLocation,omitempty"`
    // ExposeSampleData - When set to true, sample data is included in the web service's swagger definition. The default value is true.
    ExposeSampleData *bool `json:"exposeSampleData,omitempty"`
    // RealtimeConfiguration - Contains the configuration settings for the web service endpoint.
    RealtimeConfiguration *RealtimeConfiguration `json:"realtimeConfiguration,omitempty"`
    // Diagnostics - Settings controlling the diagnostics traces collection for the web service.
    Diagnostics *DiagnosticsConfiguration `json:"diagnostics,omitempty"`
    // StorageAccount - Specifies the storage account that Azure Machine Learning uses to store information about the web service. Only the name of the storage account is returned from calls to GET operations. When updating the storage account information, you must ensure that all necessary assets are available in the new storage account or calls to your web service will fail.
    StorageAccount *StorageAccount `json:"storageAccount,omitempty"`
    // MachineLearningWorkspace - Specifies the Machine Learning workspace containing the experiment that is source for the web service.
    MachineLearningWorkspace *MachineLearningWorkspace `json:"machineLearningWorkspace,omitempty"`
    // CommitmentPlan - Contains the commitment plan associated with this web service. Set at creation time. Once set, this value cannot be changed. Note: The commitment plan is not returned from calls to GET operations.
    CommitmentPlan *CommitmentPlan `json:"commitmentPlan,omitempty"`
    // Input - Contains the Swagger 2.0 schema describing one or more of the web service's inputs. For more information, see the Swagger specification.
    Input *ServiceInputOutputSpecification `json:"input,omitempty"`
    // Output - Contains the Swagger 2.0 schema describing one or more of the web service's outputs. For more information, see the Swagger specification.
    Output *ServiceInputOutputSpecification `json:"output,omitempty"`
    // ExampleRequest - Defines sample input data for one or more of the service's inputs.
    ExampleRequest *ExampleRequest `json:"exampleRequest,omitempty"`
    // Assets - Contains user defined properties describing web service assets. Properties are expressed as Key/Value pairs.
    Assets map[string]*AssetItem `json:"assets"`
    // Parameters - The set of global parameters values defined for the web service, given as a global parameter name to default value map. If no default value is specified, the parameter is considered to be required.
    Parameters map[string]*Parameter `json:"parameters"`
    // PayloadsInBlobStorage - When set to true, indicates that the payload size is larger than 3 MB. Otherwise false. If the payload size exceed 3 MB, the payload is stored in a blob and the PayloadsLocation parameter contains the URI of the blob. Otherwise, this will be set to false and Assets, Input, Output, Package, Parameters, ExampleRequest are inline. The Payload sizes is determined by adding the size of the Assets, Input, Output, Package, Parameters, and the ExampleRequest.
    PayloadsInBlobStorage *bool `json:"payloadsInBlobStorage,omitempty"`
    // PayloadsLocation - The URI of the payload blob. This parameter contains a value only if the payloadsInBlobStorage parameter is set to true. Otherwise is set to null.
    PayloadsLocation *BlobLocation `json:"payloadsLocation,omitempty"`
    // PackageType - Possible values include: 'PackageTypeWebServiceProperties', 'PackageTypeGraph'
    PackageType PackageType `json:"packageType,omitempty"`
}

PropertiesForGraph properties specific to a Graph based web service.

func (PropertiesForGraph) AsBasicProperties Uses

func (pfg PropertiesForGraph) AsBasicProperties() (BasicProperties, bool)

AsBasicProperties is the BasicProperties implementation for PropertiesForGraph.

func (PropertiesForGraph) AsProperties Uses

func (pfg PropertiesForGraph) AsProperties() (*Properties, bool)

AsProperties is the BasicProperties implementation for PropertiesForGraph.

func (PropertiesForGraph) AsPropertiesForGraph Uses

func (pfg PropertiesForGraph) AsPropertiesForGraph() (*PropertiesForGraph, bool)

AsPropertiesForGraph is the BasicProperties implementation for PropertiesForGraph.

func (PropertiesForGraph) MarshalJSON Uses

func (pfg PropertiesForGraph) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PropertiesForGraph.

type ProvisioningState Uses

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
    // Failed ...
    Failed ProvisioningState = "Failed"
    // Provisioning ...
    Provisioning ProvisioningState = "Provisioning"
    // Succeeded ...
    Succeeded ProvisioningState = "Succeeded"
    // Unknown ...
    Unknown ProvisioningState = "Unknown"
)

func PossibleProvisioningStateValues Uses

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type RealtimeConfiguration Uses

type RealtimeConfiguration struct {
    // MaxConcurrentCalls - Specifies the maximum concurrent calls that can be made to the web service. Minimum value: 4, Maximum value: 200.
    MaxConcurrentCalls *int32 `json:"maxConcurrentCalls,omitempty"`
}

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

type RemoveFuture Uses

type RemoveFuture struct {
    azure.Future
}

RemoveFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*RemoveFuture) Result Uses

func (future *RemoveFuture) Result(client Client) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type Resource Uses

type Resource struct {
    // ID - READ-ONLY; Specifies the resource ID.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Specifies the name of the resource.
    Name *string `json:"name,omitempty"`
    // Location - Specifies the location of the resource.
    Location *string `json:"location,omitempty"`
    // Type - READ-ONLY; Specifies the type of the resource.
    Type *string `json:"type,omitempty"`
    // Tags - Contains resource tags defined as key/value pairs.
    Tags map[string]*string `json:"tags"`
}

Resource azure resource.

func (Resource) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Resource.

type ServiceInputOutputSpecification Uses

type ServiceInputOutputSpecification struct {
    // Title - The title of your Swagger schema.
    Title *string `json:"title,omitempty"`
    // Description - The description of the Swagger schema.
    Description *string `json:"description,omitempty"`
    // Type - The type of the entity described in swagger. Always 'object'.
    Type *string `json:"type,omitempty"`
    // Properties - Specifies a collection that contains the column schema for each input or output of the web service. For more information, see the Swagger specification.
    Properties map[string]*TableSpecification `json:"properties"`
}

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

func (ServiceInputOutputSpecification) MarshalJSON Uses

func (sios ServiceInputOutputSpecification) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceInputOutputSpecification.

type StorageAccount Uses

type StorageAccount struct {
    // Name - Specifies the name of the storage account.
    Name *string `json:"name,omitempty"`
    // Key - Specifies the key used to access the storage account.
    Key *string `json:"key,omitempty"`
}

StorageAccount access information for a storage account.

type TableSpecification Uses

type TableSpecification struct {
    // Title - Swagger schema title.
    Title *string `json:"title,omitempty"`
    // Description - Swagger schema description.
    Description *string `json:"description,omitempty"`
    // Type - The type of the entity described in swagger.
    Type *string `json:"type,omitempty"`
    // Format - The format, if 'type' is not 'object'
    Format *string `json:"format,omitempty"`
    // Properties - The set of columns within the data table.
    Properties map[string]*ColumnSpecification `json:"properties"`
}

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

func (TableSpecification) MarshalJSON Uses

func (ts TableSpecification) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TableSpecification.

type WebService Uses

type WebService struct {
    autorest.Response `json:"-"`
    // Properties - Contains the property payload that describes the web service.
    Properties BasicProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Specifies the resource ID.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Specifies the name of the resource.
    Name *string `json:"name,omitempty"`
    // Location - Specifies the location of the resource.
    Location *string `json:"location,omitempty"`
    // Type - READ-ONLY; Specifies the type of the resource.
    Type *string `json:"type,omitempty"`
    // Tags - Contains resource tags defined as key/value pairs.
    Tags map[string]*string `json:"tags"`
}

WebService instance of an Azure ML web service resource.

func (WebService) MarshalJSON Uses

func (ws WebService) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebService.

func (*WebService) UnmarshalJSON Uses

func (ws *WebService) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WebService struct.

Directories

PathSynopsis
webservicesapi

Package webservices imports 10 packages (graph) and is imported by 4 packages. Updated 2019-08-02. Refresh now. Tools for package owners.