| Description | : Get the list of all cost allocation rules for a billing account or enterprise enrollment. | 
| Reference | : Link ¶ | 
⚼ Request
            GET: 
            /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/costAllocationRules
          
              
      
          {
      
          
        
              api-version:
              
              string
            ,
          
          
              billingAccountId:
              
              string
            ,
          
      
          }
      
    ⚐ Response (200)
      
          {
      
          
              value:
              
                  
          
      
          [
      
        
                
      
          ]
      
    
            ,
          
      
          {
      
          
          ,
        
              id:
              
              string
            ,
          
          
              name:
              
              string
            ,
          
          
              type:
              
              string
            ,
          
          
              properties:
              
                  
      
          }
      
    
      
          {
      
          
            ,
          
              description:
              
              string
            ,
          
          
              details:
              
                  
          
      
          {
      
          
            ,
          
              sourceResources:
              
                  
          
      
          [
      
        
            ,
          
            string
          ,
        
      
          ]
      
    
              targetResources:
              
                  
      
          }
      
    
      
          [
      
        
            ,
          
            string
          ,
        
      
          ]
      
    
              status:
              
              enum
            ,
          
          
              createdDate:
              
              string
            ,
          
          
              updatedDate:
              
              string
            ,
          
      
          }
      
    
              nextLink:
              
              string
            ,
          
      
          }
      
    ⚐ Response (default)
      
          {
      
          
              error:
              
                  
      
          }
      
    
      
          {
      
          
            ,
          
              code:
              
              string
            ,
          
          
              message:
              
              string
            ,
          
      
          }