Class: Azure::Compute::Mgmt::V2020_09_30_preview::Models::SharingProfileGroup

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-09-30-preview/generated/azure_mgmt_compute/models/sharing_profile_group.rb

Overview

Group of the gallery sharing profile

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#idsArray<String>

is aimed to be shared to.

Returns:

  • (Array<String>)

    A list of subscription/tenant ids the gallery



23
24
25
# File 'lib/2020-09-30-preview/generated/azure_mgmt_compute/models/sharing_profile_group.rb', line 23

def ids
  @ids
end

#typeSharingProfileGroupTypes

the type of sharing group.
Possible values are:
*Subscriptions*
*AADTenants*. Possible values include: 'Subscriptions', 'AADTenants'

Returns:



19
20
21
# File 'lib/2020-09-30-preview/generated/azure_mgmt_compute/models/sharing_profile_group.rb', line 19

def type
  @type
end

Class Method Details

.mapperObject

Mapper for SharingProfileGroup 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
# File 'lib/2020-09-30-preview/generated/azure_mgmt_compute/models/sharing_profile_group.rb', line 30

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SharingProfileGroup',
    type: {
      name: 'Composite',
      class_name: 'SharingProfileGroup',
      model_properties: {
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        ids: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ids',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end