Share via


Web Apps - Get Private Link Resources

Özel bağlantı kaynaklarını alır açıklaması

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateLinkResources?api-version=2023-12-01

URI Parametreleri

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

string

Sitenin adı.

resourceGroupName
path True

string

Kaynağın ait olduğu kaynak grubunun adı.

Regex pattern: ^[-\w\._\(\)]+[^\.]$

subscriptionId
path True

string

Azure abonelik kimliğiniz. Bu GUID biçimli bir dizedir (örneğin, 000000000-0000-0000-0000-00000000000000).

api-version
query True

string

API Sürümü

Yanıtlar

Name Tür Description
200 OK

PrivateLinkResourcesWrapper

Tamam

Other Status Codes

DefaultErrorResponse

hata yanıtı App Service.

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

Sample Request

GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateLinkResources?api-version=2023-12-01

Sample Response

{
  "value": [
    {
      "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/privateLinkResources/site",
      "name": "site",
      "type": "Microsoft.Web/sites/privateLinkResources",
      "properties": {
        "groupId": "sites",
        "requiredMembers": [
          "sites"
        ],
        "requiredZoneNames": [
          "privatelink.testsite.azurewebsites.net"
        ]
      }
    }
  ]
}

Tanımlar

Name Description
DefaultErrorResponse

hata yanıtı App Service.

Details
Error

Hata modeli.

PrivateLinkResource

Özel bağlantı kaynağı

PrivateLinkResourceProperties

Özel bağlantı kaynağının özellikleri

PrivateLinkResourcesWrapper

Özel bağlantı kaynakları koleksiyonu için sarmalayıcı

DefaultErrorResponse

hata yanıtı App Service.

Name Tür Description
error

Error

Hata modeli.

Details

Name Tür Description
code

string

Hatayı program aracılığıyla tanımlamak için standartlaştırılmış dize.

message

string

Ayrıntılı hata açıklaması ve hata ayıklama bilgileri.

target

string

Ayrıntılı hata açıklaması ve hata ayıklama bilgileri.

Error

Hata modeli.

Name Tür Description
code

string

Hatayı program aracılığıyla tanımlamak için standartlaştırılmış dize.

details

Details[]

Ayrıntılı hatalar.

innererror

string

Hata ayıklamak için daha fazla bilgi.

message

string

Ayrıntılı hata açıklaması ve hata ayıklama bilgileri.

target

string

Ayrıntılı hata açıklaması ve hata ayıklama bilgileri.

PrivateLinkResource

Özel bağlantı kaynağı

Name Tür Description
id

string

name

string

Özel bağlantı kaynağının adı

properties

PrivateLinkResourceProperties

Özel bağlantı kaynağının özellikleri

type

string

PrivateLinkResourceProperties

Özel bağlantı kaynağının özellikleri

Name Tür Description
groupId

string

Özel bağlantı kaynağının GroupId değeri

requiredMembers

string[]

Özel bağlantı kaynağının RequiredMembers

requiredZoneNames

string[]

Özel bağlantı kaynağının RequiredZoneNames

PrivateLinkResourcesWrapper

Özel bağlantı kaynakları koleksiyonu için sarmalayıcı

Name Tür Description
value

PrivateLinkResource[]

Özel bağlantı kaynağı