AccountConnections interface
Interface representing a AccountConnections.
Methods
| create(string, string, string, Account |
Create or update Cognitive Services account connection under the specified account. |
| delete(string, string, string, Account |
Delete Cognitive Services account connection by name. |
| get(string, string, string, Account |
Lists Cognitive Services account connection by name. |
| list(string, string, Account |
Lists all the available Cognitive Services account connections under the specified account. |
| update(string, string, string, Account |
Update Cognitive Services account connection under the specified account. |
Method Details
create(string, string, string, AccountConnectionsCreateOptionalParams)
Create or update Cognitive Services account connection under the specified account.
function create(resourceGroupName: string, accountName: string, connectionName: string, options?: AccountConnectionsCreateOptionalParams): Promise<ConnectionPropertiesV2BasicResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- accountName
-
string
The name of Cognitive Services account.
- connectionName
-
string
Friendly name of the connection
The options parameters.
Returns
Promise<ConnectionPropertiesV2BasicResource>
delete(string, string, string, AccountConnectionsDeleteOptionalParams)
Delete Cognitive Services account connection by name.
function delete(resourceGroupName: string, accountName: string, connectionName: string, options?: AccountConnectionsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- accountName
-
string
The name of Cognitive Services account.
- connectionName
-
string
Friendly name of the connection
The options parameters.
Returns
Promise<void>
get(string, string, string, AccountConnectionsGetOptionalParams)
Lists Cognitive Services account connection by name.
function get(resourceGroupName: string, accountName: string, connectionName: string, options?: AccountConnectionsGetOptionalParams): Promise<ConnectionPropertiesV2BasicResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- accountName
-
string
The name of Cognitive Services account.
- connectionName
-
string
Friendly name of the connection
The options parameters.
Returns
Promise<ConnectionPropertiesV2BasicResource>
list(string, string, AccountConnectionsListOptionalParams)
Lists all the available Cognitive Services account connections under the specified account.
function list(resourceGroupName: string, accountName: string, options?: AccountConnectionsListOptionalParams): PagedAsyncIterableIterator<ConnectionPropertiesV2BasicResource, ConnectionPropertiesV2BasicResource[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- accountName
-
string
The name of Cognitive Services account.
The options parameters.
Returns
update(string, string, string, AccountConnectionsUpdateOptionalParams)
Update Cognitive Services account connection under the specified account.
function update(resourceGroupName: string, accountName: string, connectionName: string, options?: AccountConnectionsUpdateOptionalParams): Promise<ConnectionPropertiesV2BasicResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- accountName
-
string
The name of Cognitive Services account.
- connectionName
-
string
Friendly name of the connection
The options parameters.
Returns
Promise<ConnectionPropertiesV2BasicResource>