azure_mgmt_event_grid 0.17.5 → 0.17.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
- data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +28 -0
- data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/operations.rb +2 -0
- data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/topic_types.rb +6 -0
- data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/topics.rb +16 -0
- data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
- data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +28 -0
- data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/operations.rb +2 -0
- data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/topic_types.rb +6 -0
- data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/topics.rb +18 -0
- data/lib/2018-01-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
- data/lib/2018-01-01/generated/azure_mgmt_event_grid/event_subscriptions.rb +28 -0
- data/lib/2018-01-01/generated/azure_mgmt_event_grid/operations.rb +2 -0
- data/lib/2018-01-01/generated/azure_mgmt_event_grid/topic_types.rb +6 -0
- data/lib/2018-01-01/generated/azure_mgmt_event_grid/topics.rb +18 -0
- data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
- data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +28 -0
- data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/operations.rb +2 -0
- data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/topic_types.rb +6 -0
- data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/topics.rb +18 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/domain_topics.rb +4 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/domains.rb +16 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +30 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/operations.rb +2 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/topic_types.rb +6 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/topics.rb +18 -0
- data/lib/2019-01-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
- data/lib/2019-01-01/generated/azure_mgmt_event_grid/event_subscriptions.rb +28 -0
- data/lib/2019-01-01/generated/azure_mgmt_event_grid/operations.rb +2 -0
- data/lib/2019-01-01/generated/azure_mgmt_event_grid/topic_types.rb +6 -0
- data/lib/2019-01-01/generated/azure_mgmt_event_grid/topics.rb +18 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/domain_topics.rb +10 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/domains.rb +20 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +50 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/operations.rb +2 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/topic_types.rb +6 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/topics.rb +22 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid.rb +87 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/domain_topics.rb +699 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/domains.rb +1328 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +153 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/event_subscriptions.rb +3648 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/advanced_filter.rb +74 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +69 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +50 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain.rb +112 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +20 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +46 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +57 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_topic.rb +75 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_topic_provisioning_state.rb +20 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +98 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +54 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/domains_list_result.rb +98 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +62 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription.rb +176 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +50 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +120 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +21 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +124 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +98 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_type.rb +106 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +64 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +69 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +69 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +77 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +69 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +69 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +77 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/operation.rb +80 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/resource.rb +80 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/retry_policy.rb +57 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/service_bus_queue_event_subscription_destination.rb +63 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +74 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +75 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +77 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +77 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +77 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +77 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +77 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic.rb +112 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_type_info.rb +139 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +54 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/topics_list_result.rb +98 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +75 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/module_definition.rb +9 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/operations.rb +118 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/topic_types.rb +305 -0
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/topics.rb +1439 -0
- data/lib/azure_mgmt_event_grid.rb +1 -0
- data/lib/profiles/latest/modules/eventgrid_profile_module.rb +135 -159
- data/lib/version.rb +1 -1
- metadata +68 -5
@@ -0,0 +1,69 @@
|
|
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::EventGrid::Mgmt::V2019_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# NumberLessThanOrEquals Advanced Filter.
|
10
|
+
#
|
11
|
+
class NumberLessThanOrEqualsAdvancedFilter < AdvancedFilter
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@operatorType = "NumberLessThanOrEquals"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :operatorType
|
21
|
+
|
22
|
+
# @return [Float] The filter value.
|
23
|
+
attr_accessor :value
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for NumberLessThanOrEqualsAdvancedFilter 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: 'NumberLessThanOrEquals',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'NumberLessThanOrEqualsAdvancedFilter',
|
38
|
+
model_properties: {
|
39
|
+
key: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'key',
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
operatorType: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: true,
|
50
|
+
serialized_name: 'operatorType',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
value: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'value',
|
59
|
+
type: {
|
60
|
+
name: 'Double'
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,77 @@
|
|
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::EventGrid::Mgmt::V2019_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# NumberNotIn Advanced Filter.
|
10
|
+
#
|
11
|
+
class NumberNotInAdvancedFilter < AdvancedFilter
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@operatorType = "NumberNotIn"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :operatorType
|
21
|
+
|
22
|
+
# @return [Array<Float>] The set of filter values.
|
23
|
+
attr_accessor :values
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for NumberNotInAdvancedFilter 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: 'NumberNotIn',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'NumberNotInAdvancedFilter',
|
38
|
+
model_properties: {
|
39
|
+
key: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'key',
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
operatorType: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: true,
|
50
|
+
serialized_name: 'operatorType',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
values: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'values',
|
59
|
+
type: {
|
60
|
+
name: 'Sequence',
|
61
|
+
element: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'FloatElementType',
|
65
|
+
type: {
|
66
|
+
name: 'Double'
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
@@ -0,0 +1,80 @@
|
|
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::EventGrid::Mgmt::V2019_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Represents an operation returned by the GetOperations request
|
10
|
+
#
|
11
|
+
class Operation
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Name of the operation
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [OperationInfo] Display name of the operation
|
19
|
+
attr_accessor :display
|
20
|
+
|
21
|
+
# @return [String] Origin of the operation
|
22
|
+
attr_accessor :origin
|
23
|
+
|
24
|
+
# @return Properties of the operation
|
25
|
+
attr_accessor :properties
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for Operation class as Ruby Hash.
|
30
|
+
# This will be used for serialization/deserialization.
|
31
|
+
#
|
32
|
+
def self.mapper()
|
33
|
+
{
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'Operation',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'Operation',
|
40
|
+
model_properties: {
|
41
|
+
name: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'name',
|
45
|
+
type: {
|
46
|
+
name: 'String'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
display: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'display',
|
53
|
+
type: {
|
54
|
+
name: 'Composite',
|
55
|
+
class_name: 'OperationInfo'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
origin: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'origin',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
properties: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'properties',
|
70
|
+
type: {
|
71
|
+
name: 'Object'
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
@@ -0,0 +1,79 @@
|
|
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::EventGrid::Mgmt::V2019_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Information about an operation
|
10
|
+
#
|
11
|
+
class OperationInfo
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Name of the provider
|
16
|
+
attr_accessor :provider
|
17
|
+
|
18
|
+
# @return [String] Name of the resource type
|
19
|
+
attr_accessor :resource
|
20
|
+
|
21
|
+
# @return [String] Name of the operation
|
22
|
+
attr_accessor :operation
|
23
|
+
|
24
|
+
# @return [String] Description of the operation
|
25
|
+
attr_accessor :description
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for OperationInfo class as Ruby Hash.
|
30
|
+
# This will be used for serialization/deserialization.
|
31
|
+
#
|
32
|
+
def self.mapper()
|
33
|
+
{
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'OperationInfo',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'OperationInfo',
|
40
|
+
model_properties: {
|
41
|
+
provider: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'provider',
|
45
|
+
type: {
|
46
|
+
name: 'String'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
resource: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'resource',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
operation: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'operation',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
description: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'description',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
@@ -0,0 +1,55 @@
|
|
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::EventGrid::Mgmt::V2019_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Result of the List Operations operation
|
10
|
+
#
|
11
|
+
class OperationsListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<Operation>] A collection of operations
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for OperationsListResult class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'OperationsListResult',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'OperationsListResult',
|
31
|
+
model_properties: {
|
32
|
+
value: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'value',
|
36
|
+
type: {
|
37
|
+
name: 'Sequence',
|
38
|
+
element: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'OperationElementType',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'Operation'
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,80 @@
|
|
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::EventGrid::Mgmt::V2019_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Definition of a Resource.
|
10
|
+
#
|
11
|
+
class Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Fully qualified identifier of the resource.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [String] Name of the resource.
|
19
|
+
attr_accessor :name
|
20
|
+
|
21
|
+
# @return [String] Type of the resource.
|
22
|
+
attr_accessor :type
|
23
|
+
|
24
|
+
|
25
|
+
# @return [String] the name of the resource group of the resource.
|
26
|
+
def resource_group
|
27
|
+
unless self.id.nil?
|
28
|
+
groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
|
29
|
+
groups.captures[0].strip if groups
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
|
34
|
+
#
|
35
|
+
# Mapper for Resource 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: 'Resource',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'Resource',
|
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
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
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::EventGrid::Mgmt::V2019_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ResourceRegionType
|
10
|
+
#
|
11
|
+
module ResourceRegionType
|
12
|
+
RegionalResource = "RegionalResource"
|
13
|
+
GlobalResource = "GlobalResource"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|