Class: Azure::Storage::Mgmt::V2021_01_01::Models::PrivateLinkServiceConnectionState

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2021-01-01/generated/azure_mgmt_storage/models/private_link_service_connection_state.rb

Overview

A collection of information about the state of the connection between service consumer and provider.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#action_requiredString

provider require any updates on the consumer.

Returns:

  • (String)

    A message indicating if changes on the service



26
27
28
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/private_link_service_connection_state.rb', line 26

def action_required
  @action_required
end

#descriptionString

Returns The reason for approval/rejection of the connection.

Returns:

  • (String)

    The reason for approval/rejection of the connection.



22
23
24
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/private_link_service_connection_state.rb', line 22

def description
  @description
end

#statusPrivateEndpointServiceConnectionStatus

connection has been Approved/Rejected/Removed by the owner of the service. Possible values include: ‘Pending’, ‘Approved’, ‘Rejected’

Returns:



19
20
21
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/private_link_service_connection_state.rb', line 19

def status
  @status
end

Class Method Details

.mapperObject

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



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
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/private_link_service_connection_state.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PrivateLinkServiceConnectionState',
    type: {
      name: 'Composite',
      class_name: 'PrivateLinkServiceConnectionState',
      model_properties: {
        status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'description',
          type: {
            name: 'String'
          }
        },
        action_required: {
          client_side_validation: true,
          required: false,
          serialized_name: 'actionRequired',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end