Bagikan melalui


Get-AzSphereCatalog

Mendapatkan Katalog

Sintaks

Get-AzSphereCatalog
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzSphereCatalog
   -Name <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzSphereCatalog
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzSphereCatalog
   -InputObject <ISphereIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Deskripsi

Mendapatkan Katalog

Contoh

Contoh 1: Mencantumkan semua katalog untuk grup sumber daya tertentu

Get-AzSphereCatalog -ResourceGroupName test-sataneja-10

Location Name                   SystemDataCreatedAt    SystemDataCreatedBy    SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType ResourceGroupName      
-------- ----                   -------------------    -------------------    ----------------------- ------------------------ ------------------------ ---------------------------- ----------- 
global   CAT43                  9/24/2022 12:54:16 PM  example@microsoft.com  User                    9/24/2022 12:54:16 PM    example@microsoft.com    User                         test-satan… 
global   CAT007                 9/26/2022 8:58:15 PM   example@microsoft.com  User                    9/26/2022 8:58:15 PM     example@microsoft.com    User                         test-satan… 
global   CAT10                  10/10/2022 4:23:53 PM  example@microsoft.com  User                    10/10/2022 4:23:53 PM    example@microsoft.com    User                         test-satan… 
global   TCAT01                 10/14/2022 12:12:22 AM example@microsoft.com  User                    10/14/2022 12:12:22 AM   example@microsoft.com    User                         test-satan… 
global   TestCatalog1x3         4/25/2023 10:00:52 PM  example@microsoft.com  User                    4/25/2023 10:00:52 PM    example@microsoft.com    User                         test-satan… 
global   TestCatalog1x3_Catalog 5/11/2023 6:12:50 PM   example@microsoft.com  User                    5/11/2023 6:12:50 PM     example@microsoft.com    User                         test-satan…

Perintah ini mencantumkan semua katalog untuk grup sumber daya tertentu.

Contoh 2: Mendapatkan katalog tertentu dengan grup sumber daya tertentu

Get-AzSphereCatalog -Name "testcat" -ResourceGroupName "goyedokun"

Id                           : /subscriptions/82f138e0-1c79-4708-bda1-5e224cd688b2/resourceGroups/goyedokun/providers/Microsoft.AzureSphere/catalogs/testcat
Location                     : global
Name                         : testcat
ProvisioningState            : Succeeded
ResourceGroupName            : goyedokun
RetryAfter                   : 
SystemDataCreatedAt          : 6/27/2023 6:49:50 PM
SystemDataCreatedBy          : example@microsoft.com
SystemDataCreatedByType      : User
SystemDataLastModifiedAt     : 6/27/2023 6:49:50 PM
SystemDataLastModifiedBy     : example@microsoft.com
SystemDataLastModifiedByType : User
Tag                          : {
                               }
Type                         : microsoft.azuresphere/catalogs

Perintah ini mendapatkan katalog tertentu dengan grup sumber daya tertentu.

Contoh 2: Mencantumkan semua katalog untuk langganan yang tersambung

Get-AzSphereCatalog

Location Name                           SystemDataCreatedAt    SystemDataCreatedBy                  SystemDataCreatedByType SystemDataLastModifiedAt SystemData
                                                                                                                                                     LastModifi 
                                                                                                                                                     edBy       
-------- ----                           -------------------    -------------------                  ----------------------- ------------------------ ---------- 
global   MyCatalog3                     4/21/2021 9:32:32 PM   example@microsoft.com                User                    8/10/2023 3:21:08 PM     example@m… 
global   MyCatalog2                     5/20/2021 4:44:38 PM   example@microsoft.com                User                    5/20/2021 4:44:38 PM     example@m… 
global   MyCatalog1                     5/20/2021 4:45:44 PM   example@microsoft.com                User                    5/20/2021 4:45:44 PM     example@m… 
global   CatalogARMSetup_39f85f04       8/18/2021 8:28:11 PM   5223a8bc-448a-411c-bcd4-7d41745ed6ba Application             8/18/2021 8:28:11 PM     5223a8bc-… 
global   CatalogARMSetup_3b15f308       9/17/2021 6:41:41 PM   5223a8bc-448a-411c-bcd4-7d41745ed6ba Application             9/17/2021 6:41:41 PM     5223a8bc-… 
global   mrarmcatalog1                  9/21/2021 7:27:16 PM   example@microsoft.com                User                    9/21/2021 7:27:16 PM     example@m… 
global   CatalogARMSetup_eb5cca0a       9/21/2021 10:06:28 PM  5223a8bc-448a-411c-bcd4-7d41745ed6ba Application             9/21/2021 10:06:28 PM    5223a8bc-… 
global   CatalogARMSetup_f8c1fea7       9/21/2021 10:06:31 PM  5223a8bc-448a-411c-bcd4-7d41745ed6ba Application             9/21/2021 10:06:31 PM    5223a8bc-… 
global   CatalogARMSetup_f2d88f81       9/21/2021 10:06:38 PM  5223a8bc-448a-411c-bcd4-7d41745ed6ba Application             9/21/2021 10:06:38 PM    5223a8bc-… 
global   CatalogARMSetup_1711d4b8       9/21/2021 10:06:42 PM  5223a8bc-448a-411c-bcd4-7d41745ed6ba Application             9/21/2021 10:06:42 PM    5223a8bc-… 
global   CatalogARMSetup_04744136       10/1/2021 7:14:04 PM   5223a8bc-448a-411c-bcd4-7d41745ed6ba Application             10/1/2021 7:14:04 PM     5223a8bc-… 
global   CatalogARMSetup_bff4a3fe       10/5/2021 5:14:48 PM   5223a8bc-448a-411c-bcd4-7d41745ed6ba Application             10/5/2021 5:14:48 PM     5223a8bc-… 
global   CatalogARMSetup_e05ad6ac       10/5/2021 5:15:05 PM   5223a8bc-448a-411c-bcd4-7d41745ed6ba Application             10/5/2021 5:15:05 PM     5223a8bc-… 
global   newCatalog                     8/15/2023 3:06:31 AM   example@microsoft.com                User                    8/15/2023 3:10:39 AM     example@m…

Perintah ini mencantumkan semua katalog untuk langganan saat ini.

Parameter

-DefaultProfile

Parameter DefaultProfile tidak berfungsi. Gunakan parameter SubscriptionId saat tersedia jika menjalankan cmdlet terhadap langganan yang berbeda.

Jenis:PSObject
Alias:AzureRMContext, AzureCredential
Position:Named
Nilai default:None
Diperlukan:False
Terima input alur:False
Terima karakter wildcard:False

-InputObject

Parameter Identitas

Jenis:ISphereIdentity
Position:Named
Nilai default:None
Diperlukan:True
Terima input alur:True
Terima karakter wildcard:False

-Name

Nama katalog

Jenis:String
Alias:CatalogName
Position:Named
Nilai default:None
Diperlukan:True
Terima input alur:False
Terima karakter wildcard:False

-ResourceGroupName

Nama grup sumber daya. Nama tidak sensitif terhadap penggunaan huruf besar atau kecil.

Jenis:String
Position:Named
Nilai default:None
Diperlukan:True
Terima input alur:False
Terima karakter wildcard:False

-SubscriptionId

ID langganan target.

Jenis:String[]
Position:Named
Nilai default:(Get-AzContext).Subscription.Id
Diperlukan:False
Terima input alur:False
Terima karakter wildcard:False

Input

ISphereIdentity

Output

ICatalog