Providers - List
Bir abonelik için tüm kaynak sağlayıcılarını alır.
GET https://management.azure.com/subscriptions/{subscriptionId}/providers?api-version=2021-04-01
GET https://management.azure.com/subscriptions/{subscriptionId}/providers?$expand={$expand}&api-version=2021-04-01
URI Parametreleri
Name | İçinde | Gerekli | Tür | Description |
---|---|---|---|---|
subscription
|
path | True |
string |
Microsoft Azure abonelik kimliği. |
api-version
|
query | True |
string |
Bu işlem için kullanılacak API sürümü. |
$expand
|
query |
string |
Sonuçlara eklenecek özellikler. Örneğin, kaynak sağlayıcısı meta verilerini almak için sorgu dizesinde &$expand=metadata kullanın. Yanıta özellik diğer adlarını eklemek için $expand=resourceTypes/aliases kullanın. |
Yanıtlar
Name | Tür | Description |
---|---|---|
200 OK |
Tamam - Bir kaynak sağlayıcıları dizisi döndürür. |
|
Other Status Codes |
İş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 providers.
Sample Request
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers?api-version=2021-04-01
Sample Response
{
"value": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.TestRP1",
"namespace": "Microsoft.TestRP1",
"registrationState": "Registering",
"registrationPolicy": "RegistrationRequired",
"resourceTypes": [
{
"resourceType": "TestResourceType",
"locations": [
"West US"
],
"apiVersions": [
"2018-01-01",
"2015-05-01"
],
"locationMappings": [
{
"location": "West US",
"type": "EdgeZone",
"extendedLocations": [
"LosAngeles",
"LosAngeles2"
]
}
],
"capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"
},
{
"resourceType": "TestResourceTypeSibling",
"locations": [
"West US"
],
"apiVersions": [
"2018-01-01",
"2015-05-01"
],
"capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"
}
]
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources",
"namespace": "Microsoft.Resources",
"registrationState": "Registered",
"registrationPolicy": "RegistrationFree",
"resourceTypes": [
{
"resourceType": "subscriptions",
"locations": [
"eastus",
"eastus2",
"westus"
],
"apiVersions": [
"2016-09-01",
"2014-04-01-preview"
],
"aliases": [],
"capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"
},
{
"resourceType": "resourceGroups",
"locations": [
"centralus",
"eastasia",
"southeastasia"
],
"apiVersions": [
"2016-09-01",
"2014-04-01-preview"
],
"aliases": [],
"capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"
},
{
"resourceType": "subscriptions/resourceGroups",
"locations": [
"eastus",
"eastus2",
"westus"
],
"apiVersions": [
"2016-09-01",
"2014-04-01-preview"
],
"aliases": [],
"capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"
},
{
"resourceType": "bulkDelete",
"locations": [
"centralus",
"eastasia"
],
"apiVersions": [
"2014-04-01-preview"
],
"aliases": [],
"capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"
},
{
"resourceType": "deployments",
"locations": [],
"apiVersions": [
"2017-08-01",
"2017-06-01"
],
"aliases": [],
"capabilities": "SupportsTags"
},
{
"resourceType": "tags",
"locations": [
"DevFabric"
],
"apiVersions": [],
"aliases": [],
"capabilities": "SupportsExtension"
}
]
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.TestRP2",
"namespace": "Microsoft.TestRP2",
"registrationState": "NotRegistered",
"registrationPolicy": "RegistrationRequired",
"resourceTypes": [
{
"resourceType": "TestResourceType",
"locations": [
"West US"
],
"apiVersions": [
"2018-01-01",
"2015-05-01"
],
"locationMappings": [
{
"location": "West US",
"type": "EdgeZone",
"extendedLocations": [
"LosAngeles",
"LosAngeles2"
]
}
],
"capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"
},
{
"resourceType": "TestResourceTypeSibling",
"locations": [
"West US"
],
"apiVersions": [
"2018-01-01",
"2015-05-01"
],
"capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"
}
]
}
]
}
Tanımlar
Name | Description |
---|---|
Alias |
Diğer ad türü. |
Alias |
Diğer ad için yolların türü. |
Alias |
Diğer ad yolunun başvurduğunu belirtecin öznitelikleri. |
Alias |
|
Alias |
Diğer ad yolunun başvurduğunu belirtecin türü. |
Alias |
Diğer ad yolu için desenin türü. |
Alias |
Diğer ad deseninin türü |
Alias |
Diğer adın türü. |
Api |
|
Cloud |
Kaynak yönetimi isteği için hata yanıtı. |
Error |
Kaynak yönetimi hatası ek bilgileri. |
Error |
Hata Yanıtı |
Provider |
Kaynak sağlayıcısı bilgileri. |
Provider |
Sağlayıcı yetkilendirme onayı durumu. |
Provider |
Sağlayıcı genişletilmiş konumu. |
Provider |
Kaynak sağlayıcılarının listesi. |
Provider |
Kaynak sağlayıcısı tarafından yönetilen kaynak türü. |
Zone |
Alias
Diğer ad türü.
Name | Tür | Description |
---|---|---|
defaultMetadata |
Varsayılan diğer ad yolu meta verileri. Varsayılan yol ve meta verileri olmayan diğer ad yolları için geçerlidir |
|
defaultPath |
string |
Diğer ad için varsayılan yol. |
defaultPattern |
Diğer ad için varsayılan desen. |
|
name |
string |
Diğer ad. |
paths |
Diğer adın yolları. |
|
type |
Diğer adın türü. |
AliasPath
Diğer ad için yolların türü.
Name | Tür | Description |
---|---|---|
apiVersions |
string[] |
API sürümleri. |
metadata |
Diğer ad yolunun meta verileri. Eksikse diğer adın varsayılan meta verilerine geri dönün. |
|
path |
string |
Diğer adın yolu. |
pattern |
Diğer ad yolunun deseni. |
AliasPathAttributes
Diğer ad yolunun başvurduğunu belirtecin öznitelikleri.
Name | Tür | Description |
---|---|---|
Modifiable |
string |
Diğer ad yolunun başvurduğunu belirteç, 'değiştir' etkisi olan ilkeler tarafından değiştirilebilir. |
None |
string |
Diğer ad yolunun başvurduğunu belirtecin özniteliği yoktur. |
AliasPathMetadata
Name | Tür | Description |
---|---|---|
attributes |
Diğer ad yolunun başvurduğunu belirtecin öznitelikleri. |
|
type |
Diğer ad yolunun başvurduğunu belirtecin türü. |
AliasPathTokenType
Diğer ad yolunun başvurduğunu belirtecin türü.
Name | Tür | Description |
---|---|---|
Any |
string |
Belirteç türü herhangi bir şey olabilir. |
Array |
string |
Belirteç türü dizidir. |
Boolean |
string |
Belirteç türü boole değeridir. |
Integer |
string |
Belirteç türü tamsayıdır. |
NotSpecified |
string |
Belirteç türü belirtilmemiş. |
Number |
string |
Belirteç türü sayıdır. |
Object |
string |
Belirteç türü nesnedir. |
String |
string |
Belirteç türü dizedir. |
AliasPattern
Diğer ad yolu için desenin türü.
Name | Tür | Description |
---|---|---|
phrase |
string |
Diğer ad deseni tümceciği. |
type |
Diğer ad deseninin türü |
|
variable |
string |
Diğer ad desen değişkeni. |
AliasPatternType
Diğer ad deseninin türü
Name | Tür | Description |
---|---|---|
Extract |
string |
Ayıkla, izin verilen tek değerdir. |
NotSpecified |
string |
NotSpecified'a izin verilmiyor. |
AliasType
Diğer adın türü.
Name | Tür | Description |
---|---|---|
Mask |
string |
Diğer ad değeri gizlidir. |
NotSpecified |
string |
Diğer ad türü bilinmiyor (diğer ad türü sağlamamayla aynıdır). |
PlainText |
string |
Diğer ad değeri gizli değil. |
ApiProfile
Name | Tür | Description |
---|---|---|
apiVersion |
string |
API sürümü. |
profileVersion |
string |
Profil sürümü. |
CloudError
Kaynak yönetimi isteği için hata yanıtı.
Name | Tür | Description |
---|---|---|
error |
Hata Yanıtı |
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 |
Hata ek bilgileri. |
|
code |
string |
Hata kodu. |
details |
Hata ayrıntıları. |
|
message |
string |
Hata iletisi. |
target |
string |
Hata hedefi. |
Provider
Kaynak sağlayıcısı bilgileri.
Name | Tür | Description |
---|---|---|
id |
string |
Sağlayıcı kimliği. |
namespace |
string |
Kaynak sağlayıcısının ad alanı. |
providerAuthorizationConsentState |
Sağlayıcı yetkilendirme onayı durumu. |
|
registrationPolicy |
string |
Kaynak sağlayıcısının kayıt ilkesi. |
registrationState |
string |
Kaynak sağlayıcısının kayıt durumu. |
resourceTypes |
Sağlayıcı kaynak türlerinin koleksiyonu. |
ProviderAuthorizationConsentState
Sağlayıcı yetkilendirme onayı durumu.
Name | Tür | Description |
---|---|---|
Consented |
string |
|
NotRequired |
string |
|
NotSpecified |
string |
|
Required |
string |
ProviderExtendedLocation
Sağlayıcı genişletilmiş konumu.
Name | Tür | Description |
---|---|---|
extendedLocations |
string[] |
Azure konumu için genişletilmiş konumlar. |
location |
string |
Azure konumu. |
type |
string |
Genişletilmiş konum türü. |
ProviderListResult
Kaynak sağlayıcılarının listesi.
Name | Tür | Description |
---|---|---|
nextLink |
string |
Sonraki sonuç kümesini almak için kullanılacak URL. |
value |
Provider[] |
Kaynak sağlayıcıları dizisi. |
ProviderResourceType
Kaynak sağlayıcısı tarafından yönetilen kaynak türü.
Name | Tür | Description |
---|---|---|
aliases |
Alias[] |
Bu kaynak türü tarafından desteklenen diğer adlar. |
apiProfiles |
Kaynak sağlayıcısı için API profilleri. |
|
apiVersions |
string[] |
API sürümü. |
capabilities |
string |
Bu kaynak türü tarafından sunulan ek özellikler. |
defaultApiVersion |
string |
Varsayılan API sürümü. |
locationMappings |
Bu kaynak türü tarafından desteklenen konum eşlemeleri. |
|
locations |
string[] |
Bu kaynak türünün oluşturulabileceği konum koleksiyonu. |
properties |
object |
Özellikler. |
resourceType |
string |
Kaynak türü. |
zoneMappings |
ZoneMapping
Name | Tür | Description |
---|---|---|
location |
string |
Bölge eşlemesinin konumu. |
zones |
string[] |