Azure / Azure/azure-rest-api-specs

[Question] Are azure storage account ID properties immutable or mutable?

Open
#30,108 2 comments 0 reactions 0 assignees View on GitHub
customer-reported Mgmt question Service Attention Storage
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
3d 37m
Merged PRs (30d)
446

Description

### API Spec link

https://github.com/Azure/azure-rest-api-specs/blob/main/specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetProperties.json

### API Spec version

2023-10-15

### Question/Query

I want to create an internal application to automate some tasks regarding our storage accounts. I saw that the JSON output contains an ID property. But this ID is calculated. Is this ID mutable? What happens if I change the resource group of a storage account? How should I update the storage account IDs in my database?

> "id": "/subscriptions/some-uuid/resourceGroups/some-name/providers/Microsoft.Storage/storageAccounts/some-name",

### Environment

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the linked StorageAccountGetProperties.json example and confirm which API specification version it represents. Research the documented behavior of the storage account ID when its resource group changes, then record the answer and the implications for IDs stored by the proposed application.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.