AlertsClient 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
AlertsClient() |
Initializes a new instance of the AlertsClient class. |
AlertsClient(SubscriptionCloudCredentials) |
Initializes a new instance of the AlertsClient class. |
AlertsClient(HttpClient) |
Initializes a new instance of the AlertsClient class. |
AlertsClient(SubscriptionCloudCredentials, HttpClient) |
Initializes a new instance of the AlertsClient class. |
AlertsClient(SubscriptionCloudCredentials, Uri) |
Initializes a new instance of the AlertsClient class. |
AlertsClient(SubscriptionCloudCredentials, Uri, HttpClient) |
Initializes a new instance of the AlertsClient class. |
AlertsClient()
Initializes a new instance of the AlertsClient class.
public AlertsClient ();
Public Sub New ()
Applies to
AlertsClient(SubscriptionCloudCredentials)
Initializes a new instance of the AlertsClient class.
public AlertsClient (Microsoft.Azure.SubscriptionCloudCredentials credentials);
new Microsoft.WindowsAzure.Management.Monitoring.Alerts.AlertsClient : Microsoft.Azure.SubscriptionCloudCredentials -> Microsoft.WindowsAzure.Management.Monitoring.Alerts.AlertsClient
Public Sub New (credentials As SubscriptionCloudCredentials)
Parameters
- credentials
- Microsoft.Azure.SubscriptionCloudCredentials
Required. Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
Applies to
AlertsClient(HttpClient)
Initializes a new instance of the AlertsClient class.
public AlertsClient (System.Net.Http.HttpClient httpClient);
new Microsoft.WindowsAzure.Management.Monitoring.Alerts.AlertsClient : System.Net.Http.HttpClient -> Microsoft.WindowsAzure.Management.Monitoring.Alerts.AlertsClient
Public Sub New (httpClient As HttpClient)
Parameters
- httpClient
- HttpClient
The Http client
Applies to
AlertsClient(SubscriptionCloudCredentials, HttpClient)
Initializes a new instance of the AlertsClient class.
public AlertsClient (Microsoft.Azure.SubscriptionCloudCredentials credentials, System.Net.Http.HttpClient httpClient);
new Microsoft.WindowsAzure.Management.Monitoring.Alerts.AlertsClient : Microsoft.Azure.SubscriptionCloudCredentials * System.Net.Http.HttpClient -> Microsoft.WindowsAzure.Management.Monitoring.Alerts.AlertsClient
Public Sub New (credentials As SubscriptionCloudCredentials, httpClient As HttpClient)
Parameters
- credentials
- Microsoft.Azure.SubscriptionCloudCredentials
Required. Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
- httpClient
- HttpClient
The Http client
Applies to
AlertsClient(SubscriptionCloudCredentials, Uri)
Initializes a new instance of the AlertsClient class.
public AlertsClient (Microsoft.Azure.SubscriptionCloudCredentials credentials, Uri baseUri);
new Microsoft.WindowsAzure.Management.Monitoring.Alerts.AlertsClient : Microsoft.Azure.SubscriptionCloudCredentials * Uri -> Microsoft.WindowsAzure.Management.Monitoring.Alerts.AlertsClient
Public Sub New (credentials As SubscriptionCloudCredentials, baseUri As Uri)
Parameters
- credentials
- Microsoft.Azure.SubscriptionCloudCredentials
Required. Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
- baseUri
- Uri
Optional. Gets the URI used as the base for all cloud service requests.
Applies to
AlertsClient(SubscriptionCloudCredentials, Uri, HttpClient)
Initializes a new instance of the AlertsClient class.
public AlertsClient (Microsoft.Azure.SubscriptionCloudCredentials credentials, Uri baseUri, System.Net.Http.HttpClient httpClient);
new Microsoft.WindowsAzure.Management.Monitoring.Alerts.AlertsClient : Microsoft.Azure.SubscriptionCloudCredentials * Uri * System.Net.Http.HttpClient -> Microsoft.WindowsAzure.Management.Monitoring.Alerts.AlertsClient
Public Sub New (credentials As SubscriptionCloudCredentials, baseUri As Uri, httpClient As HttpClient)
Parameters
- credentials
- Microsoft.Azure.SubscriptionCloudCredentials
Required. Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
- baseUri
- Uri
Optional. Gets the URI used as the base for all cloud service requests.
- httpClient
- HttpClient
The Http client