Class: Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterPodIdentityException
- Inherits:
-
Object
- Object
- Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterPodIdentityException
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_pod_identity_exception.rb
Overview
Model object.
Instance Attribute Summary collapse
-
#name ⇒ String
Name of the pod identity exception.
-
#namespace ⇒ String
Namespace of the pod identity exception.
-
#pod_labels ⇒ Hash{String => String}
Pod labels to match.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ManagedClusterPodIdentityException class as Ruby Hash.
Instance Attribute Details
#name ⇒ String
Returns Name of the pod identity exception.
17 18 19 |
# File 'lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_pod_identity_exception.rb', line 17 def name @name end |
#namespace ⇒ String
Returns Namespace of the pod identity exception.
20 21 22 |
# File 'lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_pod_identity_exception.rb', line 20 def namespace @namespace end |
#pod_labels ⇒ Hash{String => String}
Returns Pod labels to match.
23 24 25 |
# File 'lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_pod_identity_exception.rb', line 23 def pod_labels @pod_labels end |
Class Method Details
.mapper ⇒ Object
Mapper for ManagedClusterPodIdentityException class as Ruby Hash. This will be used for serialization/deserialization.
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
# File 'lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_pod_identity_exception.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ManagedClusterPodIdentityException', type: { name: 'Composite', class_name: 'ManagedClusterPodIdentityException', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, namespace: { client_side_validation: true, required: true, serialized_name: 'namespace', type: { name: 'String' } }, pod_labels: { client_side_validation: true, required: true, serialized_name: 'podLabels', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |