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/application_delta_health_policy.rb
ADDED
@@ -0,0 +1,73 @@
|
|
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 delta health policy used to evaluate the health of an
|
10
|
+
# application or one of its child entities when upgrading the cluster.
|
11
|
+
#
|
12
|
+
#
|
13
|
+
class ApplicationDeltaHealthPolicy
|
14
|
+
|
15
|
+
include MsRestAzure
|
16
|
+
|
17
|
+
# @return [ServiceTypeDeltaHealthPolicy] The delta health policy used by
|
18
|
+
# default to evaluate the health of a service type when upgrading the
|
19
|
+
# cluster.
|
20
|
+
attr_accessor :default_service_type_delta_health_policy
|
21
|
+
|
22
|
+
# @return [Hash{String => ServiceTypeDeltaHealthPolicy}] The map with
|
23
|
+
# service type delta health policy per service type name. The map is
|
24
|
+
# empty by default.
|
25
|
+
attr_accessor :service_type_delta_health_policies
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for ApplicationDeltaHealthPolicy 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: 'ApplicationDeltaHealthPolicy',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'ApplicationDeltaHealthPolicy',
|
40
|
+
model_properties: {
|
41
|
+
default_service_type_delta_health_policy: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'defaultServiceTypeDeltaHealthPolicy',
|
45
|
+
type: {
|
46
|
+
name: 'Composite',
|
47
|
+
class_name: 'ServiceTypeDeltaHealthPolicy'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
service_type_delta_health_policies: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'serviceTypeDeltaHealthPolicies',
|
54
|
+
type: {
|
55
|
+
name: 'Dictionary',
|
56
|
+
value: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'ServiceTypeDeltaHealthPolicyElementType',
|
60
|
+
type: {
|
61
|
+
name: 'Composite',
|
62
|
+
class_name: 'ServiceTypeDeltaHealthPolicy'
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
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
|
+
# Defines a health policy used to evaluate the health of an application or
|
10
|
+
# one of its children entities.
|
11
|
+
#
|
12
|
+
#
|
13
|
+
class ApplicationHealthPolicy
|
14
|
+
|
15
|
+
include MsRestAzure
|
16
|
+
|
17
|
+
# @return [ServiceTypeHealthPolicy] The health policy used by default to
|
18
|
+
# evaluate the health of a service type.
|
19
|
+
attr_accessor :default_service_type_health_policy
|
20
|
+
|
21
|
+
# @return [Hash{String => ServiceTypeHealthPolicy}] The map with service
|
22
|
+
# type health policy per service type name. The map is empty by default.
|
23
|
+
attr_accessor :service_type_health_policies
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for ApplicationHealthPolicy class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
client_side_validation: true,
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'ApplicationHealthPolicy',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'ApplicationHealthPolicy',
|
38
|
+
model_properties: {
|
39
|
+
default_service_type_health_policy: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'defaultServiceTypeHealthPolicy',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'ServiceTypeHealthPolicy'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
service_type_health_policies: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'serviceTypeHealthPolicies',
|
52
|
+
type: {
|
53
|
+
name: 'Dictionary',
|
54
|
+
value: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'ServiceTypeHealthPolicyElementType',
|
58
|
+
type: {
|
59
|
+
name: 'Composite',
|
60
|
+
class_name: 'ServiceTypeHealthPolicy'
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
@@ -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::V2018_02_01
|
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
|
@@ -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::V2018_02_01
|
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
|
@@ -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::V2018_02_01
|
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
|
data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/client_certificate_common_name.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::V2018_02_01
|
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
|
data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/client_certificate_thumbprint.rb
ADDED
@@ -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::V2018_02_01
|
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
|