azure_mgmt_event_grid 0.17.4 → 0.17.5
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/event_grid_management_client.rb +1 -1
- data/lib/2019-01-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid.rb +93 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/domain_topics.rb +653 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/domains.rb +1236 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +153 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +3318 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb +74 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +69 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +50 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain.rb +142 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +20 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +46 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +57 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb +75 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_topic_provisioning_state.rb +20 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +98 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +54 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb +98 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +17 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +62 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +189 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +50 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +120 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +21 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +137 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +98 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_type.rb +106 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +64 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/input_schema.rb +17 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +49 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/json_field.rb +50 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +67 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +130 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +69 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +69 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +77 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +69 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +69 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +77 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/operation.rb +80 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/resource.rb +80 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +57 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/service_bus_queue_event_subscription_destination.rb +63 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +74 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +75 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +77 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +77 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +77 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +77 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +77 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic.rb +144 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +139 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +54 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +98 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +75 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/module_definition.rb +9 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/operations.rb +116 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/topic_types.rb +299 -0
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/topics.rb +1345 -0
- data/lib/azure_mgmt_event_grid.rb +1 -0
- data/lib/profiles/latest/modules/eventgrid_profile_module.rb +204 -84
- data/lib/version.rb +1 -1
- metadata +70 -1
@@ -0,0 +1,74 @@
|
|
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_02_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# This is the base type that represents an advanced filter. To configure an
|
10
|
+
# advanced filter, do not directly instantiate an object of this class.
|
11
|
+
# Instead, instantiate an object of a derived class such as
|
12
|
+
# BoolEqualsAdvancedFilter, NumberInAdvancedFilter,
|
13
|
+
# StringEqualsAdvancedFilter etc. depending on the type of the key based on
|
14
|
+
# which you want to filter.
|
15
|
+
#
|
16
|
+
class AdvancedFilter
|
17
|
+
|
18
|
+
include MsRestAzure
|
19
|
+
|
20
|
+
@@discriminatorMap = Hash.new
|
21
|
+
@@discriminatorMap["NumberIn"] = "NumberInAdvancedFilter"
|
22
|
+
@@discriminatorMap["NumberNotIn"] = "NumberNotInAdvancedFilter"
|
23
|
+
@@discriminatorMap["NumberLessThan"] = "NumberLessThanAdvancedFilter"
|
24
|
+
@@discriminatorMap["NumberGreaterThan"] = "NumberGreaterThanAdvancedFilter"
|
25
|
+
@@discriminatorMap["NumberLessThanOrEquals"] = "NumberLessThanOrEqualsAdvancedFilter"
|
26
|
+
@@discriminatorMap["NumberGreaterThanOrEquals"] = "NumberGreaterThanOrEqualsAdvancedFilter"
|
27
|
+
@@discriminatorMap["BoolEquals"] = "BoolEqualsAdvancedFilter"
|
28
|
+
@@discriminatorMap["StringIn"] = "StringInAdvancedFilter"
|
29
|
+
@@discriminatorMap["StringNotIn"] = "StringNotInAdvancedFilter"
|
30
|
+
@@discriminatorMap["StringBeginsWith"] = "StringBeginsWithAdvancedFilter"
|
31
|
+
@@discriminatorMap["StringEndsWith"] = "StringEndsWithAdvancedFilter"
|
32
|
+
@@discriminatorMap["StringContains"] = "StringContainsAdvancedFilter"
|
33
|
+
|
34
|
+
def initialize
|
35
|
+
@operatorType = "AdvancedFilter"
|
36
|
+
end
|
37
|
+
|
38
|
+
attr_accessor :operatorType
|
39
|
+
|
40
|
+
# @return [String] The field/property in the event based on which you
|
41
|
+
# want to filter.
|
42
|
+
attr_accessor :key
|
43
|
+
|
44
|
+
|
45
|
+
#
|
46
|
+
# Mapper for AdvancedFilter class as Ruby Hash.
|
47
|
+
# This will be used for serialization/deserialization.
|
48
|
+
#
|
49
|
+
def self.mapper()
|
50
|
+
{
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'AdvancedFilter',
|
54
|
+
type: {
|
55
|
+
name: 'Composite',
|
56
|
+
polymorphic_discriminator: 'operatorType',
|
57
|
+
uber_parent: 'AdvancedFilter',
|
58
|
+
class_name: 'AdvancedFilter',
|
59
|
+
model_properties: {
|
60
|
+
key: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'key',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
data/lib/2019-02-01-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::V2019_02_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# BoolEquals Advanced 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 boolean 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::V2019_02_01_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,142 @@
|
|
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_02_01_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
|
+
# Default value: 'EventGridSchema' .
|
27
|
+
attr_accessor :input_schema
|
28
|
+
|
29
|
+
# @return [InputSchemaMapping] Information about the InputSchemaMapping
|
30
|
+
# which specified the info about mapping event payload.
|
31
|
+
attr_accessor :input_schema_mapping
|
32
|
+
|
33
|
+
|
34
|
+
#
|
35
|
+
# Mapper for Domain 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: 'Domain',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'Domain',
|
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
|
+
location: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: true,
|
77
|
+
serialized_name: 'location',
|
78
|
+
type: {
|
79
|
+
name: 'String'
|
80
|
+
}
|
81
|
+
},
|
82
|
+
tags: {
|
83
|
+
client_side_validation: true,
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'tags',
|
86
|
+
type: {
|
87
|
+
name: 'Dictionary',
|
88
|
+
value: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'StringElementType',
|
92
|
+
type: {
|
93
|
+
name: 'String'
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
},
|
98
|
+
provisioning_state: {
|
99
|
+
client_side_validation: true,
|
100
|
+
required: false,
|
101
|
+
read_only: true,
|
102
|
+
serialized_name: 'properties.provisioningState',
|
103
|
+
type: {
|
104
|
+
name: 'String'
|
105
|
+
}
|
106
|
+
},
|
107
|
+
endpoint: {
|
108
|
+
client_side_validation: true,
|
109
|
+
required: false,
|
110
|
+
read_only: true,
|
111
|
+
serialized_name: 'properties.endpoint',
|
112
|
+
type: {
|
113
|
+
name: 'String'
|
114
|
+
}
|
115
|
+
},
|
116
|
+
input_schema: {
|
117
|
+
client_side_validation: true,
|
118
|
+
required: false,
|
119
|
+
serialized_name: 'properties.inputSchema',
|
120
|
+
default_value: 'EventGridSchema',
|
121
|
+
type: {
|
122
|
+
name: 'String'
|
123
|
+
}
|
124
|
+
},
|
125
|
+
input_schema_mapping: {
|
126
|
+
client_side_validation: true,
|
127
|
+
required: false,
|
128
|
+
serialized_name: 'properties.inputSchemaMapping',
|
129
|
+
type: {
|
130
|
+
name: 'Composite',
|
131
|
+
polymorphic_discriminator: 'inputSchemaMappingType',
|
132
|
+
uber_parent: 'InputSchemaMapping',
|
133
|
+
class_name: 'InputSchemaMapping'
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
}
|
139
|
+
end
|
140
|
+
end
|
141
|
+
end
|
142
|
+
end
|
data/lib/2019-02-01-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::V2019_02_01_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/2019-02-01-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::V2019_02_01_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/2019-02-01-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::V2019_02_01_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
|