| Description | : Gets all the Event Hubs in a Namespace. | 
| Reference | : Link ¶ | 
⚶ Changes
{
  "#id": "EventHubs_ListByNamespace",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "retentionDescription": [
                  {
                    "@added_818bc9451bdc4683ac18858a3cf8bc0c": {
                      "#name": "minCompactionLagTimeInMinutes",
                      "Description": "The minimum time a message will remain ineligible for compaction in the log. This value is used when cleanupPolicy is Compact or DeleteOrCompact.",
                      "Format": "int64",
                      "Required": false,
                      "Type": "integer"
                    }
                  },
                  {
                    "@removed_59fa8e0a457e41f192b6d1be889a1bd8": {
                      "#name": "minCompactionLagInMins",
                      "Description": "The minimum time a message will remain ineligible for compaction in the log. This value is used when cleanupPolicy is Compact or DeleteOrCompact.",
                      "Format": "int64",
                      "Required": false,
                      "Type": "integer"
                    }
                  }
                ]
              }
            ]
          }
        }
      }
    }
  }
}
        ⚼ Request
            GET: 
            /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs
          
              
      
          {
      
          
        
              resourceGroupName:
              
              string
            ,
          
          
              namespaceName:
              
              string
            ,
          
          
              api-version:
              
              string
            ,
          
          
              subscriptionId:
              
              string
            ,
          
          
              $skip:
              
              integer
            ,
          
          
              $top:
              
              integer
            ,
          
      
          }
      
    ⚐ Response (200)
      
          {
      
          
              value:
              
                  
          
      
          [
      
        
                
      
          ]
      
    
            ,
          
      
          {
      
          
          ,
        
              properties:
              
                  
          
      
          {
      
          
            ,
          
              partitionIds:
              
                  
          
      
          [
      
        
            ,
          
            string
          ,
        
      
          ]
      
    
              createdAt:
              
              string
            ,
          
          
              updatedAt:
              
              string
            ,
          
          
              messageRetentionInDays:
              
              integer
            ,
          
          
              partitionCount:
              
              integer
            ,
          
          
              status:
              
              enum
            ,
          
          
              captureDescription:
              
                  
          
      
          {
      
          
            ,
          
              enabled:
              
              boolean
            ,
          
          
              encoding:
              
              enum
            ,
          
          
              intervalInSeconds:
              
              integer
            ,
          
          
              sizeLimitInBytes:
              
              integer
            ,
          
          
              destination:
              
                  
          
      
          {
      
          
            ,
          
              name:
              
              string
            ,
          
          
              identity:
              
                  
          
      
          {
      
          
            ,
          
              type:
              
              enum
            ,
          
          
              userAssignedIdentity:
              
              string
            ,
          
      
          }
      
    
              properties:
              
                  
      
          }
      
    
      
          {
      
          
            ,
          
              storageAccountResourceId:
              
              string
            ,
          
          
              blobContainer:
              
              string
            ,
          
          
              archiveNameFormat:
              
              string
            ,
          
          
              dataLakeSubscriptionId:
              
              string
            ,
          
          
              dataLakeAccountName:
              
              string
            ,
          
          
              dataLakeFolderPath:
              
              string
            ,
          
      
          }
      
    
              skipEmptyArchives:
              
              boolean
            ,
          
      
          }
      
    
              retentionDescription:
              
                  
          
      
          {
      
          
            ,
          
              cleanupPolicy:
              
              enum
            ,
          
          
              retentionTimeInHours:
              
              integer
            ,
          
          
              minCompactionLagTimeInMinutes:
              
              integer
            ,
          
          
              tombstoneRetentionTimeInHours:
              
              integer
            ,
          
      
          }
      
    
              messageTimestampDescription:
              
                  
          
      
          {
      
          
            ,
          
              timestampType:
              
              enum
            ,
          
      
          }
      
    
              identifier:
              
              string
            ,
          
          
              userMetadata:
              
              string
            ,
          
      
          }
      
    
              systemData:
              
                  
      
          }
      
    
      
          {
      
          
            ,
          
              createdBy:
              
              string
            ,
          
          
              createdByType:
              
              enum
            ,
          
          
              createdAt:
              
              string
            ,
          
          
              lastModifiedBy:
              
              string
            ,
          
          
              lastModifiedByType:
              
              enum
            ,
          
          
              lastModifiedAt:
              
              string
            ,
          
      
          }
      
    
              nextLink:
              
              string
            ,
          
      
          }
      
    ⚐ Response (default)
      
          {
      
          
              error:
              
                  
      
          }
      
    
      
          {
      
          
            ,
          
              code:
              
              string
            ,
          
          
              message:
              
              string
            ,
          
          
              target:
              
              string
            ,
          
          
              details:
              
                  
          
      
          [
      
        
            ,
          
            string
          ,
        
      
          ]
      
    
              additionalInfo:
              
                  
      
          }
      
    
      
          [
      
        
                
      
          ]
      
    
            ,
          
      
          {
      
          
          ,
        
              type:
              
              string
            ,
          
          
              info:
              
              object
            ,
          
      
          }