azure_mgmt_policy 0.17.1 → 0.17.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2015-10-01-preview/generated/azure_mgmt_policy/policy_assignments.rb +9 -9
  3. data/lib/2015-10-01-preview/generated/azure_mgmt_policy/policy_client.rb +1 -1
  4. data/lib/2016-04-01/generated/azure_mgmt_policy/policy_assignments.rb +9 -9
  5. data/lib/2016-04-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
  6. data/lib/2016-12-01/generated/azure_mgmt_policy/policy_assignments.rb +9 -9
  7. data/lib/2016-12-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
  8. data/lib/2017-06-01-preview/generated/azure_mgmt_policy/models/error_response.rb +1 -1
  9. data/lib/2017-06-01-preview/generated/azure_mgmt_policy/policy_assignments.rb +9 -9
  10. data/lib/2017-06-01-preview/generated/azure_mgmt_policy/policy_client.rb +1 -1
  11. data/lib/2018-03-01/generated/azure_mgmt_policy/models/error_response.rb +2 -2
  12. data/lib/2018-03-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
  13. data/lib/2018-05-01/generated/azure_mgmt_policy.rb +43 -0
  14. data/lib/2018-05-01/generated/azure_mgmt_policy/models/error_response.rb +69 -0
  15. data/lib/2018-05-01/generated/azure_mgmt_policy/models/identity.rb +72 -0
  16. data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_assignment.rb +196 -0
  17. data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_assignment_list_result.rb +98 -0
  18. data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_definition.rb +153 -0
  19. data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_definition_list_result.rb +98 -0
  20. data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_definition_reference.rb +58 -0
  21. data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_mode.rb +17 -0
  22. data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_set_definition.rb +151 -0
  23. data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_set_definition_list_result.rb +99 -0
  24. data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_sku.rb +59 -0
  25. data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_type.rb +17 -0
  26. data/lib/2018-05-01/generated/azure_mgmt_policy/models/resource_identity_type.rb +16 -0
  27. data/lib/2018-05-01/generated/azure_mgmt_policy/module_definition.rb +9 -0
  28. data/lib/2018-05-01/generated/azure_mgmt_policy/policy_assignments.rb +1885 -0
  29. data/lib/2018-05-01/generated/azure_mgmt_policy/policy_client.rb +139 -0
  30. data/lib/2018-05-01/generated/azure_mgmt_policy/policy_definitions.rb +1365 -0
  31. data/lib/2018-05-01/generated/azure_mgmt_policy/policy_set_definitions.rb +1388 -0
  32. data/lib/azure_mgmt_policy.rb +1 -0
  33. data/lib/profiles/latest/modules/policy_profile_module.rb +35 -27
  34. data/lib/version.rb +1 -1
  35. metadata +22 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 1e26478d2e3801dfac28404d1feed8fe959d92ba
4
- data.tar.gz: 320c69fbd0f636457c97e9f2627bcf07f19feb13
2
+ SHA256:
3
+ metadata.gz: 366b3ad3f3ccc3befdea014eedc559b6652e61d9539952f18c7dd88a916d44e0
4
+ data.tar.gz: bcc7d98b7aca80c84d2c203d757f60b5960694fcb49d3bbf197c81f9f4c17793
5
5
  SHA512:
6
- metadata.gz: c59cf455452b111cd160b708737af9f241c6c8e2388c68d84794c15dcc01491913ad4772dd4974eb35ca8c06bbade257de2306ad5c85e693cefd56b68d95f77a
7
- data.tar.gz: bed1bfd271dad36b1dd6b8b339c4699061f65438cbe1ca068dee5ae93f8d60524922605f038623660bdb3787a4363df2001e6603926372e8a78d26e2043c1b8b
6
+ metadata.gz: 963e707c5e31aeb61e2d1a127a659052da498b00f708f05ed80ede17b80a7b5197bb566c8f73d5a92a1ba6c95ad734907b6be0a7cc8dc1b9c2d59e84a791bdeb
7
+ data.tar.gz: b36f728916327e98546673d91efbbd38654093ac7673741fec30b390aa0a13c56a8317b518f2a4fb00db475ae238c4cbdd8f9ee672138f2afe176b17f00fd7ac
@@ -635,7 +635,7 @@ module Azure::Policy::Mgmt::V2015_10_01_preview
635
635
  #
636
636
  # Deletes a policy assignment by ID.
637
637
  #
638
- # When providing a scope for the assigment, use
638
+ # When providing a scope for the assignment, use
639
639
  # '/subscriptions/{subscription-id}/' for subscriptions,
640
640
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
641
641
  # resource groups, and
@@ -658,7 +658,7 @@ module Azure::Policy::Mgmt::V2015_10_01_preview
658
658
  #
659
659
  # Deletes a policy assignment by ID.
660
660
  #
661
- # When providing a scope for the assigment, use
661
+ # When providing a scope for the assignment, use
662
662
  # '/subscriptions/{subscription-id}/' for subscriptions,
663
663
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
664
664
  # resource groups, and
@@ -680,7 +680,7 @@ module Azure::Policy::Mgmt::V2015_10_01_preview
680
680
  #
681
681
  # Deletes a policy assignment by ID.
682
682
  #
683
- # When providing a scope for the assigment, use
683
+ # When providing a scope for the assignment, use
684
684
  # '/subscriptions/{subscription-id}/' for subscriptions,
685
685
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
686
686
  # resource groups, and
@@ -751,7 +751,7 @@ module Azure::Policy::Mgmt::V2015_10_01_preview
751
751
  #
752
752
  # Policy assignments are inherited by child resources. For example, when you
753
753
  # apply a policy to a resource group that policy is assigned to all resources
754
- # in the group. When providing a scope for the assigment, use
754
+ # in the group. When providing a scope for the assignment, use
755
755
  # '/subscriptions/{subscription-id}/' for subscriptions,
756
756
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
757
757
  # resource groups, and
@@ -777,7 +777,7 @@ module Azure::Policy::Mgmt::V2015_10_01_preview
777
777
  #
778
778
  # Policy assignments are inherited by child resources. For example, when you
779
779
  # apply a policy to a resource group that policy is assigned to all resources
780
- # in the group. When providing a scope for the assigment, use
780
+ # in the group. When providing a scope for the assignment, use
781
781
  # '/subscriptions/{subscription-id}/' for subscriptions,
782
782
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
783
783
  # resource groups, and
@@ -802,7 +802,7 @@ module Azure::Policy::Mgmt::V2015_10_01_preview
802
802
  #
803
803
  # Policy assignments are inherited by child resources. For example, when you
804
804
  # apply a policy to a resource group that policy is assigned to all resources
805
- # in the group. When providing a scope for the assigment, use
805
+ # in the group. When providing a scope for the assignment, use
806
806
  # '/subscriptions/{subscription-id}/' for subscriptions,
807
807
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
808
808
  # resource groups, and
@@ -880,7 +880,7 @@ module Azure::Policy::Mgmt::V2015_10_01_preview
880
880
  #
881
881
  # Gets a policy assignment by ID.
882
882
  #
883
- # When providing a scope for the assigment, use
883
+ # When providing a scope for the assignment, use
884
884
  # '/subscriptions/{subscription-id}/' for subscriptions,
885
885
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
886
886
  # resource groups, and
@@ -903,7 +903,7 @@ module Azure::Policy::Mgmt::V2015_10_01_preview
903
903
  #
904
904
  # Gets a policy assignment by ID.
905
905
  #
906
- # When providing a scope for the assigment, use
906
+ # When providing a scope for the assignment, use
907
907
  # '/subscriptions/{subscription-id}/' for subscriptions,
908
908
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
909
909
  # resource groups, and
@@ -925,7 +925,7 @@ module Azure::Policy::Mgmt::V2015_10_01_preview
925
925
  #
926
926
  # Gets a policy assignment by ID.
927
927
  #
928
- # When providing a scope for the assigment, use
928
+ # When providing a scope for the assignment, use
929
929
  # '/subscriptions/{subscription-id}/' for subscriptions,
930
930
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
931
931
  # resource groups, and
@@ -128,7 +128,7 @@ module Azure::Policy::Mgmt::V2015_10_01_preview
128
128
  #
129
129
  def add_telemetry
130
130
  sdk_information = 'azure_mgmt_policy'
131
- sdk_information = "#{sdk_information}/0.17.1"
131
+ sdk_information = "#{sdk_information}/0.17.2"
132
132
  add_user_agent_information(sdk_information)
133
133
  end
134
134
  end
@@ -635,7 +635,7 @@ module Azure::Policy::Mgmt::V2016_04_01
635
635
  #
636
636
  # Deletes a policy assignment by ID.
637
637
  #
638
- # When providing a scope for the assigment, use
638
+ # When providing a scope for the assignment, use
639
639
  # '/subscriptions/{subscription-id}/' for subscriptions,
640
640
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
641
641
  # resource groups, and
@@ -658,7 +658,7 @@ module Azure::Policy::Mgmt::V2016_04_01
658
658
  #
659
659
  # Deletes a policy assignment by ID.
660
660
  #
661
- # When providing a scope for the assigment, use
661
+ # When providing a scope for the assignment, use
662
662
  # '/subscriptions/{subscription-id}/' for subscriptions,
663
663
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
664
664
  # resource groups, and
@@ -680,7 +680,7 @@ module Azure::Policy::Mgmt::V2016_04_01
680
680
  #
681
681
  # Deletes a policy assignment by ID.
682
682
  #
683
- # When providing a scope for the assigment, use
683
+ # When providing a scope for the assignment, use
684
684
  # '/subscriptions/{subscription-id}/' for subscriptions,
685
685
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
686
686
  # resource groups, and
@@ -751,7 +751,7 @@ module Azure::Policy::Mgmt::V2016_04_01
751
751
  #
752
752
  # Policy assignments are inherited by child resources. For example, when you
753
753
  # apply a policy to a resource group that policy is assigned to all resources
754
- # in the group. When providing a scope for the assigment, use
754
+ # in the group. When providing a scope for the assignment, use
755
755
  # '/subscriptions/{subscription-id}/' for subscriptions,
756
756
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
757
757
  # resource groups, and
@@ -777,7 +777,7 @@ module Azure::Policy::Mgmt::V2016_04_01
777
777
  #
778
778
  # Policy assignments are inherited by child resources. For example, when you
779
779
  # apply a policy to a resource group that policy is assigned to all resources
780
- # in the group. When providing a scope for the assigment, use
780
+ # in the group. When providing a scope for the assignment, use
781
781
  # '/subscriptions/{subscription-id}/' for subscriptions,
782
782
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
783
783
  # resource groups, and
@@ -802,7 +802,7 @@ module Azure::Policy::Mgmt::V2016_04_01
802
802
  #
803
803
  # Policy assignments are inherited by child resources. For example, when you
804
804
  # apply a policy to a resource group that policy is assigned to all resources
805
- # in the group. When providing a scope for the assigment, use
805
+ # in the group. When providing a scope for the assignment, use
806
806
  # '/subscriptions/{subscription-id}/' for subscriptions,
807
807
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
808
808
  # resource groups, and
@@ -880,7 +880,7 @@ module Azure::Policy::Mgmt::V2016_04_01
880
880
  #
881
881
  # Gets a policy assignment by ID.
882
882
  #
883
- # When providing a scope for the assigment, use
883
+ # When providing a scope for the assignment, use
884
884
  # '/subscriptions/{subscription-id}/' for subscriptions,
885
885
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
886
886
  # resource groups, and
@@ -903,7 +903,7 @@ module Azure::Policy::Mgmt::V2016_04_01
903
903
  #
904
904
  # Gets a policy assignment by ID.
905
905
  #
906
- # When providing a scope for the assigment, use
906
+ # When providing a scope for the assignment, use
907
907
  # '/subscriptions/{subscription-id}/' for subscriptions,
908
908
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
909
909
  # resource groups, and
@@ -925,7 +925,7 @@ module Azure::Policy::Mgmt::V2016_04_01
925
925
  #
926
926
  # Gets a policy assignment by ID.
927
927
  #
928
- # When providing a scope for the assigment, use
928
+ # When providing a scope for the assignment, use
929
929
  # '/subscriptions/{subscription-id}/' for subscriptions,
930
930
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
931
931
  # resource groups, and
@@ -128,7 +128,7 @@ module Azure::Policy::Mgmt::V2016_04_01
128
128
  #
129
129
  def add_telemetry
130
130
  sdk_information = 'azure_mgmt_policy'
131
- sdk_information = "#{sdk_information}/0.17.1"
131
+ sdk_information = "#{sdk_information}/0.17.2"
132
132
  add_user_agent_information(sdk_information)
133
133
  end
134
134
  end
@@ -635,7 +635,7 @@ module Azure::Policy::Mgmt::V2016_12_01
635
635
  #
636
636
  # Deletes a policy assignment by ID.
637
637
  #
638
- # When providing a scope for the assigment, use
638
+ # When providing a scope for the assignment, use
639
639
  # '/subscriptions/{subscription-id}/' for subscriptions,
640
640
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
641
641
  # resource groups, and
@@ -658,7 +658,7 @@ module Azure::Policy::Mgmt::V2016_12_01
658
658
  #
659
659
  # Deletes a policy assignment by ID.
660
660
  #
661
- # When providing a scope for the assigment, use
661
+ # When providing a scope for the assignment, use
662
662
  # '/subscriptions/{subscription-id}/' for subscriptions,
663
663
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
664
664
  # resource groups, and
@@ -680,7 +680,7 @@ module Azure::Policy::Mgmt::V2016_12_01
680
680
  #
681
681
  # Deletes a policy assignment by ID.
682
682
  #
683
- # When providing a scope for the assigment, use
683
+ # When providing a scope for the assignment, use
684
684
  # '/subscriptions/{subscription-id}/' for subscriptions,
685
685
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
686
686
  # resource groups, and
@@ -751,7 +751,7 @@ module Azure::Policy::Mgmt::V2016_12_01
751
751
  #
752
752
  # Policy assignments are inherited by child resources. For example, when you
753
753
  # apply a policy to a resource group that policy is assigned to all resources
754
- # in the group. When providing a scope for the assigment, use
754
+ # in the group. When providing a scope for the assignment, use
755
755
  # '/subscriptions/{subscription-id}/' for subscriptions,
756
756
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
757
757
  # resource groups, and
@@ -777,7 +777,7 @@ module Azure::Policy::Mgmt::V2016_12_01
777
777
  #
778
778
  # Policy assignments are inherited by child resources. For example, when you
779
779
  # apply a policy to a resource group that policy is assigned to all resources
780
- # in the group. When providing a scope for the assigment, use
780
+ # in the group. When providing a scope for the assignment, use
781
781
  # '/subscriptions/{subscription-id}/' for subscriptions,
782
782
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
783
783
  # resource groups, and
@@ -802,7 +802,7 @@ module Azure::Policy::Mgmt::V2016_12_01
802
802
  #
803
803
  # Policy assignments are inherited by child resources. For example, when you
804
804
  # apply a policy to a resource group that policy is assigned to all resources
805
- # in the group. When providing a scope for the assigment, use
805
+ # in the group. When providing a scope for the assignment, use
806
806
  # '/subscriptions/{subscription-id}/' for subscriptions,
807
807
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
808
808
  # resource groups, and
@@ -880,7 +880,7 @@ module Azure::Policy::Mgmt::V2016_12_01
880
880
  #
881
881
  # Gets a policy assignment by ID.
882
882
  #
883
- # When providing a scope for the assigment, use
883
+ # When providing a scope for the assignment, use
884
884
  # '/subscriptions/{subscription-id}/' for subscriptions,
885
885
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
886
886
  # resource groups, and
@@ -903,7 +903,7 @@ module Azure::Policy::Mgmt::V2016_12_01
903
903
  #
904
904
  # Gets a policy assignment by ID.
905
905
  #
906
- # When providing a scope for the assigment, use
906
+ # When providing a scope for the assignment, use
907
907
  # '/subscriptions/{subscription-id}/' for subscriptions,
908
908
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
909
909
  # resource groups, and
@@ -925,7 +925,7 @@ module Azure::Policy::Mgmt::V2016_12_01
925
925
  #
926
926
  # Gets a policy assignment by ID.
927
927
  #
928
- # When providing a scope for the assigment, use
928
+ # When providing a scope for the assignment, use
929
929
  # '/subscriptions/{subscription-id}/' for subscriptions,
930
930
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
931
931
  # resource groups, and
@@ -128,7 +128,7 @@ module Azure::Policy::Mgmt::V2016_12_01
128
128
  #
129
129
  def add_telemetry
130
130
  sdk_information = 'azure_mgmt_policy'
131
- sdk_information = "#{sdk_information}/0.17.1"
131
+ sdk_information = "#{sdk_information}/0.17.2"
132
132
  add_user_agent_information(sdk_information)
133
133
  end
134
134
  end
@@ -6,7 +6,7 @@
6
6
  module Azure::Policy::Mgmt::V2017_06_01_preview
7
7
  module Models
8
8
  #
9
- # Error reponse indicates ARM is not able to process the incoming request.
9
+ # Error response indicates ARM is not able to process the incoming request.
10
10
  # The reason is provided in the error message.
11
11
  #
12
12
  class ErrorResponse
@@ -635,7 +635,7 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
635
635
  #
636
636
  # Deletes a policy assignment by ID.
637
637
  #
638
- # When providing a scope for the assigment, use
638
+ # When providing a scope for the assignment, use
639
639
  # '/subscriptions/{subscription-id}/' for subscriptions,
640
640
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
641
641
  # resource groups, and
@@ -658,7 +658,7 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
658
658
  #
659
659
  # Deletes a policy assignment by ID.
660
660
  #
661
- # When providing a scope for the assigment, use
661
+ # When providing a scope for the assignment, use
662
662
  # '/subscriptions/{subscription-id}/' for subscriptions,
663
663
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
664
664
  # resource groups, and
@@ -680,7 +680,7 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
680
680
  #
681
681
  # Deletes a policy assignment by ID.
682
682
  #
683
- # When providing a scope for the assigment, use
683
+ # When providing a scope for the assignment, use
684
684
  # '/subscriptions/{subscription-id}/' for subscriptions,
685
685
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
686
686
  # resource groups, and
@@ -751,7 +751,7 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
751
751
  #
752
752
  # Policy assignments are inherited by child resources. For example, when you
753
753
  # apply a policy to a resource group that policy is assigned to all resources
754
- # in the group. When providing a scope for the assigment, use
754
+ # in the group. When providing a scope for the assignment, use
755
755
  # '/subscriptions/{subscription-id}/' for subscriptions,
756
756
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
757
757
  # resource groups, and
@@ -777,7 +777,7 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
777
777
  #
778
778
  # Policy assignments are inherited by child resources. For example, when you
779
779
  # apply a policy to a resource group that policy is assigned to all resources
780
- # in the group. When providing a scope for the assigment, use
780
+ # in the group. When providing a scope for the assignment, use
781
781
  # '/subscriptions/{subscription-id}/' for subscriptions,
782
782
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
783
783
  # resource groups, and
@@ -802,7 +802,7 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
802
802
  #
803
803
  # Policy assignments are inherited by child resources. For example, when you
804
804
  # apply a policy to a resource group that policy is assigned to all resources
805
- # in the group. When providing a scope for the assigment, use
805
+ # in the group. When providing a scope for the assignment, use
806
806
  # '/subscriptions/{subscription-id}/' for subscriptions,
807
807
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
808
808
  # resource groups, and
@@ -880,7 +880,7 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
880
880
  #
881
881
  # Gets a policy assignment by ID.
882
882
  #
883
- # When providing a scope for the assigment, use
883
+ # When providing a scope for the assignment, use
884
884
  # '/subscriptions/{subscription-id}/' for subscriptions,
885
885
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
886
886
  # resource groups, and
@@ -903,7 +903,7 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
903
903
  #
904
904
  # Gets a policy assignment by ID.
905
905
  #
906
- # When providing a scope for the assigment, use
906
+ # When providing a scope for the assignment, use
907
907
  # '/subscriptions/{subscription-id}/' for subscriptions,
908
908
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
909
909
  # resource groups, and
@@ -925,7 +925,7 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
925
925
  #
926
926
  # Gets a policy assignment by ID.
927
927
  #
928
- # When providing a scope for the assigment, use
928
+ # When providing a scope for the assignment, use
929
929
  # '/subscriptions/{subscription-id}/' for subscriptions,
930
930
  # '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for
931
931
  # resource groups, and
@@ -128,7 +128,7 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
128
128
  #
129
129
  def add_telemetry
130
130
  sdk_information = 'azure_mgmt_policy'
131
- sdk_information = "#{sdk_information}/0.17.1"
131
+ sdk_information = "#{sdk_information}/0.17.2"
132
132
  add_user_agent_information(sdk_information)
133
133
  end
134
134
  end
@@ -6,8 +6,8 @@
6
6
  module Azure::Policy::Mgmt::V2018_03_01
7
7
  module Models
8
8
  #
9
- # Error reponse indicates Azure Resource Manager is not able to process the
10
- # incoming request. The reason is provided in the error message.
9
+ # Error response indicates Azure Resource Manager is not able to process
10
+ # the incoming request. The reason is provided in the error message.
11
11
  #
12
12
  class ErrorResponse
13
13
 
@@ -132,7 +132,7 @@ module Azure::Policy::Mgmt::V2018_03_01
132
132
  #
133
133
  def add_telemetry
134
134
  sdk_information = 'azure_mgmt_policy'
135
- sdk_information = "#{sdk_information}/0.17.1"
135
+ sdk_information = "#{sdk_information}/0.17.2"
136
136
  add_user_agent_information(sdk_information)
137
137
  end
138
138
  end
@@ -0,0 +1,43 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ require 'uri'
7
+ require 'cgi'
8
+ require 'date'
9
+ require 'json'
10
+ require 'base64'
11
+ require 'erb'
12
+ require 'securerandom'
13
+ require 'time'
14
+ require 'timeliness'
15
+ require 'faraday'
16
+ require 'faraday-cookie_jar'
17
+ require 'concurrent'
18
+ require 'ms_rest'
19
+ require '2018-05-01/generated/azure_mgmt_policy/module_definition'
20
+ require 'ms_rest_azure'
21
+
22
+ module Azure::Policy::Mgmt::V2018_05_01
23
+ autoload :PolicyAssignments, '2018-05-01/generated/azure_mgmt_policy/policy_assignments.rb'
24
+ autoload :PolicyDefinitions, '2018-05-01/generated/azure_mgmt_policy/policy_definitions.rb'
25
+ autoload :PolicySetDefinitions, '2018-05-01/generated/azure_mgmt_policy/policy_set_definitions.rb'
26
+ autoload :PolicyClient, '2018-05-01/generated/azure_mgmt_policy/policy_client.rb'
27
+
28
+ module Models
29
+ autoload :PolicyDefinition, '2018-05-01/generated/azure_mgmt_policy/models/policy_definition.rb'
30
+ autoload :PolicySku, '2018-05-01/generated/azure_mgmt_policy/models/policy_sku.rb'
31
+ autoload :PolicyDefinitionListResult, '2018-05-01/generated/azure_mgmt_policy/models/policy_definition_list_result.rb'
32
+ autoload :PolicyAssignment, '2018-05-01/generated/azure_mgmt_policy/models/policy_assignment.rb'
33
+ autoload :PolicyDefinitionReference, '2018-05-01/generated/azure_mgmt_policy/models/policy_definition_reference.rb'
34
+ autoload :ErrorResponse, '2018-05-01/generated/azure_mgmt_policy/models/error_response.rb'
35
+ autoload :PolicySetDefinition, '2018-05-01/generated/azure_mgmt_policy/models/policy_set_definition.rb'
36
+ autoload :PolicyAssignmentListResult, '2018-05-01/generated/azure_mgmt_policy/models/policy_assignment_list_result.rb'
37
+ autoload :PolicySetDefinitionListResult, '2018-05-01/generated/azure_mgmt_policy/models/policy_set_definition_list_result.rb'
38
+ autoload :Identity, '2018-05-01/generated/azure_mgmt_policy/models/identity.rb'
39
+ autoload :ResourceIdentityType, '2018-05-01/generated/azure_mgmt_policy/models/resource_identity_type.rb'
40
+ autoload :PolicyType, '2018-05-01/generated/azure_mgmt_policy/models/policy_type.rb'
41
+ autoload :PolicyMode, '2018-05-01/generated/azure_mgmt_policy/models/policy_mode.rb'
42
+ end
43
+ end
@@ -0,0 +1,69 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Policy::Mgmt::V2018_05_01
7
+ module Models
8
+ #
9
+ # Error response indicates Azure Resource Manager is not able to process
10
+ # the incoming request. The reason is provided in the error message.
11
+ #
12
+ class ErrorResponse
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Http status code.
17
+ attr_accessor :http_status
18
+
19
+ # @return [String] Error code.
20
+ attr_accessor :error_code
21
+
22
+ # @return [String] Error message indicating why the operation failed.
23
+ attr_accessor :error_message
24
+
25
+
26
+ #
27
+ # Mapper for ErrorResponse class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ client_side_validation: true,
33
+ required: false,
34
+ serialized_name: 'ErrorResponse',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'ErrorResponse',
38
+ model_properties: {
39
+ http_status: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'httpStatus',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ error_code: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ serialized_name: 'errorCode',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ error_message: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ serialized_name: 'errorMessage',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+ end
67
+ end
68
+ end
69
+ end