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.
- checksums.yaml +4 -4
- data/lib/2016-09-01/generated/azure_mgmt_service_fabric/cluster_versions.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_service_fabric/clusters.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_service_fabric/operations.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_service_fabric/service_fabric_management_client.rb +7 -6
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/application.rb +1 -1
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/application_type.rb +1 -1
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/cluster_versions.rb +1 -1
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/clusters.rb +1 -1
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/operations.rb +1 -1
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/service.rb +1 -1
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/service_fabric_management_client.rb +7 -6
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/version.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric.rb +61 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/cluster_versions.rb +456 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/clusters.rb +753 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/application_delta_health_policy.rb +73 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/application_health_policy.rb +71 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/available_operation_display.rb +79 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/azure_active_directory.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/certificate_description.rb +70 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/client_certificate_common_name.rb +70 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/client_certificate_thumbprint.rb +59 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster.rb +476 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_code_versions_list_result.rb +66 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_code_versions_result.rb +102 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_health_policy.rb +121 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_list_result.rb +66 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_update_parameters.rb +276 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_upgrade_delta_health_policy.rb +125 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_upgrade_policy.rb +156 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_version_details.rb +69 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/diagnostics_storage_account_config.rb +91 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/endpoint_range_description.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/error_model.rb +47 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/error_model_error.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/node_type_description.rb +198 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/operation_list_result.rb +101 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/operation_result.rb +81 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/provisioning_state.rb +18 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/resource.rb +101 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/server_certificate_common_name.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/server_certificate_common_names.rb +71 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/service_type_delta_health_policy.rb +60 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/service_type_health_policy.rb +55 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/settings_parameter_description.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/settings_section_description.rb +67 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/module_definition.rb +9 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/operations.rb +237 -0
- data/lib/2018-02-01/generated/azure_mgmt_service_fabric/service_fabric_management_client.rb +141 -0
- data/lib/azure_mgmt_service_fabric.rb +2 -1
- data/lib/profiles/latest/modules/servicefabric_profile_module.rb +136 -112
- data/lib/version.rb +1 -1
- metadata +42 -5
data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_code_versions_list_result.rb
ADDED
@@ -0,0 +1,66 @@
|
|
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 list results of the ServiceFabric runtime versions.
|
10
|
+
#
|
11
|
+
class ClusterCodeVersionsListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<ClusterCodeVersionsResult>]
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
# @return [String] The URL to use for getting the next set of results.
|
19
|
+
attr_accessor :next_link
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for ClusterCodeVersionsListResult 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: 'ClusterCodeVersionsListResult',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'ClusterCodeVersionsListResult',
|
34
|
+
model_properties: {
|
35
|
+
value: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'value',
|
39
|
+
type: {
|
40
|
+
name: 'Sequence',
|
41
|
+
element: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'ClusterCodeVersionsResultElementType',
|
45
|
+
type: {
|
46
|
+
name: 'Composite',
|
47
|
+
class_name: 'ClusterCodeVersionsResult'
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
},
|
52
|
+
next_link: {
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
serialized_name: 'nextLink',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_code_versions_result.rb
ADDED
@@ -0,0 +1,102 @@
|
|
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 result of the ServiceFabric runtime versions
|
10
|
+
#
|
11
|
+
class ClusterCodeVersionsResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The identification of the result
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [String] The name of the result
|
19
|
+
attr_accessor :name
|
20
|
+
|
21
|
+
# @return [String] The result resource type
|
22
|
+
attr_accessor :type
|
23
|
+
|
24
|
+
# @return [String] The Service Fabric runtime version of the cluster.
|
25
|
+
attr_accessor :code_version
|
26
|
+
|
27
|
+
# @return [String] The date of expiry of support of the version.
|
28
|
+
attr_accessor :support_expiry_utc
|
29
|
+
|
30
|
+
# @return [Enum] Indicates if this version is for Windows or Linux
|
31
|
+
# operating system. Possible values include: 'Windows', 'Linux'
|
32
|
+
attr_accessor :environment
|
33
|
+
|
34
|
+
|
35
|
+
#
|
36
|
+
# Mapper for ClusterCodeVersionsResult class as Ruby Hash.
|
37
|
+
# This will be used for serialization/deserialization.
|
38
|
+
#
|
39
|
+
def self.mapper()
|
40
|
+
{
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'ClusterCodeVersionsResult',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'ClusterCodeVersionsResult',
|
47
|
+
model_properties: {
|
48
|
+
id: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'id',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
name: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'name',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
},
|
64
|
+
type: {
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'type',
|
68
|
+
type: {
|
69
|
+
name: 'String'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
code_version: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'properties.codeVersion',
|
76
|
+
type: {
|
77
|
+
name: 'String'
|
78
|
+
}
|
79
|
+
},
|
80
|
+
support_expiry_utc: {
|
81
|
+
client_side_validation: true,
|
82
|
+
required: false,
|
83
|
+
serialized_name: 'properties.supportExpiryUtc',
|
84
|
+
type: {
|
85
|
+
name: 'String'
|
86
|
+
}
|
87
|
+
},
|
88
|
+
environment: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'properties.environment',
|
92
|
+
type: {
|
93
|
+
name: 'String'
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
@@ -0,0 +1,121 @@
|
|
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 a health policy used to evaluate the health of the cluster or of
|
10
|
+
# a cluster node.
|
11
|
+
#
|
12
|
+
#
|
13
|
+
class ClusterHealthPolicy
|
14
|
+
|
15
|
+
include MsRestAzure
|
16
|
+
|
17
|
+
# @return [Integer] The maximum allowed percentage of unhealthy nodes
|
18
|
+
# before reporting an error. For example, to allow 10% of nodes to be
|
19
|
+
# unhealthy, this value would be 10.
|
20
|
+
#
|
21
|
+
# The percentage represents the maximum tolerated percentage of nodes
|
22
|
+
# that can be unhealthy before the cluster is considered in error.
|
23
|
+
# If the percentage is respected but there is at least one unhealthy
|
24
|
+
# node, the health is evaluated as Warning.
|
25
|
+
# The percentage is calculated by dividing the number of unhealthy nodes
|
26
|
+
# over the total number of nodes in the cluster.
|
27
|
+
# The computation rounds up to tolerate one failure on small numbers of
|
28
|
+
# nodes. Default percentage is zero.
|
29
|
+
#
|
30
|
+
# In large clusters, some nodes will always be down or out for repairs,
|
31
|
+
# so this percentage should be configured to tolerate that.
|
32
|
+
# . Default value: 0 .
|
33
|
+
attr_accessor :max_percent_unhealthy_nodes
|
34
|
+
|
35
|
+
# @return [Integer] The maximum allowed percentage of unhealthy
|
36
|
+
# applications before reporting an error. For example, to allow 10% of
|
37
|
+
# applications to be unhealthy, this value would be 10.
|
38
|
+
#
|
39
|
+
# The percentage represents the maximum tolerated percentage of
|
40
|
+
# applications that can be unhealthy before the cluster is considered in
|
41
|
+
# error.
|
42
|
+
# If the percentage is respected but there is at least one unhealthy
|
43
|
+
# application, the health is evaluated as Warning.
|
44
|
+
# This is calculated by dividing the number of unhealthy applications
|
45
|
+
# over the total number of application instances in the cluster,
|
46
|
+
# excluding applications of application types that are included in the
|
47
|
+
# ApplicationTypeHealthPolicyMap.
|
48
|
+
# The computation rounds up to tolerate one failure on small numbers of
|
49
|
+
# applications. Default percentage is zero.
|
50
|
+
# . Default value: 0 .
|
51
|
+
attr_accessor :max_percent_unhealthy_applications
|
52
|
+
|
53
|
+
# @return [Hash{String => ApplicationHealthPolicy}] Defines the
|
54
|
+
# application health policy map used to evaluate the health of an
|
55
|
+
# application or one of its children entities.
|
56
|
+
attr_accessor :application_health_policies
|
57
|
+
|
58
|
+
|
59
|
+
#
|
60
|
+
# Mapper for ClusterHealthPolicy class as Ruby Hash.
|
61
|
+
# This will be used for serialization/deserialization.
|
62
|
+
#
|
63
|
+
def self.mapper()
|
64
|
+
{
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'ClusterHealthPolicy',
|
68
|
+
type: {
|
69
|
+
name: 'Composite',
|
70
|
+
class_name: 'ClusterHealthPolicy',
|
71
|
+
model_properties: {
|
72
|
+
max_percent_unhealthy_nodes: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'maxPercentUnhealthyNodes',
|
76
|
+
default_value: 0,
|
77
|
+
constraints: {
|
78
|
+
InclusiveMaximum: 100,
|
79
|
+
InclusiveMinimum: 0
|
80
|
+
},
|
81
|
+
type: {
|
82
|
+
name: 'Number'
|
83
|
+
}
|
84
|
+
},
|
85
|
+
max_percent_unhealthy_applications: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'maxPercentUnhealthyApplications',
|
89
|
+
default_value: 0,
|
90
|
+
constraints: {
|
91
|
+
InclusiveMaximum: 100,
|
92
|
+
InclusiveMinimum: 0
|
93
|
+
},
|
94
|
+
type: {
|
95
|
+
name: 'Number'
|
96
|
+
}
|
97
|
+
},
|
98
|
+
application_health_policies: {
|
99
|
+
client_side_validation: true,
|
100
|
+
required: false,
|
101
|
+
serialized_name: 'applicationHealthPolicies',
|
102
|
+
type: {
|
103
|
+
name: 'Dictionary',
|
104
|
+
value: {
|
105
|
+
client_side_validation: true,
|
106
|
+
required: false,
|
107
|
+
serialized_name: 'ApplicationHealthPolicyElementType',
|
108
|
+
type: {
|
109
|
+
name: 'Composite',
|
110
|
+
class_name: 'ApplicationHealthPolicy'
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
117
|
+
}
|
118
|
+
end
|
119
|
+
end
|
120
|
+
end
|
121
|
+
end
|
@@ -0,0 +1,66 @@
|
|
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
|
+
# Cluster list results
|
10
|
+
#
|
11
|
+
class ClusterListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<Cluster>]
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
# @return [String] The URL to use for getting the next set of results.
|
19
|
+
attr_accessor :next_link
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for ClusterListResult 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: 'ClusterListResult',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'ClusterListResult',
|
34
|
+
model_properties: {
|
35
|
+
value: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'value',
|
39
|
+
type: {
|
40
|
+
name: 'Sequence',
|
41
|
+
element: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'ClusterElementType',
|
45
|
+
type: {
|
46
|
+
name: 'Composite',
|
47
|
+
class_name: 'Cluster'
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
},
|
52
|
+
next_link: {
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
serialized_name: 'nextLink',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,276 @@
|
|
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
|
+
# Cluster update request
|
10
|
+
#
|
11
|
+
class ClusterUpdateParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<Enum>] The list of add-on features to enable in the
|
16
|
+
# cluster.
|
17
|
+
attr_accessor :add_on_features
|
18
|
+
|
19
|
+
# @return [CertificateDescription] The certificate to use for securing
|
20
|
+
# the cluster. The certificate provided will be used for node to node
|
21
|
+
# security within the cluster, SSL certificate for cluster management
|
22
|
+
# endpoint and default admin client.
|
23
|
+
attr_accessor :certificate
|
24
|
+
|
25
|
+
# @return [ServerCertificateCommonNames] Describes a list of server
|
26
|
+
# certificates referenced by common name that are used to secure the
|
27
|
+
# cluster.
|
28
|
+
attr_accessor :certificate_common_names
|
29
|
+
|
30
|
+
# @return [Array<ClientCertificateCommonName>] The list of client
|
31
|
+
# certificates referenced by common name that are allowed to manage the
|
32
|
+
# cluster. This will overwrite the existing list.
|
33
|
+
attr_accessor :client_certificate_common_names
|
34
|
+
|
35
|
+
# @return [Array<ClientCertificateThumbprint>] The list of client
|
36
|
+
# certificates referenced by thumbprint that are allowed to manage the
|
37
|
+
# cluster. This will overwrite the existing list.
|
38
|
+
attr_accessor :client_certificate_thumbprints
|
39
|
+
|
40
|
+
# @return [String] The Service Fabric runtime version of the cluster.
|
41
|
+
# This property can only by set the user when **upgradeMode** is set to
|
42
|
+
# 'Manual'. To get list of available Service Fabric versions for new
|
43
|
+
# clusters use [ClusterVersion API](./ClusterVersion.md). To get the list
|
44
|
+
# of available version for existing clusters use
|
45
|
+
# **availableClusterVersions**.
|
46
|
+
attr_accessor :cluster_code_version
|
47
|
+
|
48
|
+
# @return [Array<SettingsSectionDescription>] The list of custom fabric
|
49
|
+
# settings to configure the cluster. This will overwrite the existing
|
50
|
+
# list.
|
51
|
+
attr_accessor :fabric_settings
|
52
|
+
|
53
|
+
# @return [Array<NodeTypeDescription>] The list of node types in the
|
54
|
+
# cluster. This will overwrite the existing list.
|
55
|
+
attr_accessor :node_types
|
56
|
+
|
57
|
+
# @return [Enum] The reliability level sets the replica set size of
|
58
|
+
# system services. Learn about
|
59
|
+
# [ReliabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).
|
60
|
+
#
|
61
|
+
# - None - Run the System services with a target replica set count of 1.
|
62
|
+
# This should only be used for test clusters.
|
63
|
+
# - Bronze - Run the System services with a target replica set count of
|
64
|
+
# 3. This should only be used for test clusters.
|
65
|
+
# - Silver - Run the System services with a target replica set count of
|
66
|
+
# 5.
|
67
|
+
# - Gold - Run the System services with a target replica set count of 7.
|
68
|
+
# - Platinum - Run the System services with a target replica set count of
|
69
|
+
# 9.
|
70
|
+
# . Possible values include: 'None', 'Bronze', 'Silver', 'Gold',
|
71
|
+
# 'Platinum'
|
72
|
+
attr_accessor :reliability_level
|
73
|
+
|
74
|
+
# @return [CertificateDescription] The server certificate used by reverse
|
75
|
+
# proxy.
|
76
|
+
attr_accessor :reverse_proxy_certificate
|
77
|
+
|
78
|
+
# @return [ClusterUpgradePolicy] The policy to use when upgrading the
|
79
|
+
# cluster.
|
80
|
+
attr_accessor :upgrade_description
|
81
|
+
|
82
|
+
# @return [Enum] The upgrade mode of the cluster when new Service Fabric
|
83
|
+
# runtime version is available.
|
84
|
+
#
|
85
|
+
# - Automatic - The cluster will be automatically upgraded to the latest
|
86
|
+
# Service Fabric runtime version as soon as it is available.
|
87
|
+
# - Manual - The cluster will not be automatically upgraded to the latest
|
88
|
+
# Service Fabric runtime version. The cluster is upgraded by setting the
|
89
|
+
# **clusterCodeVersion** property in the cluster resource.
|
90
|
+
# . Possible values include: 'Automatic', 'Manual'
|
91
|
+
attr_accessor :upgrade_mode
|
92
|
+
|
93
|
+
# @return [Hash{String => String}] Cluster update parameters
|
94
|
+
attr_accessor :tags
|
95
|
+
|
96
|
+
|
97
|
+
#
|
98
|
+
# Mapper for ClusterUpdateParameters class as Ruby Hash.
|
99
|
+
# This will be used for serialization/deserialization.
|
100
|
+
#
|
101
|
+
def self.mapper()
|
102
|
+
{
|
103
|
+
client_side_validation: true,
|
104
|
+
required: false,
|
105
|
+
serialized_name: 'ClusterUpdateParameters',
|
106
|
+
type: {
|
107
|
+
name: 'Composite',
|
108
|
+
class_name: 'ClusterUpdateParameters',
|
109
|
+
model_properties: {
|
110
|
+
add_on_features: {
|
111
|
+
client_side_validation: true,
|
112
|
+
required: false,
|
113
|
+
serialized_name: 'properties.addOnFeatures',
|
114
|
+
type: {
|
115
|
+
name: 'Sequence',
|
116
|
+
element: {
|
117
|
+
client_side_validation: true,
|
118
|
+
required: false,
|
119
|
+
serialized_name: 'enumElementType',
|
120
|
+
type: {
|
121
|
+
name: 'String'
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
125
|
+
},
|
126
|
+
certificate: {
|
127
|
+
client_side_validation: true,
|
128
|
+
required: false,
|
129
|
+
serialized_name: 'properties.certificate',
|
130
|
+
type: {
|
131
|
+
name: 'Composite',
|
132
|
+
class_name: 'CertificateDescription'
|
133
|
+
}
|
134
|
+
},
|
135
|
+
certificate_common_names: {
|
136
|
+
client_side_validation: true,
|
137
|
+
required: false,
|
138
|
+
serialized_name: 'properties.certificateCommonNames',
|
139
|
+
type: {
|
140
|
+
name: 'Composite',
|
141
|
+
class_name: 'ServerCertificateCommonNames'
|
142
|
+
}
|
143
|
+
},
|
144
|
+
client_certificate_common_names: {
|
145
|
+
client_side_validation: true,
|
146
|
+
required: false,
|
147
|
+
serialized_name: 'properties.clientCertificateCommonNames',
|
148
|
+
type: {
|
149
|
+
name: 'Sequence',
|
150
|
+
element: {
|
151
|
+
client_side_validation: true,
|
152
|
+
required: false,
|
153
|
+
serialized_name: 'ClientCertificateCommonNameElementType',
|
154
|
+
type: {
|
155
|
+
name: 'Composite',
|
156
|
+
class_name: 'ClientCertificateCommonName'
|
157
|
+
}
|
158
|
+
}
|
159
|
+
}
|
160
|
+
},
|
161
|
+
client_certificate_thumbprints: {
|
162
|
+
client_side_validation: true,
|
163
|
+
required: false,
|
164
|
+
serialized_name: 'properties.clientCertificateThumbprints',
|
165
|
+
type: {
|
166
|
+
name: 'Sequence',
|
167
|
+
element: {
|
168
|
+
client_side_validation: true,
|
169
|
+
required: false,
|
170
|
+
serialized_name: 'ClientCertificateThumbprintElementType',
|
171
|
+
type: {
|
172
|
+
name: 'Composite',
|
173
|
+
class_name: 'ClientCertificateThumbprint'
|
174
|
+
}
|
175
|
+
}
|
176
|
+
}
|
177
|
+
},
|
178
|
+
cluster_code_version: {
|
179
|
+
client_side_validation: true,
|
180
|
+
required: false,
|
181
|
+
serialized_name: 'properties.clusterCodeVersion',
|
182
|
+
type: {
|
183
|
+
name: 'String'
|
184
|
+
}
|
185
|
+
},
|
186
|
+
fabric_settings: {
|
187
|
+
client_side_validation: true,
|
188
|
+
required: false,
|
189
|
+
serialized_name: 'properties.fabricSettings',
|
190
|
+
type: {
|
191
|
+
name: 'Sequence',
|
192
|
+
element: {
|
193
|
+
client_side_validation: true,
|
194
|
+
required: false,
|
195
|
+
serialized_name: 'SettingsSectionDescriptionElementType',
|
196
|
+
type: {
|
197
|
+
name: 'Composite',
|
198
|
+
class_name: 'SettingsSectionDescription'
|
199
|
+
}
|
200
|
+
}
|
201
|
+
}
|
202
|
+
},
|
203
|
+
node_types: {
|
204
|
+
client_side_validation: true,
|
205
|
+
required: false,
|
206
|
+
serialized_name: 'properties.nodeTypes',
|
207
|
+
type: {
|
208
|
+
name: 'Sequence',
|
209
|
+
element: {
|
210
|
+
client_side_validation: true,
|
211
|
+
required: false,
|
212
|
+
serialized_name: 'NodeTypeDescriptionElementType',
|
213
|
+
type: {
|
214
|
+
name: 'Composite',
|
215
|
+
class_name: 'NodeTypeDescription'
|
216
|
+
}
|
217
|
+
}
|
218
|
+
}
|
219
|
+
},
|
220
|
+
reliability_level: {
|
221
|
+
client_side_validation: true,
|
222
|
+
required: false,
|
223
|
+
serialized_name: 'properties.reliabilityLevel',
|
224
|
+
type: {
|
225
|
+
name: 'String'
|
226
|
+
}
|
227
|
+
},
|
228
|
+
reverse_proxy_certificate: {
|
229
|
+
client_side_validation: true,
|
230
|
+
required: false,
|
231
|
+
serialized_name: 'properties.reverseProxyCertificate',
|
232
|
+
type: {
|
233
|
+
name: 'Composite',
|
234
|
+
class_name: 'CertificateDescription'
|
235
|
+
}
|
236
|
+
},
|
237
|
+
upgrade_description: {
|
238
|
+
client_side_validation: true,
|
239
|
+
required: false,
|
240
|
+
serialized_name: 'properties.upgradeDescription',
|
241
|
+
type: {
|
242
|
+
name: 'Composite',
|
243
|
+
class_name: 'ClusterUpgradePolicy'
|
244
|
+
}
|
245
|
+
},
|
246
|
+
upgrade_mode: {
|
247
|
+
client_side_validation: true,
|
248
|
+
required: false,
|
249
|
+
serialized_name: 'properties.upgradeMode',
|
250
|
+
type: {
|
251
|
+
name: 'String'
|
252
|
+
}
|
253
|
+
},
|
254
|
+
tags: {
|
255
|
+
client_side_validation: true,
|
256
|
+
required: false,
|
257
|
+
serialized_name: 'tags',
|
258
|
+
type: {
|
259
|
+
name: 'Dictionary',
|
260
|
+
value: {
|
261
|
+
client_side_validation: true,
|
262
|
+
required: false,
|
263
|
+
serialized_name: 'StringElementType',
|
264
|
+
type: {
|
265
|
+
name: 'String'
|
266
|
+
}
|
267
|
+
}
|
268
|
+
}
|
269
|
+
}
|
270
|
+
}
|
271
|
+
}
|
272
|
+
}
|
273
|
+
end
|
274
|
+
end
|
275
|
+
end
|
276
|
+
end
|