Condividi tramite


ApiIssueCollection Class

Definition

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

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

Constructors

ApiIssueCollection()

Initializes a new instance of the ApiIssueCollection 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, IssueContractData, Nullable<ETag>, CancellationToken)

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

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

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}
  • Operation Id: ApiIssue_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiIssueResource
Exists(String, Nullable<Boolean>, 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}
  • Operation Id: ApiIssue_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiIssueResource
ExistsAsync(String, Nullable<Boolean>, 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}
  • Operation Id: ApiIssue_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiIssueResource
Get(String, Nullable<Boolean>, CancellationToken)

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

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

Lists all issues associated with the specified API.

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

Lists all issues associated with the specified API.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues
  • Operation Id: ApiIssue_ListByService
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiIssueResource
GetAsync(String, Nullable<Boolean>, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}
  • Operation Id: ApiIssue_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiIssueResource
GetIfExists(String, Nullable<Boolean>, 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}
  • Operation Id: ApiIssue_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiIssueResource
GetIfExistsAsync(String, Nullable<Boolean>, 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}
  • Operation Id: ApiIssue_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiIssueResource
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<ApiIssueResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ApiIssueResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to