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.
- checksums.yaml +4 -4
- data/lib/2016-09-01/generated/azure_mgmt_service_fabric/cluster_versions.rb +51 -44
- data/lib/2016-09-01/generated/azure_mgmt_service_fabric/clusters.rb +62 -58
- data/lib/2016-09-01/generated/azure_mgmt_service_fabric/operations.rb +15 -13
- data/lib/2016-09-01/generated/azure_mgmt_service_fabric/service_fabric_management_client.rb +4 -1
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric.rb +91 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/application.rb +691 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/application_type.rb +487 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/cluster_versions.rb +471 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/clusters.rb +778 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/application_health_policy.rb +104 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/application_metric_description.rb +113 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/application_parameter.rb +58 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/application_resource.rb +206 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/application_resource_list.rb +55 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/application_resource_update.rb +182 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/application_type_resource.rb +83 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/application_type_resource_list.rb +55 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/application_upgrade_policy.rb +81 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/available_operation_display.rb +79 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/azure_active_directory.rb +68 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/certificate_description.rb +70 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/client_certificate_common_name.rb +70 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/client_certificate_thumbprint.rb +59 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster.rb +398 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster_code_versions_list_result.rb +66 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster_code_versions_result.rb +102 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster_health_policy.rb +70 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster_list_result.rb +66 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster_update_parameters.rb +246 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster_upgrade_delta_health_policy.rb +97 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster_upgrade_policy.rb +156 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster_version_details.rb +69 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/diagnostics_storage_account_config.rb +91 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/endpoint_range_description.rb +57 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/error_model.rb +57 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/named_partition_scheme_description.rb +81 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/node_type_description.rb +189 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/operation_list_result.rb +101 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/operation_result.rb +81 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/partition_scheme_description.rb +48 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/provisioning_state.rb +18 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/proxy_resource.rb +82 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/resource.rb +101 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/rolling_upgrade_monitoring_policy.rb +90 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_correlation_description.rb +58 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_load_metric_description.rb +98 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_placement_policy_description.rb +46 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_properties.rb +151 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_properties_base.rb +123 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_resource.rb +207 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_resource_list.rb +55 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_resource_update.rb +169 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_type_delta_health_policy.rb +51 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_type_health_policy.rb +108 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_type_health_policy_map_item.rb +60 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_update_properties.rb +113 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/settings_parameter_description.rb +57 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/settings_section_description.rb +67 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/singleton_partition_scheme_description.rb +51 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/stateful_service_properties.rb +227 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/stateful_service_update_properties.rb +186 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/stateless_service_properties.rb +161 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/stateless_service_update_properties.rb +133 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/uniform_int64range_partition_scheme_description.rb +91 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/version_resource.rb +115 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/version_resource_list.rb +55 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/module_definition.rb +9 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/operations.rb +230 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/service.rb +735 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/service_fabric_management_client.rb +147 -0
- data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/version.rb +559 -0
- data/lib/azure_mgmt_service_fabric.rb +1 -0
- data/lib/profiles/latest/modules/servicefabric_profile_module.rb +269 -114
- data/lib/profiles/latest/servicefabric_latest_profile_client.rb +28 -9
- data/lib/profiles/latest/servicefabric_module_definition.rb +0 -1
- data/lib/version.rb +1 -1
- metadata +70 -3
@@ -0,0 +1,79 @@
|
|
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
|
+
# Operation supported by Service Fabric resource provider
|
10
|
+
#
|
11
|
+
class AvailableOperationDisplay
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The name of the provider.
|
16
|
+
attr_accessor :provider
|
17
|
+
|
18
|
+
# @return [String] The resource on which the operation is performed
|
19
|
+
attr_accessor :resource
|
20
|
+
|
21
|
+
# @return [String] The operation that can be performed.
|
22
|
+
attr_accessor :operation
|
23
|
+
|
24
|
+
# @return [String] Operation description
|
25
|
+
attr_accessor :description
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for AvailableOperationDisplay 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: 'AvailableOperationDisplay',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'AvailableOperationDisplay',
|
40
|
+
model_properties: {
|
41
|
+
provider: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'provider',
|
45
|
+
type: {
|
46
|
+
name: 'String'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
resource: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'resource',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
operation: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'operation',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
description: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'description',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/azure_active_directory.rb
ADDED
@@ -0,0 +1,68 @@
|
|
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 settings to enable AAD authentication on the cluster.
|
10
|
+
#
|
11
|
+
class AzureActiveDirectory
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Azure active directory tenant id.
|
16
|
+
attr_accessor :tenant_id
|
17
|
+
|
18
|
+
# @return [String] Azure active directory cluster application id.
|
19
|
+
attr_accessor :cluster_application
|
20
|
+
|
21
|
+
# @return [String] Azure active directory client application id.
|
22
|
+
attr_accessor :client_application
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for AzureActiveDirectory class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'AzureActiveDirectory',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'AzureActiveDirectory',
|
37
|
+
model_properties: {
|
38
|
+
tenant_id: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'tenantId',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
cluster_application: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'clusterApplication',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
client_application: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'clientApplication',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/certificate_description.rb
ADDED
@@ -0,0 +1,70 @@
|
|
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 the certificate details.
|
10
|
+
#
|
11
|
+
class CertificateDescription
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Thumbprint of the primary certificate.
|
16
|
+
attr_accessor :thumbprint
|
17
|
+
|
18
|
+
# @return [String] Thumbprint of the secondary certificate.
|
19
|
+
attr_accessor :thumbprint_secondary
|
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 CertificateDescription 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: 'CertificateDescription',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'CertificateDescription',
|
39
|
+
model_properties: {
|
40
|
+
thumbprint: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: true,
|
43
|
+
serialized_name: 'thumbprint',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
thumbprint_secondary: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'thumbprintSecondary',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
x509store_name: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'x509StoreName',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
@@ -0,0 +1,70 @@
|
|
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 the client certificate details using common name.
|
10
|
+
#
|
11
|
+
class ClientCertificateCommonName
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Boolean] Indicates if the client certificate has admin access
|
16
|
+
# to the cluster. Non admin clients can perform only read only operations
|
17
|
+
# on the cluster.
|
18
|
+
attr_accessor :is_admin
|
19
|
+
|
20
|
+
# @return [String] The common name of the client certificate.
|
21
|
+
attr_accessor :certificate_common_name
|
22
|
+
|
23
|
+
# @return [String] The issuer thumbprint of the client certificate.
|
24
|
+
attr_accessor :certificate_issuer_thumbprint
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for ClientCertificateCommonName 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: 'ClientCertificateCommonName',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'ClientCertificateCommonName',
|
39
|
+
model_properties: {
|
40
|
+
is_admin: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: true,
|
43
|
+
serialized_name: 'isAdmin',
|
44
|
+
type: {
|
45
|
+
name: 'Boolean'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
certificate_common_name: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: true,
|
51
|
+
serialized_name: 'certificateCommonName',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
certificate_issuer_thumbprint: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: true,
|
59
|
+
serialized_name: 'certificateIssuerThumbprint',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
@@ -0,0 +1,59 @@
|
|
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 the client certificate details using thumbprint.
|
10
|
+
#
|
11
|
+
class ClientCertificateThumbprint
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Boolean] Indicates if the client certificate has admin access
|
16
|
+
# to the cluster. Non admin clients can perform only read only operations
|
17
|
+
# on the cluster.
|
18
|
+
attr_accessor :is_admin
|
19
|
+
|
20
|
+
# @return [String] The thumbprint of the client certificate.
|
21
|
+
attr_accessor :certificate_thumbprint
|
22
|
+
|
23
|
+
|
24
|
+
#
|
25
|
+
# Mapper for ClientCertificateThumbprint class as Ruby Hash.
|
26
|
+
# This will be used for serialization/deserialization.
|
27
|
+
#
|
28
|
+
def self.mapper()
|
29
|
+
{
|
30
|
+
client_side_validation: true,
|
31
|
+
required: false,
|
32
|
+
serialized_name: 'ClientCertificateThumbprint',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'ClientCertificateThumbprint',
|
36
|
+
model_properties: {
|
37
|
+
is_admin: {
|
38
|
+
client_side_validation: true,
|
39
|
+
required: true,
|
40
|
+
serialized_name: 'isAdmin',
|
41
|
+
type: {
|
42
|
+
name: 'Boolean'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
certificate_thumbprint: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: true,
|
48
|
+
serialized_name: 'certificateThumbprint',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,398 @@
|
|
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 cluster resource
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class Cluster < Resource
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [Array<ClusterVersionDetails>] The Service Fabric runtime
|
17
|
+
# versions available for this cluster.
|
18
|
+
attr_accessor :available_cluster_versions
|
19
|
+
|
20
|
+
# @return [String] A service generated unique identifier for the cluster
|
21
|
+
# resource.
|
22
|
+
attr_accessor :cluster_id
|
23
|
+
|
24
|
+
# @return [Enum] Possible values include: 'WaitingForNodes', 'Deploying',
|
25
|
+
# 'BaselineUpgrade', 'UpdatingUserConfiguration',
|
26
|
+
# 'UpdatingUserCertificate', 'UpdatingInfrastructure',
|
27
|
+
# 'EnforcingClusterVersion', 'UpgradeServiceUnreachable', 'AutoScale',
|
28
|
+
# 'Ready'
|
29
|
+
attr_accessor :cluster_state
|
30
|
+
|
31
|
+
# @return [String] The Azure Resource Provider endpoint. A system service
|
32
|
+
# in the cluster connects to this endpoint.
|
33
|
+
attr_accessor :cluster_endpoint
|
34
|
+
|
35
|
+
# @return [String] The Service Fabric runtime version of the cluster.
|
36
|
+
# This property can only by set the user when **upgradeMode** is set to
|
37
|
+
# 'Manual'. To get list of available Service Fabric versions for new
|
38
|
+
# clusters use [ClusterVersion API](./ClusterVersion.md). To get the list
|
39
|
+
# of available version for existing clusters use
|
40
|
+
# **availableClusterVersions**.
|
41
|
+
attr_accessor :cluster_code_version
|
42
|
+
|
43
|
+
# @return [CertificateDescription] The certificate to use for securing
|
44
|
+
# the cluster. The certificate provided will be used for node to node
|
45
|
+
# security within the cluster, SSL certificate for cluster management
|
46
|
+
# endpoint and default admin client.
|
47
|
+
attr_accessor :certificate
|
48
|
+
|
49
|
+
# @return [Enum] Possible values include: 'None', 'Bronze', 'Silver',
|
50
|
+
# 'Gold', 'Platinum'
|
51
|
+
attr_accessor :reliability_level
|
52
|
+
|
53
|
+
# @return [Enum] Possible values include: 'Automatic', 'Manual'
|
54
|
+
attr_accessor :upgrade_mode
|
55
|
+
|
56
|
+
# @return [Array<ClientCertificateThumbprint>] The list of client
|
57
|
+
# certificates referenced by thumbprint that are allowed to manage the
|
58
|
+
# cluster.
|
59
|
+
attr_accessor :client_certificate_thumbprints
|
60
|
+
|
61
|
+
# @return [Array<ClientCertificateCommonName>] The list of client
|
62
|
+
# certificates referenced by common name that are allowed to manage the
|
63
|
+
# cluster.
|
64
|
+
attr_accessor :client_certificate_common_names
|
65
|
+
|
66
|
+
# @return [Array<SettingsSectionDescription>] The list of custom fabric
|
67
|
+
# settings to configure the cluster.
|
68
|
+
attr_accessor :fabric_settings
|
69
|
+
|
70
|
+
# @return [CertificateDescription] The server certificate used by reverse
|
71
|
+
# proxy.
|
72
|
+
attr_accessor :reverse_proxy_certificate
|
73
|
+
|
74
|
+
# @return [String] The http management endpoint of the cluster.
|
75
|
+
attr_accessor :management_endpoint
|
76
|
+
|
77
|
+
# @return [Array<NodeTypeDescription>] The list of node types in the
|
78
|
+
# cluster.
|
79
|
+
attr_accessor :node_types
|
80
|
+
|
81
|
+
# @return [AzureActiveDirectory] The AAD authentication settings of the
|
82
|
+
# cluster.
|
83
|
+
attr_accessor :azure_active_directory
|
84
|
+
|
85
|
+
# @return [ProvisioningState] The provisioning state of the cluster
|
86
|
+
# resource. Possible values include: 'Updating', 'Succeeded', 'Failed',
|
87
|
+
# 'Canceled'
|
88
|
+
attr_accessor :provisioning_state
|
89
|
+
|
90
|
+
# @return [String] The VM image VMSS has been configured with. Generic
|
91
|
+
# names such as Windows or Linux can be used.
|
92
|
+
attr_accessor :vm_image
|
93
|
+
|
94
|
+
# @return [DiagnosticsStorageAccountConfig] The storage account
|
95
|
+
# information for storing Service Fabric diagnostic logs.
|
96
|
+
attr_accessor :diagnostics_storage_account_config
|
97
|
+
|
98
|
+
# @return [ClusterUpgradePolicy] The policy to use when upgrading the
|
99
|
+
# cluster.
|
100
|
+
attr_accessor :upgrade_description
|
101
|
+
|
102
|
+
# @return [Array<Enum>] The list of add-on features to enable in the
|
103
|
+
# cluster.
|
104
|
+
attr_accessor :add_on_features
|
105
|
+
|
106
|
+
|
107
|
+
#
|
108
|
+
# Mapper for Cluster class as Ruby Hash.
|
109
|
+
# This will be used for serialization/deserialization.
|
110
|
+
#
|
111
|
+
def self.mapper()
|
112
|
+
{
|
113
|
+
client_side_validation: true,
|
114
|
+
required: false,
|
115
|
+
serialized_name: 'Cluster',
|
116
|
+
type: {
|
117
|
+
name: 'Composite',
|
118
|
+
class_name: 'Cluster',
|
119
|
+
model_properties: {
|
120
|
+
id: {
|
121
|
+
client_side_validation: true,
|
122
|
+
required: false,
|
123
|
+
read_only: true,
|
124
|
+
serialized_name: 'id',
|
125
|
+
type: {
|
126
|
+
name: 'String'
|
127
|
+
}
|
128
|
+
},
|
129
|
+
name: {
|
130
|
+
client_side_validation: true,
|
131
|
+
required: false,
|
132
|
+
read_only: true,
|
133
|
+
serialized_name: 'name',
|
134
|
+
type: {
|
135
|
+
name: 'String'
|
136
|
+
}
|
137
|
+
},
|
138
|
+
type: {
|
139
|
+
client_side_validation: true,
|
140
|
+
required: false,
|
141
|
+
read_only: true,
|
142
|
+
serialized_name: 'type',
|
143
|
+
type: {
|
144
|
+
name: 'String'
|
145
|
+
}
|
146
|
+
},
|
147
|
+
location: {
|
148
|
+
client_side_validation: true,
|
149
|
+
required: true,
|
150
|
+
serialized_name: 'location',
|
151
|
+
type: {
|
152
|
+
name: 'String'
|
153
|
+
}
|
154
|
+
},
|
155
|
+
tags: {
|
156
|
+
client_side_validation: true,
|
157
|
+
required: false,
|
158
|
+
serialized_name: 'tags',
|
159
|
+
type: {
|
160
|
+
name: 'Dictionary',
|
161
|
+
value: {
|
162
|
+
client_side_validation: true,
|
163
|
+
required: false,
|
164
|
+
serialized_name: 'StringElementType',
|
165
|
+
type: {
|
166
|
+
name: 'String'
|
167
|
+
}
|
168
|
+
}
|
169
|
+
}
|
170
|
+
},
|
171
|
+
available_cluster_versions: {
|
172
|
+
client_side_validation: true,
|
173
|
+
required: false,
|
174
|
+
serialized_name: 'properties.availableClusterVersions',
|
175
|
+
type: {
|
176
|
+
name: 'Sequence',
|
177
|
+
element: {
|
178
|
+
client_side_validation: true,
|
179
|
+
required: false,
|
180
|
+
serialized_name: 'ClusterVersionDetailsElementType',
|
181
|
+
type: {
|
182
|
+
name: 'Composite',
|
183
|
+
class_name: 'ClusterVersionDetails'
|
184
|
+
}
|
185
|
+
}
|
186
|
+
}
|
187
|
+
},
|
188
|
+
cluster_id: {
|
189
|
+
client_side_validation: true,
|
190
|
+
required: false,
|
191
|
+
read_only: true,
|
192
|
+
serialized_name: 'properties.clusterId',
|
193
|
+
type: {
|
194
|
+
name: 'String'
|
195
|
+
}
|
196
|
+
},
|
197
|
+
cluster_state: {
|
198
|
+
client_side_validation: true,
|
199
|
+
required: false,
|
200
|
+
serialized_name: 'properties.clusterState',
|
201
|
+
type: {
|
202
|
+
name: 'String'
|
203
|
+
}
|
204
|
+
},
|
205
|
+
cluster_endpoint: {
|
206
|
+
client_side_validation: true,
|
207
|
+
required: false,
|
208
|
+
read_only: true,
|
209
|
+
serialized_name: 'properties.clusterEndpoint',
|
210
|
+
type: {
|
211
|
+
name: 'String'
|
212
|
+
}
|
213
|
+
},
|
214
|
+
cluster_code_version: {
|
215
|
+
client_side_validation: true,
|
216
|
+
required: false,
|
217
|
+
serialized_name: 'properties.clusterCodeVersion',
|
218
|
+
type: {
|
219
|
+
name: 'String'
|
220
|
+
}
|
221
|
+
},
|
222
|
+
certificate: {
|
223
|
+
client_side_validation: true,
|
224
|
+
required: false,
|
225
|
+
serialized_name: 'properties.certificate',
|
226
|
+
type: {
|
227
|
+
name: 'Composite',
|
228
|
+
class_name: 'CertificateDescription'
|
229
|
+
}
|
230
|
+
},
|
231
|
+
reliability_level: {
|
232
|
+
client_side_validation: true,
|
233
|
+
required: false,
|
234
|
+
serialized_name: 'properties.reliabilityLevel',
|
235
|
+
type: {
|
236
|
+
name: 'String'
|
237
|
+
}
|
238
|
+
},
|
239
|
+
upgrade_mode: {
|
240
|
+
client_side_validation: true,
|
241
|
+
required: false,
|
242
|
+
serialized_name: 'properties.upgradeMode',
|
243
|
+
type: {
|
244
|
+
name: 'String'
|
245
|
+
}
|
246
|
+
},
|
247
|
+
client_certificate_thumbprints: {
|
248
|
+
client_side_validation: true,
|
249
|
+
required: false,
|
250
|
+
serialized_name: 'properties.clientCertificateThumbprints',
|
251
|
+
type: {
|
252
|
+
name: 'Sequence',
|
253
|
+
element: {
|
254
|
+
client_side_validation: true,
|
255
|
+
required: false,
|
256
|
+
serialized_name: 'ClientCertificateThumbprintElementType',
|
257
|
+
type: {
|
258
|
+
name: 'Composite',
|
259
|
+
class_name: 'ClientCertificateThumbprint'
|
260
|
+
}
|
261
|
+
}
|
262
|
+
}
|
263
|
+
},
|
264
|
+
client_certificate_common_names: {
|
265
|
+
client_side_validation: true,
|
266
|
+
required: false,
|
267
|
+
serialized_name: 'properties.clientCertificateCommonNames',
|
268
|
+
type: {
|
269
|
+
name: 'Sequence',
|
270
|
+
element: {
|
271
|
+
client_side_validation: true,
|
272
|
+
required: false,
|
273
|
+
serialized_name: 'ClientCertificateCommonNameElementType',
|
274
|
+
type: {
|
275
|
+
name: 'Composite',
|
276
|
+
class_name: 'ClientCertificateCommonName'
|
277
|
+
}
|
278
|
+
}
|
279
|
+
}
|
280
|
+
},
|
281
|
+
fabric_settings: {
|
282
|
+
client_side_validation: true,
|
283
|
+
required: false,
|
284
|
+
serialized_name: 'properties.fabricSettings',
|
285
|
+
type: {
|
286
|
+
name: 'Sequence',
|
287
|
+
element: {
|
288
|
+
client_side_validation: true,
|
289
|
+
required: false,
|
290
|
+
serialized_name: 'SettingsSectionDescriptionElementType',
|
291
|
+
type: {
|
292
|
+
name: 'Composite',
|
293
|
+
class_name: 'SettingsSectionDescription'
|
294
|
+
}
|
295
|
+
}
|
296
|
+
}
|
297
|
+
},
|
298
|
+
reverse_proxy_certificate: {
|
299
|
+
client_side_validation: true,
|
300
|
+
required: false,
|
301
|
+
serialized_name: 'properties.reverseProxyCertificate',
|
302
|
+
type: {
|
303
|
+
name: 'Composite',
|
304
|
+
class_name: 'CertificateDescription'
|
305
|
+
}
|
306
|
+
},
|
307
|
+
management_endpoint: {
|
308
|
+
client_side_validation: true,
|
309
|
+
required: true,
|
310
|
+
serialized_name: 'properties.managementEndpoint',
|
311
|
+
type: {
|
312
|
+
name: 'String'
|
313
|
+
}
|
314
|
+
},
|
315
|
+
node_types: {
|
316
|
+
client_side_validation: true,
|
317
|
+
required: true,
|
318
|
+
serialized_name: 'properties.nodeTypes',
|
319
|
+
type: {
|
320
|
+
name: 'Sequence',
|
321
|
+
element: {
|
322
|
+
client_side_validation: true,
|
323
|
+
required: false,
|
324
|
+
serialized_name: 'NodeTypeDescriptionElementType',
|
325
|
+
type: {
|
326
|
+
name: 'Composite',
|
327
|
+
class_name: 'NodeTypeDescription'
|
328
|
+
}
|
329
|
+
}
|
330
|
+
}
|
331
|
+
},
|
332
|
+
azure_active_directory: {
|
333
|
+
client_side_validation: true,
|
334
|
+
required: false,
|
335
|
+
serialized_name: 'properties.azureActiveDirectory',
|
336
|
+
type: {
|
337
|
+
name: 'Composite',
|
338
|
+
class_name: 'AzureActiveDirectory'
|
339
|
+
}
|
340
|
+
},
|
341
|
+
provisioning_state: {
|
342
|
+
client_side_validation: true,
|
343
|
+
required: false,
|
344
|
+
read_only: true,
|
345
|
+
serialized_name: 'properties.provisioningState',
|
346
|
+
type: {
|
347
|
+
name: 'String'
|
348
|
+
}
|
349
|
+
},
|
350
|
+
vm_image: {
|
351
|
+
client_side_validation: true,
|
352
|
+
required: false,
|
353
|
+
serialized_name: 'properties.vmImage',
|
354
|
+
type: {
|
355
|
+
name: 'String'
|
356
|
+
}
|
357
|
+
},
|
358
|
+
diagnostics_storage_account_config: {
|
359
|
+
client_side_validation: true,
|
360
|
+
required: false,
|
361
|
+
serialized_name: 'properties.diagnosticsStorageAccountConfig',
|
362
|
+
type: {
|
363
|
+
name: 'Composite',
|
364
|
+
class_name: 'DiagnosticsStorageAccountConfig'
|
365
|
+
}
|
366
|
+
},
|
367
|
+
upgrade_description: {
|
368
|
+
client_side_validation: true,
|
369
|
+
required: false,
|
370
|
+
serialized_name: 'properties.upgradeDescription',
|
371
|
+
type: {
|
372
|
+
name: 'Composite',
|
373
|
+
class_name: 'ClusterUpgradePolicy'
|
374
|
+
}
|
375
|
+
},
|
376
|
+
add_on_features: {
|
377
|
+
client_side_validation: true,
|
378
|
+
required: false,
|
379
|
+
serialized_name: 'properties.addOnFeatures',
|
380
|
+
type: {
|
381
|
+
name: 'Sequence',
|
382
|
+
element: {
|
383
|
+
client_side_validation: true,
|
384
|
+
required: false,
|
385
|
+
serialized_name: 'enumElementType',
|
386
|
+
type: {
|
387
|
+
name: 'String'
|
388
|
+
}
|
389
|
+
}
|
390
|
+
}
|
391
|
+
}
|
392
|
+
}
|
393
|
+
}
|
394
|
+
}
|
395
|
+
end
|
396
|
+
end
|
397
|
+
end
|
398
|
+
end
|