Get-AzDataBoundaryScope
Get data boundary at specified scope
Syntax
Default (Default)
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.
Parameter properties
| Type: | PSObject |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | AzureRMContext, AzureCredential |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Scope
The scope at which the operation is performed.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.