Documentation ¶
Overview ¶
Package webservices implements the Azure ARM Webservices 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
- func UserAgent() string
- func Version() string
- type AssetItem
- type AssetLocation
- type AssetType
- type ColumnFormat
- type ColumnSpecification
- type ColumnType
- type CommitmentPlan
- type DiagnosticsConfiguration
- type DiagnosticsLevel
- type ExampleRequest
- type GraphEdge
- type GraphNode
- type GraphPackage
- type GraphParameter
- type GraphParameterLink
- type GroupClient
- func (client GroupClient) CreateOrUpdate(resourceGroupName string, webServiceName string, ...) (result autorest.Response, err error)
- func (client GroupClient) CreateOrUpdatePreparer(resourceGroupName string, webServiceName string, ...) (*http.Request, error)
- func (client GroupClient) CreateOrUpdateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client GroupClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client GroupClient) Get(resourceGroupName string, webServiceName string) (result WebService, err error)
- func (client GroupClient) GetPreparer(resourceGroupName string, webServiceName string) (*http.Request, error)
- func (client GroupClient) GetResponder(resp *http.Response) (result WebService, err error)
- func (client GroupClient) GetSender(req *http.Request) (*http.Response, error)
- func (client GroupClient) List(skiptoken string) (result PaginatedWebServicesList, err error)
- func (client GroupClient) ListByResourceGroup(resourceGroupName string, skiptoken string) (result PaginatedWebServicesList, err error)
- func (client GroupClient) ListByResourceGroupNextResults(lastResults PaginatedWebServicesList) (result PaginatedWebServicesList, err error)
- func (client GroupClient) ListByResourceGroupPreparer(resourceGroupName string, skiptoken string) (*http.Request, error)
- func (client GroupClient) ListByResourceGroupResponder(resp *http.Response) (result PaginatedWebServicesList, err error)
- func (client GroupClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client GroupClient) ListKeys(resourceGroupName string, webServiceName string) (result Keys, err error)
- func (client GroupClient) ListKeysPreparer(resourceGroupName string, webServiceName string) (*http.Request, error)
- func (client GroupClient) ListKeysResponder(resp *http.Response) (result Keys, err error)
- func (client GroupClient) ListKeysSender(req *http.Request) (*http.Response, error)
- func (client GroupClient) ListNextResults(lastResults PaginatedWebServicesList) (result PaginatedWebServicesList, err error)
- func (client GroupClient) ListPreparer(skiptoken string) (*http.Request, error)
- func (client GroupClient) ListResponder(resp *http.Response) (result PaginatedWebServicesList, err error)
- func (client GroupClient) ListSender(req *http.Request) (*http.Response, error)
- func (client GroupClient) Patch(resourceGroupName string, webServiceName string, patchPayload WebService, ...) (result autorest.Response, err error)
- func (client GroupClient) PatchPreparer(resourceGroupName string, webServiceName string, patchPayload WebService, ...) (*http.Request, error)
- func (client GroupClient) PatchResponder(resp *http.Response) (result autorest.Response, err error)
- func (client GroupClient) PatchSender(req *http.Request) (*http.Response, error)
- func (client GroupClient) Remove(resourceGroupName string, webServiceName string, cancel <-chan struct{}) (result autorest.Response, err error)
- func (client GroupClient) RemovePreparer(resourceGroupName string, webServiceName string, cancel <-chan struct{}) (*http.Request, error)
- func (client GroupClient) RemoveResponder(resp *http.Response) (result autorest.Response, err error)
- func (client GroupClient) RemoveSender(req *http.Request) (*http.Response, error)
- type InputPort
- type InputPortType
- type Keys
- type MachineLearningWorkspace
- type ManagementClient
- type ModeValueInfo
- type ModuleAssetParameter
- type OutputPort
- type OutputPortType
- type PaginatedWebServicesList
- type ParameterType
- type Properties
- type PropertiesForGraph
- type ProvisioningState
- type RealtimeConfiguration
- type Resource
- type ServiceInputOutputSpecification
- type StorageAccount
- type TableSpecification
- type WebService
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Webservices
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 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" // Complex128 specifies the complex 128 state for column format. Complex128 ColumnFormat = "Complex128" // Complex64 specifies the complex 64 state for column format. Complex64 ColumnFormat = "Complex64" // DateTime specifies the date time state for column format. DateTime ColumnFormat = "Date-time" // DateTimeOffset specifies the date time offset state for column format. DateTimeOffset ColumnFormat = "Date-timeOffset" // 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 ¶
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 GroupClient ¶
type GroupClient struct {
ManagementClient
}
GroupClient 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 NewGroupClient ¶
func NewGroupClient(subscriptionID string) GroupClient
NewGroupClient creates an instance of the GroupClient client.
func NewGroupClientWithBaseURI ¶
func NewGroupClientWithBaseURI(baseURI string, subscriptionID string) GroupClient
NewGroupClientWithBaseURI creates an instance of the GroupClient client.
func (GroupClient) CreateOrUpdate ¶
func (client GroupClient) CreateOrUpdate(resourceGroupName string, webServiceName string, createOrUpdatePayload WebService, cancel <-chan struct{}) (result autorest.Response, 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. 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 in which the web service is located. webServiceName is the name of the web service. createOrUpdatePayload is the payload that is used to create or update the web service.
func (GroupClient) CreateOrUpdatePreparer ¶
func (client GroupClient) CreateOrUpdatePreparer(resourceGroupName string, webServiceName string, createOrUpdatePayload WebService, cancel <-chan struct{}) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (GroupClient) CreateOrUpdateResponder ¶
func (client GroupClient) 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 (GroupClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (GroupClient) Get ¶
func (client GroupClient) Get(resourceGroupName string, webServiceName string) (result WebService, err error)
Get gets the Web Service Definiton 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.
resourceGroupName is name of the resource group in which the web service is located. webServiceName is the name of the web service.
func (GroupClient) GetPreparer ¶
func (client GroupClient) GetPreparer(resourceGroupName string, webServiceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (GroupClient) GetResponder ¶
func (client GroupClient) 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 (GroupClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (GroupClient) List ¶
func (client GroupClient) List(skiptoken string) (result PaginatedWebServicesList, err error)
List gets the web services in the specified subscription.
skiptoken is continuation token for pagination.
func (GroupClient) ListByResourceGroup ¶
func (client GroupClient) ListByResourceGroup(resourceGroupName string, skiptoken string) (result PaginatedWebServicesList, err error)
ListByResourceGroup gets the web services in the specified resource group.
resourceGroupName is name of the resource group in which the web service is located. skiptoken is continuation token for pagination.
func (GroupClient) ListByResourceGroupNextResults ¶
func (client GroupClient) ListByResourceGroupNextResults(lastResults PaginatedWebServicesList) (result PaginatedWebServicesList, err error)
ListByResourceGroupNextResults retrieves the next set of results, if any.
func (GroupClient) ListByResourceGroupPreparer ¶
func (client GroupClient) ListByResourceGroupPreparer(resourceGroupName string, skiptoken string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (GroupClient) ListByResourceGroupResponder ¶
func (client GroupClient) 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 (GroupClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (GroupClient) ListKeys ¶
func (client GroupClient) ListKeys(resourceGroupName string, webServiceName string) (result Keys, err error)
ListKeys gets the access keys for the specified web service.
resourceGroupName is name of the resource group in which the web service is located. webServiceName is the name of the web service.
func (GroupClient) ListKeysPreparer ¶
func (client GroupClient) ListKeysPreparer(resourceGroupName string, webServiceName string) (*http.Request, error)
ListKeysPreparer prepares the ListKeys request.
func (GroupClient) ListKeysResponder ¶
func (client GroupClient) 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 (GroupClient) ListKeysSender ¶
ListKeysSender sends the ListKeys request. The method will close the http.Response Body if it receives an error.
func (GroupClient) ListNextResults ¶
func (client GroupClient) ListNextResults(lastResults PaginatedWebServicesList) (result PaginatedWebServicesList, err error)
ListNextResults retrieves the next set of results, if any.
func (GroupClient) ListPreparer ¶
func (client GroupClient) ListPreparer(skiptoken string) (*http.Request, error)
ListPreparer prepares the List request.
func (GroupClient) ListResponder ¶
func (client GroupClient) 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 (GroupClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (GroupClient) Patch ¶
func (client GroupClient) Patch(resourceGroupName string, webServiceName string, patchPayload WebService, cancel <-chan struct{}) (result autorest.Response, 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. 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 in which the web service is located. webServiceName is the name of the web service. patchPayload is the payload to use to patch the web service.
func (GroupClient) PatchPreparer ¶
func (client GroupClient) PatchPreparer(resourceGroupName string, webServiceName string, patchPayload WebService, cancel <-chan struct{}) (*http.Request, error)
PatchPreparer prepares the Patch request.
func (GroupClient) PatchResponder ¶
PatchResponder handles the response to the Patch request. The method always closes the http.Response Body.
func (GroupClient) PatchSender ¶
PatchSender sends the Patch request. The method will close the http.Response Body if it receives an error.
func (GroupClient) Remove ¶
func (client GroupClient) Remove(resourceGroupName string, webServiceName string, cancel <-chan struct{}) (result autorest.Response, err error)
Remove deletes the specified 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 in which the web service is located. webServiceName is the name of the web service.
func (GroupClient) RemovePreparer ¶
func (client GroupClient) RemovePreparer(resourceGroupName string, webServiceName string, cancel <-chan struct{}) (*http.Request, error)
RemovePreparer prepares the Remove request.
func (GroupClient) RemoveResponder ¶
func (client GroupClient) 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 (GroupClient) RemoveSender ¶
RemoveSender sends the Remove request. The method will close the http.Response Body if it receives an error.
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 Keys ¶
type Keys struct { autorest.Response `json:"-"` Primary *string `json:"primary,omitempty"` Secondary *string `json:"secondary,omitempty"` }
Keys is access keys for the web service calls.
type MachineLearningWorkspace ¶
type MachineLearningWorkspace struct {
ID *string `json:"id,omitempty"`
}
MachineLearningWorkspace is information about the machine learning workspace containing the experiment that is source for the web service.
type ManagementClient ¶
ManagementClient is the base client for Webservices.
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.
func (PaginatedWebServicesList) PaginatedWebServicesListPreparer ¶
func (client PaginatedWebServicesList) PaginatedWebServicesListPreparer() (*http.Request, error)
PaginatedWebServicesListPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
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 Properties ¶
type Properties 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 *Keys `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 *MachineLearningWorkspace `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"` }
Properties is the set of properties specific to the Azure ML web service resource.
type PropertiesForGraph ¶
type PropertiesForGraph 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 *Keys `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 *MachineLearningWorkspace `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"` }
PropertiesForGraph is properties specific to a Graph based web service.
type ProvisioningState ¶
type ProvisioningState string
ProvisioningState enumerates the values for provisioning state.
const ( // 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 *Properties `json:"properties,omitempty"` }
WebService is instance of an Azure ML web service resource.