Class: Azure::Storage::Mgmt::V2019_06_01::Models::PrivateLinkResource

Inherits:
Resource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-06-01/generated/azure_mgmt_storage/models/private_link_resource.rb

Overview

A private link resource

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #name, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#group_idString

Returns The private link resource group id.

Returns:

  • (String)

    The private link resource group id.



16
17
18
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/private_link_resource.rb', line 16

def group_id
  @group_id
end

#required_membersArray<String>

names.

Returns:

  • (Array<String>)

    The private link resource required member



20
21
22
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/private_link_resource.rb', line 20

def required_members
  @required_members
end

#required_zone_namesArray<String>

name.

Returns:

  • (Array<String>)

    The private link resource Private link DNS zone



24
25
26
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/private_link_resource.rb', line 24

def required_zone_names
  @required_zone_names
end

Class Method Details

.mapperObject

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



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
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
101
102
103
104
105
106
107
108
109
110
111
112
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/private_link_resource.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PrivateLinkResource',
    type: {
      name: 'Composite',
      class_name: 'PrivateLinkResource',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        group_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.groupId',
          type: {
            name: 'String'
          }
        },
        required_members: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.requiredMembers',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        required_zone_names: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.requiredZoneNames',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end