Providers - Provider Permissions

Sağlayıcı izinlerini alın.

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/providerPermissions?api-version=2021-04-01

URI Parametreleri

Name İçinde Gerekli Tür Description
resourceProviderNamespace
path True

string

Kaynak sağlayıcısının ad alanı.

subscriptionId
path True

string

Microsoft Azure abonelik kimliği.

api-version
query True

string

Bu işlem için kullanılacak API sürümü.

Yanıtlar

Name Tür Description
200 OK

ProviderPermissionListResult

Tamam - Sağlayıcı izinleri hakkındaki bilgileri döndürür.

Other Status Codes

CloudError

İşlemin neden başarısız olduğunu açıklayan hata yanıtı.

Güvenlik

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation kullanıcı hesabınızın kimliğine bürünme

Örnekler

Get provider resource types.

Sample Request

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.TestRP/providerPermissions?api-version=2021-04-01

Sample Response

{
  "value": [
    {
      "applicationId": "00000000-0000-0000-0000-000000000000",
      "roleDefinition": {
        "id": "00000000000000000000000000000000",
        "name": "Contoso service role",
        "isServiceRole": true,
        "permissions": [
          {
            "actions": [
              "Microsoft.Contoso/*"
            ],
            "notActions": [],
            "dataActions": [],
            "notDataActions": []
          }
        ],
        "scopes": [
          "/"
        ]
      },
      "providerAuthorizationConsentState": "Consented"
    }
  ]
}

Tanımlar

Name Description
CloudError

Kaynak yönetimi isteği için hata yanıtı.

ErrorAdditionalInfo

Kaynak yönetimi hatası ek bilgileri.

ErrorResponse

Hata Yanıtı

Permission

Rol tanımı izinleri.

ProviderAuthorizationConsentState

Sağlayıcı yetkilendirme onayı durumu.

ProviderPermission

Sağlayıcı izni

ProviderPermissionListResult

Sağlayıcı izinlerinin listesi.

RoleDefinition

Rol tanımı özellikleri.

CloudError

Kaynak yönetimi isteği için hata yanıtı.

Name Tür Description
error

ErrorResponse

Hata Yanıtı
Başarısız işlemlerin hata ayrıntılarını döndürmek için tüm Azure Resource Manager API'leri için genel hata yanıtı. (Bu, OData hata yanıtı biçimini de izler.)

ErrorAdditionalInfo

Kaynak yönetimi hatası ek bilgileri.

Name Tür Description
info

object

Ek bilgiler.

type

string

Ek bilgi türü.

ErrorResponse

Hata Yanıtı

Name Tür Description
additionalInfo

ErrorAdditionalInfo[]

Hata ek bilgileri.

code

string

Hata kodu.

details

ErrorResponse[]

Hata ayrıntıları.

message

string

Hata iletisi.

target

string

Hata hedefi.

Permission

Rol tanımı izinleri.

Name Tür Description
actions

string[]

İzin verilen eylemler.

dataActions

string[]

İzin Verilen Veri eylemleri.

notActions

string[]

Reddedilen eylemler.

notDataActions

string[]

Reddedilen Veri eylemleri.

ProviderAuthorizationConsentState

Sağlayıcı yetkilendirme onayı durumu.

Name Tür Description
Consented

string

NotRequired

string

NotSpecified

string

Required

string

ProviderPermission

Sağlayıcı izni

Name Tür Description
applicationId

string

Uygulama kimliği.

managedByRoleDefinition

RoleDefinition

Rol tanımı özellikleri.

providerAuthorizationConsentState

ProviderAuthorizationConsentState

Sağlayıcı yetkilendirme onayı durumu.

roleDefinition

RoleDefinition

Rol tanımı özellikleri.

ProviderPermissionListResult

Sağlayıcı izinlerinin listesi.

Name Tür Description
nextLink

string

Sonraki sonuç kümesini almak için kullanılacak URL.

value

ProviderPermission[]

Sağlayıcı izinleri dizisi.

RoleDefinition

Rol tanımı özellikleri.

Name Tür Description
id

string

Rol tanımı kimliği.

isServiceRole

boolean

Bu bir hizmet rolüyse.

name

string

Rol tanımı adı.

permissions

Permission[]

Rol tanımı izinleri.

scopes

string[]

Rol tanımı atanabilir kapsamlar.