UnknownWebservice Class
For internal use only.
This class is used by the Webservice class to get or list service subtypes when the web service was created from a package that wasn't imported, for example, for a service created with the <xref:azureml.accel> package.
Initialize the Webservice instance.
The Webservice constructor retrieves a cloud representation of a Webservice object associated with the provided workspace. It will return an instance of a child class corresponding to the specific type of the retrieved Webservice object.
Constructor
UnknownWebservice(workspace, name)
Parameters
| Name | Description |
|---|---|
|
workspace
Required
|
The workspace object containing the Webservice object to retrieve. |
|
name
Required
|
The name of the of the Webservice object to retrieve. |
Methods
| get_token |
Retrieve auth token for this Webservice, scoped to the current user. Note Not implemented. |
| run |
Call this Webservice with the provided input. Note Not implemented. |
| update |
Update the Webservice. Possible options to update vary based on Webservice type. Note Not implemented. |
get_token
Retrieve auth token for this Webservice, scoped to the current user.
Note
Not implemented.
get_token()
Returns
| Type | Description |
|---|---|
|
The auth token for this Webservice and when it should be refreshed after. |
Exceptions
| Type | Description |
|---|---|
run
Call this Webservice with the provided input.
Note
Not implemented.
run(input)
Parameters
| Name | Description |
|---|---|
|
input
Required
|
<xref:varies>
The input to call the Webservice with. |
Returns
| Type | Description |
|---|---|
|
The result of calling the Webservice. |
Exceptions
| Type | Description |
|---|---|
update
Update the Webservice. Possible options to update vary based on Webservice type.
Note
Not implemented.
update(*args)
Parameters
| Name | Description |
|---|---|
|
args
Required
|
<xref:varies>
Values to update |
Exceptions
| Type | Description |
|---|---|