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,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
|
+
# StringIn Advanced Filter.
|
10
|
+
#
|
11
|
+
class StringInAdvancedFilter < AdvancedFilter
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@operatorType = "StringIn"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :operatorType
|
21
|
+
|
22
|
+
# @return [Array<String>] The set of filter values.
|
23
|
+
attr_accessor :values
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for StringInAdvancedFilter 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: 'StringIn',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'StringInAdvancedFilter',
|
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: 'StringElementType',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
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
|
+
# StringNotIn Advanced Filter.
|
10
|
+
#
|
11
|
+
class StringNotInAdvancedFilter < AdvancedFilter
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@operatorType = "StringNotIn"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :operatorType
|
21
|
+
|
22
|
+
# @return [Array<String>] The set of filter values.
|
23
|
+
attr_accessor :values
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for StringNotInAdvancedFilter 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: 'StringNotIn',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'StringNotInAdvancedFilter',
|
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: 'StringElementType',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
@@ -0,0 +1,112 @@
|
|
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
|
+
# EventGrid Topic
|
10
|
+
#
|
11
|
+
class Topic < TrackedResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [TopicProvisioningState] Provisioning state of the topic.
|
16
|
+
# Possible values include: 'Creating', 'Updating', 'Deleting',
|
17
|
+
# 'Succeeded', 'Canceled', 'Failed'
|
18
|
+
attr_accessor :provisioning_state
|
19
|
+
|
20
|
+
# @return [String] Endpoint for the topic.
|
21
|
+
attr_accessor :endpoint
|
22
|
+
|
23
|
+
|
24
|
+
#
|
25
|
+
# Mapper for Topic class as Ruby Hash.
|
26
|
+
# This will be used for serialization/deserialization.
|
27
|
+
#
|
28
|
+
def self.mapper()
|
29
|
+
{
|
30
|
+
client_side_validation: true,
|
31
|
+
required: false,
|
32
|
+
serialized_name: 'Topic',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'Topic',
|
36
|
+
model_properties: {
|
37
|
+
id: {
|
38
|
+
client_side_validation: true,
|
39
|
+
required: false,
|
40
|
+
read_only: true,
|
41
|
+
serialized_name: 'id',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
name: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
read_only: true,
|
50
|
+
serialized_name: 'name',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
type: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
read_only: true,
|
59
|
+
serialized_name: 'type',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
},
|
64
|
+
location: {
|
65
|
+
client_side_validation: true,
|
66
|
+
required: true,
|
67
|
+
serialized_name: 'location',
|
68
|
+
type: {
|
69
|
+
name: 'String'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
tags: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'tags',
|
76
|
+
type: {
|
77
|
+
name: 'Dictionary',
|
78
|
+
value: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: false,
|
81
|
+
serialized_name: 'StringElementType',
|
82
|
+
type: {
|
83
|
+
name: 'String'
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
},
|
88
|
+
provisioning_state: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
read_only: true,
|
92
|
+
serialized_name: 'properties.provisioningState',
|
93
|
+
type: {
|
94
|
+
name: 'String'
|
95
|
+
}
|
96
|
+
},
|
97
|
+
endpoint: {
|
98
|
+
client_side_validation: true,
|
99
|
+
required: false,
|
100
|
+
read_only: true,
|
101
|
+
serialized_name: 'properties.endpoint',
|
102
|
+
type: {
|
103
|
+
name: 'String'
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
end
|
110
|
+
end
|
111
|
+
end
|
112
|
+
end
|
@@ -0,0 +1,20 @@
|
|
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 TopicProvisioningState
|
10
|
+
#
|
11
|
+
module TopicProvisioningState
|
12
|
+
Creating = "Creating"
|
13
|
+
Updating = "Updating"
|
14
|
+
Deleting = "Deleting"
|
15
|
+
Succeeded = "Succeeded"
|
16
|
+
Canceled = "Canceled"
|
17
|
+
Failed = "Failed"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,46 @@
|
|
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
|
+
# Topic regenerate share access key request
|
10
|
+
#
|
11
|
+
class TopicRegenerateKeyRequest
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Key name to regenerate key1 or key2
|
16
|
+
attr_accessor :key_name
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for TopicRegenerateKeyRequest 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: 'TopicRegenerateKeyRequest',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'TopicRegenerateKeyRequest',
|
31
|
+
model_properties: {
|
32
|
+
key_name: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: true,
|
35
|
+
serialized_name: 'keyName',
|
36
|
+
type: {
|
37
|
+
name: 'String'
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,57 @@
|
|
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
|
+
# Shared access keys of the Topic
|
10
|
+
#
|
11
|
+
class TopicSharedAccessKeys
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Shared access key1 for the topic.
|
16
|
+
attr_accessor :key1
|
17
|
+
|
18
|
+
# @return [String] Shared access key2 for the topic.
|
19
|
+
attr_accessor :key2
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for TopicSharedAccessKeys class as Ruby Hash.
|
24
|
+
# This will be used for serialization/deserialization.
|
25
|
+
#
|
26
|
+
def self.mapper()
|
27
|
+
{
|
28
|
+
client_side_validation: true,
|
29
|
+
required: false,
|
30
|
+
serialized_name: 'TopicSharedAccessKeys',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'TopicSharedAccessKeys',
|
34
|
+
model_properties: {
|
35
|
+
key1: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'key1',
|
39
|
+
type: {
|
40
|
+
name: 'String'
|
41
|
+
}
|
42
|
+
},
|
43
|
+
key2: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'key2',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,139 @@
|
|
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
|
+
# Properties of a topic type info.
|
10
|
+
#
|
11
|
+
class TopicTypeInfo < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Namespace of the provider of the topic type.
|
16
|
+
attr_accessor :provider
|
17
|
+
|
18
|
+
# @return [String] Display Name for the topic type.
|
19
|
+
attr_accessor :display_name
|
20
|
+
|
21
|
+
# @return [String] Description of the topic type.
|
22
|
+
attr_accessor :description
|
23
|
+
|
24
|
+
# @return [ResourceRegionType] Region type of the resource. Possible
|
25
|
+
# values include: 'RegionalResource', 'GlobalResource'
|
26
|
+
attr_accessor :resource_region_type
|
27
|
+
|
28
|
+
# @return [TopicTypeProvisioningState] Provisioning state of the topic
|
29
|
+
# type. Possible values include: 'Creating', 'Updating', 'Deleting',
|
30
|
+
# 'Succeeded', 'Canceled', 'Failed'
|
31
|
+
attr_accessor :provisioning_state
|
32
|
+
|
33
|
+
# @return [Array<String>] List of locations supported by this topic type.
|
34
|
+
attr_accessor :supported_locations
|
35
|
+
|
36
|
+
|
37
|
+
#
|
38
|
+
# Mapper for TopicTypeInfo class as Ruby Hash.
|
39
|
+
# This will be used for serialization/deserialization.
|
40
|
+
#
|
41
|
+
def self.mapper()
|
42
|
+
{
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'TopicTypeInfo',
|
46
|
+
type: {
|
47
|
+
name: 'Composite',
|
48
|
+
class_name: 'TopicTypeInfo',
|
49
|
+
model_properties: {
|
50
|
+
id: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
read_only: true,
|
54
|
+
serialized_name: 'id',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
name: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
read_only: true,
|
63
|
+
serialized_name: 'name',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
type: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
read_only: true,
|
72
|
+
serialized_name: 'type',
|
73
|
+
type: {
|
74
|
+
name: 'String'
|
75
|
+
}
|
76
|
+
},
|
77
|
+
provider: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: false,
|
80
|
+
serialized_name: 'properties.provider',
|
81
|
+
type: {
|
82
|
+
name: 'String'
|
83
|
+
}
|
84
|
+
},
|
85
|
+
display_name: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'properties.displayName',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
},
|
93
|
+
description: {
|
94
|
+
client_side_validation: true,
|
95
|
+
required: false,
|
96
|
+
serialized_name: 'properties.description',
|
97
|
+
type: {
|
98
|
+
name: 'String'
|
99
|
+
}
|
100
|
+
},
|
101
|
+
resource_region_type: {
|
102
|
+
client_side_validation: true,
|
103
|
+
required: false,
|
104
|
+
serialized_name: 'properties.resourceRegionType',
|
105
|
+
type: {
|
106
|
+
name: 'String'
|
107
|
+
}
|
108
|
+
},
|
109
|
+
provisioning_state: {
|
110
|
+
client_side_validation: true,
|
111
|
+
required: false,
|
112
|
+
serialized_name: 'properties.provisioningState',
|
113
|
+
type: {
|
114
|
+
name: 'String'
|
115
|
+
}
|
116
|
+
},
|
117
|
+
supported_locations: {
|
118
|
+
client_side_validation: true,
|
119
|
+
required: false,
|
120
|
+
serialized_name: 'properties.supportedLocations',
|
121
|
+
type: {
|
122
|
+
name: 'Sequence',
|
123
|
+
element: {
|
124
|
+
client_side_validation: true,
|
125
|
+
required: false,
|
126
|
+
serialized_name: 'StringElementType',
|
127
|
+
type: {
|
128
|
+
name: 'String'
|
129
|
+
}
|
130
|
+
}
|
131
|
+
}
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
}
|
136
|
+
end
|
137
|
+
end
|
138
|
+
end
|
139
|
+
end
|