Get-VBRAzureCloudService
Short Description
Returns Microsoft Azure cloud services available for a subscription.
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Get-VBRAzureCloudService -Subscription <VBRAzureSubscription> [-Name <String[]>] [<CommonParameters>] |
Detailed Description
This cmdlet returns the Microsoft Azure cloud services available for a selected subscription. You can get the cloud services only for Microsoft Azure Classic accounts.
Important |
|
This cmdlet does not support Microsoft Azure accounts with the Azure Service Manager type of a subscription (ASM, also known as a "classic" type subscription). |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Name |
The array on names of cloud services. |
|
False |
Named |
False |
|
Subscription |
Specifies the subscription. The cmdlet will return cloud services associated with this subscription.
Accepts the |
True |
Named |
True (ByPropertyName, ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Getting Microsoft Azure Cloud Service by Cloud Service Name
This example shows how to get a cloud service by the cloud service name.
|
$account = Get-VBRAzureAccount -Type Classic -Name "RestoreToAzure@Veeam.com" $subscription = Get-VBRAzureSubscription -Account $account -Name "VeeamDirectRestore2Azure" Get-VBRAzureCloudService -Subscription $subscription -Name "VeeamCloudService" |
Perform the following steps:
- Run the
Get-VBRAzureAccountReturns Microsoft Azure accounts added to Veeam Backup & Replication. cmdlet. Set theClassicvalue as theTypeparameter value. Specify theNameparameter value. Save it to the$accountvariable. - Run the
Get-VBRAzureSubscriptionReturns subscriptions associated with a Microsoft Azure account. cmdlet. Set the$accountvariable as theAccountparameter value. Specify theNameparameter value. Save it to the$subscriptionvariable. - Run the
Get-VBRAzureCloudServicecmdlet. Set the$subscriptionvariable as theSubscriptionparameter value. Specify theNameparameter value.
Related Commands
Get-VBRAzureSubscriptionReturns subscriptions associated with a Microsoft Azure account.