WordPressClient Constructors
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.
Overloads
| Name | Description |
|---|---|
| WordPressClient() | |
| WordPressClient(String) |
Creates a new WordPressClient with the specified connection runtime URL string. Uses ManagedIdentityCredential by default. |
| WordPressClient(Uri) |
Creates a new WordPressClient with the specified connection runtime URL. Uses ManagedIdentityCredential by default. |
| WordPressClient(Uri, TokenCredential) |
Creates a new WordPressClient with the specified connection runtime URL and credential. |
| WordPressClient(Uri, TokenCredential, ConnectorClientOptions) |
Creates a new WordPressClient with the specified connection runtime URL and credential. |
WordPressClient()
protected WordPressClient();
Protected Sub New ()
Applies to
WordPressClient(String)
Creates a new WordPressClient with the specified connection runtime URL string. Uses ManagedIdentityCredential by default.
public WordPressClient(string connectionRuntimeUrl);
new Azure.Connectors.Sdk.WordPress.WordPressClient : string -> Azure.Connectors.Sdk.WordPress.WordPressClient
Public Sub New (connectionRuntimeUrl As String)
Parameters
- connectionRuntimeUrl
- String
The connection runtime URL from Azure Portal.
Applies to
WordPressClient(Uri)
Creates a new WordPressClient with the specified connection runtime URL. Uses ManagedIdentityCredential by default.
public WordPressClient(Uri connectionRuntimeUrl);
new Azure.Connectors.Sdk.WordPress.WordPressClient : Uri -> Azure.Connectors.Sdk.WordPress.WordPressClient
Public Sub New (connectionRuntimeUrl As Uri)
Parameters
- connectionRuntimeUrl
- Uri
The connection runtime URL from Azure Portal.
Applies to
WordPressClient(Uri, TokenCredential)
Creates a new WordPressClient with the specified connection runtime URL and credential.
public WordPressClient(Uri connectionRuntimeUrl, Azure.Core.TokenCredential credential);
new Azure.Connectors.Sdk.WordPress.WordPressClient : Uri * Azure.Core.TokenCredential -> Azure.Connectors.Sdk.WordPress.WordPressClient
Public Sub New (connectionRuntimeUrl As Uri, credential As TokenCredential)
Parameters
- connectionRuntimeUrl
- Uri
The connection runtime URL from Azure Portal.
- credential
- TokenCredential
The Azure credential for authentication.
Applies to
WordPressClient(Uri, TokenCredential, ConnectorClientOptions)
Creates a new WordPressClient with the specified connection runtime URL and credential.
public WordPressClient(Uri connectionRuntimeUrl, Azure.Core.TokenCredential credential, Azure.Connectors.Sdk.ConnectorClientOptions options = default);
new Azure.Connectors.Sdk.WordPress.WordPressClient : Uri * Azure.Core.TokenCredential * Azure.Connectors.Sdk.ConnectorClientOptions -> Azure.Connectors.Sdk.WordPress.WordPressClient
Public Sub New (connectionRuntimeUrl As Uri, credential As TokenCredential, Optional options As ConnectorClientOptions = Nothing)
Parameters
- connectionRuntimeUrl
- Uri
The connection runtime URL from Azure Portal.
- credential
- TokenCredential
The Azure credential for authentication.
- options
- ConnectorClientOptions
Optional client options for retry, timeout, etc.