<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>griefworker</author_name>
  <author_url>https://blog.hatena.ne.jp/griefworker/</author_url>
  <blog_title>present</blog_title>
  <blog_url>https://tnakamura.hatenablog.com/</blog_url>
  <categories>
    <anon>.NET</anon>
    <anon>C#</anon>
    <anon>Microsoft Azure</anon>
  </categories>
  <description>Azure.ResourceManager.Compute を使えば、C# で仮想マシンの停止・開始・再起動ができる。 www.nuget.org 認証には Azure.Identity を使う。 www.nuget.org アプリに組み込んで使うことを想定しているので、Azure AD でアプリを登録しておく。 Microsoft Azure ポータルで、リソースグループと仮想マシンはあらかじめ用意 Azure Active Directory のアプリ登録でアプリを登録 リソースグループのアクセス制御(IAM)で、ロールの割り当てを追加 登録したアプリに仮想マシン共同作成者をひとまず割り当…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftnakamura.hatenablog.com%2Fentry%2F2022%2F08%2F09%2Fstop-start-virtual-machine&quot; title=&quot;C# で Azure VM の停止・開始・再起動を行う - present&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-08-09 12:30:00</published>
  <title>C# で Azure VM の停止・開始・再起動を行う</title>
  <type>rich</type>
  <url>https://tnakamura.hatenablog.com/entry/2022/08/09/stop-start-virtual-machine</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
