GalleryClient 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
GalleryClient() |
Initializes a new instance of the GalleryClient class. |
GalleryClient(SubscriptionCloudCredentials) |
Initializes a new instance of the GalleryClient class. |
GalleryClient(HttpClient) |
Initializes a new instance of the GalleryClient class. |
GalleryClient(SubscriptionCloudCredentials, HttpClient) |
Initializes a new instance of the GalleryClient class. |
GalleryClient(SubscriptionCloudCredentials, Uri) |
Initializes a new instance of the GalleryClient class. |
GalleryClient(SubscriptionCloudCredentials, Uri, HttpClient) |
Initializes a new instance of the GalleryClient class. |
GalleryClient()
Initializes a new instance of the GalleryClient class.
public GalleryClient ();
Public Sub New ()
Applies to
GalleryClient(SubscriptionCloudCredentials)
Initializes a new instance of the GalleryClient class.
public GalleryClient (Microsoft.Azure.SubscriptionCloudCredentials credentials);
new Microsoft.Azure.Commands.Resources.Models.Gallery.GalleryClient : Microsoft.Azure.SubscriptionCloudCredentials -> Microsoft.Azure.Commands.Resources.Models.Gallery.GalleryClient
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
GalleryClient(HttpClient)
Initializes a new instance of the GalleryClient class.
public GalleryClient (System.Net.Http.HttpClient httpClient);
new Microsoft.Azure.Commands.Resources.Models.Gallery.GalleryClient : System.Net.Http.HttpClient -> Microsoft.Azure.Commands.Resources.Models.Gallery.GalleryClient
Public Sub New (httpClient As HttpClient)
Parameters
- httpClient
- HttpClient
The Http client
Applies to
GalleryClient(SubscriptionCloudCredentials, HttpClient)
Initializes a new instance of the GalleryClient class.
public GalleryClient (Microsoft.Azure.SubscriptionCloudCredentials credentials, System.Net.Http.HttpClient httpClient);
new Microsoft.Azure.Commands.Resources.Models.Gallery.GalleryClient : Microsoft.Azure.SubscriptionCloudCredentials * System.Net.Http.HttpClient -> Microsoft.Azure.Commands.Resources.Models.Gallery.GalleryClient
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
GalleryClient(SubscriptionCloudCredentials, Uri)
Initializes a new instance of the GalleryClient class.
public GalleryClient (Microsoft.Azure.SubscriptionCloudCredentials credentials, Uri baseUri);
new Microsoft.Azure.Commands.Resources.Models.Gallery.GalleryClient : Microsoft.Azure.SubscriptionCloudCredentials * Uri -> Microsoft.Azure.Commands.Resources.Models.Gallery.GalleryClient
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
GalleryClient(SubscriptionCloudCredentials, Uri, HttpClient)
Initializes a new instance of the GalleryClient class.
public GalleryClient (Microsoft.Azure.SubscriptionCloudCredentials credentials, Uri baseUri, System.Net.Http.HttpClient httpClient);
new Microsoft.Azure.Commands.Resources.Models.Gallery.GalleryClient : Microsoft.Azure.SubscriptionCloudCredentials * Uri * System.Net.Http.HttpClient -> Microsoft.Azure.Commands.Resources.Models.Gallery.GalleryClient
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