共用方式為


ApiIssueAttachmentCollection Class

Definition

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

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

Constructors

ApiIssueAttachmentCollection()

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

Creates a new Attachment 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}/attachments/{attachmentId}
  • Operation Id: ApiIssueAttachment_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiIssueAttachmentResource
CreateOrUpdateAsync(WaitUntil, String, ApiIssueAttachmentData, Nullable<ETag>, CancellationToken)

Creates a new Attachment 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}/attachments/{attachmentId}
  • Operation Id: ApiIssueAttachment_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiIssueAttachmentResource
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}/attachments/{attachmentId}
  • Operation Id: ApiIssueAttachment_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiIssueAttachmentResource
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}/attachments/{attachmentId}
  • Operation Id: ApiIssueAttachment_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiIssueAttachmentResource
Get(String, CancellationToken)

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

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

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

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

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

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

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/attachments/{attachmentId}
  • Operation Id: ApiIssueAttachment_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiIssueAttachmentResource
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}/attachments/{attachmentId}
  • Operation Id: ApiIssueAttachment_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiIssueAttachmentResource
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}/attachments/{attachmentId}
  • Operation Id: ApiIssueAttachment_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiIssueAttachmentResource
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<ApiIssueAttachmentResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ApiIssueAttachmentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to