MailChimpClient Class
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.
Typed client for mailchimp connector.
public class MailChimpClient : Azure.Connectors.Sdk.ConnectorClientBase
type MailChimpClient = class
inherit ConnectorClientBase
Public Class MailChimpClient
Inherits ConnectorClientBase
- Inheritance
Constructors
| Name | Description |
|---|---|
| MailChimpClient() | |
| MailChimpClient(String) |
Creates a new MailChimpClient with the specified connection runtime URL string. Uses ManagedIdentityCredential by default. |
| MailChimpClient(Uri, TokenCredential, ConnectorClientOptions) |
Creates a new MailChimpClient with the specified connection runtime URL and credential. |
| MailChimpClient(Uri, TokenCredential) |
Creates a new MailChimpClient with the specified connection runtime URL and credential. |
| MailChimpClient(Uri) |
Creates a new MailChimpClient with the specified connection runtime URL. Uses ManagedIdentityCredential by default. |
Properties
| Name | Description |
|---|---|
| ConnectorName | |
| Pipeline |
Gets the HTTP pipeline for making connector requests. (Inherited from ConnectorClientBase) |
Methods
| Name | Description |
|---|---|
| AddmemberAsync(String, NewMemberInListRequest, CancellationToken) |
Add member to list |
| AddMembersAsync(String, NewMembersInListRequest, Nullable<Boolean>, Nullable<Boolean>, CancellationToken) |
Subscribe or unsubscribe list members |
| CallConnectorAsync(HttpMethod, String, Object, CancellationToken) |
Sends a connector API request with no response body. Uses the Azure.Core HttpPipeline for retry, authentication, and diagnostics. (Inherited from ConnectorClientBase) |
| CallConnectorAsync<TResponse>(HttpMethod, String, Object, CancellationToken) |
Sends a connector API request and deserializes the JSON response. Uses the Azure.Core HttpPipeline for retry, authentication, and diagnostics. (Inherited from ConnectorClientBase) |
| Dispose() | (Inherited from ConnectorClientBase) |
| Dispose(Boolean) |
Disposes the connector client resources. (Inherited from ConnectorClientBase) |
| GetCampaignsAsync(CancellationToken) |
List campaigns |
| GetListMembersAsync(String, Nullable<Int32>, Nullable<Int32>, CancellationToken) |
Show list members |
| GetListsAsync(Nullable<Int32>, Nullable<Int32>, CancellationToken) |
Get all the lists |
| NewcampaignAsync(NewCampaignRequest, CancellationToken) |
New Campaign (V2) |
| NewlistAsync(NewListRequest, CancellationToken) |
New List |
| RemovememberAsync(String, CancellationToken) |
Remove Member from list |
| ResolveUrl(String) |
Resolves a relative path or validates an absolute URL against the connection runtime URL. When the NextLink host matches the connection URL, it's used as-is. When it doesn't match (codeless connectors like ARM return nextLink pointing to the backend host e.g. management.azure.com), the path+query is extracted and routed through the APIM proxy. This is safe because the request still goes through the connection runtime URL with API Hub auth. (Inherited from ConnectorClientBase) |
| SendcampaignAsync(String, CancellationToken) |
Send Campaign |
| UpdatememberAsync(String, UpdateMemberInListRequest, CancellationToken) |
Update member information |