Get-AzDevCenterUserCatalog
Gets the specified catalog within the project.
Syntax
Get-AzDevCenterUserCatalog
-Endpoint <String>
-ProjectName <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzDevCenterUserCatalog
-Endpoint <String>
-ProjectName <String>
-CatalogName <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzDevCenterUserCatalog
-Endpoint <String>
-InputObject <IDevCenterdataIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzDevCenterUserCatalog
-DevCenterName <String>
-InputObject <IDevCenterdataIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzDevCenterUserCatalog
-DevCenterName <String>
-ProjectName <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzDevCenterUserCatalog
-DevCenterName <String>
-ProjectName <String>
-CatalogName <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Gets the specified catalog within the project.
Examples
Example 1: List catalogs by endpoint
Get-AzDevCenterUserCatalog -Endpoint "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" -ProjectName DevProject
This command lists catalogs in the project "DevProject".
Example 2: List catalogs by dev center
Get-AzDevCenterUserCatalog -DevCenterName Contoso -ProjectName DevProject
This command lists catalogs in the project "DevProject".
Example 3: Get a catalog by endpoint
Get-AzDevCenterUserCatalog -Endpoint "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" -ProjectName DevProject -CatalogName CentralCatalog
This command gets a catalog named "CentralCatalog" in the project "DevProject".
Example 4: Get a catalog by dev center
Get-AzDevCenterUserCatalog -DevCenterName Contoso -ProjectName DevProject -CatalogName CentralCatalog
This command gets a catalog named "CentralCatalog" in the project "DevProject".
Example 5: Get a catalog by endpoint and InputObject
$catalogInput = @{"CatalogName" = "CentralCatalog"; "ProjectName" =" DevProject" }
Get-AzDevCenterUserCatalog -Endpoint "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" -InputObject $catalogInput
This command gets a catalog named "CentralCatalog" in the project "DevProject".
Example 6: Get a catalog by dev center and InputObject
$catalogInput = @{"CatalogName" = "CentralCatalog"; "ProjectName" = "DevProject" }
Get-AzDevCenterUserCatalog -DevCenterName Contoso -InputObject $catalogInput
This command gets a catalog named "CentralCatalog" in the project "DevProject".
Parameters
-CatalogName
Name of the catalog.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-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 |
-DevCenterName
The DevCenter upon which to execute operations.
Type: | String |
Aliases: | DevCenter |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Endpoint
The DevCenter-specific URI to operate on.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Type: | IDevCenterdataIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ProjectName
Name of the project.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Outputs
Azure PowerShell