Class: Azure::CognitiveServices::Mgmt::V2017_04_18::Models::PrivateEndpointConnectionProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_endpoint_connection_properties.rb

Overview

Properties of the PrivateEndpointConnectProperties.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#group_idsArray<String>

Returns The private link resource group ids.

Returns:

  • (Array<String>)

    The private link resource group ids.



24
25
26
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_endpoint_connection_properties.rb', line 24

def group_ids
  @group_ids
end

#private_endpointPrivateEndpoint

Returns The resource of private end point.

Returns:



16
17
18
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_endpoint_connection_properties.rb', line 16

def private_endpoint
  @private_endpoint
end

about the state of the connection between service consumer and provider.

Returns:



21
22
23
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_endpoint_connection_properties.rb', line 21

def private_link_service_connection_state
  @private_link_service_connection_state
end

Class Method Details

.mapperObject

Mapper for PrivateEndpointConnectionProperties 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
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_endpoint_connection_properties.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PrivateEndpointConnectionProperties',
    type: {
      name: 'Composite',
      class_name: 'PrivateEndpointConnectionProperties',
      model_properties: {
        private_endpoint: {
          client_side_validation: true,
          required: false,
          serialized_name: 'privateEndpoint',
          type: {
            name: 'Composite',
            class_name: 'PrivateEndpoint'
          }
        },
        private_link_service_connection_state: {
          client_side_validation: true,
          required: true,
          serialized_name: 'privateLinkServiceConnectionState',
          type: {
            name: 'Composite',
            class_name: 'PrivateLinkServiceConnectionState'
          }
        },
        group_ids: {
          client_side_validation: true,
          required: false,
          serialized_name: 'groupIds',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end