azure_event_grid 0.15.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/2018-01-01/generated/azure_event_grid.rb +37 -0
- data/lib/2018-01-01/generated/azure_event_grid/event_grid_client.rb +232 -0
- data/lib/2018-01-01/generated/azure_event_grid/models/event_grid_event.rb +124 -0
- data/lib/2018-01-01/generated/azure_event_grid/models/event_hub_capture_file_created_event_data.rb +135 -0
- data/lib/2018-01-01/generated/azure_event_grid/models/resource_delete_cancel_data.rb +158 -0
- data/lib/2018-01-01/generated/azure_event_grid/models/resource_delete_failure_data.rb +158 -0
- data/lib/2018-01-01/generated/azure_event_grid/models/resource_delete_success_data.rb +158 -0
- data/lib/2018-01-01/generated/azure_event_grid/models/resource_write_cancel_data.rb +158 -0
- data/lib/2018-01-01/generated/azure_event_grid/models/resource_write_failure_data.rb +158 -0
- data/lib/2018-01-01/generated/azure_event_grid/models/resource_write_success_data.rb +158 -0
- data/lib/2018-01-01/generated/azure_event_grid/models/storage_blob_created_event_data.rb +157 -0
- data/lib/2018-01-01/generated/azure_event_grid/models/storage_blob_deleted_event_data.rb +133 -0
- data/lib/2018-01-01/generated/azure_event_grid/module_definition.rb +8 -0
- data/lib/azure_event_grid.rb +6 -0
- data/lib/module_definition.rb +6 -0
- data/lib/profiles/latest/eventgrid_latest_profile_client.rb +38 -0
- data/lib/profiles/latest/eventgrid_module_definition.rb +8 -0
- data/lib/profiles/latest/modules/eventgrid_profile_module.rb +89 -0
- data/lib/version.rb +7 -0
- metadata +138 -0
@@ -0,0 +1,158 @@
|
|
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::V2018_01_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Schema of the Data property of an EventGridEvent for an
|
10
|
+
# Microsoft.Resources.ResourceDeleteCancel event. This is raised when a
|
11
|
+
# resource delete operation is canceled.
|
12
|
+
#
|
13
|
+
class ResourceDeleteCancelData
|
14
|
+
|
15
|
+
include MsRestAzure
|
16
|
+
|
17
|
+
# @return [String] The tenant ID of the resource.
|
18
|
+
attr_accessor :tenant_id
|
19
|
+
|
20
|
+
# @return [String] The subscription ID of the resource.
|
21
|
+
attr_accessor :subscription_id
|
22
|
+
|
23
|
+
# @return [String] The resource group of the resource.
|
24
|
+
attr_accessor :resource_group
|
25
|
+
|
26
|
+
# @return [String] The resource provider performing the operation.
|
27
|
+
attr_accessor :resource_provider
|
28
|
+
|
29
|
+
# @return [String] The URI of the resource in the operation.
|
30
|
+
attr_accessor :resource_uri
|
31
|
+
|
32
|
+
# @return [String] The operation that was performed.
|
33
|
+
attr_accessor :operation_name
|
34
|
+
|
35
|
+
# @return [String] The status of the operation.
|
36
|
+
attr_accessor :status
|
37
|
+
|
38
|
+
# @return [String] The requested authorization for the operation.
|
39
|
+
attr_accessor :authorization
|
40
|
+
|
41
|
+
# @return [String] The properties of the claims.
|
42
|
+
attr_accessor :claims
|
43
|
+
|
44
|
+
# @return [String] An operation ID used for troubleshooting.
|
45
|
+
attr_accessor :correlation_id
|
46
|
+
|
47
|
+
# @return [String] The details of the operation.
|
48
|
+
attr_accessor :http_request
|
49
|
+
|
50
|
+
|
51
|
+
#
|
52
|
+
# Mapper for ResourceDeleteCancelData class as Ruby Hash.
|
53
|
+
# This will be used for serialization/deserialization.
|
54
|
+
#
|
55
|
+
def self.mapper()
|
56
|
+
{
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'ResourceDeleteCancelData',
|
60
|
+
type: {
|
61
|
+
name: 'Composite',
|
62
|
+
class_name: 'ResourceDeleteCancelData',
|
63
|
+
model_properties: {
|
64
|
+
tenant_id: {
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'tenantId',
|
68
|
+
type: {
|
69
|
+
name: 'String'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
subscription_id: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'subscriptionId',
|
76
|
+
type: {
|
77
|
+
name: 'String'
|
78
|
+
}
|
79
|
+
},
|
80
|
+
resource_group: {
|
81
|
+
client_side_validation: true,
|
82
|
+
required: false,
|
83
|
+
serialized_name: 'resourceGroup',
|
84
|
+
type: {
|
85
|
+
name: 'String'
|
86
|
+
}
|
87
|
+
},
|
88
|
+
resource_provider: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'resourceProvider',
|
92
|
+
type: {
|
93
|
+
name: 'String'
|
94
|
+
}
|
95
|
+
},
|
96
|
+
resource_uri: {
|
97
|
+
client_side_validation: true,
|
98
|
+
required: false,
|
99
|
+
serialized_name: 'resourceUri',
|
100
|
+
type: {
|
101
|
+
name: 'String'
|
102
|
+
}
|
103
|
+
},
|
104
|
+
operation_name: {
|
105
|
+
client_side_validation: true,
|
106
|
+
required: false,
|
107
|
+
serialized_name: 'operationName',
|
108
|
+
type: {
|
109
|
+
name: 'String'
|
110
|
+
}
|
111
|
+
},
|
112
|
+
status: {
|
113
|
+
client_side_validation: true,
|
114
|
+
required: false,
|
115
|
+
serialized_name: 'status',
|
116
|
+
type: {
|
117
|
+
name: 'String'
|
118
|
+
}
|
119
|
+
},
|
120
|
+
authorization: {
|
121
|
+
client_side_validation: true,
|
122
|
+
required: false,
|
123
|
+
serialized_name: 'authorization',
|
124
|
+
type: {
|
125
|
+
name: 'String'
|
126
|
+
}
|
127
|
+
},
|
128
|
+
claims: {
|
129
|
+
client_side_validation: true,
|
130
|
+
required: false,
|
131
|
+
serialized_name: 'claims',
|
132
|
+
type: {
|
133
|
+
name: 'String'
|
134
|
+
}
|
135
|
+
},
|
136
|
+
correlation_id: {
|
137
|
+
client_side_validation: true,
|
138
|
+
required: false,
|
139
|
+
serialized_name: 'correlationId',
|
140
|
+
type: {
|
141
|
+
name: 'String'
|
142
|
+
}
|
143
|
+
},
|
144
|
+
http_request: {
|
145
|
+
client_side_validation: true,
|
146
|
+
required: false,
|
147
|
+
serialized_name: 'httpRequest',
|
148
|
+
type: {
|
149
|
+
name: 'String'
|
150
|
+
}
|
151
|
+
}
|
152
|
+
}
|
153
|
+
}
|
154
|
+
}
|
155
|
+
end
|
156
|
+
end
|
157
|
+
end
|
158
|
+
end
|
@@ -0,0 +1,158 @@
|
|
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::V2018_01_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Schema of the Data property of an EventGridEvent for a
|
10
|
+
# Microsoft.Resources.ResourceDeleteFailure event. This is raised when a
|
11
|
+
# resource delete operation fails.
|
12
|
+
#
|
13
|
+
class ResourceDeleteFailureData
|
14
|
+
|
15
|
+
include MsRestAzure
|
16
|
+
|
17
|
+
# @return [String] The tenant ID of the resource.
|
18
|
+
attr_accessor :tenant_id
|
19
|
+
|
20
|
+
# @return [String] The subscription ID of the resource.
|
21
|
+
attr_accessor :subscription_id
|
22
|
+
|
23
|
+
# @return [String] The resource group of the resource.
|
24
|
+
attr_accessor :resource_group
|
25
|
+
|
26
|
+
# @return [String] The resource provider performing the operation.
|
27
|
+
attr_accessor :resource_provider
|
28
|
+
|
29
|
+
# @return [String] The URI of the resource in the operation.
|
30
|
+
attr_accessor :resource_uri
|
31
|
+
|
32
|
+
# @return [String] The operation that was performed.
|
33
|
+
attr_accessor :operation_name
|
34
|
+
|
35
|
+
# @return [String] The status of the operation.
|
36
|
+
attr_accessor :status
|
37
|
+
|
38
|
+
# @return [String] The requested authorization for the operation.
|
39
|
+
attr_accessor :authorization
|
40
|
+
|
41
|
+
# @return [String] The properties of the claims.
|
42
|
+
attr_accessor :claims
|
43
|
+
|
44
|
+
# @return [String] An operation ID used for troubleshooting.
|
45
|
+
attr_accessor :correlation_id
|
46
|
+
|
47
|
+
# @return [String] The details of the operation.
|
48
|
+
attr_accessor :http_request
|
49
|
+
|
50
|
+
|
51
|
+
#
|
52
|
+
# Mapper for ResourceDeleteFailureData class as Ruby Hash.
|
53
|
+
# This will be used for serialization/deserialization.
|
54
|
+
#
|
55
|
+
def self.mapper()
|
56
|
+
{
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'ResourceDeleteFailureData',
|
60
|
+
type: {
|
61
|
+
name: 'Composite',
|
62
|
+
class_name: 'ResourceDeleteFailureData',
|
63
|
+
model_properties: {
|
64
|
+
tenant_id: {
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'tenantId',
|
68
|
+
type: {
|
69
|
+
name: 'String'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
subscription_id: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'subscriptionId',
|
76
|
+
type: {
|
77
|
+
name: 'String'
|
78
|
+
}
|
79
|
+
},
|
80
|
+
resource_group: {
|
81
|
+
client_side_validation: true,
|
82
|
+
required: false,
|
83
|
+
serialized_name: 'resourceGroup',
|
84
|
+
type: {
|
85
|
+
name: 'String'
|
86
|
+
}
|
87
|
+
},
|
88
|
+
resource_provider: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'resourceProvider',
|
92
|
+
type: {
|
93
|
+
name: 'String'
|
94
|
+
}
|
95
|
+
},
|
96
|
+
resource_uri: {
|
97
|
+
client_side_validation: true,
|
98
|
+
required: false,
|
99
|
+
serialized_name: 'resourceUri',
|
100
|
+
type: {
|
101
|
+
name: 'String'
|
102
|
+
}
|
103
|
+
},
|
104
|
+
operation_name: {
|
105
|
+
client_side_validation: true,
|
106
|
+
required: false,
|
107
|
+
serialized_name: 'operationName',
|
108
|
+
type: {
|
109
|
+
name: 'String'
|
110
|
+
}
|
111
|
+
},
|
112
|
+
status: {
|
113
|
+
client_side_validation: true,
|
114
|
+
required: false,
|
115
|
+
serialized_name: 'status',
|
116
|
+
type: {
|
117
|
+
name: 'String'
|
118
|
+
}
|
119
|
+
},
|
120
|
+
authorization: {
|
121
|
+
client_side_validation: true,
|
122
|
+
required: false,
|
123
|
+
serialized_name: 'authorization',
|
124
|
+
type: {
|
125
|
+
name: 'String'
|
126
|
+
}
|
127
|
+
},
|
128
|
+
claims: {
|
129
|
+
client_side_validation: true,
|
130
|
+
required: false,
|
131
|
+
serialized_name: 'claims',
|
132
|
+
type: {
|
133
|
+
name: 'String'
|
134
|
+
}
|
135
|
+
},
|
136
|
+
correlation_id: {
|
137
|
+
client_side_validation: true,
|
138
|
+
required: false,
|
139
|
+
serialized_name: 'correlationId',
|
140
|
+
type: {
|
141
|
+
name: 'String'
|
142
|
+
}
|
143
|
+
},
|
144
|
+
http_request: {
|
145
|
+
client_side_validation: true,
|
146
|
+
required: false,
|
147
|
+
serialized_name: 'httpRequest',
|
148
|
+
type: {
|
149
|
+
name: 'String'
|
150
|
+
}
|
151
|
+
}
|
152
|
+
}
|
153
|
+
}
|
154
|
+
}
|
155
|
+
end
|
156
|
+
end
|
157
|
+
end
|
158
|
+
end
|
@@ -0,0 +1,158 @@
|
|
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::V2018_01_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Schema of the Data property of an EventGridEvent for a
|
10
|
+
# Microsoft.Resources.ResourceDeleteSuccess event. This is raised when a
|
11
|
+
# resource delete operation succeeds.
|
12
|
+
#
|
13
|
+
class ResourceDeleteSuccessData
|
14
|
+
|
15
|
+
include MsRestAzure
|
16
|
+
|
17
|
+
# @return [String] The tenant ID of the resource.
|
18
|
+
attr_accessor :tenant_id
|
19
|
+
|
20
|
+
# @return [String] The subscription ID of the resource.
|
21
|
+
attr_accessor :subscription_id
|
22
|
+
|
23
|
+
# @return [String] The resource group of the resource.
|
24
|
+
attr_accessor :resource_group
|
25
|
+
|
26
|
+
# @return [String] The resource provider performing the operation.
|
27
|
+
attr_accessor :resource_provider
|
28
|
+
|
29
|
+
# @return [String] The URI of the resource in the operation.
|
30
|
+
attr_accessor :resource_uri
|
31
|
+
|
32
|
+
# @return [String] The operation that was performed.
|
33
|
+
attr_accessor :operation_name
|
34
|
+
|
35
|
+
# @return [String] The status of the operation.
|
36
|
+
attr_accessor :status
|
37
|
+
|
38
|
+
# @return [String] The requested authorization for the operation.
|
39
|
+
attr_accessor :authorization
|
40
|
+
|
41
|
+
# @return [String] The properties of the claims.
|
42
|
+
attr_accessor :claims
|
43
|
+
|
44
|
+
# @return [String] An operation ID used for troubleshooting.
|
45
|
+
attr_accessor :correlation_id
|
46
|
+
|
47
|
+
# @return [String] The details of the operation.
|
48
|
+
attr_accessor :http_request
|
49
|
+
|
50
|
+
|
51
|
+
#
|
52
|
+
# Mapper for ResourceDeleteSuccessData class as Ruby Hash.
|
53
|
+
# This will be used for serialization/deserialization.
|
54
|
+
#
|
55
|
+
def self.mapper()
|
56
|
+
{
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'ResourceDeleteSuccessData',
|
60
|
+
type: {
|
61
|
+
name: 'Composite',
|
62
|
+
class_name: 'ResourceDeleteSuccessData',
|
63
|
+
model_properties: {
|
64
|
+
tenant_id: {
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'tenantId',
|
68
|
+
type: {
|
69
|
+
name: 'String'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
subscription_id: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'subscriptionId',
|
76
|
+
type: {
|
77
|
+
name: 'String'
|
78
|
+
}
|
79
|
+
},
|
80
|
+
resource_group: {
|
81
|
+
client_side_validation: true,
|
82
|
+
required: false,
|
83
|
+
serialized_name: 'resourceGroup',
|
84
|
+
type: {
|
85
|
+
name: 'String'
|
86
|
+
}
|
87
|
+
},
|
88
|
+
resource_provider: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'resourceProvider',
|
92
|
+
type: {
|
93
|
+
name: 'String'
|
94
|
+
}
|
95
|
+
},
|
96
|
+
resource_uri: {
|
97
|
+
client_side_validation: true,
|
98
|
+
required: false,
|
99
|
+
serialized_name: 'resourceUri',
|
100
|
+
type: {
|
101
|
+
name: 'String'
|
102
|
+
}
|
103
|
+
},
|
104
|
+
operation_name: {
|
105
|
+
client_side_validation: true,
|
106
|
+
required: false,
|
107
|
+
serialized_name: 'operationName',
|
108
|
+
type: {
|
109
|
+
name: 'String'
|
110
|
+
}
|
111
|
+
},
|
112
|
+
status: {
|
113
|
+
client_side_validation: true,
|
114
|
+
required: false,
|
115
|
+
serialized_name: 'status',
|
116
|
+
type: {
|
117
|
+
name: 'String'
|
118
|
+
}
|
119
|
+
},
|
120
|
+
authorization: {
|
121
|
+
client_side_validation: true,
|
122
|
+
required: false,
|
123
|
+
serialized_name: 'authorization',
|
124
|
+
type: {
|
125
|
+
name: 'String'
|
126
|
+
}
|
127
|
+
},
|
128
|
+
claims: {
|
129
|
+
client_side_validation: true,
|
130
|
+
required: false,
|
131
|
+
serialized_name: 'claims',
|
132
|
+
type: {
|
133
|
+
name: 'String'
|
134
|
+
}
|
135
|
+
},
|
136
|
+
correlation_id: {
|
137
|
+
client_side_validation: true,
|
138
|
+
required: false,
|
139
|
+
serialized_name: 'correlationId',
|
140
|
+
type: {
|
141
|
+
name: 'String'
|
142
|
+
}
|
143
|
+
},
|
144
|
+
http_request: {
|
145
|
+
client_side_validation: true,
|
146
|
+
required: false,
|
147
|
+
serialized_name: 'httpRequest',
|
148
|
+
type: {
|
149
|
+
name: 'String'
|
150
|
+
}
|
151
|
+
}
|
152
|
+
}
|
153
|
+
}
|
154
|
+
}
|
155
|
+
end
|
156
|
+
end
|
157
|
+
end
|
158
|
+
end
|