Get-AzRedisCacheAccessPolicy
Redis Cache'in Erişim İlkeleri hakkında ayrıntılı bilgi edinin
Syntax
Get-AzRedisCacheAccessPolicy
[-ResourceGroupName <String>]
-Name <String>
[-AccessPolicyName <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzRedisCacheAccessPolicy
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzRedisCacheAccessPolicy
-TopLevelResourceObject <RedisCacheAttributes>
[-AccessPolicyName <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
AccessPolicyName parametresi sağlandıysa, Get-AzRedisCacheAccessPolicy cmdlet'i belirtilen erişim ilkesiyle ilgili ayrıntıları alır. Yalnızca Ad belirtilirse, bu işlem Redis Cache'in tüm erişim ilkelerini alır.
Örnekler
Örnek 1: Erişim ilkesi bilgilerini alma
Get-AzRedisCacheAccessPolicy -Name "testCache" -AccessPolicyName "testAccessPolicy"
Bu komut, testCache adlı Redis Cache'ten testAccessPolicy adlı erişim ilkesi hakkında bilgi alır
Örnek 2: Tüm erişim ilkelerinin bilgilerini alma
Get-AzRedisCacheAccessPolicy -Name "testCache"
Bu komut, testCache adlı Redis Cache'ten tüm erişim ilkeleri hakkında bilgi alır.
Parametreler
-AccessPolicyName
Erişim İlkesi adı.
Tür: | String |
Position: | Named |
varsayılan değer: | None |
Gerekli: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-DefaultProfile
Azure ile iletişim için kullanılan kimlik bilgileri, hesap, kiracı ve abonelik.
Tür: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
varsayılan değer: | None |
Gerekli: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Redis Cache'in adı.
Tür: | String |
Position: | Named |
varsayılan değer: | None |
Gerekli: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResourceGroupName
Önbelleğin bulunduğu kaynak grubunun adı.
Tür: | String |
Position: | Named |
varsayılan değer: | None |
Gerekli: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResourceId
Redis Cache Erişim İlkesi'nin ARM Kimliği
Tür: | String |
Position: | Named |
varsayılan değer: | None |
Gerekli: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-TopLevelResourceObject
RedisCacheAttributes türüne ait nesne
Tür: | RedisCacheAttributes |
Position: | Named |
varsayılan değer: | None |
Gerekli: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |