Get-AzDataBoundaryScope
Get data boundary at specified scope
Syntax
Get-AzDataBoundaryScope
-Scope <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Get data boundary at specified scope
Examples
Example 1: Get Subscription Scoped Data Boundary
$scope = "/subscriptions/11111111-1111-1111-1111-111111111111"
Get-AzDataBoundaryScope -Scope $scope
Name Id Properties
-------- ---- ------------
00000000-0000-0000-0000-000000000000 /providers/Microsoft.Resources/dataBoundaries/00000000-0000-0000-0000-000000000000 dataBoundary: EU, provisioningState: Created
Gets the dataBoundary at the subscription scope.
Example 2: Get Resource Group Scoped Data Boundary
$scope = "/subscriptions/11111111-1111-1111-1111-111111111111/resourcegroups/my-resource-group"
Get-AzDataBoundaryScope -Scope $scope
Name Id Properties
-------- ---- ------------
00000000-0000-0000-0000-000000000000 /providers/Microsoft.Resources/dataBoundaries/00000000-0000-0000-0000-000000000000 dataBoundary: EU, provisioningState: Created
Gets the dataBoundary at the resource group scope.
Parameters
-DefaultProfile
The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Scope
The scope at which the operation is performed.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure PowerShell