azure_mgmt_event_grid 0.17.1 → 0.17.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2017-06-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_grid_management_client.rb +1 -1
- data/lib/2018-01-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
- data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid.rb +91 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/domain_topics.rb +231 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/domains.rb +986 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +153 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +1917 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb +70 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +69 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +50 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain.rb +140 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +20 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +46 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +57 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb +62 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +55 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +54 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb +55 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +17 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +62 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +189 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +49 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +120 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +21 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +137 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +55 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb +95 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +64 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/input_schema.rb +17 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +49 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_field.rb +50 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +65 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +130 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +69 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +69 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +77 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +69 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +69 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +77 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operation.rb +80 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/resource.rb +80 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +57 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +74 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +75 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +77 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +77 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +77 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +77 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +77 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic.rb +144 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +139 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +54 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +55 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +75 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/module_definition.rb +9 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/operations.rb +116 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/topic_types.rb +299 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/topics.rb +1095 -0
- data/lib/azure_mgmt_event_grid.rb +1 -0
- data/lib/profiles/latest/modules/eventgrid_profile_module.rb +187 -99
- data/lib/version.rb +1 -1
- metadata +69 -2
@@ -0,0 +1,70 @@
|
|
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::V2018_09_15_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Represents an advanced filter that can be used to filter events based on
|
10
|
+
# various event envelope/data fields.
|
11
|
+
#
|
12
|
+
class AdvancedFilter
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
@@discriminatorMap = Hash.new
|
17
|
+
@@discriminatorMap["NumberIn"] = "NumberInAdvancedFilter"
|
18
|
+
@@discriminatorMap["NumberNotIn"] = "NumberNotInAdvancedFilter"
|
19
|
+
@@discriminatorMap["NumberLessThan"] = "NumberLessThanAdvancedFilter"
|
20
|
+
@@discriminatorMap["NumberGreaterThan"] = "NumberGreaterThanAdvancedFilter"
|
21
|
+
@@discriminatorMap["NumberLessThanOrEquals"] = "NumberLessThanOrEqualsAdvancedFilter"
|
22
|
+
@@discriminatorMap["NumberGreaterThanOrEquals"] = "NumberGreaterThanOrEqualsAdvancedFilter"
|
23
|
+
@@discriminatorMap["BoolEquals"] = "BoolEqualsAdvancedFilter"
|
24
|
+
@@discriminatorMap["StringIn"] = "StringInAdvancedFilter"
|
25
|
+
@@discriminatorMap["StringNotIn"] = "StringNotInAdvancedFilter"
|
26
|
+
@@discriminatorMap["StringBeginsWith"] = "StringBeginsWithAdvancedFilter"
|
27
|
+
@@discriminatorMap["StringEndsWith"] = "StringEndsWithAdvancedFilter"
|
28
|
+
@@discriminatorMap["StringContains"] = "StringContainsAdvancedFilter"
|
29
|
+
|
30
|
+
def initialize
|
31
|
+
@operatorType = "AdvancedFilter"
|
32
|
+
end
|
33
|
+
|
34
|
+
attr_accessor :operatorType
|
35
|
+
|
36
|
+
# @return [String] The filter key. Represents an event property with upto
|
37
|
+
# two levels of nesting.
|
38
|
+
attr_accessor :key
|
39
|
+
|
40
|
+
|
41
|
+
#
|
42
|
+
# Mapper for AdvancedFilter class as Ruby Hash.
|
43
|
+
# This will be used for serialization/deserialization.
|
44
|
+
#
|
45
|
+
def self.mapper()
|
46
|
+
{
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'AdvancedFilter',
|
50
|
+
type: {
|
51
|
+
name: 'Composite',
|
52
|
+
polymorphic_discriminator: 'operatorType',
|
53
|
+
uber_parent: 'AdvancedFilter',
|
54
|
+
class_name: 'AdvancedFilter',
|
55
|
+
model_properties: {
|
56
|
+
key: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'key',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb
ADDED
@@ -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::V2018_09_15_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# BoolEquals Filter
|
10
|
+
#
|
11
|
+
class BoolEqualsAdvancedFilter < AdvancedFilter
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@operatorType = "BoolEquals"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :operatorType
|
21
|
+
|
22
|
+
# @return [Boolean] The filter value
|
23
|
+
attr_accessor :value
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for BoolEqualsAdvancedFilter 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: 'BoolEquals',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'BoolEqualsAdvancedFilter',
|
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: 'Boolean'
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,50 @@
|
|
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::V2018_09_15_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Information about the dead letter destination for an event subscription.
|
10
|
+
# To configure a deadletter destination, do not directly instantiate an
|
11
|
+
# object of this class. Instead, instantiate an object of a derived class.
|
12
|
+
# Currently, StorageBlobDeadLetterDestination is the only class that
|
13
|
+
# derives from this class.
|
14
|
+
#
|
15
|
+
class DeadLetterDestination
|
16
|
+
|
17
|
+
include MsRestAzure
|
18
|
+
|
19
|
+
@@discriminatorMap = Hash.new
|
20
|
+
@@discriminatorMap["StorageBlob"] = "StorageBlobDeadLetterDestination"
|
21
|
+
|
22
|
+
def initialize
|
23
|
+
@endpointType = "DeadLetterDestination"
|
24
|
+
end
|
25
|
+
|
26
|
+
attr_accessor :endpointType
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for DeadLetterDestination class as Ruby Hash.
|
31
|
+
# This will be used for serialization/deserialization.
|
32
|
+
#
|
33
|
+
def self.mapper()
|
34
|
+
{
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'DeadLetterDestination',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
polymorphic_discriminator: 'endpointType',
|
41
|
+
uber_parent: 'DeadLetterDestination',
|
42
|
+
class_name: 'DeadLetterDestination',
|
43
|
+
model_properties: {
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
@@ -0,0 +1,140 @@
|
|
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::V2018_09_15_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# EventGrid Domain
|
10
|
+
#
|
11
|
+
class Domain < TrackedResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [DomainProvisioningState] Provisioning state of the domain.
|
16
|
+
# Possible values include: 'Creating', 'Updating', 'Deleting',
|
17
|
+
# 'Succeeded', 'Canceled', 'Failed'
|
18
|
+
attr_accessor :provisioning_state
|
19
|
+
|
20
|
+
# @return [String] Endpoint for the domain.
|
21
|
+
attr_accessor :endpoint
|
22
|
+
|
23
|
+
# @return [InputSchema] This determines the format that Event Grid should
|
24
|
+
# expect for incoming events published to the domain. Possible values
|
25
|
+
# include: 'EventGridSchema', 'CustomEventSchema', 'CloudEventV01Schema'
|
26
|
+
attr_accessor :input_schema
|
27
|
+
|
28
|
+
# @return [InputSchemaMapping] Information about the InputSchemaMapping
|
29
|
+
# which specified the info about mapping event payload.
|
30
|
+
attr_accessor :input_schema_mapping
|
31
|
+
|
32
|
+
|
33
|
+
#
|
34
|
+
# Mapper for Domain class as Ruby Hash.
|
35
|
+
# This will be used for serialization/deserialization.
|
36
|
+
#
|
37
|
+
def self.mapper()
|
38
|
+
{
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'Domain',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'Domain',
|
45
|
+
model_properties: {
|
46
|
+
id: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
read_only: true,
|
50
|
+
serialized_name: 'id',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
name: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
read_only: true,
|
59
|
+
serialized_name: 'name',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
},
|
64
|
+
type: {
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
read_only: true,
|
68
|
+
serialized_name: 'type',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
},
|
73
|
+
location: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: true,
|
76
|
+
serialized_name: 'location',
|
77
|
+
type: {
|
78
|
+
name: 'String'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
tags: {
|
82
|
+
client_side_validation: true,
|
83
|
+
required: false,
|
84
|
+
serialized_name: 'tags',
|
85
|
+
type: {
|
86
|
+
name: 'Dictionary',
|
87
|
+
value: {
|
88
|
+
client_side_validation: true,
|
89
|
+
required: false,
|
90
|
+
serialized_name: 'StringElementType',
|
91
|
+
type: {
|
92
|
+
name: 'String'
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
},
|
97
|
+
provisioning_state: {
|
98
|
+
client_side_validation: true,
|
99
|
+
required: false,
|
100
|
+
read_only: true,
|
101
|
+
serialized_name: 'properties.provisioningState',
|
102
|
+
type: {
|
103
|
+
name: 'String'
|
104
|
+
}
|
105
|
+
},
|
106
|
+
endpoint: {
|
107
|
+
client_side_validation: true,
|
108
|
+
required: false,
|
109
|
+
read_only: true,
|
110
|
+
serialized_name: 'properties.endpoint',
|
111
|
+
type: {
|
112
|
+
name: 'String'
|
113
|
+
}
|
114
|
+
},
|
115
|
+
input_schema: {
|
116
|
+
client_side_validation: true,
|
117
|
+
required: false,
|
118
|
+
serialized_name: 'properties.inputSchema',
|
119
|
+
type: {
|
120
|
+
name: 'String'
|
121
|
+
}
|
122
|
+
},
|
123
|
+
input_schema_mapping: {
|
124
|
+
client_side_validation: true,
|
125
|
+
required: false,
|
126
|
+
serialized_name: 'properties.inputSchemaMapping',
|
127
|
+
type: {
|
128
|
+
name: 'Composite',
|
129
|
+
polymorphic_discriminator: 'inputSchemaMappingType',
|
130
|
+
uber_parent: 'InputSchemaMapping',
|
131
|
+
class_name: 'InputSchemaMapping'
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
137
|
+
end
|
138
|
+
end
|
139
|
+
end
|
140
|
+
end
|
data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb
ADDED
@@ -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::V2018_09_15_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for DomainProvisioningState
|
10
|
+
#
|
11
|
+
module DomainProvisioningState
|
12
|
+
Creating = "Creating"
|
13
|
+
Updating = "Updating"
|
14
|
+
Deleting = "Deleting"
|
15
|
+
Succeeded = "Succeeded"
|
16
|
+
Canceled = "Canceled"
|
17
|
+
Failed = "Failed"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb
ADDED
@@ -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::V2018_09_15_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Domain regenerate share access key request
|
10
|
+
#
|
11
|
+
class DomainRegenerateKeyRequest
|
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 DomainRegenerateKeyRequest 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: 'DomainRegenerateKeyRequest',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'DomainRegenerateKeyRequest',
|
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
|
data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb
ADDED
@@ -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::V2018_09_15_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Shared access keys of the Domain
|
10
|
+
#
|
11
|
+
class DomainSharedAccessKeys
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Shared access key1 for the domain.
|
16
|
+
attr_accessor :key1
|
17
|
+
|
18
|
+
# @return [String] Shared access key2 for the domain.
|
19
|
+
attr_accessor :key2
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for DomainSharedAccessKeys 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: 'DomainSharedAccessKeys',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'DomainSharedAccessKeys',
|
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
|