azure_mgmt_service_fabric 0.16.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-09-01/generated/azure_mgmt_service_fabric/cluster_versions.rb +1 -1
  3. data/lib/2016-09-01/generated/azure_mgmt_service_fabric/clusters.rb +1 -1
  4. data/lib/2016-09-01/generated/azure_mgmt_service_fabric/operations.rb +1 -1
  5. data/lib/2016-09-01/generated/azure_mgmt_service_fabric/service_fabric_management_client.rb +7 -6
  6. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/application.rb +1 -1
  7. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/application_type.rb +1 -1
  8. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/cluster_versions.rb +1 -1
  9. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/clusters.rb +1 -1
  10. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/operations.rb +1 -1
  11. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/service.rb +1 -1
  12. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/service_fabric_management_client.rb +7 -6
  13. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/version.rb +1 -1
  14. data/lib/2018-02-01/generated/azure_mgmt_service_fabric.rb +61 -0
  15. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/cluster_versions.rb +456 -0
  16. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/clusters.rb +753 -0
  17. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/application_delta_health_policy.rb +73 -0
  18. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/application_health_policy.rb +71 -0
  19. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/available_operation_display.rb +79 -0
  20. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/azure_active_directory.rb +68 -0
  21. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/certificate_description.rb +70 -0
  22. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/client_certificate_common_name.rb +70 -0
  23. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/client_certificate_thumbprint.rb +59 -0
  24. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster.rb +476 -0
  25. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_code_versions_list_result.rb +66 -0
  26. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_code_versions_result.rb +102 -0
  27. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_health_policy.rb +121 -0
  28. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_list_result.rb +66 -0
  29. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_update_parameters.rb +276 -0
  30. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_upgrade_delta_health_policy.rb +125 -0
  31. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_upgrade_policy.rb +156 -0
  32. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_version_details.rb +69 -0
  33. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/diagnostics_storage_account_config.rb +91 -0
  34. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/endpoint_range_description.rb +57 -0
  35. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/error_model.rb +47 -0
  36. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/error_model_error.rb +57 -0
  37. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/node_type_description.rb +198 -0
  38. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/operation_list_result.rb +101 -0
  39. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/operation_result.rb +81 -0
  40. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/provisioning_state.rb +18 -0
  41. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/resource.rb +101 -0
  42. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/server_certificate_common_name.rb +57 -0
  43. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/server_certificate_common_names.rb +71 -0
  44. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/service_type_delta_health_policy.rb +60 -0
  45. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/service_type_health_policy.rb +55 -0
  46. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/settings_parameter_description.rb +57 -0
  47. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/settings_section_description.rb +67 -0
  48. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/module_definition.rb +9 -0
  49. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/operations.rb +237 -0
  50. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/service_fabric_management_client.rb +141 -0
  51. data/lib/azure_mgmt_service_fabric.rb +2 -1
  52. data/lib/profiles/latest/modules/servicefabric_profile_module.rb +136 -112
  53. data/lib/version.rb +1 -1
  54. metadata +42 -5
@@ -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::V2018_02_01
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,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::V2018_02_01
7
+ module Models
8
+ #
9
+ # The resource model definition.
10
+ #
11
+ class Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Azure resource identifier.
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] Azure resource location.
25
+ attr_accessor :location
26
+
27
+ # @return [Hash{String => String}] Azure 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,57 @@
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::V2018_02_01
7
+ module Models
8
+ #
9
+ # Describes the server certificate details using common name.
10
+ #
11
+ class ServerCertificateCommonName
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The common name of the server certificate.
16
+ attr_accessor :certificate_common_name
17
+
18
+ # @return [String] The issuer thumbprint of the server certificate.
19
+ attr_accessor :certificate_issuer_thumbprint
20
+
21
+
22
+ #
23
+ # Mapper for ServerCertificateCommonName 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: 'ServerCertificateCommonName',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'ServerCertificateCommonName',
34
+ model_properties: {
35
+ certificate_common_name: {
36
+ client_side_validation: true,
37
+ required: true,
38
+ serialized_name: 'certificateCommonName',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ certificate_issuer_thumbprint: {
44
+ client_side_validation: true,
45
+ required: true,
46
+ serialized_name: 'certificateIssuerThumbprint',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,71 @@
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::V2018_02_01
7
+ module Models
8
+ #
9
+ # Describes a list of server certificates referenced by common name that
10
+ # are used to secure the cluster.
11
+ #
12
+ class ServerCertificateCommonNames
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [Array<ServerCertificateCommonName>] The list of server
17
+ # certificates referenced by common name that are used to secure the
18
+ # cluster.
19
+ attr_accessor :common_names
20
+
21
+ # @return [Enum] The local certificate store location. Possible values
22
+ # include: 'AddressBook', 'AuthRoot', 'CertificateAuthority',
23
+ # 'Disallowed', 'My', 'Root', 'TrustedPeople', 'TrustedPublisher'
24
+ attr_accessor :x509store_name
25
+
26
+
27
+ #
28
+ # Mapper for ServerCertificateCommonNames 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: 'ServerCertificateCommonNames',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'ServerCertificateCommonNames',
39
+ model_properties: {
40
+ common_names: {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'commonNames',
44
+ type: {
45
+ name: 'Sequence',
46
+ element: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ serialized_name: 'ServerCertificateCommonNameElementType',
50
+ type: {
51
+ name: 'Composite',
52
+ class_name: 'ServerCertificateCommonName'
53
+ }
54
+ }
55
+ }
56
+ },
57
+ x509store_name: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'x509StoreName',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ }
65
+ }
66
+ }
67
+ }
68
+ end
69
+ end
70
+ end
71
+ end
@@ -0,0 +1,60 @@
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::V2018_02_01
7
+ module Models
8
+ #
9
+ # Represents the delta health policy used to evaluate the health of
10
+ # services belonging to a service type when upgrading the cluster.
11
+ #
12
+ #
13
+ class ServiceTypeDeltaHealthPolicy
14
+
15
+ include MsRestAzure
16
+
17
+ # @return [Integer] The maximum allowed percentage of services health
18
+ # degradation allowed during cluster upgrades.
19
+ # The delta is measured between the state of the services at the
20
+ # beginning of upgrade and the state of the services at the time of the
21
+ # health evaluation.
22
+ # The check is performed after every upgrade domain upgrade completion to
23
+ # make sure the global state of the cluster is within tolerated limits.
24
+ # . Default value: 0 .
25
+ attr_accessor :max_percent_delta_unhealthy_services
26
+
27
+
28
+ #
29
+ # Mapper for ServiceTypeDeltaHealthPolicy 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: 'ServiceTypeDeltaHealthPolicy',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'ServiceTypeDeltaHealthPolicy',
40
+ model_properties: {
41
+ max_percent_delta_unhealthy_services: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'maxPercentDeltaUnhealthyServices',
45
+ default_value: 0,
46
+ constraints: {
47
+ InclusiveMaximum: 100,
48
+ InclusiveMinimum: 0
49
+ },
50
+ type: {
51
+ name: 'Number'
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,55 @@
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::V2018_02_01
7
+ module Models
8
+ #
9
+ # Represents the health policy used to evaluate the health of services
10
+ # belonging to a service type.
11
+ #
12
+ #
13
+ class ServiceTypeHealthPolicy
14
+
15
+ include MsRestAzure
16
+
17
+ # @return [Integer] The maximum percentage of services allowed to be
18
+ # unhealthy before your application is considered in error.
19
+ # . Default value: 0 .
20
+ attr_accessor :max_percent_unhealthy_services
21
+
22
+
23
+ #
24
+ # Mapper for ServiceTypeHealthPolicy 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: 'ServiceTypeHealthPolicy',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'ServiceTypeHealthPolicy',
35
+ model_properties: {
36
+ max_percent_unhealthy_services: {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'maxPercentUnhealthyServices',
40
+ default_value: 0,
41
+ constraints: {
42
+ InclusiveMaximum: 100,
43
+ InclusiveMinimum: 0
44
+ },
45
+ type: {
46
+ name: 'Number'
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,57 @@
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::V2018_02_01
7
+ module Models
8
+ #
9
+ # Describes a parameter in fabric settings of the cluster.
10
+ #
11
+ class SettingsParameterDescription
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The parameter name of fabric setting.
16
+ attr_accessor :name
17
+
18
+ # @return [String] The parameter value of fabric setting.
19
+ attr_accessor :value
20
+
21
+
22
+ #
23
+ # Mapper for SettingsParameterDescription 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: 'SettingsParameterDescription',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'SettingsParameterDescription',
34
+ model_properties: {
35
+ name: {
36
+ client_side_validation: true,
37
+ required: true,
38
+ serialized_name: 'name',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ value: {
44
+ client_side_validation: true,
45
+ required: true,
46
+ serialized_name: 'value',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,67 @@
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::V2018_02_01
7
+ module Models
8
+ #
9
+ # Describes a section in the fabric settings of the cluster.
10
+ #
11
+ class SettingsSectionDescription
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The section name of the fabric settings.
16
+ attr_accessor :name
17
+
18
+ # @return [Array<SettingsParameterDescription>] The collection of
19
+ # parameters in the section.
20
+ attr_accessor :parameters
21
+
22
+
23
+ #
24
+ # Mapper for SettingsSectionDescription 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: 'SettingsSectionDescription',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'SettingsSectionDescription',
35
+ model_properties: {
36
+ name: {
37
+ client_side_validation: true,
38
+ required: true,
39
+ serialized_name: 'name',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ parameters: {
45
+ client_side_validation: true,
46
+ required: true,
47
+ serialized_name: 'parameters',
48
+ type: {
49
+ name: 'Sequence',
50
+ element: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ serialized_name: 'SettingsParameterDescriptionElementType',
54
+ type: {
55
+ name: 'Composite',
56
+ class_name: 'SettingsParameterDescription'
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+ }
64
+ end
65
+ end
66
+ end
67
+ end