azure_mgmt_billing 0.17.0 → 0.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/2017-02-27-preview/generated/azure_mgmt_billing/billing_client.rb +1 -1
- data/lib/2017-02-27-preview/generated/azure_mgmt_billing/models/resource.rb +9 -0
- data/lib/2017-04-24-preview/generated/azure_mgmt_billing/billing_management_client.rb +1 -1
- data/lib/2017-04-24-preview/generated/azure_mgmt_billing/models/resource.rb +9 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_billing/billing_management_client.rb +1 -1
- data/lib/2018-03-01-preview/generated/azure_mgmt_billing/models/resource.rb +9 -0
- data/lib/version.rb +1 -1
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 12cbf1219c0bd95bc30031a9999435e6994c7eac
         | 
| 4 | 
            +
              data.tar.gz: 974a18f14a8b927e8b42ad6254309289d3e9c76a
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: f3a99faca397e74246828e2330c4b5b463790ecf0fa1401173613c525ab209e80d1fb520f3e20ad73d92f4cfd19ac7fb8223762bb84836fdde946e1d40848130
         | 
| 7 | 
            +
              data.tar.gz: a4e12fe4a7b6d9682820b73ca794f313f24d2673b46618e89e53e3c7f82d790ab0a8e8cd2b0d8801b894be91a8ded92414c7e55117c4c7b31e96d999c74bdee8
         | 
| @@ -129,7 +129,7 @@ module Azure::Billing::Mgmt::V2017_02_27_preview | |
| 129 129 | 
             
                #
         | 
| 130 130 | 
             
                def add_telemetry
         | 
| 131 131 | 
             
                    sdk_information = 'azure_mgmt_billing'
         | 
| 132 | 
            -
                    sdk_information = "#{sdk_information}/0.17. | 
| 132 | 
            +
                    sdk_information = "#{sdk_information}/0.17.1"
         | 
| 133 133 | 
             
                    add_user_agent_information(sdk_information)
         | 
| 134 134 | 
             
                end
         | 
| 135 135 | 
             
              end
         | 
| @@ -22,6 +22,15 @@ module Azure::Billing::Mgmt::V2017_02_27_preview | |
| 22 22 | 
             
                  attr_accessor :type
         | 
| 23 23 |  | 
| 24 24 |  | 
| 25 | 
            +
                  # @return [String] the name of the resource group of the resource.
         | 
| 26 | 
            +
                  def resource_group
         | 
| 27 | 
            +
                    unless self.id.nil?
         | 
| 28 | 
            +
                      groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
         | 
| 29 | 
            +
                      groups.captures[0].strip if groups
         | 
| 30 | 
            +
                    end
         | 
| 31 | 
            +
                  end
         | 
| 32 | 
            +
             | 
| 33 | 
            +
             | 
| 25 34 | 
             
                  #
         | 
| 26 35 | 
             
                  # Mapper for Resource class as Ruby Hash.
         | 
| 27 36 | 
             
                  # This will be used for serialization/deserialization.
         | 
| @@ -133,7 +133,7 @@ module Azure::Billing::Mgmt::V2017_04_24_preview | |
| 133 133 | 
             
                #
         | 
| 134 134 | 
             
                def add_telemetry
         | 
| 135 135 | 
             
                    sdk_information = 'azure_mgmt_billing'
         | 
| 136 | 
            -
                    sdk_information = "#{sdk_information}/0.17. | 
| 136 | 
            +
                    sdk_information = "#{sdk_information}/0.17.1"
         | 
| 137 137 | 
             
                    add_user_agent_information(sdk_information)
         | 
| 138 138 | 
             
                end
         | 
| 139 139 | 
             
              end
         | 
| @@ -22,6 +22,15 @@ module Azure::Billing::Mgmt::V2017_04_24_preview | |
| 22 22 | 
             
                  attr_accessor :type
         | 
| 23 23 |  | 
| 24 24 |  | 
| 25 | 
            +
                  # @return [String] the name of the resource group of the resource.
         | 
| 26 | 
            +
                  def resource_group
         | 
| 27 | 
            +
                    unless self.id.nil?
         | 
| 28 | 
            +
                      groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
         | 
| 29 | 
            +
                      groups.captures[0].strip if groups
         | 
| 30 | 
            +
                    end
         | 
| 31 | 
            +
                  end
         | 
| 32 | 
            +
             | 
| 33 | 
            +
             | 
| 25 34 | 
             
                  #
         | 
| 26 35 | 
             
                  # Mapper for Resource class as Ruby Hash.
         | 
| 27 36 | 
             
                  # This will be used for serialization/deserialization.
         | 
| @@ -137,7 +137,7 @@ module Azure::Billing::Mgmt::V2018_03_01_preview | |
| 137 137 | 
             
                #
         | 
| 138 138 | 
             
                def add_telemetry
         | 
| 139 139 | 
             
                    sdk_information = 'azure_mgmt_billing'
         | 
| 140 | 
            -
                    sdk_information = "#{sdk_information}/0.17. | 
| 140 | 
            +
                    sdk_information = "#{sdk_information}/0.17.1"
         | 
| 141 141 | 
             
                    add_user_agent_information(sdk_information)
         | 
| 142 142 | 
             
                end
         | 
| 143 143 | 
             
              end
         | 
| @@ -22,6 +22,15 @@ module Azure::Billing::Mgmt::V2018_03_01_preview | |
| 22 22 | 
             
                  attr_accessor :type
         | 
| 23 23 |  | 
| 24 24 |  | 
| 25 | 
            +
                  # @return [String] the name of the resource group of the resource.
         | 
| 26 | 
            +
                  def resource_group
         | 
| 27 | 
            +
                    unless self.id.nil?
         | 
| 28 | 
            +
                      groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
         | 
| 29 | 
            +
                      groups.captures[0].strip if groups
         | 
| 30 | 
            +
                    end
         | 
| 31 | 
            +
                  end
         | 
| 32 | 
            +
             | 
| 33 | 
            +
             | 
| 25 34 | 
             
                  #
         | 
| 26 35 | 
             
                  # Mapper for Resource class as Ruby Hash.
         | 
| 27 36 | 
             
                  # This will be used for serialization/deserialization.
         | 
    
        data/lib/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: azure_mgmt_billing
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.17. | 
| 4 | 
            +
              version: 0.17.1
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Microsoft Corporation
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2018- | 
| 11 | 
            +
            date: 2018-09-14 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: bundler
         |