azure_mgmt_hybrid_compute 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute.rb +72 -0
  4. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/hybrid_compute_management_client.rb +139 -0
  5. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/machine_extensions.rb +805 -0
  6. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/machines.rb +630 -0
  7. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/azure_entity_resource.rb +75 -0
  8. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/error_additional_info.rb +59 -0
  9. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/error_detail.rb +90 -0
  10. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/error_response.rb +113 -0
  11. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/identity.rb +72 -0
  12. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/instance_view_types.rb +15 -0
  13. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/location_data.rb +84 -0
  14. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine.rb +287 -0
  15. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_extension.rb +195 -0
  16. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_extension_instance_view.rb +81 -0
  17. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_extension_instance_view_status.rb +92 -0
  18. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_extension_properties_instance_view.rb +68 -0
  19. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_extension_properties_model.rb +144 -0
  20. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_extension_update.rb +134 -0
  21. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_extension_update_properties_model.rb +118 -0
  22. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_extensions_list_result.rb +99 -0
  23. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_identity.rb +63 -0
  24. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_list_result.rb +99 -0
  25. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_properties.rb +224 -0
  26. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_properties_os_profile.rb +44 -0
  27. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_reconnect.rb +58 -0
  28. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_reconnect_properties.rb +58 -0
  29. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_update.rb +100 -0
  30. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/machine_update_properties.rb +47 -0
  31. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/operation_list_result.rb +56 -0
  32. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/operation_value.rb +108 -0
  33. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/operation_value_display_model.rb +84 -0
  34. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/osprofile.rb +47 -0
  35. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/plan.rb +95 -0
  36. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/proxy_resource.rb +63 -0
  37. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/resource.rb +83 -0
  38. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/resource_identity_type.rb +15 -0
  39. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/resource_model_with_allowed_property_set.rb +191 -0
  40. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/resource_model_with_allowed_property_set_identity.rb +64 -0
  41. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/resource_model_with_allowed_property_set_plan.rb +76 -0
  42. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/resource_model_with_allowed_property_set_sku.rb +77 -0
  43. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/sku.rb +99 -0
  44. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/sku_tier.rb +18 -0
  45. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/status_level_types.rb +17 -0
  46. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/status_types.rb +17 -0
  47. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/tracked_resource.rb +92 -0
  48. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/update_resource.rb +54 -0
  49. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/module_definition.rb +9 -0
  50. data/lib/2019-12-12/generated/azure_mgmt_hybrid_compute/operations.rb +110 -0
  51. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute.rb +61 -0
  52. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/hybrid_compute_management_client.rb +141 -0
  53. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/machine_extensions.rb +795 -0
  54. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/machines.rb +622 -0
  55. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/azure_entity_resource.rb +75 -0
  56. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/error_detail.rb +90 -0
  57. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/error_response.rb +49 -0
  58. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/identity.rb +71 -0
  59. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/instance_view_types.rb +15 -0
  60. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/location_data.rb +84 -0
  61. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine.rb +348 -0
  62. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_extension.rb +195 -0
  63. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_extension_instance_view.rb +84 -0
  64. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_extension_instance_view_status.rb +97 -0
  65. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_extension_properties_instance_view.rb +71 -0
  66. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_extension_properties_model.rb +144 -0
  67. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_extension_update.rb +134 -0
  68. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_extension_update_properties_model.rb +118 -0
  69. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_extensions_list_result.rb +99 -0
  70. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_identity.rb +62 -0
  71. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_list_result.rb +99 -0
  72. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_properties.rb +285 -0
  73. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_properties_os_profile.rb +44 -0
  74. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_update.rb +98 -0
  75. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_update_properties.rb +47 -0
  76. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/operation_list_result.rb +56 -0
  77. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/operation_value.rb +108 -0
  78. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/operation_value_display_model.rb +84 -0
  79. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/osprofile.rb +47 -0
  80. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/proxy_resource.rb +63 -0
  81. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/resource.rb +83 -0
  82. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/status_level_types.rb +17 -0
  83. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/status_types.rb +17 -0
  84. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/tracked_resource.rb +92 -0
  85. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/update_resource.rb +54 -0
  86. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/module_definition.rb +9 -0
  87. data/lib/2020-08-02/generated/azure_mgmt_hybrid_compute/operations.rb +109 -0
  88. data/lib/azure_mgmt_hybrid_compute.rb +7 -0
  89. data/lib/module_definition.rb +7 -0
  90. data/lib/profiles/latest/hybridcompute_latest_profile_client.rb +40 -0
  91. data/lib/profiles/latest/hybridcompute_module_definition.rb +8 -0
  92. data/lib/profiles/latest/modules/hybridcompute_profile_module.rb +189 -0
  93. data/lib/version.rb +7 -0
  94. metadata +209 -0
@@ -0,0 +1,64 @@
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::HybridCompute::Mgmt::V2019_12_12
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class ResourceModelWithAllowedPropertySetIdentity < Identity
13
+
14
+ include MsRestAzure
15
+
16
+
17
+ #
18
+ # Mapper for ResourceModelWithAllowedPropertySetIdentity class as Ruby
19
+ # Hash.
20
+ # This will be used for serialization/deserialization.
21
+ #
22
+ def self.mapper()
23
+ {
24
+ client_side_validation: true,
25
+ required: false,
26
+ serialized_name: 'ResourceModelWithAllowedPropertySet_identity',
27
+ type: {
28
+ name: 'Composite',
29
+ class_name: 'ResourceModelWithAllowedPropertySetIdentity',
30
+ model_properties: {
31
+ principal_id: {
32
+ client_side_validation: true,
33
+ required: false,
34
+ read_only: true,
35
+ serialized_name: 'principalId',
36
+ type: {
37
+ name: 'String'
38
+ }
39
+ },
40
+ tenant_id: {
41
+ client_side_validation: true,
42
+ required: false,
43
+ read_only: true,
44
+ serialized_name: 'tenantId',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ type: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'type',
53
+ type: {
54
+ name: 'Enum',
55
+ module: 'ResourceIdentityType'
56
+ }
57
+ }
58
+ }
59
+ }
60
+ }
61
+ end
62
+ end
63
+ end
64
+ end
@@ -0,0 +1,76 @@
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::HybridCompute::Mgmt::V2019_12_12
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class ResourceModelWithAllowedPropertySetPlan < Plan
13
+
14
+ include MsRestAzure
15
+
16
+
17
+ #
18
+ # Mapper for ResourceModelWithAllowedPropertySetPlan class as Ruby Hash.
19
+ # This will be used for serialization/deserialization.
20
+ #
21
+ def self.mapper()
22
+ {
23
+ client_side_validation: true,
24
+ required: false,
25
+ serialized_name: 'ResourceModelWithAllowedPropertySet_plan',
26
+ type: {
27
+ name: 'Composite',
28
+ class_name: 'ResourceModelWithAllowedPropertySetPlan',
29
+ model_properties: {
30
+ name: {
31
+ client_side_validation: true,
32
+ required: true,
33
+ serialized_name: 'name',
34
+ type: {
35
+ name: 'String'
36
+ }
37
+ },
38
+ publisher: {
39
+ client_side_validation: true,
40
+ required: true,
41
+ serialized_name: 'publisher',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ },
46
+ product: {
47
+ client_side_validation: true,
48
+ required: true,
49
+ serialized_name: 'product',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ promotion_code: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ serialized_name: 'promotionCode',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ version: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ serialized_name: 'version',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ }
70
+ }
71
+ }
72
+ }
73
+ end
74
+ end
75
+ end
76
+ end
@@ -0,0 +1,77 @@
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::HybridCompute::Mgmt::V2019_12_12
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class ResourceModelWithAllowedPropertySetSku < Sku
13
+
14
+ include MsRestAzure
15
+
16
+
17
+ #
18
+ # Mapper for ResourceModelWithAllowedPropertySetSku class as Ruby Hash.
19
+ # This will be used for serialization/deserialization.
20
+ #
21
+ def self.mapper()
22
+ {
23
+ client_side_validation: true,
24
+ required: false,
25
+ serialized_name: 'ResourceModelWithAllowedPropertySet_sku',
26
+ type: {
27
+ name: 'Composite',
28
+ class_name: 'ResourceModelWithAllowedPropertySetSku',
29
+ model_properties: {
30
+ name: {
31
+ client_side_validation: true,
32
+ required: true,
33
+ serialized_name: 'name',
34
+ type: {
35
+ name: 'String'
36
+ }
37
+ },
38
+ tier: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'tier',
42
+ type: {
43
+ name: 'Enum',
44
+ module: 'SkuTier'
45
+ }
46
+ },
47
+ size: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ serialized_name: 'size',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ family: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ serialized_name: 'family',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ },
63
+ capacity: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ serialized_name: 'capacity',
67
+ type: {
68
+ name: 'Number'
69
+ }
70
+ }
71
+ }
72
+ }
73
+ }
74
+ end
75
+ end
76
+ end
77
+ end
@@ -0,0 +1,99 @@
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::HybridCompute::Mgmt::V2019_12_12
7
+ module Models
8
+ #
9
+ # The resource model definition representing SKU
10
+ #
11
+ class Sku
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The name of the SKU. Ex - P3. It is typically a
16
+ # letter+number code
17
+ attr_accessor :name
18
+
19
+ # @return [SkuTier] This field is required to be implemented by the
20
+ # Resource Provider if the service has more than one tier, but is not
21
+ # required on a PUT. Possible values include: 'Free', 'Basic',
22
+ # 'Standard', 'Premium'
23
+ attr_accessor :tier
24
+
25
+ # @return [String] The SKU size. When the name field is the combination
26
+ # of tier and some other value, this would be the standalone code.
27
+ attr_accessor :size
28
+
29
+ # @return [String] If the service has different generations of hardware,
30
+ # for the same SKU, then that can be captured here.
31
+ attr_accessor :family
32
+
33
+ # @return [Integer] If the SKU supports scale out/in then the capacity
34
+ # integer should be included. If scale out/in is not possible for the
35
+ # resource this may be omitted.
36
+ attr_accessor :capacity
37
+
38
+
39
+ #
40
+ # Mapper for Sku class as Ruby Hash.
41
+ # This will be used for serialization/deserialization.
42
+ #
43
+ def self.mapper()
44
+ {
45
+ client_side_validation: true,
46
+ required: false,
47
+ serialized_name: 'Sku',
48
+ type: {
49
+ name: 'Composite',
50
+ class_name: 'Sku',
51
+ model_properties: {
52
+ name: {
53
+ client_side_validation: true,
54
+ required: true,
55
+ serialized_name: 'name',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ tier: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'tier',
64
+ type: {
65
+ name: 'Enum',
66
+ module: 'SkuTier'
67
+ }
68
+ },
69
+ size: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ serialized_name: 'size',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
77
+ family: {
78
+ client_side_validation: true,
79
+ required: false,
80
+ serialized_name: 'family',
81
+ type: {
82
+ name: 'String'
83
+ }
84
+ },
85
+ capacity: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ serialized_name: 'capacity',
89
+ type: {
90
+ name: 'Number'
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ end
97
+ end
98
+ end
99
+ end
@@ -0,0 +1,18 @@
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::HybridCompute::Mgmt::V2019_12_12
7
+ module Models
8
+ #
9
+ # Defines values for SkuTier
10
+ #
11
+ module SkuTier
12
+ Free = "Free"
13
+ Basic = "Basic"
14
+ Standard = "Standard"
15
+ Premium = "Premium"
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,17 @@
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::HybridCompute::Mgmt::V2019_12_12
7
+ module Models
8
+ #
9
+ # Defines values for StatusLevelTypes
10
+ #
11
+ module StatusLevelTypes
12
+ Info = "Info"
13
+ Warning = "Warning"
14
+ Error = "Error"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,17 @@
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::HybridCompute::Mgmt::V2019_12_12
7
+ module Models
8
+ #
9
+ # Defines values for StatusTypes
10
+ #
11
+ module StatusTypes
12
+ Connected = "Connected"
13
+ Disconnected = "Disconnected"
14
+ Error = "Error"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,92 @@
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::HybridCompute::Mgmt::V2019_12_12
7
+ module Models
8
+ #
9
+ # The resource model definition for a ARM tracked top level resource
10
+ #
11
+ class TrackedResource < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Hash{String => String}] Resource tags.
16
+ attr_accessor :tags
17
+
18
+ # @return [String] The geo-location where the resource lives
19
+ attr_accessor :location
20
+
21
+
22
+ #
23
+ # Mapper for TrackedResource class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'TrackedResource',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'TrackedResource',
34
+ model_properties: {
35
+ id: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ read_only: true,
39
+ serialized_name: 'id',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ name: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'name',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ type: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ read_only: true,
57
+ serialized_name: 'type',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ tags: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ serialized_name: 'tags',
66
+ type: {
67
+ name: 'Dictionary',
68
+ value: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'StringElementType',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ }
76
+ }
77
+ },
78
+ location: {
79
+ client_side_validation: true,
80
+ required: true,
81
+ serialized_name: 'location',
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ end
90
+ end
91
+ end
92
+ end