prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Azure - Docs missing for VM Images
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `tools/c7n_azure/c7n_azure/resources/image.py`
  Content:
  ```
  1 # Copyright 2018 Capital One Services, LLC
  2 #
  3 # Licensed under the Apache License, Version 2.0 (the "License");
  4 # you may not use this file except in compliance with the License.
  5 # You may obtain a copy of the License at
  6 #
  7 # http://www.apache.org/licenses/LICENSE-2.0
  8 #
  9 # Unless required by applicable law or agreed to in writing, software
  10 # distributed under the License is distributed on an "AS IS" BASIS,
  11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12 # See the License for the specific language governing permissions and
  13 # limitations under the License.
  14 
  15 from c7n_azure.provider import resources
  16 from c7n_azure.resources.arm import ArmResourceManager
  17 
  18 
  19 @resources.register('image')
  20 class Image(ArmResourceManager):
  21     class resource_type(ArmResourceManager.resource_type):
  22         service = 'azure.mgmt.compute'
  23         client = 'ComputeManagementClient'
  24         enum_spec = ('images', 'list', None)
  25         default_report_fields = (
  26             'name',
  27             'location',
  28             'resourceGroup',
  29         )
  30         resource_type = 'Microsoft.Compute/images'
  31
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/tools/c7n_azure/c7n_azure/resources/image.py b/tools/c7n_azure/c7n_azure/resources/image.py
  --- a/tools/c7n_azure/c7n_azure/resources/image.py
  +++ b/tools/c7n_azure/c7n_azure/resources/image.py
  @@ -18,6 +18,23 @@
   
   @resources.register('image')
   class Image(ArmResourceManager):
  +    """Virtual Machine Image
  +
  +    :example:
  +    Returns all virtual machine images named my-test-vm-image
  +
  +    .. code-block:: yaml
  +
  +        policies:
  +          - name: get-vm-image
  +            resource: azure.image
  +            filters:
  +              - type: value
  +                key: name
  +                op: eq
  +                value: my-test-vm-image
  +
  +    """
       class resource_type(ArmResourceManager.resource_type):
           service = 'azure.mgmt.compute'
           client = 'ComputeManagementClient'
  
verification_info: {"golden_diff": "diff --git a/tools/c7n_azure/c7n_azure/resources/image.py b/tools/c7n_azure/c7n_azure/resources/image.py\n--- a/tools/c7n_azure/c7n_azure/resources/image.py\n+++ b/tools/c7n_azure/c7n_azure/resources/image.py\n@@ -18,6 +18,23 @@\n \n @resources.register('image')\n class Image(ArmResourceManager):\n+    \"\"\"Virtual Machine Image\n+\n+    :example:\n+    Returns all virtual machine images named my-test-vm-image\n+\n+    .. code-block:: yaml\n+\n+        policies:\n+          - name: get-vm-image\n+            resource: azure.image\n+            filters:\n+              - type: value\n+                key: name\n+                op: eq\n+                value: my-test-vm-image\n+\n+    \"\"\"\n     class resource_type(ArmResourceManager.resource_type):\n         service = 'azure.mgmt.compute'\n         client = 'ComputeManagementClient'\n", "issue": "Azure - Docs missing for VM Images\n\n", "before_files": [{"content": "# Copyright 2018 Capital One Services, LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nfrom c7n_azure.provider import resources\nfrom c7n_azure.resources.arm import ArmResourceManager\n\n\n@resources.register('image')\nclass Image(ArmResourceManager):\n    class resource_type(ArmResourceManager.resource_type):\n        service = 'azure.mgmt.compute'\n        client = 'ComputeManagementClient'\n        enum_spec = ('images', 'list', None)\n        default_report_fields = (\n            'name',\n            'location',\n            'resourceGroup',\n        )\n        resource_type = 'Microsoft.Compute/images'\n", "path": "tools/c7n_azure/c7n_azure/resources/image.py"}], "after_files": [{"content": "# Copyright 2018 Capital One Services, LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nfrom c7n_azure.provider import resources\nfrom c7n_azure.resources.arm import ArmResourceManager\n\n\n@resources.register('image')\nclass Image(ArmResourceManager):\n    \"\"\"Virtual Machine Image\n\n    :example:\n    Returns all virtual machine images named my-test-vm-image\n\n    .. code-block:: yaml\n\n        policies:\n          - name: get-vm-image\n            resource: azure.image\n            filters:\n              - type: value\n                key: name\n                op: eq\n                value: my-test-vm-image\n\n    \"\"\"\n    class resource_type(ArmResourceManager.resource_type):\n        service = 'azure.mgmt.compute'\n        client = 'ComputeManagementClient'\n        enum_spec = ('images', 'list', None)\n        default_report_fields = (\n            'name',\n            'location',\n            'resourceGroup',\n        )\n        resource_type = 'Microsoft.Compute/images'\n", "path": "tools/c7n_azure/c7n_azure/resources/image.py"}]}