SubscriptionsClient 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
SubscriptionsClient(IAzureContext) |
Creates new SubscriptionsClient |
SubscriptionsClient(ISubscriptionClient) |
Creates new SubscriptionsClient instance |
SubscriptionsClient(IAzureContext)
Creates new SubscriptionsClient
public SubscriptionsClient (Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext context);
new Microsoft.Azure.Commands.Resources.Models.SubscriptionsClient : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext -> Microsoft.Azure.Commands.Resources.Models.SubscriptionsClient
Public Sub New (context As IAzureContext)
Parameters
- context
- IAzureContext
Profile containing resources to manipulate
Applies to
SubscriptionsClient(ISubscriptionClient)
Creates new SubscriptionsClient instance
public SubscriptionsClient (Microsoft.Azure.Management.ResourceManager.ISubscriptionClient subscriptionClient);
new Microsoft.Azure.Commands.Resources.Models.SubscriptionsClient : Microsoft.Azure.Management.ResourceManager.ISubscriptionClient -> Microsoft.Azure.Commands.Resources.Models.SubscriptionsClient
Public Sub New (subscriptionClient As ISubscriptionClient)
Parameters
- subscriptionClient
- ISubscriptionClient
The subscription client instance