共用方式為


ApiIssueCommentCollection Class

Definition

A class representing a collection of ApiIssueCommentResource and their operations. Each ApiIssueCommentResource in the collection will belong to the same instance of ApiIssueResource. To get an ApiIssueCommentCollection instance call the GetApiIssueComments method from an instance of ApiIssueResource.

public class ApiIssueCommentCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.ApiManagement.ApiIssueCommentResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ApiManagement.ApiIssueCommentResource>
type ApiIssueCommentCollection = class
    inherit ArmCollection
    interface seq<ApiIssueCommentResource>
    interface IEnumerable
    interface IAsyncEnumerable<ApiIssueCommentResource>
Public Class ApiIssueCommentCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of ApiIssueCommentResource), IEnumerable(Of ApiIssueCommentResource)
Inheritance
ApiIssueCommentCollection
Implements

Constructors

ApiIssueCommentCollection()

Initializes a new instance of the ApiIssueCommentCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, ApiIssueCommentData, Nullable<ETag>, CancellationToken)

Creates a new Comment for the Issue in an API or updates an existing one.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/comments/{commentId}
  • Operation Id: ApiIssueComment_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiIssueCommentResource
CreateOrUpdateAsync(WaitUntil, String, ApiIssueCommentData, Nullable<ETag>, CancellationToken)

Creates a new Comment for the Issue in an API or updates an existing one.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/comments/{commentId}
  • Operation Id: ApiIssueComment_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiIssueCommentResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/comments/{commentId}
  • Operation Id: ApiIssueComment_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiIssueCommentResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/comments/{commentId}
  • Operation Id: ApiIssueComment_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiIssueCommentResource
Get(String, CancellationToken)

Gets the details of the issue Comment for an API specified by its identifier.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/comments/{commentId}
  • Operation Id: ApiIssueComment_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiIssueCommentResource
GetAll(String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Lists all comments for the Issue associated with the specified API.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/comments
  • Operation Id: ApiIssueComment_ListByService
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiIssueCommentResource
GetAllAsync(String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Lists all comments for the Issue associated with the specified API.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/comments
  • Operation Id: ApiIssueComment_ListByService
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiIssueCommentResource
GetAsync(String, CancellationToken)

Gets the details of the issue Comment for an API specified by its identifier.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/comments/{commentId}
  • Operation Id: ApiIssueComment_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiIssueCommentResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/comments/{commentId}
  • Operation Id: ApiIssueComment_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiIssueCommentResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/comments/{commentId}
  • Operation Id: ApiIssueComment_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiIssueCommentResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<ApiIssueCommentResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ApiIssueCommentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to