Class: Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterPodIdentityException

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#nameString

Returns Name of the pod identity exception.

Returns:

  • (String)

    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

#namespaceString

Returns Namespace of the pod identity exception.

Returns:

  • (String)

    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_labelsHash{String => String}

Returns Pod labels to match.

Returns:

  • (Hash{String => String})

    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

.mapperObject

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