共用方式為


ApiManagementEmailTemplateCollection Class

Definition

A class representing a collection of ApiManagementEmailTemplateResource and their operations. Each ApiManagementEmailTemplateResource in the collection will belong to the same instance of ApiManagementServiceResource. To get an ApiManagementEmailTemplateCollection instance call the GetApiManagementEmailTemplates method from an instance of ApiManagementServiceResource.

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

Constructors

ApiManagementEmailTemplateCollection()

Initializes a new instance of the ApiManagementEmailTemplateCollection 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, TemplateName, ApiManagementEmailTemplateCreateOrUpdateContent, Nullable<ETag>, CancellationToken)

Updates an Email Template.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}
  • Operation Id: EmailTemplate_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementEmailTemplateResource
CreateOrUpdateAsync(WaitUntil, TemplateName, ApiManagementEmailTemplateCreateOrUpdateContent, Nullable<ETag>, CancellationToken)

Updates an Email Template.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}
  • Operation Id: EmailTemplate_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementEmailTemplateResource
Exists(TemplateName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}
  • Operation Id: EmailTemplate_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementEmailTemplateResource
ExistsAsync(TemplateName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}
  • Operation Id: EmailTemplate_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementEmailTemplateResource
Get(TemplateName, CancellationToken)

Gets the details of the email template specified by its identifier.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}
  • Operation Id: EmailTemplate_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementEmailTemplateResource
GetAll(String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Gets all email templates

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

Gets all email templates

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates
  • Operation Id: EmailTemplate_ListByService
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementEmailTemplateResource
GetAsync(TemplateName, CancellationToken)

Gets the details of the email template specified by its identifier.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}
  • Operation Id: EmailTemplate_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementEmailTemplateResource
GetIfExists(TemplateName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}
  • Operation Id: EmailTemplate_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementEmailTemplateResource
GetIfExistsAsync(TemplateName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}
  • Operation Id: EmailTemplate_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementEmailTemplateResource
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<ApiManagementEmailTemplateResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ApiManagementEmailTemplateResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to