Get-AzSecurityConnectorGitHubRepo
Mengembalikan repositori GitHub yang dipantau.
Sintaks
Get-AzSecurityConnectorGitHubRepo
-OwnerName <String>
-ResourceGroupName <String>
-SecurityConnectorName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzSecurityConnectorGitHubRepo
-OwnerName <String>
-RepoName <String>
-ResourceGroupName <String>
-SecurityConnectorName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzSecurityConnectorGitHubRepo
-InputObject <ISecurityIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Deskripsi
Mengembalikan repositori GitHub yang dipantau.
Contoh
Contoh 1: Dapatkan repositori GitHub yang ditemukan berdasarkan nama
Get-AzSecurityConnectorGitHubRepo -ResourceGroupName dfdtest-sdk -SecurityConnectorName dfdsdktests-gh-01 -OwnerName dfdsdktests -RepoName TestApp0
Id : /subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/resourceGroups/dfdtest-sdk/providers/Microsoft.Security/securityConnectors/dfdsdktests-gh-01/devops/default/gitHubOwners/dfdsdktests/repos/TestApp0
Name : TestApp0
OnboardingState : Onboarded
ParentOwnerName : dfdsdktests
ProvisioningState :
ProvisioningStatusMessage :
ProvisioningStatusUpdateTimeUtc : 2/23/2024 8:46:23 PM
RepoFullName :
RepoId : 728418798
RepoName : TestApp0
RepoUrl : https://github.com/dfdsdktests/TestApp0
ResourceGroupName : dfdtest-sdk
SystemDataCreatedAt :
SystemDataCreatedBy :
SystemDataCreatedByType :
SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
Type : Microsoft.Security/securityConnectors/devops/gitHubOwners/repos
Contoh 2: Daftar repositori GitHub yang ditemukan
Get-AzSecurityConnectorGitHubRepo -ResourceGroupName dfdtest-sdk -SecurityConnectorName dfdsdktests-gh-01 -OwnerName dfdsdktests
Name ResourceGroupName
---- -----------------
TestApp0 dfdtest-sdk
TestApp1 dfdtest-sdk
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: | ISecurityIdentity |
Position: | Named |
Nilai default: | None |
Diperlukan: | True |
Terima input alur: | True |
Terima karakter wildcard: | False |
-OwnerName
Nama pemilik GitHub.
Jenis: | String |
Position: | Named |
Nilai default: | None |
Diperlukan: | True |
Terima input alur: | False |
Terima karakter wildcard: | False |
-RepoName
Nama Repositori.
Jenis: | String |
Position: | Named |
Nilai default: | None |
Diperlukan: | True |
Terima input alur: | False |
Terima karakter wildcard: | False |
-ResourceGroupName
Nama grup sumber daya. Nama tidak peka huruf besar/kecil.
Jenis: | String |
Position: | Named |
Nilai default: | None |
Diperlukan: | True |
Terima input alur: | False |
Terima karakter wildcard: | False |
-SecurityConnectorName
Nama konektor keamanan.
Jenis: | String |
Position: | Named |
Nilai default: | None |
Diperlukan: | True |
Terima input alur: | False |
Terima karakter wildcard: | False |
-SubscriptionId
ID langganan Azure
Jenis: | String[] |
Position: | Named |
Nilai default: | (Get-AzContext).Subscription.Id |
Diperlukan: | False |
Terima input alur: | False |
Terima karakter wildcard: | False |