ConversationAnalysisAuthoringClient.GetDeploymentResourcesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetDeploymentResourcesAsync(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, CancellationToken) |
Lists the deployments resources assigned to the project. |
GetDeploymentResourcesAsync(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, RequestContext) |
[Protocol Method] Lists the deployments resources assigned to the project.
|
GetDeploymentResourcesAsync(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, CancellationToken)
Lists the deployments resources assigned to the project.
public virtual Azure.AsyncPageable<Azure.AI.Language.Conversations.Authoring.ConversationAuthoringAssignedDeploymentResource> GetDeploymentResourcesAsync(string projectName, int? maxCount = default, int? skip = default, int? maxpagesize = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDeploymentResourcesAsync : string * Nullable<int> * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.AI.Language.Conversations.Authoring.ConversationAuthoringAssignedDeploymentResource>
override this.GetDeploymentResourcesAsync : string * Nullable<int> * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.AI.Language.Conversations.Authoring.ConversationAuthoringAssignedDeploymentResource>
Public Overridable Function GetDeploymentResourcesAsync (projectName As String, Optional maxCount As Nullable(Of Integer) = Nothing, Optional skip As Nullable(Of Integer) = Nothing, Optional maxpagesize As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ConversationAuthoringAssignedDeploymentResource)
Parameters
- projectName
- String
The new project name.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
projectName
is null.
projectName
is an empty string, and was expected to be non-empty.
Applies to
GetDeploymentResourcesAsync(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, RequestContext)
[Protocol Method] Lists the deployments resources assigned to the project.
- This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
- Please try the simpler GetDeploymentResourcesAsync(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, CancellationToken) convenience overload with strongly typed models first.
public virtual Azure.AsyncPageable<BinaryData> GetDeploymentResourcesAsync(string projectName, int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context);
abstract member GetDeploymentResourcesAsync : string * Nullable<int> * Nullable<int> * Nullable<int> * Azure.RequestContext -> Azure.AsyncPageable<BinaryData>
override this.GetDeploymentResourcesAsync : string * Nullable<int> * Nullable<int> * Nullable<int> * Azure.RequestContext -> Azure.AsyncPageable<BinaryData>
Public Overridable Function GetDeploymentResourcesAsync (projectName As String, maxCount As Nullable(Of Integer), skip As Nullable(Of Integer), maxpagesize As Nullable(Of Integer), context As RequestContext) As AsyncPageable(Of BinaryData)
Parameters
- projectName
- String
The new project name.
- context
- RequestContext
The request context, which can override default behaviors of the client pipeline on a per-call basis.
Returns
The AsyncPageable<T> from the service containing a list of BinaryData objects. Details of the body schema for each item in the collection are in the Remarks section below.
Exceptions
projectName
is null.
projectName
is an empty string, and was expected to be non-empty.
Service returned a non-success status code.