Class: Azure::Compute::Mgmt::V2020_06_30::Models::PrivateLinkResource

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

Overview

A private link resource

Instance Attribute Summary collapse

Class Method Summary collapse

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/2020-06-30/generated/azure_mgmt_compute/models/private_link_resource.rb', line 16

def group_id
  @group_id
end

#idString

Returns private link resource Id.

Returns:

  • (String)

    private link resource Id



26
27
28
# File 'lib/2020-06-30/generated/azure_mgmt_compute/models/private_link_resource.rb', line 26

def id
  @id
end

#nameString

Returns private link resource name.

Returns:

  • (String)

    private link resource name



29
30
31
# File 'lib/2020-06-30/generated/azure_mgmt_compute/models/private_link_resource.rb', line 29

def name
  @name
end

#required_membersArray<String>

names.

Returns:

  • (Array<String>)

    The private link resource required member



20
21
22
# File 'lib/2020-06-30/generated/azure_mgmt_compute/models/private_link_resource.rb', line 20

def required_members
  @required_members
end

#required_zone_namesArray<String>

Returns The private link resource DNS zone name.

Returns:

  • (Array<String>)

    The private link resource DNS zone name.



23
24
25
# File 'lib/2020-06-30/generated/azure_mgmt_compute/models/private_link_resource.rb', line 23

def required_zone_names
  @required_zone_names
end

#typeString

Returns private link resource type.

Returns:

  • (String)

    private link resource type



32
33
34
# File 'lib/2020-06-30/generated/azure_mgmt_compute/models/private_link_resource.rb', line 32

def type
  @type
end

Class Method Details

.mapperObject

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



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
113
114
115
116
117
118
119
120
# File 'lib/2020-06-30/generated/azure_mgmt_compute/models/private_link_resource.rb', line 39

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PrivateLinkResource',
    type: {
      name: 'Composite',
      class_name: 'PrivateLinkResource',
      model_properties: {
        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'
                }
            }
          }
        },
        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'
          }
        }
      }
    }
  }
end