Class: Azure::ADHybridHealthService::Mgmt::V2014_01_01::Models::PartitionScope

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/partition_scope.rb

Overview

The connector partition scope.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#containers_excludedArray<String>

Returns The list of containers excluded.

Returns:

  • (Array<String>)

    The list of containers excluded.



25
26
27
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/partition_scope.rb', line 25

def containers_excluded
  @containers_excluded
end

#containers_includedArray<String>

Returns The list of containers included.

Returns:

  • (Array<String>)

    The list of containers included.



22
23
24
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/partition_scope.rb', line 22

def containers_included
  @containers_included
end

#is_defaultBoolean

Returns Indicates if the partition scope is default or not.

Returns:

  • (Boolean)

    Indicates if the partition scope is default or not.



16
17
18
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/partition_scope.rb', line 16

def is_default
  @is_default
end

#object_classesArray<String>

Returns The in-scope object classes.

Returns:

  • (Array<String>)

    The in-scope object classes.



19
20
21
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/partition_scope.rb', line 19

def object_classes
  @object_classes
end

Class Method Details

.mapperObject

Mapper for PartitionScope class as Ruby Hash. This will be used for serialization/deserialization.



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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/partition_scope.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PartitionScope',
    type: {
      name: 'Composite',
      class_name: 'PartitionScope',
      model_properties: {
        is_default: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isDefault',
          type: {
            name: 'Boolean'
          }
        },
        object_classes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'objectClasses',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        containers_included: {
          client_side_validation: true,
          required: false,
          serialized_name: 'containersIncluded',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        containers_excluded: {
          client_side_validation: true,
          required: false,
          serialized_name: 'containersExcluded',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end