Hi. I hope someone can help me. I am using `azur...
# azure
b
Hi. I hope someone can help me. I am using
azure-native
on pulumi and am trying to import an existing blobcontainer to my pulumi stack. My issue is that I can't figure out how to get the
ID
for the blobcontainer. I have gotten the storage account imported but am not able to find the ID for the container as provided in the example here. Does anyone know what azure cli command I can run to get the ID? I have tried
storage container show
but that does not return an ID in the format as shown in the example import statement.
I figured it out. I just manually created the ID and it worked:
Copy code
/subscriptions/{subscription_id}/resourceGroups/{resource_group}/providers/Microsoft.Storage/storageAccounts/{storage_account_name}/blobServices/default/containers/{storage_container_name}