azure_mgmt_service_bus 0.16.0 → 0.17.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/check_name_availability.rb +1 -1
- data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/namespace_list_result.rb +1 -1
- data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/operation_list_result.rb +1 -1
- data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/queue_list_result.rb +1 -1
- data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/resource.rb +9 -0
- data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/shared_access_authorization_rule_list_result.rb +1 -1
- data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/subscription_list_result.rb +1 -1
- data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb +0 -12
- data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_list_result.rb +1 -1
- data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_resource.rb +0 -12
- data/lib/2015-08-01/generated/azure_mgmt_service_bus/namespaces.rb +15 -15
- data/lib/2015-08-01/generated/azure_mgmt_service_bus/queues.rb +126 -15
- data/lib/2015-08-01/generated/azure_mgmt_service_bus/service_bus_management_client.rb +7 -6
- data/lib/2015-08-01/generated/azure_mgmt_service_bus/topics.rb +129 -18
- data/lib/2017-04-01/generated/azure_mgmt_service_bus.rb +31 -20
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/disaster_recovery_configs.rb +9 -9
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/migration_configs.rb +777 -0
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/arm_disaster_recovery.rb +14 -2
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/arm_disaster_recovery_list_result.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/check_name_availability.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/correlation_filter.rb +19 -0
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/default_action.rb +16 -0
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/error_response.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/event_hub_list_result.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/migration_config_list_result.rb +100 -0
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/migration_config_properties.rb +123 -0
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/name_space_type.rb +19 -0
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/network_rule_ipaction.rb +15 -0
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/network_rule_set.rb +114 -0
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/nwrule_set_ip_rules.rb +59 -0
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/nwrule_set_virtual_network_rules.rb +59 -0
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/operation_list_result.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/premium_messaging_regions_list_result.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/regenerate_access_key_parameters.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/resource.rb +9 -0
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/rule_list_result.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbauthorization_rule_list_result.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbnamespace.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbnamespace_list_result.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbnamespace_migrate.rb +48 -0
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbnamespace_update_parameters.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbqueue.rb +12 -0
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbqueue_list_result.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbsubscription_list_result.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbtopic.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbtopic_list_result.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/subnet.rb +46 -0
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/namespaces.rb +326 -15
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/queues.rb +51 -23
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/rules.rb +36 -8
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/service_bus_management_client.rb +11 -6
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/subscriptions.rb +36 -8
- data/lib/2017-04-01/generated/azure_mgmt_service_bus/topics.rb +54 -26
- data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus.rb +53 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/default_action.rb +16 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/error_response.rb +58 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/ip_filter_rule.rb +96 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/ip_filter_rule_list_result.rb +100 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/ipaction.rb +16 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/network_rule_ipaction.rb +15 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/network_rule_set.rb +114 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/nwrule_set_ip_rules.rb +58 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/nwrule_set_virtual_network_rules.rb +59 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/operation.rb +59 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/operation_display.rb +72 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/operation_list_result.rb +103 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/resource.rb +80 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/resource_namespace_patch.rb +92 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/sbnamespace.rb +171 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/sbnamespace_list_result.rb +99 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/sbnamespace_update_parameters.rb +171 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/sbsku.rb +73 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/sku_name.rb +17 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/sku_tier.rb +17 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/subnet.rb +46 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/tracked_resource.rb +92 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/virtual_network_rule.rb +73 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/virtual_network_rule_list_result.rb +100 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/module_definition.rb +9 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/namespaces.rb +2211 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/operations.rb +216 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/service_bus_management_client.rb +137 -0
- data/lib/azure_mgmt_service_bus.rb +2 -1
- data/lib/profiles/latest/modules/servicebus_profile_module.rb +107 -65
- data/lib/version.rb +1 -1
- metadata +45 -5
@@ -18,12 +18,15 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
|
|
18
18
|
# 'Failed'. Possible values include: 'Accepted', 'Succeeded', 'Failed'
|
19
19
|
attr_accessor :provisioning_state
|
20
20
|
|
21
|
+
# @return [Integer] Number of entities pending to be replicated.
|
22
|
+
attr_accessor :pending_replication_operations_count
|
23
|
+
|
21
24
|
# @return [String] ARM Id of the Primary/Secondary eventhub namespace
|
22
|
-
# name, which is part of GEO DR
|
25
|
+
# name, which is part of GEO DR pairing
|
23
26
|
attr_accessor :partner_namespace
|
24
27
|
|
25
28
|
# @return [String] Primary/Secondary eventhub namespace name, which is
|
26
|
-
# part of GEO DR
|
29
|
+
# part of GEO DR pairing
|
27
30
|
attr_accessor :alternate_name
|
28
31
|
|
29
32
|
# @return [RoleDisasterRecovery] role of namespace in GEO DR - possible
|
@@ -82,6 +85,15 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
|
|
82
85
|
module: 'ProvisioningStateDR'
|
83
86
|
}
|
84
87
|
},
|
88
|
+
pending_replication_operations_count: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
read_only: true,
|
92
|
+
serialized_name: 'properties.pendingReplicationOperationsCount',
|
93
|
+
type: {
|
94
|
+
name: 'Number'
|
95
|
+
}
|
96
|
+
},
|
85
97
|
partner_namespace: {
|
86
98
|
client_side_validation: true,
|
87
99
|
required: false,
|
data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/arm_disaster_recovery_list_result.rb
CHANGED
@@ -32,7 +32,7 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
|
|
32
32
|
def get_all_items
|
33
33
|
items = @value
|
34
34
|
page = self
|
35
|
-
while page.next_link != nil do
|
35
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
36
36
|
page = page.get_next_page
|
37
37
|
items.concat(page.value)
|
38
38
|
end
|
@@ -12,7 +12,7 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String] The Name to check the
|
15
|
+
# @return [String] The Name to check the namespace name availability and
|
16
16
|
# The namespace name can contain only letters, numbers, and hyphens. The
|
17
17
|
# namespace must start with a letter, and it must end with a letter or
|
18
18
|
# number.
|
@@ -12,6 +12,9 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
+
# @return [Hash{String => String}] dictionary object for custom filters
|
16
|
+
attr_accessor :properties
|
17
|
+
|
15
18
|
# @return [String] Identifier of the correlation.
|
16
19
|
attr_accessor :correlation_id
|
17
20
|
|
@@ -54,6 +57,22 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
|
|
54
57
|
name: 'Composite',
|
55
58
|
class_name: 'CorrelationFilter',
|
56
59
|
model_properties: {
|
60
|
+
properties: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'properties',
|
64
|
+
type: {
|
65
|
+
name: 'Dictionary',
|
66
|
+
value: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'StringElementType',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
},
|
57
76
|
correlation_id: {
|
58
77
|
client_side_validation: true,
|
59
78
|
required: false,
|
@@ -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::ServiceBus::Mgmt::V2017_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for DefaultAction
|
10
|
+
#
|
11
|
+
module DefaultAction
|
12
|
+
Allow = "Allow"
|
13
|
+
Deny = "Deny"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
module Azure::ServiceBus::Mgmt::V2017_04_01
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# Error
|
9
|
+
# Error response indicates ServiceBus service is not able to process the
|
10
10
|
# incoming request. The reason is provided in the error message.
|
11
11
|
#
|
12
12
|
class ErrorResponse
|
@@ -31,7 +31,7 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
|
|
31
31
|
def get_all_items
|
32
32
|
items = @value
|
33
33
|
page = self
|
34
|
-
while page.next_link != nil do
|
34
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
35
35
|
page = page.get_next_page
|
36
36
|
items.concat(page.value)
|
37
37
|
end
|
@@ -0,0 +1,100 @@
|
|
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::ServiceBus::Mgmt::V2017_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The result of the List migrationConfigurations operation.
|
10
|
+
#
|
11
|
+
class MigrationConfigListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<MigrationConfigProperties>] List of Migration Configs
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
# @return [String] Link to the next set of results. Not empty if Value
|
20
|
+
# contains incomplete list of migrationConfigurations
|
21
|
+
attr_accessor :next_link
|
22
|
+
|
23
|
+
# return [Proc] with next page method call.
|
24
|
+
attr_accessor :next_method
|
25
|
+
|
26
|
+
#
|
27
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
28
|
+
#
|
29
|
+
# @return [Array<MigrationConfigProperties>] operation results.
|
30
|
+
#
|
31
|
+
def get_all_items
|
32
|
+
items = @value
|
33
|
+
page = self
|
34
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
35
|
+
page = page.get_next_page
|
36
|
+
items.concat(page.value)
|
37
|
+
end
|
38
|
+
items
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Gets the next page of results.
|
43
|
+
#
|
44
|
+
# @return [MigrationConfigListResult] with next page content.
|
45
|
+
#
|
46
|
+
def get_next_page
|
47
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
48
|
+
unless response.nil?
|
49
|
+
@next_link = response.body.next_link
|
50
|
+
@value = response.body.value
|
51
|
+
self
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
#
|
56
|
+
# Mapper for MigrationConfigListResult class as Ruby Hash.
|
57
|
+
# This will be used for serialization/deserialization.
|
58
|
+
#
|
59
|
+
def self.mapper()
|
60
|
+
{
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'MigrationConfigListResult',
|
64
|
+
type: {
|
65
|
+
name: 'Composite',
|
66
|
+
class_name: 'MigrationConfigListResult',
|
67
|
+
model_properties: {
|
68
|
+
value: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'value',
|
72
|
+
type: {
|
73
|
+
name: 'Sequence',
|
74
|
+
element: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'MigrationConfigPropertiesElementType',
|
78
|
+
type: {
|
79
|
+
name: 'Composite',
|
80
|
+
class_name: 'MigrationConfigProperties'
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
},
|
85
|
+
next_link: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
read_only: true,
|
89
|
+
serialized_name: 'nextLink',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
@@ -0,0 +1,123 @@
|
|
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::ServiceBus::Mgmt::V2017_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Single item in List or Get Migration Config operation
|
10
|
+
#
|
11
|
+
class MigrationConfigProperties < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Provisioning state of Migration Configuration
|
16
|
+
attr_accessor :provisioning_state
|
17
|
+
|
18
|
+
# @return [Integer] Number of entities pending to be replicated.
|
19
|
+
attr_accessor :pending_replication_operations_count
|
20
|
+
|
21
|
+
# @return [String] Existing premium Namespace ARM Id name which has no
|
22
|
+
# entities, will be used for migration
|
23
|
+
attr_accessor :target_namespace
|
24
|
+
|
25
|
+
# @return [String] Name to access Standard Namespace after migration
|
26
|
+
attr_accessor :post_migration_name
|
27
|
+
|
28
|
+
# @return [String] State in which Standard to Premium Migration is,
|
29
|
+
# possible values : Unknown, Reverting, Completing, Initiating, Syncing,
|
30
|
+
# Active
|
31
|
+
attr_accessor :migration_state
|
32
|
+
|
33
|
+
|
34
|
+
#
|
35
|
+
# Mapper for MigrationConfigProperties class as Ruby Hash.
|
36
|
+
# This will be used for serialization/deserialization.
|
37
|
+
#
|
38
|
+
def self.mapper()
|
39
|
+
{
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'MigrationConfigProperties',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'MigrationConfigProperties',
|
46
|
+
model_properties: {
|
47
|
+
id: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
read_only: true,
|
51
|
+
serialized_name: 'id',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
name: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
read_only: true,
|
60
|
+
serialized_name: 'name',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
type: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
read_only: true,
|
69
|
+
serialized_name: 'type',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
},
|
74
|
+
provisioning_state: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
read_only: true,
|
78
|
+
serialized_name: 'properties.provisioningState',
|
79
|
+
type: {
|
80
|
+
name: 'String'
|
81
|
+
}
|
82
|
+
},
|
83
|
+
pending_replication_operations_count: {
|
84
|
+
client_side_validation: true,
|
85
|
+
required: false,
|
86
|
+
read_only: true,
|
87
|
+
serialized_name: 'properties.pendingReplicationOperationsCount',
|
88
|
+
type: {
|
89
|
+
name: 'Number'
|
90
|
+
}
|
91
|
+
},
|
92
|
+
target_namespace: {
|
93
|
+
client_side_validation: true,
|
94
|
+
required: false,
|
95
|
+
serialized_name: 'properties.targetNamespace',
|
96
|
+
type: {
|
97
|
+
name: 'String'
|
98
|
+
}
|
99
|
+
},
|
100
|
+
post_migration_name: {
|
101
|
+
client_side_validation: true,
|
102
|
+
required: false,
|
103
|
+
serialized_name: 'properties.postMigrationName',
|
104
|
+
type: {
|
105
|
+
name: 'String'
|
106
|
+
}
|
107
|
+
},
|
108
|
+
migration_state: {
|
109
|
+
client_side_validation: true,
|
110
|
+
required: false,
|
111
|
+
read_only: true,
|
112
|
+
serialized_name: 'properties.migrationState',
|
113
|
+
type: {
|
114
|
+
name: 'String'
|
115
|
+
}
|
116
|
+
}
|
117
|
+
}
|
118
|
+
}
|
119
|
+
}
|
120
|
+
end
|
121
|
+
end
|
122
|
+
end
|
123
|
+
end
|
@@ -0,0 +1,19 @@
|
|
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::ServiceBus::Mgmt::V2017_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for NameSpaceType
|
10
|
+
#
|
11
|
+
module NameSpaceType
|
12
|
+
Messaging = "Messaging"
|
13
|
+
NotificationHub = "NotificationHub"
|
14
|
+
Mixed = "Mixed"
|
15
|
+
EventHub = "EventHub"
|
16
|
+
Relay = "Relay"
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,15 @@
|
|
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::ServiceBus::Mgmt::V2017_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for NetworkRuleIPAction
|
10
|
+
#
|
11
|
+
module NetworkRuleIPAction
|
12
|
+
Allow = "Allow"
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,114 @@
|
|
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::ServiceBus::Mgmt::V2017_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Description of NetworkRuleSet resource.
|
10
|
+
#
|
11
|
+
class NetworkRuleSet < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [DefaultAction] Default Action for Network Rule Set. Possible
|
16
|
+
# values include: 'Allow', 'Deny'
|
17
|
+
attr_accessor :default_action
|
18
|
+
|
19
|
+
# @return [Array<NWRuleSetVirtualNetworkRules>] List VirtualNetwork Rules
|
20
|
+
attr_accessor :virtual_network_rules
|
21
|
+
|
22
|
+
# @return [Array<NWRuleSetIpRules>] List of IpRules
|
23
|
+
attr_accessor :ip_rules
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for NetworkRuleSet class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
client_side_validation: true,
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'NetworkRuleSet',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'NetworkRuleSet',
|
38
|
+
model_properties: {
|
39
|
+
id: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
read_only: true,
|
43
|
+
serialized_name: 'id',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
name: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
read_only: true,
|
52
|
+
serialized_name: 'name',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
type: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
read_only: true,
|
61
|
+
serialized_name: 'type',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
default_action: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'properties.defaultAction',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
},
|
74
|
+
virtual_network_rules: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'properties.virtualNetworkRules',
|
78
|
+
type: {
|
79
|
+
name: 'Sequence',
|
80
|
+
element: {
|
81
|
+
client_side_validation: true,
|
82
|
+
required: false,
|
83
|
+
serialized_name: 'NWRuleSetVirtualNetworkRulesElementType',
|
84
|
+
type: {
|
85
|
+
name: 'Composite',
|
86
|
+
class_name: 'NWRuleSetVirtualNetworkRules'
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
},
|
91
|
+
ip_rules: {
|
92
|
+
client_side_validation: true,
|
93
|
+
required: false,
|
94
|
+
serialized_name: 'properties.ipRules',
|
95
|
+
type: {
|
96
|
+
name: 'Sequence',
|
97
|
+
element: {
|
98
|
+
client_side_validation: true,
|
99
|
+
required: false,
|
100
|
+
serialized_name: 'NWRuleSetIpRulesElementType',
|
101
|
+
type: {
|
102
|
+
name: 'Composite',
|
103
|
+
class_name: 'NWRuleSetIpRules'
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
}
|
111
|
+
end
|
112
|
+
end
|
113
|
+
end
|
114
|
+
end
|