azure_mgmt_service_fabric 0.15.2 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-09-01/generated/azure_mgmt_service_fabric/cluster_versions.rb +51 -44
  3. data/lib/2016-09-01/generated/azure_mgmt_service_fabric/clusters.rb +62 -58
  4. data/lib/2016-09-01/generated/azure_mgmt_service_fabric/operations.rb +15 -13
  5. data/lib/2016-09-01/generated/azure_mgmt_service_fabric/service_fabric_management_client.rb +4 -1
  6. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric.rb +91 -0
  7. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/application.rb +691 -0
  8. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/application_type.rb +487 -0
  9. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/cluster_versions.rb +471 -0
  10. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/clusters.rb +778 -0
  11. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/application_health_policy.rb +104 -0
  12. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/application_metric_description.rb +113 -0
  13. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/application_parameter.rb +58 -0
  14. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/application_resource.rb +206 -0
  15. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/application_resource_list.rb +55 -0
  16. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/application_resource_update.rb +182 -0
  17. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/application_type_resource.rb +83 -0
  18. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/application_type_resource_list.rb +55 -0
  19. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/application_upgrade_policy.rb +81 -0
  20. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/available_operation_display.rb +79 -0
  21. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/azure_active_directory.rb +68 -0
  22. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/certificate_description.rb +70 -0
  23. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/client_certificate_common_name.rb +70 -0
  24. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/client_certificate_thumbprint.rb +59 -0
  25. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster.rb +398 -0
  26. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster_code_versions_list_result.rb +66 -0
  27. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster_code_versions_result.rb +102 -0
  28. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster_health_policy.rb +70 -0
  29. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster_list_result.rb +66 -0
  30. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster_update_parameters.rb +246 -0
  31. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster_upgrade_delta_health_policy.rb +97 -0
  32. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster_upgrade_policy.rb +156 -0
  33. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster_version_details.rb +69 -0
  34. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/diagnostics_storage_account_config.rb +91 -0
  35. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/endpoint_range_description.rb +57 -0
  36. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/error_model.rb +57 -0
  37. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/named_partition_scheme_description.rb +81 -0
  38. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/node_type_description.rb +189 -0
  39. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/operation_list_result.rb +101 -0
  40. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/operation_result.rb +81 -0
  41. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/partition_scheme_description.rb +48 -0
  42. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/provisioning_state.rb +18 -0
  43. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/proxy_resource.rb +82 -0
  44. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/resource.rb +101 -0
  45. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/rolling_upgrade_monitoring_policy.rb +90 -0
  46. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_correlation_description.rb +58 -0
  47. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_load_metric_description.rb +98 -0
  48. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_placement_policy_description.rb +46 -0
  49. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_properties.rb +151 -0
  50. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_properties_base.rb +123 -0
  51. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_resource.rb +207 -0
  52. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_resource_list.rb +55 -0
  53. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_resource_update.rb +169 -0
  54. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_type_delta_health_policy.rb +51 -0
  55. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_type_health_policy.rb +108 -0
  56. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_type_health_policy_map_item.rb +60 -0
  57. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_update_properties.rb +113 -0
  58. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/settings_parameter_description.rb +57 -0
  59. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/settings_section_description.rb +67 -0
  60. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/singleton_partition_scheme_description.rb +51 -0
  61. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/stateful_service_properties.rb +227 -0
  62. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/stateful_service_update_properties.rb +186 -0
  63. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/stateless_service_properties.rb +161 -0
  64. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/stateless_service_update_properties.rb +133 -0
  65. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/uniform_int64range_partition_scheme_description.rb +91 -0
  66. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/version_resource.rb +115 -0
  67. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/version_resource_list.rb +55 -0
  68. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/module_definition.rb +9 -0
  69. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/operations.rb +230 -0
  70. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/service.rb +735 -0
  71. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/service_fabric_management_client.rb +147 -0
  72. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/version.rb +559 -0
  73. data/lib/azure_mgmt_service_fabric.rb +1 -0
  74. data/lib/profiles/latest/modules/servicefabric_profile_module.rb +269 -114
  75. data/lib/profiles/latest/servicefabric_latest_profile_client.rb +28 -9
  76. data/lib/profiles/latest/servicefabric_module_definition.rb +0 -1
  77. data/lib/version.rb +1 -1
  78. metadata +70 -3
@@ -0,0 +1,48 @@
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::ServiceFabric::Mgmt::V2017_07_01_preview
7
+ module Models
8
+ #
9
+ # Describes how the service is partitioned.
10
+ #
11
+ class PartitionSchemeDescription
12
+
13
+ include MsRestAzure
14
+
15
+ @@discriminatorMap = Hash.new
16
+ @@discriminatorMap["Named"] = "NamedPartitionSchemeDescription"
17
+ @@discriminatorMap["Singleton"] = "SingletonPartitionSchemeDescription"
18
+ @@discriminatorMap["UniformInt64Range"] = "UniformInt64RangePartitionSchemeDescription"
19
+
20
+ def initialize
21
+ @PartitionScheme = "PartitionSchemeDescription"
22
+ end
23
+
24
+ attr_accessor :PartitionScheme
25
+
26
+
27
+ #
28
+ # Mapper for PartitionSchemeDescription class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'PartitionSchemeDescription',
36
+ type: {
37
+ name: 'Composite',
38
+ polymorphic_discriminator: 'PartitionScheme',
39
+ uber_parent: 'PartitionSchemeDescription',
40
+ class_name: 'PartitionSchemeDescription',
41
+ model_properties: {
42
+ }
43
+ }
44
+ }
45
+ end
46
+ end
47
+ end
48
+ 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::ServiceFabric::Mgmt::V2017_07_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for ProvisioningState
10
+ #
11
+ module ProvisioningState
12
+ Updating = "Updating"
13
+ Succeeded = "Succeeded"
14
+ Failed = "Failed"
15
+ Canceled = "Canceled"
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,82 @@
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::ServiceFabric::Mgmt::V2017_07_01_preview
7
+ module Models
8
+ #
9
+ # The resource model definition for proxy-only resource.
10
+ #
11
+ class ProxyResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Azure resource ID.
16
+ attr_accessor :id
17
+
18
+ # @return [String] Azure resource name.
19
+ attr_accessor :name
20
+
21
+ # @return [String] Azure resource type.
22
+ attr_accessor :type
23
+
24
+ # @return [String] Resource location.
25
+ attr_accessor :location
26
+
27
+
28
+ #
29
+ # Mapper for ProxyResource class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'ProxyResource',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'ProxyResource',
40
+ model_properties: {
41
+ id: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ read_only: true,
45
+ serialized_name: 'id',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ name: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'name',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ type: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ read_only: true,
63
+ serialized_name: 'type',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ location: {
69
+ client_side_validation: true,
70
+ required: true,
71
+ serialized_name: 'location',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
79
+ end
80
+ end
81
+ end
82
+ end
@@ -0,0 +1,101 @@
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::ServiceFabric::Mgmt::V2017_07_01_preview
7
+ module Models
8
+ #
9
+ # The resource model definition.
10
+ #
11
+ class Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Azure resource ID.
16
+ attr_accessor :id
17
+
18
+ # @return [String] Azure resource name.
19
+ attr_accessor :name
20
+
21
+ # @return [String] Azure resource type.
22
+ attr_accessor :type
23
+
24
+ # @return [String] Resource location.
25
+ attr_accessor :location
26
+
27
+ # @return [Hash{String => String}] Resource tags.
28
+ attr_accessor :tags
29
+
30
+
31
+ #
32
+ # Mapper for Resource class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'Resource',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'Resource',
43
+ model_properties: {
44
+ id: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'id',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ name: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ read_only: true,
57
+ serialized_name: 'name',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ type: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ read_only: true,
66
+ serialized_name: 'type',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ },
71
+ location: {
72
+ client_side_validation: true,
73
+ required: true,
74
+ serialized_name: 'location',
75
+ type: {
76
+ name: 'String'
77
+ }
78
+ },
79
+ tags: {
80
+ client_side_validation: true,
81
+ required: false,
82
+ serialized_name: 'tags',
83
+ type: {
84
+ name: 'Dictionary',
85
+ value: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ serialized_name: 'StringElementType',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
97
+ }
98
+ end
99
+ end
100
+ end
101
+ end
@@ -0,0 +1,90 @@
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::ServiceFabric::Mgmt::V2017_07_01_preview
7
+ module Models
8
+ #
9
+ # The policy used for monitoring the application upgrade
10
+ #
11
+ class RollingUpgradeMonitoringPolicy
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String]
16
+ attr_accessor :health_check_wait_duration
17
+
18
+ # @return [String]
19
+ attr_accessor :health_check_stable_duration
20
+
21
+ # @return [String]
22
+ attr_accessor :health_check_retry_timeout
23
+
24
+ # @return [String]
25
+ attr_accessor :upgrade_timeout
26
+
27
+ # @return [String]
28
+ attr_accessor :upgrade_domain_timeout
29
+
30
+
31
+ #
32
+ # Mapper for RollingUpgradeMonitoringPolicy class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'RollingUpgradeMonitoringPolicy',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'RollingUpgradeMonitoringPolicy',
43
+ model_properties: {
44
+ health_check_wait_duration: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ serialized_name: 'healthCheckWaitDuration',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ health_check_stable_duration: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ serialized_name: 'healthCheckStableDuration',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ health_check_retry_timeout: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'healthCheckRetryTimeout',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ upgrade_timeout: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'upgradeTimeout',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ },
76
+ upgrade_domain_timeout: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ serialized_name: 'upgradeDomainTimeout',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
87
+ end
88
+ end
89
+ end
90
+ end
@@ -0,0 +1,58 @@
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::ServiceFabric::Mgmt::V2017_07_01_preview
7
+ module Models
8
+ #
9
+ # Creates a particular correlation between services.
10
+ #
11
+ class ServiceCorrelationDescription
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Enum] Possible values include: 'Invalid', 'Affinity',
16
+ # 'AlignedAffinity', 'NonAlignedAffinity'
17
+ attr_accessor :scheme
18
+
19
+ # @return [String]
20
+ attr_accessor :service_name
21
+
22
+
23
+ #
24
+ # Mapper for ServiceCorrelationDescription class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ client_side_validation: true,
30
+ required: false,
31
+ serialized_name: 'ServiceCorrelationDescription',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'ServiceCorrelationDescription',
35
+ model_properties: {
36
+ scheme: {
37
+ client_side_validation: true,
38
+ required: true,
39
+ serialized_name: 'Scheme',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ service_name: {
45
+ client_side_validation: true,
46
+ required: true,
47
+ serialized_name: 'ServiceName',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,98 @@
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::ServiceFabric::Mgmt::V2017_07_01_preview
7
+ module Models
8
+ #
9
+ # Specifies a metric to load balance a service during runtime.
10
+ #
11
+ class ServiceLoadMetricDescription
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The name of the metric. If the service chooses to
16
+ # report load during runtime, the load metric name should match the name
17
+ # that is specified in Name exactly. Note that metric names are case
18
+ # sensitive.
19
+ attr_accessor :name
20
+
21
+ # @return [Enum] Possible values include: 'Zero', 'Low', 'Medium', 'High'
22
+ attr_accessor :weight
23
+
24
+ # @return [Integer] Used only for Stateful services. The default amount
25
+ # of load, as a number, that this service creates for this metric when it
26
+ # is a Primary replica.
27
+ attr_accessor :primary_default_load
28
+
29
+ # @return [Integer] Used only for Stateful services. The default amount
30
+ # of load, as a number, that this service creates for this metric when it
31
+ # is a Secondary replica.
32
+ attr_accessor :secondary_default_load
33
+
34
+ # @return [Integer] Used only for Stateless services. The default amount
35
+ # of load, as a number, that this service creates for this metric.
36
+ attr_accessor :default_load
37
+
38
+
39
+ #
40
+ # Mapper for ServiceLoadMetricDescription 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: 'ServiceLoadMetricDescription',
48
+ type: {
49
+ name: 'Composite',
50
+ class_name: 'ServiceLoadMetricDescription',
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
+ weight: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'Weight',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ primary_default_load: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'PrimaryDefaultLoad',
72
+ type: {
73
+ name: 'Number'
74
+ }
75
+ },
76
+ secondary_default_load: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ serialized_name: 'SecondaryDefaultLoad',
80
+ type: {
81
+ name: 'Number'
82
+ }
83
+ },
84
+ default_load: {
85
+ client_side_validation: true,
86
+ required: false,
87
+ serialized_name: 'DefaultLoad',
88
+ type: {
89
+ name: 'Number'
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
95
+ end
96
+ end
97
+ end
98
+ end