Deployments interface
Interface representing a Deployments.
Methods
begin |
Update the state of specified deployments associated with the Cognitive Services account. |
begin |
Update the state of specified deployments associated with the Cognitive Services account. |
begin |
Deletes the specified deployment associated with the Cognitive Services account. |
begin |
Deletes the specified deployment associated with the Cognitive Services account. |
get(string, string, string, Deployments |
Gets the specified deployments associated with the Cognitive Services account. |
list(string, string, Deployments |
Gets the deployments associated with the Cognitive Services account. |
Method Details
beginCreateOrUpdate(string, string, string, Deployment, DeploymentsCreateOrUpdateOptionalParams)
Update the state of specified deployments associated with the Cognitive Services account.
function beginCreateOrUpdate(resourceGroupName: string, accountName: string, deploymentName: string, deployment: Deployment, options?: DeploymentsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Deployment>, Deployment>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- accountName
-
string
The name of Cognitive Services account.
- deploymentName
-
string
The name of the deployment associated with the Cognitive Services Account
- deployment
- Deployment
The deployment properties.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<Deployment>, Deployment>>
beginCreateOrUpdateAndWait(string, string, string, Deployment, DeploymentsCreateOrUpdateOptionalParams)
Update the state of specified deployments associated with the Cognitive Services account.
function beginCreateOrUpdateAndWait(resourceGroupName: string, accountName: string, deploymentName: string, deployment: Deployment, options?: DeploymentsCreateOrUpdateOptionalParams): Promise<Deployment>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- accountName
-
string
The name of Cognitive Services account.
- deploymentName
-
string
The name of the deployment associated with the Cognitive Services Account
- deployment
- Deployment
The deployment properties.
The options parameters.
Returns
Promise<Deployment>
beginDelete(string, string, string, DeploymentsDeleteOptionalParams)
Deletes the specified deployment associated with the Cognitive Services account.
function beginDelete(resourceGroupName: string, accountName: string, deploymentName: string, options?: DeploymentsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- accountName
-
string
The name of Cognitive Services account.
- deploymentName
-
string
The name of the deployment associated with the Cognitive Services Account
- options
- DeploymentsDeleteOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, DeploymentsDeleteOptionalParams)
Deletes the specified deployment associated with the Cognitive Services account.
function beginDeleteAndWait(resourceGroupName: string, accountName: string, deploymentName: string, options?: DeploymentsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- accountName
-
string
The name of Cognitive Services account.
- deploymentName
-
string
The name of the deployment associated with the Cognitive Services Account
- options
- DeploymentsDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, string, DeploymentsGetOptionalParams)
Gets the specified deployments associated with the Cognitive Services account.
function get(resourceGroupName: string, accountName: string, deploymentName: string, options?: DeploymentsGetOptionalParams): Promise<Deployment>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- accountName
-
string
The name of Cognitive Services account.
- deploymentName
-
string
The name of the deployment associated with the Cognitive Services Account
- options
- DeploymentsGetOptionalParams
The options parameters.
Returns
Promise<Deployment>
list(string, string, DeploymentsListOptionalParams)
Gets the deployments associated with the Cognitive Services account.
function list(resourceGroupName: string, accountName: string, options?: DeploymentsListOptionalParams): PagedAsyncIterableIterator<Deployment, Deployment[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- accountName
-
string
The name of Cognitive Services account.
- options
- DeploymentsListOptionalParams
The options parameters.