azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

Get-AzGalleryImageDefinition returns only top 50 results

Open kiazhi opened this issue 6 years ago • 9 comments

Description

With over 50 image definitions for gallery in Azure, it is impossible to use Get-AzGalleryImageDefinition to list all the image definitions. The cmdlet will returns only the top 50 image definition results.

Steps to reproduce

Create 51 or more unique image definitions in gallery.

Get-AzGalleryImageDefinition `
  -GalleryName 'myGallery' `
  -ResourceGroupName 'myGalleryRG' `
  | Measure-Object ;

It will only returns first 50 results as its maximum output.

Count      : 50
...

Environment data

Applies to CloudShell and PowerShell Core

Module versions

Az.Compute 3.2.0

kiazhi avatar Jan 09 '20 08:01 kiazhi

@kiazhi, could you execute your cmdlet again and share output after turning on debug via below setting? We need more debug information.

$DebugPreference = "Continue"

dingmeng-xue avatar Jan 10 '20 09:01 dingmeng-xue

Sure. I have provided more information below.

It looks like the REST API response with 50 items in JSON with a "nextLink" that didn't continue...

Command below.

Get-AzGalleryImageDefinition `
  -GalleryName 'sharedgallery' `
  -ResourceGroupName 'rg-gallery' `
    | Measure-Object ;

DEBUG below.

DEBUG: 23:30:11 - GetAzureRmGalleryImage begin processing with ParameterSet 'DefaultParameter'.
DEBUG: 23:30:11 - using account id 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'...
DEBUG: [Common.Authentication]: Authenticating using Account: 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX', environment: 'AzureCloud', tenant: 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'
DEBUG: [Common.Authentication]: Authenticating using configuration values: Domain: 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX', Endpoint: 'https://login.microsoftonline.com/', ClientId: 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX', ClientRedirect: 'urn:ietf:wg:oauth:2.0:oob', ResourceClientUri: 'https://management.core.windows.net/', ValidateAuthority: 'True'
DEBUG: [Common.Authentication]: Renewing token using AppId: 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX', AdalConfiguration with ADDomain: 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX', AdEndpoint: 'https://login.microsoftonline.com/', ClientId: 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX', RedirectUri: 'urn:ietf:wg:oauth:2.0:oob'
DEBUG: [ADAL]: Information: 2020-01-16T15:30:11.6955600Z: 435a87b5-f8d0-45eb-9ab6-7760e665ea0b - LoggerBase.cs: ADAL PCL.CoreCLR with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...

DEBUG: [ADAL]: Information: 2020-01-16T15:30:11.6957470Z: 435a87b5-f8d0-45eb-9ab6-7760e665ea0b - LoggerBase.cs: ADAL PCL.CoreCLR with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...

DEBUG: [ADAL]: Information: 2020-01-16T15:30:11.7021300Z: 435a87b5-f8d0-45eb-9ab6-7760e665ea0b - LoggerBase.cs: === Token Acquisition started: 
	CacheType: null
	Authentication Target: Client
	, Authority Host: login.microsoftonline.com

DEBUG: [ADAL]: Information: 2020-01-16T15:30:11.7022940Z: 435a87b5-f8d0-45eb-9ab6-7760e665ea0b - LoggerBase.cs: === Token Acquisition started:
	Authority: https://login.microsoftonline.com/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/
	Resource: https://management.core.windows.net/
	ClientId: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
	CacheType: null
	Authentication Target: Client
	

DEBUG: [ADAL]: Verbose: 2020-01-16T15:30:11.7023990Z: 435a87b5-f8d0-45eb-9ab6-7760e665ea0b - LoggerBase.cs: Loading from cache.

DEBUG: [ADAL]: Verbose: 2020-01-16T15:30:11.7024690Z: 435a87b5-f8d0-45eb-9ab6-7760e665ea0b - LoggerBase.cs: Loading from cache.

DEBUG: [ADAL]: Information: 2020-01-16T15:30:11.7033360Z: 00000000-0000-0000-0000-000000000000 - LoggerBase.cs: Deserialized 15 items to token cache.

DEBUG: [ADAL]: Verbose: 2020-01-16T15:30:11.7034270Z: 435a87b5-f8d0-45eb-9ab6-7760e665ea0b - LoggerBase.cs: Looking up cache for a token...

DEBUG: [ADAL]: Verbose: 2020-01-16T15:30:11.7035000Z: 435a87b5-f8d0-45eb-9ab6-7760e665ea0b - LoggerBase.cs: Looking up cache for a token...

DEBUG: [ADAL]: Information: 2020-01-16T15:30:11.7035780Z: 435a87b5-f8d0-45eb-9ab6-7760e665ea0b - LoggerBase.cs: An item matching the requested resource was found in the cache

DEBUG: [ADAL]: Information: 2020-01-16T15:30:11.7036480Z: 435a87b5-f8d0-45eb-9ab6-7760e665ea0b - LoggerBase.cs: An item matching the requested resource was found in the cache

DEBUG: [ADAL]: Information: 2020-01-16T15:30:11.7037250Z: 435a87b5-f8d0-45eb-9ab6-7760e665ea0b - LoggerBase.cs: 58.6868881166667 minutes left until token in cache expires

DEBUG: [ADAL]: Information: 2020-01-16T15:30:11.7037930Z: 435a87b5-f8d0-45eb-9ab6-7760e665ea0b - LoggerBase.cs: 58.6868881166667 minutes left until token in cache expires

DEBUG: [ADAL]: Information: 2020-01-16T15:30:11.7038550Z: 435a87b5-f8d0-45eb-9ab6-7760e665ea0b - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache

DEBUG: [ADAL]: Information: 2020-01-16T15:30:11.7039260Z: 435a87b5-f8d0-45eb-9ab6-7760e665ea0b - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache

DEBUG: [ADAL]: Information: 2020-01-16T15:30:11.7040110Z: 435a87b5-f8d0-45eb-9ab6-7760e665ea0b - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: Expiration Time: 01/16/2020 16:28:52 +00:00

DEBUG: [ADAL]: Information: 2020-01-16T15:30:11.7040820Z: 435a87b5-f8d0-45eb-9ab6-7760e665ea0b - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: Expiration Time: 01/16/2020 16:28:52 +00:00Access Token Hash: q21yDWL3e6C0B9pFhrUjLWk7zI3oG0ldFjZiTbw2XmM=
	 User id: 

DEBUG: [Common.Authentication]: Checking token expiration, token expires '01/16/2020 16:28:52 +00:00' Comparing to '01/16/2020 15:30:11 +00:00' With threshold '00:05:00', calculated time until token expiry: '00:58:41.1912370'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images?api-version=2019-07-01

Headers:
x-ms-client-request-id        : 2dd99de6-cef6-4dcf-bc68-bec5b124db0b
Accept-Language               : en-US

Body:



DEBUG: ============================ HTTP RESPONSE ============================

Status Code:
OK

Headers:
Cache-Control                 : no-cache
Pragma                        : no-cache
x-ms-original-request-ids     : 1a741e0d-5842-4aab-b3a4-f5c26ae20b2d,347445ab-1df5-4354-afac-e44f096bab23,f4d021d7-a4c4-4309-8db9-32304ecd6175,0c7fc034-e043-4ab4-a73f-cd06b2380f6d,01202a39-a9ca-4ae6-8e2b-0f37c2e0596c,17a4ab11-c328-4478-9af5-865952ade26d,1443de31-e6ea-44e8-bc76-2fd89347306e,319a20fc-7a4a-4820-800e-556fb15c93cd,ad902ea8-0978-458d-9306-7b804b2ba638,f6e7f2e2-d70e-48f6-a71d-7bbee77bb958,4c73ed47-37cb-4c96-ad50-93e46c415502,233b1c88-c826-4dcb-a15e-ac98311a6010,897adc7b-64d0-4330-99d6-be11a5c0b405,cbd5accb-0081-475d-b6f0-b03c4edcd0e5,4e98ecd3-1c75-4fc6-b2d9-93ec3dc49a0f,18da0596-a50b-45e8-a8d4-390aa6122019,5908ec9c-f26f-4350-99d4-e71195116c93,7ef95a9a-895f-42e1-be2a-78410e0ac9ac,f2daad16-230e-40d4-90d3-8f4163dcd284,c6f4413d-a443-473c-9cf5-3ef67d710b04,9ab94b8f-aae0-4942-afd8-cfb9030fc411,5107049d-685c-4e92-b470-b5e21fd4ec65,a3721bf0-c057-4f3c-a243-8b8f5e1bf66f,6ea79504-9406-42dc-a206-44a0a7d4b501,9b3c35e3-5df3-4f9d-a1b2-f3d6f95abce1,95898039-3b3f-4de8-9d3d-853d7443c08f,70a63713-cc2c-4706-917a-72115c5973ce,e08627f1-c94b-422e-bc7a-d99af1db44d1,965917f0-cabd-4b7d-b7bd-ca892bd44cd7,a2b988df-f9b0-4287-b4da-39153553915a
x-ms-ratelimit-remaining-subscription-reads: 11995
x-ms-request-id               : f74a4694-abb8-499f-94fb-a1db60b4d1ca
x-ms-correlation-request-id   : f74a4694-abb8-499f-94fb-a1db60b4d1ca
x-ms-routing-request-id       : SOUTHEASTASIA:20200116T153014Z:f74a4694-abb8-499f-94fb-a1db60b4d1ca
Strict-Transport-Security     : max-age=31536000; includeSubDomains
X-Content-Type-Options        : nosniff
Date                          : Thu, 16 Jan 2020 15:30:14 GMT

Body:
{
  "value": [
    {
      "name": "CentOS_7.7_on_03-Jan-20",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/CentOS_7.7_on_03-Jan-20",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "CentOS_7.7_on_03-Jan-20",
          "offer": "CentOS_7.7_on_03-Jan-20",
          "sku": "CentOS_7.7_on_03-Jan-20"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "CentOS_7.7_on_10-Jan-20",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/CentOS_7.7_on_10-Jan-20",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "CentOS_7.7_on_10-Jan-20",
          "offer": "CentOS_7.7_on_10-Jan-20",
          "sku": "CentOS_7.7_on_10-Jan-20"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "CentOS_7.7_on_20-Dec-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/CentOS_7.7_on_20-Dec-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "CentOS_7.7_on_20-Dec-19",
          "offer": "CentOS_7.7_on_20-Dec-19",
          "sku": "CentOS_7.7_on_20-Dec-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "CentOS_7.7_on_22-Nov-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/CentOS_7.7_on_22-Nov-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "CentOS_7.7_on_22-Nov-19",
          "offer": "CentOS_7.7_on_22-Nov-19",
          "sku": "CentOS_7.7_on_22-Nov-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "CentOS_7.7_on_27-Dec-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/CentOS_7.7_on_27-Dec-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "CentOS_7.7_on_27-Dec-19",
          "offer": "CentOS_7.7_on_27-Dec-19",
          "sku": "CentOS_7.7_on_27-Dec-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "CentOS_7.7_on_29-Nov-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/CentOS_7.7_on_29-Nov-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "CentOS_7.7_on_29-Nov-19",
          "offer": "CentOS_7.7_on_29-Nov-19",
          "sku": "CentOS_7.7_on_29-Nov-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "CentOS_7.7_TrendMicro_on_03-Jan-20",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/CentOS_7.7_TrendMicro_on_03-Jan-20",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "CentOS_7.7_TrendMicro_on_03-Jan-20",
          "offer": "CentOS_7.7_TrendMicro_on_03-Jan-20",
          "sku": "CentOS_7.7_TrendMicro_on_03-Jan-20"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "CentOS_7.7_TrendMicro_on_10-Jan-20",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/CentOS_7.7_TrendMicro_on_10-Jan-20",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "CentOS_7.7_TrendMicro_on_10-Jan-20",
          "offer": "CentOS_7.7_TrendMicro_on_10-Jan-20",
          "sku": "CentOS_7.7_TrendMicro_on_10-Jan-20"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "CentOS_7.7_TrendMicro_on_20-Dec-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/CentOS_7.7_TrendMicro_on_20-Dec-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "CentOS_7.7_TrendMicro_on_20-Dec-19",
          "offer": "CentOS_7.7_TrendMicro_on_20-Dec-19",
          "sku": "CentOS_7.7_TrendMicro_on_20-Dec-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "CentOS_7.7_TrendMicro_on_22-Nov-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/CentOS_7.7_TrendMicro_on_22-Nov-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "CentOS_7.7_TrendMicro_on_22-Nov-19",
          "offer": "CentOS_7.7_TrendMicro_on_22-Nov-19",
          "sku": "CentOS_7.7_TrendMicro_on_22-Nov-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "CentOS_7.7_TrendMicro_on_27-Dec-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/CentOS_7.7_TrendMicro_on_27-Dec-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "CentOS_7.7_TrendMicro_on_27-Dec-19",
          "offer": "CentOS_7.7_TrendMicro_on_27-Dec-19",
          "sku": "CentOS_7.7_TrendMicro_on_27-Dec-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "CentOS_7.7_TrendMicro_on_29-Nov-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/CentOS_7.7_TrendMicro_on_29-Nov-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "CentOS_7.7_TrendMicro_on_29-Nov-19",
          "offer": "CentOS_7.7_TrendMicro_on_29-Nov-19",
          "sku": "CentOS_7.7_TrendMicro_on_29-Nov-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_Nginx_on_03-Jan-20",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_Nginx_on_03-Jan-20",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_Nginx_on_03-Jan-20",
          "offer": "RHEL_7.6_Nginx_on_03-Jan-20",
          "sku": "RHEL_7.6_Nginx_on_03-Jan-20"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_Nginx_on_04-Oct-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_Nginx_on_04-Oct-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_Nginx_on_04-Oct-19",
          "offer": "RHEL_7.6_Nginx_on_04-Oct-19",
          "sku": "RHEL_7.6_Nginx_on_04-Oct-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_Nginx_on_05-Nov-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_Nginx_on_05-Nov-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_Nginx_on_05-Nov-19",
          "offer": "RHEL_7.6_Nginx_on_05-Nov-19",
          "sku": "RHEL_7.6_Nginx_on_05-Nov-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_Nginx_on_08-Nov-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_Nginx_on_08-Nov-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_Nginx_on_08-Nov-19",
          "offer": "RHEL_7.6_Nginx_on_08-Nov-19",
          "sku": "RHEL_7.6_Nginx_on_08-Nov-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_Nginx_on_10-Jan-20",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_Nginx_on_10-Jan-20",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_Nginx_on_10-Jan-20",
          "offer": "RHEL_7.6_Nginx_on_10-Jan-20",
          "sku": "RHEL_7.6_Nginx_on_10-Jan-20"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_Nginx_on_11-Oct-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_Nginx_on_11-Oct-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_Nginx_on_11-Oct-19",
          "offer": "RHEL_7.6_Nginx_on_11-Oct-19",
          "sku": "RHEL_7.6_Nginx_on_11-Oct-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_Nginx_on_15-Nov-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_Nginx_on_15-Nov-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_Nginx_on_15-Nov-19",
          "offer": "RHEL_7.6_Nginx_on_15-Nov-19",
          "sku": "RHEL_7.6_Nginx_on_15-Nov-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_Nginx_on_18-Oct-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_Nginx_on_18-Oct-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_Nginx_on_18-Oct-19",
          "offer": "RHEL_7.6_Nginx_on_18-Oct-19",
          "sku": "RHEL_7.6_Nginx_on_18-Oct-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_Nginx_on_20-Dec-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_Nginx_on_20-Dec-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_Nginx_on_20-Dec-19",
          "offer": "RHEL_7.6_Nginx_on_20-Dec-19",
          "sku": "RHEL_7.6_Nginx_on_20-Dec-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_Nginx_on_22-Nov-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_Nginx_on_22-Nov-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_Nginx_on_22-Nov-19",
          "offer": "RHEL_7.6_Nginx_on_22-Nov-19",
          "sku": "RHEL_7.6_Nginx_on_22-Nov-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_Nginx_on_27-Dec-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_Nginx_on_27-Dec-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_Nginx_on_27-Dec-19",
          "offer": "RHEL_7.6_Nginx_on_27-Dec-19",
          "sku": "RHEL_7.6_Nginx_on_27-Dec-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_Nginx_on_29-Nov-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_Nginx_on_29-Nov-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_Nginx_on_29-Nov-19",
          "offer": "RHEL_7.6_Nginx_on_29-Nov-19",
          "sku": "RHEL_7.6_Nginx_on_29-Nov-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_Nginx_TrendMicro_on_03-Jan-20",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_Nginx_TrendMicro_on_03-Jan-20",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_Nginx_TrendMicro_on_03-Jan-20",
          "offer": "RHEL_7.6_Nginx_TrendMicro_on_03-Jan-20",
          "sku": "RHEL_7.6_Nginx_TrendMicro_on_03-Jan-20"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_Nginx_TrendMicro_on_04-Oct-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_Nginx_TrendMicro_on_04-Oct-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_Nginx_TrendMicro_on_04-Oct-19",
          "offer": "RHEL_7.6_Nginx_TrendMicro_on_04-Oct-19",
          "sku": "RHEL_7.6_Nginx_TrendMicro_on_04-Oct-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_Nginx_TrendMicro_on_05-Nov-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_Nginx_TrendMicro_on_05-Nov-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_Nginx_TrendMicro_on_05-Nov-19",
          "offer": "RHEL_7.6_Nginx_TrendMicro_on_05-Nov-19",
          "sku": "RHEL_7.6_Nginx_TrendMicro_on_05-Nov-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_Nginx_TrendMicro_on_08-Nov-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_Nginx_TrendMicro_on_08-Nov-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_Nginx_TrendMicro_on_08-Nov-19",
          "offer": "RHEL_7.6_Nginx_TrendMicro_on_08-Nov-19",
          "sku": "RHEL_7.6_Nginx_TrendMicro_on_08-Nov-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_Nginx_TrendMicro_on_10-Jan-20",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_Nginx_TrendMicro_on_10-Jan-20",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_Nginx_TrendMicro_on_10-Jan-20",
          "offer": "RHEL_7.6_Nginx_TrendMicro_on_10-Jan-20",
          "sku": "RHEL_7.6_Nginx_TrendMicro_on_10-Jan-20"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_Nginx_TrendMicro_on_11-Oct-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_Nginx_TrendMicro_on_11-Oct-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_Nginx_TrendMicro_on_11-Oct-19",
          "offer": "RHEL_7.6_Nginx_TrendMicro_on_11-Oct-19",
          "sku": "RHEL_7.6_Nginx_TrendMicro_on_11-Oct-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_Nginx_TrendMicro_on_15-Nov-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_Nginx_TrendMicro_on_15-Nov-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_Nginx_TrendMicro_on_15-Nov-19",
          "offer": "RHEL_7.6_Nginx_TrendMicro_on_15-Nov-19",
          "sku": "RHEL_7.6_Nginx_TrendMicro_on_15-Nov-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_Nginx_TrendMicro_on_18-Oct-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_Nginx_TrendMicro_on_18-Oct-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_Nginx_TrendMicro_on_18-Oct-19",
          "offer": "RHEL_7.6_Nginx_TrendMicro_on_18-Oct-19",
          "sku": "RHEL_7.6_Nginx_TrendMicro_on_18-Oct-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_Nginx_TrendMicro_on_20-Dec-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_Nginx_TrendMicro_on_20-Dec-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_Nginx_TrendMicro_on_20-Dec-19",
          "offer": "RHEL_7.6_Nginx_TrendMicro_on_20-Dec-19",
          "sku": "RHEL_7.6_Nginx_TrendMicro_on_20-Dec-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_Nginx_TrendMicro_on_22-Nov-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_Nginx_TrendMicro_on_22-Nov-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_Nginx_TrendMicro_on_22-Nov-19",
          "offer": "RHEL_7.6_Nginx_TrendMicro_on_22-Nov-19",
          "sku": "RHEL_7.6_Nginx_TrendMicro_on_22-Nov-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_Nginx_TrendMicro_on_27-Dec-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_Nginx_TrendMicro_on_27-Dec-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_Nginx_TrendMicro_on_27-Dec-19",
          "offer": "RHEL_7.6_Nginx_TrendMicro_on_27-Dec-19",
          "sku": "RHEL_7.6_Nginx_TrendMicro_on_27-Dec-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_Nginx_TrendMicro_on_29-Nov-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_Nginx_TrendMicro_on_29-Nov-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_Nginx_TrendMicro_on_29-Nov-19",
          "offer": "RHEL_7.6_Nginx_TrendMicro_on_29-Nov-19",
          "sku": "RHEL_7.6_Nginx_TrendMicro_on_29-Nov-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_on_03-Jan-20",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_on_03-Jan-20",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_on_03-Jan-20",
          "offer": "RHEL_7.6_on_03-Jan-20",
          "sku": "RHEL_7.6_on_03-Jan-20"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_on_04-Oct-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_on_04-Oct-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_on_04-Oct-19",
          "offer": "RHEL_7.6_on_04-Oct-19",
          "sku": "RHEL_7.6_on_04-Oct-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_on_05-Nov-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_on_05-Nov-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_on_05-Nov-19",
          "offer": "RHEL_7.6_on_05-Nov-19",
          "sku": "RHEL_7.6_on_05-Nov-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_on_08-Nov-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_on_08-Nov-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_on_08-Nov-19",
          "offer": "RHEL_7.6_on_08-Nov-19",
          "sku": "RHEL_7.6_on_08-Nov-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_on_10-Jan-20",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_on_10-Jan-20",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_on_10-Jan-20",
          "offer": "RHEL_7.6_on_10-Jan-20",
          "sku": "RHEL_7.6_on_10-Jan-20"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_on_11-Oct-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_on_11-Oct-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_on_11-Oct-19",
          "offer": "RHEL_7.6_on_11-Oct-19",
          "sku": "RHEL_7.6_on_11-Oct-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_on_15-Nov-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_on_15-Nov-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_on_15-Nov-19",
          "offer": "RHEL_7.6_on_15-Nov-19",
          "sku": "RHEL_7.6_on_15-Nov-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_on_18-Oct-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_on_18-Oct-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_on_18-Oct-19",
          "offer": "RHEL_7.6_on_18-Oct-19",
          "sku": "RHEL_7.6_on_18-Oct-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_on_20-Dec-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_on_20-Dec-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_on_20-Dec-19",
          "offer": "RHEL_7.6_on_20-Dec-19",
          "sku": "RHEL_7.6_on_20-Dec-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_on_22-Nov-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_on_22-Nov-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_on_22-Nov-19",
          "offer": "RHEL_7.6_on_22-Nov-19",
          "sku": "RHEL_7.6_on_22-Nov-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_on_27-Dec-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_on_27-Dec-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_on_27-Dec-19",
          "offer": "RHEL_7.6_on_27-Dec-19",
          "sku": "RHEL_7.6_on_27-Dec-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_on_29-Nov-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_on_29-Nov-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_on_29-Nov-19",
          "offer": "RHEL_7.6_on_29-Nov-19",
          "sku": "RHEL_7.6_on_29-Nov-19"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_Tomcat_on_03-Jan-20",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_Tomcat_on_03-Jan-20",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_Tomcat_on_03-Jan-20",
          "offer": "RHEL_7.6_Tomcat_on_03-Jan-20",
          "sku": "RHEL_7.6_Tomcat_on_03-Jan-20"
        },
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "RHEL_7.6_Tomcat_on_04-Oct-19",
      "id": "/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images/RHEL_7.6_Tomcat_on_04-Oct-19",
      "type": "Microsoft.Compute/galleries/images",
      "location": "southeastasia",
      "properties": {
        "hyperVGeneration": "V1",
        "osType": "Linux",
        "osState": "Generalized",
        "identifier": {
          "publisher": "RHEL_7.6_Tomcat_on_04-Oct-19",
          "offer": "RHEL_7.6_Tomcat_on_04-Oct-19",
          "sku": "RHEL_7.6_Tomcat_on_04-Oct-19"
        },
        "provisioningState": "Succeeded"
      }
    }
  ],
  "nextLink": "https://management.azure.com/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images?api-version=2019-07-01&%24skiptoken=lZBRa4MwGEV%2fy2TsLUZbG61QhrPFFmwL6gZ9kph86UKrkUTLutL%2fPteNsT3u9XIvnHMvVgNvXSqbg7HCi5Vvn4vlIsqLKF9FVmi9dl1rQoxr2tA91NB0Nn3vNdhM1aHnjbHpK8O0bDupGoN55fncJwQxIAJ5LnMQFRRQwAgH8AMymQqswaheM0i06luD63NCj0fQ5yzBrVYnyUEbvJZMK6NEZ8eqbvsO8P7WkvBrgWU9UJlH2kp0GlYDw2zkuFPk%2bMhxH%2b7NYQBTB2hmggWV8B0XcTKqkCcgQIHgYyTIiHEReBQ4u8P5%2f2WyvzLrXRKl6SLbDTJfWp%2fAP%2bl3dl7duHFSlEkc5%2bVw92YeZfOn51U6L7PlIi19m5TFdh1HRbndlM4EbbYvyJ1a1%2bsH"
}


DEBUG: [Common.Authentication]: Checking token expiration, token expires '01/16/2020 16:28:52 +00:00' Comparing to '01/16/2020 15:30:15 +00:00' With threshold '00:05:00', calculated time until token expiry: '00:58:37.8692460'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/rg-gallery/providers/Microsoft.Compute/galleries/sharedgallery/images?api-version=2019-07-01&%24skiptoken=lZBRa4MwGEV%2fy2TsLUZbG61QhrPFFmwL6gZ9kph86UKrkUTLutL%2fPteNsT3u9XIvnHMvVgNvXSqbg7HCi5Vvn4vlIsqLKF9FVmi9dl1rQoxr2tA91NB0Nn3vNdhM1aHnjbHpK8O0bDupGoN55fncJwQxIAJ5LnMQFRRQwAgH8AMymQqswaheM0i06luD63NCj0fQ5yzBrVYnyUEbvJZMK6NEZ8eqbvsO8P7WkvBrgWU9UJlH2kp0GlYDw2zkuFPk%2bMhxH%2b7NYQBTB2hmggWV8B0XcTKqkCcgQIHgYyTIiHEReBQ4u8P5%2f2WyvzLrXRKl6SLbDTJfWp%2fAP%2bl3dl7duHFSlEkc5%2bVw92YeZfOn51U6L7PlIi19m5TFdh1HRbndlM4EbbYvyJ1a1%2bsH

Headers:
x-ms-client-request-id        : 44d221f6-b675-4366-a911-d921548c3111
Accept-Language               : en-US

Body:



DEBUG: ============================ HTTP RESPONSE ============================

Status Code:
OK

Headers:
Cache-Control                 : no-cache
Pragma                        : no-cache
x-ms-original-request-ids     : 5ed57561-f01a-409a-a7d9-454d5ff3a9be
x-ms-ratelimit-remaining-subscription-reads: 11994
x-ms-request-id               : 4edf2102-e268-4a93-a152-e644f723251e
x-ms-correlation-request-id   : 4edf2102-e268-4a93-a152-e644f723251e
x-ms-routing-request-id       : SOUTHEASTASIA:20200116T153016Z:4edf2102-e268-4a93-a152-e644f723251e
Strict-Transport-Security     : max-age=31536000; includeSubDomains
X-Content-Type-Options        : nosniff
Date                          : Thu, 16 Jan 2020 15:30:16 GMT

Body:
{
  "value": []
}


DEBUG: AzureQoSEvent: CommandName - Get-AzGalleryImageDefinition; IsSuccess - True; Duration - 00:00:03.4947098; Exception - ;
DEBUG: Finish sending metric.
DEBUG: 23:30:16 - GetAzureRmGalleryImage end processing.
DEBUG: 23:30:16 - GetAzureRmGalleryImage end processing.

Output below.

Count             : 50
Average           : 
Sum               : 
Maximum           : 
Minimum           : 
StandardDeviation : 
Property          : 

kiazhi avatar Jan 16 '20 16:01 kiazhi

Involve Compute team because this cmdlets is expected to support pagination.

dingmeng-xue avatar Feb 20 '20 16:02 dingmeng-xue

@axayjo, could you please look into this issue.

Drewm3 avatar Mar 06 '20 00:03 Drewm3

@hyonholee, the Get-AzGalleryImageDefinition cmdlet doesn't support pagination. Can you please take a look? Thanks!

axayjo avatar Mar 13 '20 16:03 axayjo

@grizzlytheodore can you take a look?

axayjo avatar May 29 '20 22:05 axayjo

bringing this to my team's attention

grizzlytheodore avatar Jun 01 '20 14:06 grizzlytheodore

@kiazhi, I tested this with 4.1.0 Compute module and it worked as intended. I was able to see more than 50 results. Perhaps updating the compute module will fix this issue, could you try it and get back to me?

MS-syh2qs avatar Jun 02 '20 23:06 MS-syh2qs

@kiazhi, I tested this with 4.1.0 Compute module and it worked as intended. I was able to see more than 50 results. Perhaps updating the compute module will fix this issue, could you try it and get back to me?

@MS-syh2qs, Thank you for investigating. Not sure where the problem is but cleanly uninstalling Az module and install the latest Az module resolved the issue. I think I will close this issue now.

kiazhi avatar Jun 03 '20 03:06 kiazhi