Storage Assets - List By Storage Container
Listázd a StorageAsset erőforrásait StorageContainer szerint
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Discovery/storageContainers/{storageContainerName}/storageAssets?api-version=2026-02-01-preview
URI-paraméterek
| Name | In | Kötelező | Típus | Description |
|---|---|---|---|---|
|
resource
|
path | True |
string minLength: 1maxLength: 90 |
Az erőforráscsoport neve. A név nem megkülönbözteti a kis- és nagybetűket. |
|
storage
|
path | True |
string pattern: ^[a-zA-Z0-9-]{3,24}$ |
A StorageContainer neve |
|
subscription
|
path | True |
string (uuid) |
A cél-előfizetés azonosítója. Az értéknek UUID-nek kell lennie. |
|
api-version
|
query | True |
string minLength: 1 |
A művelethez használandó API-verzió. |
Válaszok
| Name | Típus | Description |
|---|---|---|
| 200 OK |
Az Azure működése sikeresen befejeződött. |
|
| Other Status Codes |
Váratlan hibaválasz. |
Biztonság
azure_auth
Azure Active Directory OAuth2 Flow.
Típus:
oauth2
Folyamat:
implicit
Engedélyezési URL:
https://login.microsoftonline.com/common/oauth2/authorize
Hatókörök
| Name | Description |
|---|---|
| user_impersonation | a felhasználói fiók megszemélyesítése |
Példák
StorageAssets_ListByStorageContainer_MaximumSet
Mintakérelem
GET https://management.azure.com/subscriptions/C058B75F-64D2-4E9D-8B66-65339DCB22C7/resourceGroups/rgdiscovery/providers/Microsoft.Discovery/storageContainers/6b4fbcbb65873f18bf/storageAssets?api-version=2026-02-01-preview
Mintaválasz
{
"value": [
{
"id": "/subscriptions/C058B75F-64D2-4E9D-8B66-65339DCB22C7/resourceGroups/rgdiscovery/providers/Microsoft.Discovery/storagecontainers/6b4fbcbb65873f18bf/storageAssets/hh",
"name": "hh",
"tags": {
"key5443": "dneh"
},
"location": "uksouth",
"type": "Microsoft.Discovery/storagecontainers/storageAssets",
"systemData": {
"createdBy": "ly",
"createdByType": "User",
"createdAt": "2026-02-10T17:26:12.585Z",
"lastModifiedBy": "xxc",
"lastModifiedByType": "User",
"lastModifiedAt": "2026-02-10T17:26:12.586Z"
},
"properties": {
"description": "gwlk",
"provisioningState": "Succeeded",
"path": "qmvrklgqdif"
}
}
],
"nextLink": "https://microsoft.com/a"
}
Definíciók
| Name | Description |
|---|---|
|
created |
Az erőforrást létrehozó identitás típusa. |
|
Error |
Az erőforrás-kezelési hiba további információi. |
|
Error |
A hiba részletei. |
|
Error |
Hibaválasz |
|
Provisioning |
Az erőforrás-kiépítés állapota. |
|
Storage |
Storage Asset nyomon követett erőforrás |
|
Storage |
A StorageAsset lista művelet válasza. |
|
Storage |
Storage Asset tulajdonságok |
|
system |
Az erőforrás létrehozásával és utolsó módosításával kapcsolatos metaadatok. |
createdByType
Az erőforrást létrehozó identitás típusa.
| Érték | Description |
|---|---|
| User | |
| Application | |
| ManagedIdentity | |
| Key |
ErrorAdditionalInfo
Az erőforrás-kezelési hiba további információi.
| Name | Típus | Description |
|---|---|---|
| info |
object |
A további információk. |
| type |
string |
A további információtípus. |
ErrorDetail
A hiba részletei.
| Name | Típus | Description |
|---|---|---|
| additionalInfo |
A hiba további információi. |
|
| code |
string |
A hibakód. |
| details |
A hiba részletei. |
|
| message |
string |
A hibaüzenet. |
| target |
string |
A hiba célpontja. |
ErrorResponse
Hibaválasz
| Name | Típus | Description |
|---|---|---|
| error |
A hibaobjektum. |
ProvisioningState
Az erőforrás-kiépítés állapota.
| Érték | Description |
|---|---|
| Succeeded |
Az erőforrás létrejött. |
| Failed |
Az erőforrás létrehozása nem sikerült. |
| Canceled |
Az erőforrás létrehozása megszakadt. |
| Accepted |
Az erőforrás-létrehozási kérelem elfogadása megtörtént |
| Provisioning |
Az erőforrás kiépítése folyamatban van |
| Updating |
Az erőforrás frissül |
| Deleting |
Az erőforrás törlődik |
StorageAsset
Storage Asset nyomon követett erőforrás
| Name | Típus | Description |
|---|---|---|
| id |
string (arm-id) |
Az erőforrás teljes erőforrás-azonosítója. Például: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
| location |
string |
Az a földrajzi hely, ahol az erőforrás él |
| name |
string |
Az erőforrás neve |
| properties |
Az erőforrás erőforrás-specifikus tulajdonságai. |
|
| systemData |
Azure Resource Manager metaadat, amely createdBy és modifiedBy információkat tartalmaz. |
|
| tags |
object |
Erőforráscímkék. |
| type |
string |
Az erőforrás típusa. Például: "Microsoft. Compute/virtualMachines" vagy "Microsoft. Tárhely/tárolásFiókok" |
StorageAssetListResult
A StorageAsset lista művelet válasza.
| Name | Típus | Description |
|---|---|---|
| nextLink |
string (uri) |
Az elemek következő oldalára mutató hivatkozás |
| value |
Az ezen az oldalon található StorageAsset elemek |
StorageAssetProperties
Storage Asset tulajdonságok
| Name | Típus | Description |
|---|---|---|
| description |
string |
A leírás |
| path |
string |
Az adathoz vezető út az anyatárolójában. Ennek a szülőtartály gyökeréhez viszonyítva kell lennie. |
| provisioningState |
Az utolsó művelet állapota. |
systemData
Az erőforrás létrehozásával és utolsó módosításával kapcsolatos metaadatok.
| Name | Típus | Description |
|---|---|---|
| createdAt |
string (date-time) |
Az erőforrás-létrehozás időbélyege (UTC). |
| createdBy |
string |
Az erőforrást létrehozó identitás. |
| createdByType |
Az erőforrást létrehozó identitás típusa. |
|
| lastModifiedAt |
string (date-time) |
Az erőforrás utolsó módosításának időbélyege (UTC) |
| lastModifiedBy |
string |
Az erőforrást legutóbb módosító identitás. |
| lastModifiedByType |
Az erőforrást legutóbb módosító identitás típusa. |