azure_mgmt_relay 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/azure_mgmt_relay.rb +8 -0
- data/lib/generated/azure_mgmt_relay.rb +58 -0
- data/lib/generated/azure_mgmt_relay/hybrid_connections.rb +1269 -0
- data/lib/generated/azure_mgmt_relay/models/access_keys.rb +88 -0
- data/lib/generated/azure_mgmt_relay/models/access_rights.rb +17 -0
- data/lib/generated/azure_mgmt_relay/models/authorization_rule.rb +79 -0
- data/lib/generated/azure_mgmt_relay/models/authorization_rule_list_result.rb +96 -0
- data/lib/generated/azure_mgmt_relay/models/check_name_availability.rb +47 -0
- data/lib/generated/azure_mgmt_relay/models/check_name_availability_result.rb +71 -0
- data/lib/generated/azure_mgmt_relay/models/error_response.rb +55 -0
- data/lib/generated/azure_mgmt_relay/models/hybrid_connection.rb +121 -0
- data/lib/generated/azure_mgmt_relay/models/hybrid_connection_list_result.rb +96 -0
- data/lib/generated/azure_mgmt_relay/models/key_type.rb +16 -0
- data/lib/generated/azure_mgmt_relay/models/operation.rb +56 -0
- data/lib/generated/azure_mgmt_relay/models/operation_display.rb +68 -0
- data/lib/generated/azure_mgmt_relay/models/operation_list_result.rb +99 -0
- data/lib/generated/azure_mgmt_relay/models/provisioning_state_enum.rb +20 -0
- data/lib/generated/azure_mgmt_relay/models/regenerate_access_key_parameters.rb +58 -0
- data/lib/generated/azure_mgmt_relay/models/relay_namespace.rb +148 -0
- data/lib/generated/azure_mgmt_relay/models/relay_namespace_list_result.rb +95 -0
- data/lib/generated/azure_mgmt_relay/models/relay_update_parameters.rb +141 -0
- data/lib/generated/azure_mgmt_relay/models/relaytype.rb +16 -0
- data/lib/generated/azure_mgmt_relay/models/resource.rb +67 -0
- data/lib/generated/azure_mgmt_relay/models/resource_namespace_patch.rb +75 -0
- data/lib/generated/azure_mgmt_relay/models/sku.rb +58 -0
- data/lib/generated/azure_mgmt_relay/models/sku_tier.rb +15 -0
- data/lib/generated/azure_mgmt_relay/models/tracked_resource.rb +85 -0
- data/lib/generated/azure_mgmt_relay/models/unavailable_reason.rb +20 -0
- data/lib/generated/azure_mgmt_relay/models/wcf_relay.rb +156 -0
- data/lib/generated/azure_mgmt_relay/models/wcf_relays_list_result.rb +95 -0
- data/lib/generated/azure_mgmt_relay/module_definition.rb +8 -0
- data/lib/generated/azure_mgmt_relay/namespaces.rb +1745 -0
- data/lib/generated/azure_mgmt_relay/operations.rb +214 -0
- data/lib/generated/azure_mgmt_relay/relay_management_client.rb +143 -0
- data/lib/generated/azure_mgmt_relay/version.rb +8 -0
- data/lib/generated/azure_mgmt_relay/wcfrelays.rb +1263 -0
- metadata +150 -0
@@ -0,0 +1,121 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::Relay
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Description of hybrid connection resource.
|
10
|
+
#
|
11
|
+
class HybridConnection < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [DateTime] The time the hybrid connection was created.
|
16
|
+
attr_accessor :created_at
|
17
|
+
|
18
|
+
# @return [DateTime] The time the namespace was updated.
|
19
|
+
attr_accessor :updated_at
|
20
|
+
|
21
|
+
# @return [Integer] The number of listeners for this hybrid connection.
|
22
|
+
# Note that min : 1 and max:25 are supported.
|
23
|
+
attr_accessor :listener_count
|
24
|
+
|
25
|
+
# @return [Boolean] Returns true if client authorization is needed for
|
26
|
+
# this hybrid connection; otherwise, false.
|
27
|
+
attr_accessor :requires_client_authorization
|
28
|
+
|
29
|
+
# @return [String] The usermetadata is a placeholder to store
|
30
|
+
# user-defined string data for the hybrid connection endpoint. For
|
31
|
+
# example, it can be used to store descriptive data, such as a list of
|
32
|
+
# teams and their contact information. Also, user-defined configuration
|
33
|
+
# settings can be stored.
|
34
|
+
attr_accessor :user_metadata
|
35
|
+
|
36
|
+
|
37
|
+
#
|
38
|
+
# Mapper for HybridConnection class as Ruby Hash.
|
39
|
+
# This will be used for serialization/deserialization.
|
40
|
+
#
|
41
|
+
def self.mapper()
|
42
|
+
{
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'HybridConnection',
|
45
|
+
type: {
|
46
|
+
name: 'Composite',
|
47
|
+
class_name: 'HybridConnection',
|
48
|
+
model_properties: {
|
49
|
+
id: {
|
50
|
+
required: false,
|
51
|
+
read_only: true,
|
52
|
+
serialized_name: 'id',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
name: {
|
58
|
+
required: false,
|
59
|
+
read_only: true,
|
60
|
+
serialized_name: 'name',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
type: {
|
66
|
+
required: false,
|
67
|
+
read_only: true,
|
68
|
+
serialized_name: 'type',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
},
|
73
|
+
created_at: {
|
74
|
+
required: false,
|
75
|
+
read_only: true,
|
76
|
+
serialized_name: 'properties.createdAt',
|
77
|
+
type: {
|
78
|
+
name: 'DateTime'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
updated_at: {
|
82
|
+
required: false,
|
83
|
+
read_only: true,
|
84
|
+
serialized_name: 'properties.updatedAt',
|
85
|
+
type: {
|
86
|
+
name: 'DateTime'
|
87
|
+
}
|
88
|
+
},
|
89
|
+
listener_count: {
|
90
|
+
required: false,
|
91
|
+
read_only: true,
|
92
|
+
serialized_name: 'properties.listenerCount',
|
93
|
+
constraints: {
|
94
|
+
InclusiveMaximum: 25,
|
95
|
+
InclusiveMinimum: 0
|
96
|
+
},
|
97
|
+
type: {
|
98
|
+
name: 'Number'
|
99
|
+
}
|
100
|
+
},
|
101
|
+
requires_client_authorization: {
|
102
|
+
required: false,
|
103
|
+
serialized_name: 'properties.requiresClientAuthorization',
|
104
|
+
type: {
|
105
|
+
name: 'Boolean'
|
106
|
+
}
|
107
|
+
},
|
108
|
+
user_metadata: {
|
109
|
+
required: false,
|
110
|
+
serialized_name: 'properties.userMetadata',
|
111
|
+
type: {
|
112
|
+
name: 'String'
|
113
|
+
}
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
117
|
+
}
|
118
|
+
end
|
119
|
+
end
|
120
|
+
end
|
121
|
+
end
|
@@ -0,0 +1,96 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::Relay
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The response of the list hybrid connection operation.
|
10
|
+
#
|
11
|
+
class HybridConnectionListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<HybridConnection>] Result of the list hybrid
|
17
|
+
# connections.
|
18
|
+
attr_accessor :value
|
19
|
+
|
20
|
+
# @return [String] Link to the next set of results. Not empty if value
|
21
|
+
# contains incomplete list hybrid connection operation.
|
22
|
+
attr_accessor :next_link
|
23
|
+
|
24
|
+
# return [Proc] with next page method call.
|
25
|
+
attr_accessor :next_method
|
26
|
+
|
27
|
+
#
|
28
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
29
|
+
#
|
30
|
+
# @return [Array<HybridConnection>] operation results.
|
31
|
+
#
|
32
|
+
def get_all_items
|
33
|
+
items = @value
|
34
|
+
page = self
|
35
|
+
while page.next_link != nil do
|
36
|
+
page = page.get_next_page
|
37
|
+
items.concat(page.value)
|
38
|
+
end
|
39
|
+
items
|
40
|
+
end
|
41
|
+
|
42
|
+
#
|
43
|
+
# Gets the next page of results.
|
44
|
+
#
|
45
|
+
# @return [HybridConnectionListResult] with next page content.
|
46
|
+
#
|
47
|
+
def get_next_page
|
48
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
49
|
+
unless response.nil?
|
50
|
+
@next_link = response.body.next_link
|
51
|
+
@value = response.body.value
|
52
|
+
self
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
#
|
57
|
+
# Mapper for HybridConnectionListResult class as Ruby Hash.
|
58
|
+
# This will be used for serialization/deserialization.
|
59
|
+
#
|
60
|
+
def self.mapper()
|
61
|
+
{
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'HybridConnectionListResult',
|
64
|
+
type: {
|
65
|
+
name: 'Composite',
|
66
|
+
class_name: 'HybridConnectionListResult',
|
67
|
+
model_properties: {
|
68
|
+
value: {
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'value',
|
71
|
+
type: {
|
72
|
+
name: 'Sequence',
|
73
|
+
element: {
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'HybridConnectionElementType',
|
76
|
+
type: {
|
77
|
+
name: 'Composite',
|
78
|
+
class_name: 'HybridConnection'
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
},
|
83
|
+
next_link: {
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'nextLink',
|
86
|
+
type: {
|
87
|
+
name: 'String'
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::Relay
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for KeyType
|
10
|
+
#
|
11
|
+
module KeyType
|
12
|
+
PrimaryKey = "PrimaryKey"
|
13
|
+
SecondaryKey = "SecondaryKey"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::Relay
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A Relay REST API operation.
|
10
|
+
#
|
11
|
+
class Operation
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Operation name: {provider}/{resource}/{operation}
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [OperationDisplay] The object that represents the operation.
|
19
|
+
attr_accessor :display
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for Operation class as Ruby Hash.
|
24
|
+
# This will be used for serialization/deserialization.
|
25
|
+
#
|
26
|
+
def self.mapper()
|
27
|
+
{
|
28
|
+
required: false,
|
29
|
+
serialized_name: 'Operation',
|
30
|
+
type: {
|
31
|
+
name: 'Composite',
|
32
|
+
class_name: 'Operation',
|
33
|
+
model_properties: {
|
34
|
+
name: {
|
35
|
+
required: false,
|
36
|
+
read_only: true,
|
37
|
+
serialized_name: 'name',
|
38
|
+
type: {
|
39
|
+
name: 'String'
|
40
|
+
}
|
41
|
+
},
|
42
|
+
display: {
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'display',
|
45
|
+
type: {
|
46
|
+
name: 'Composite',
|
47
|
+
class_name: 'OperationDisplay'
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,68 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::Relay
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The object that represents the operation.
|
10
|
+
#
|
11
|
+
class OperationDisplay
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Service provider: Relay.
|
16
|
+
attr_accessor :provider
|
17
|
+
|
18
|
+
# @return [String] Resource on which the operation is performed: Invoice,
|
19
|
+
# etc.
|
20
|
+
attr_accessor :resource
|
21
|
+
|
22
|
+
# @return [String] Operation type: Read, write, delete, etc.
|
23
|
+
attr_accessor :operation
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for OperationDisplay class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'Operation_display',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'OperationDisplay',
|
37
|
+
model_properties: {
|
38
|
+
provider: {
|
39
|
+
required: false,
|
40
|
+
read_only: true,
|
41
|
+
serialized_name: 'provider',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
resource: {
|
47
|
+
required: false,
|
48
|
+
read_only: true,
|
49
|
+
serialized_name: 'resource',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
operation: {
|
55
|
+
required: false,
|
56
|
+
read_only: true,
|
57
|
+
serialized_name: 'operation',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
@@ -0,0 +1,99 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::Relay
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Result of the request to list Relay operations. It contains a list of
|
10
|
+
# operations and a URL link to get the next set of results.
|
11
|
+
#
|
12
|
+
class OperationListResult
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
include MsRest::JSONable
|
17
|
+
# @return [Array<Operation>] List of Relay operations supported by
|
18
|
+
# resource provider.
|
19
|
+
attr_accessor :value
|
20
|
+
|
21
|
+
# @return [String] URL to get the next set of operation list results if
|
22
|
+
# there are any.
|
23
|
+
attr_accessor :next_link
|
24
|
+
|
25
|
+
# return [Proc] with next page method call.
|
26
|
+
attr_accessor :next_method
|
27
|
+
|
28
|
+
#
|
29
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
30
|
+
#
|
31
|
+
# @return [Array<Operation>] operation results.
|
32
|
+
#
|
33
|
+
def get_all_items
|
34
|
+
items = @value
|
35
|
+
page = self
|
36
|
+
while page.next_link != nil do
|
37
|
+
page = page.get_next_page
|
38
|
+
items.concat(page.value)
|
39
|
+
end
|
40
|
+
items
|
41
|
+
end
|
42
|
+
|
43
|
+
#
|
44
|
+
# Gets the next page of results.
|
45
|
+
#
|
46
|
+
# @return [OperationListResult] with next page content.
|
47
|
+
#
|
48
|
+
def get_next_page
|
49
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
50
|
+
unless response.nil?
|
51
|
+
@next_link = response.body.next_link
|
52
|
+
@value = response.body.value
|
53
|
+
self
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
#
|
58
|
+
# Mapper for OperationListResult class as Ruby Hash.
|
59
|
+
# This will be used for serialization/deserialization.
|
60
|
+
#
|
61
|
+
def self.mapper()
|
62
|
+
{
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'OperationListResult',
|
65
|
+
type: {
|
66
|
+
name: 'Composite',
|
67
|
+
class_name: 'OperationListResult',
|
68
|
+
model_properties: {
|
69
|
+
value: {
|
70
|
+
required: false,
|
71
|
+
read_only: true,
|
72
|
+
serialized_name: 'value',
|
73
|
+
type: {
|
74
|
+
name: 'Sequence',
|
75
|
+
element: {
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'OperationElementType',
|
78
|
+
type: {
|
79
|
+
name: 'Composite',
|
80
|
+
class_name: 'Operation'
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
},
|
85
|
+
next_link: {
|
86
|
+
required: false,
|
87
|
+
read_only: true,
|
88
|
+
serialized_name: 'nextLink',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|