Get-VBOAzureSubNet
Short Description
Returns the Azure archiver appliance subnet.
Syntax
|
Get-VBOAzureSubNet -VirtualNetwork <VBOAzureVirtualNetwork> [-Name <String>] [<CommonParameters>] |
Detailed Description
This cmdlet returns the VBOAzureSubNet object.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Name |
Specifies a name of the subnet. The cmdlet will return the subnet with this name. |
|
False |
Named |
False |
|
VirtualNetwork |
Specifies a network to which the Azure archiver appliance will be connected.
Accepts the
To get this object, run the |
True |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Output Object
The cmdlet returns the VBOAzureSubNet object.
Examples
Getting Azure Archiver Appliance Subnet
This example shows how to get the Azure archiver appliance subnet.
|
$azureacc = Get-VBOAzureServiceAccount -Id f8e5ac3d-d883-4dd8-8de3-a8f315fb6ae2 $subscription = Get-VBOAzureSubscription -ServiceAccount $azureacc -Id "06b7354e-518f-4a10-b4c1-98f49d743012" $rgroup = Get-VBOAzureResourceGroup -Subscription $subscription -Name "ResourceGroupName" $VN = Get-VBOAzureVirtualNetwork -ResourceGroup $rgroup -Name "VirtualNetworkName" Get-VBOAzureSubNet -VirtualNetwork $VN -Name "SubnetName" |
Perform the following steps:
- Run the
Get-VBOAzureServiceAccountReturns Microsoft Azure service account details. cmdlet. Specify theIdparameter value. Save the result to the$azureaccvariable. - Run the
Get-VBOAzureSubscriptionReturns Microsoft Azure subscriptions associated with a user account that will be used to access Azure Blob Storage. cmdlet. Set the$azureaccvariable as theServiceAccountparameter value. Specify theIdparameter value. Save the result to the$subscriptionvariable. - Run the
Get-VBOAzureResourceGroupReturns a resource group that will be associated with the Azure archiver appliance. cmdlet. Specify the$subscriptionvariable as theSubscriptionparameter value. Specify theNameparameter value. Save the result to the$rgroupvariable. - Run the
Get-VBOAzureVirtualNetworkReturns a network to which the Azure archiver appliance will be connected. cmdlet. Specify the$rgroupvariable as theResourceGroupparameter value. Specify theNameparameter value. Sane the result to the$VNvariable. - Run the
Get-VBOAzureSubNetcmdlet. Specify the$VNvariable as theVirtualNetworkparameter value. Specify theNameparameter value.
Related Commands
Get-VBOAzureVirtualNetworkReturns a network to which the Azure archiver appliance will be connected.Get-VBOAzureResourceGroupReturns a resource group that will be associated with the Azure archiver appliance.Get-VBOAzureSubscriptionReturns Microsoft Azure subscriptions associated with a user account that will be used to access Azure Blob Storage.Get-VBOAzureServiceAccountReturns Microsoft Azure service account details.