0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

AzureのPortal上で delete ボタンがないリソースを消す

Posted at

困ったこと

Azure上でResource Groupに作成されたResourceを削除したいが、ポータル上の画面で「delete」のボタンがでないリソースがあって、消せなかった。

背景

Azure上の環境で、別環境へのお引越しを依頼されて、リソースを削除しようとした。

対象

microsoft.operationalinsights/querypacksというタイプのリソースの画面のどこにも削除用のUIがない。

解決

言われてみればそんなことですね…って感じですが…

  1. Resource GroupのOverviewブレードにいく。
  2. メイン画面がわの「Resources」タブ表示で消せない対象のリソースを選択する
  3. タブより上の「Delete」ボタンを押す
  4. 「delete」を確認テキストボックスに入れる
  5. 「Delete」ボタンを押す。

その他の手段

az cliのaz group deleteでは、以下のように該当タイプのものを一気に消せるよう。でも、個別に選択する方法は、どうなのよ…ってところが分かりませんでした。

az group delete -n MyResourceGroup --force-deletion-types microsoft.operationalinsights/querypack

あれっ?ってなったのでメモでした。将来は、Deleteボタンが出来ていてかんけいなくなってるかもしれません。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?