-
Notifications
You must be signed in to change notification settings - Fork 87
/
zz_generated_models.go
577 lines (424 loc) · 19.7 KB
/
zz_generated_models.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
//go:build go1.18
// +build go1.18
// Licensed under the Apache License, Version 2.0 . See LICENSE in the repository root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator. DO NOT EDIT.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
package v20231001preview
import "time"
// DaprPubSubBrokerProperties - Dapr PubSubBroker portable resource properties
type DaprPubSubBrokerProperties struct {
// REQUIRED; Fully qualified resource ID for the environment that the portable resource is linked to
Environment *string
// Fully qualified resource ID for the application that the portable resource is consumed by (if applicable)
Application *string
// The metadata for Dapr resource which must match the values specified in Dapr component spec
Metadata map[string]any
// The recipe used to automatically deploy underlying infrastructure for the resource
Recipe *Recipe
// Specifies how the underlying service/resource is provisioned and managed.
ResourceProvisioning *ResourceProvisioning
// A collection of references to resources associated with the pubSubBroker
Resources []*ResourceReference
// Dapr component type which must matches the format used by Dapr Kubernetes configuration format
Type *string
// Dapr component version
Version *string
// READ-ONLY; The name of the Dapr component object. Use this value in your code when interacting with the Dapr client to
// use the Dapr component.
ComponentName *string
// READ-ONLY; The status of the asynchronous operation.
ProvisioningState *ProvisioningState
// READ-ONLY; Status of a resource.
Status *ResourceStatus
}
// DaprPubSubBrokerResource - Dapr PubSubBroker portable resource
type DaprPubSubBrokerResource struct {
// REQUIRED; The geo-location where the resource lives
Location *string
// REQUIRED; The resource-specific properties for this resource.
Properties *DaprPubSubBrokerProperties
// Resource tags.
Tags map[string]*string
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
SystemData *SystemData
// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Type *string
}
// DaprPubSubBrokerResourceListResult - The response of a DaprPubSubBrokerResource list operation.
type DaprPubSubBrokerResourceListResult struct {
// REQUIRED; The DaprPubSubBrokerResource items on this page
Value []*DaprPubSubBrokerResource
// The link to the next page of items
NextLink *string
}
// DaprPubSubBrokerResourceUpdate - The type used for update operations of the DaprPubSubBrokerResource.
type DaprPubSubBrokerResourceUpdate struct {
// The updatable properties of the DaprPubSubBrokerResource.
Properties *DaprPubSubBrokerResourceUpdateProperties
// Resource tags.
Tags map[string]*string
}
// DaprPubSubBrokerResourceUpdateProperties - The updatable properties of the DaprPubSubBrokerResource.
type DaprPubSubBrokerResourceUpdateProperties struct {
// Fully qualified resource ID for the application that the portable resource is consumed by (if applicable)
Application *string
// Fully qualified resource ID for the environment that the portable resource is linked to
Environment *string
// The metadata for Dapr resource which must match the values specified in Dapr component spec
Metadata map[string]any
// The recipe used to automatically deploy underlying infrastructure for the resource
Recipe *RecipeUpdate
// Specifies how the underlying service/resource is provisioned and managed.
ResourceProvisioning *ResourceProvisioning
// A collection of references to resources associated with the pubSubBroker
Resources []*ResourceReference
// Dapr component type which must matches the format used by Dapr Kubernetes configuration format
Type *string
// Dapr component version
Version *string
}
// DaprSecretStoreProperties - Dapr SecretStore portable resource properties
type DaprSecretStoreProperties struct {
// REQUIRED; Fully qualified resource ID for the environment that the portable resource is linked to
Environment *string
// Fully qualified resource ID for the application that the portable resource is consumed by (if applicable)
Application *string
// The metadata for Dapr resource which must match the values specified in Dapr component spec
Metadata map[string]any
// The recipe used to automatically deploy underlying infrastructure for the resource
Recipe *Recipe
// Specifies how the underlying service/resource is provisioned and managed.
ResourceProvisioning *ResourceProvisioning
// Dapr component type which must matches the format used by Dapr Kubernetes configuration format
Type *string
// Dapr component version
Version *string
// READ-ONLY; The name of the Dapr component object. Use this value in your code when interacting with the Dapr client to
// use the Dapr component.
ComponentName *string
// READ-ONLY; The status of the asynchronous operation.
ProvisioningState *ProvisioningState
// READ-ONLY; Status of a resource.
Status *ResourceStatus
}
// DaprSecretStoreResource - Dapr SecretStore portable resource
type DaprSecretStoreResource struct {
// REQUIRED; The geo-location where the resource lives
Location *string
// REQUIRED; The resource-specific properties for this resource.
Properties *DaprSecretStoreProperties
// Resource tags.
Tags map[string]*string
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
SystemData *SystemData
// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Type *string
}
// DaprSecretStoreResourceListResult - The response of a DaprSecretStoreResource list operation.
type DaprSecretStoreResourceListResult struct {
// REQUIRED; The DaprSecretStoreResource items on this page
Value []*DaprSecretStoreResource
// The link to the next page of items
NextLink *string
}
// DaprSecretStoreResourceUpdate - The type used for update operations of the DaprSecretStoreResource.
type DaprSecretStoreResourceUpdate struct {
// The updatable properties of the DaprSecretStoreResource.
Properties *DaprSecretStoreResourceUpdateProperties
// Resource tags.
Tags map[string]*string
}
// DaprSecretStoreResourceUpdateProperties - The updatable properties of the DaprSecretStoreResource.
type DaprSecretStoreResourceUpdateProperties struct {
// Fully qualified resource ID for the application that the portable resource is consumed by (if applicable)
Application *string
// Fully qualified resource ID for the environment that the portable resource is linked to
Environment *string
// The metadata for Dapr resource which must match the values specified in Dapr component spec
Metadata map[string]any
// The recipe used to automatically deploy underlying infrastructure for the resource
Recipe *RecipeUpdate
// Specifies how the underlying service/resource is provisioned and managed.
ResourceProvisioning *ResourceProvisioning
// Dapr component type which must matches the format used by Dapr Kubernetes configuration format
Type *string
// Dapr component version
Version *string
}
// DaprStateStoreProperties - Dapr StateStore portable resource properties
type DaprStateStoreProperties struct {
// REQUIRED; Fully qualified resource ID for the environment that the portable resource is linked to
Environment *string
// Fully qualified resource ID for the application that the portable resource is consumed by (if applicable)
Application *string
// The metadata for Dapr resource which must match the values specified in Dapr component spec
Metadata map[string]any
// The recipe used to automatically deploy underlying infrastructure for the resource
Recipe *Recipe
// Specifies how the underlying service/resource is provisioned and managed.
ResourceProvisioning *ResourceProvisioning
// A collection of references to resources associated with the state store
Resources []*ResourceReference
// Dapr component type which must matches the format used by Dapr Kubernetes configuration format
Type *string
// Dapr component version
Version *string
// READ-ONLY; The name of the Dapr component object. Use this value in your code when interacting with the Dapr client to
// use the Dapr component.
ComponentName *string
// READ-ONLY; The status of the asynchronous operation.
ProvisioningState *ProvisioningState
// READ-ONLY; Status of a resource.
Status *ResourceStatus
}
// DaprStateStoreResource - Dapr StateStore portable resource
type DaprStateStoreResource struct {
// REQUIRED; The geo-location where the resource lives
Location *string
// REQUIRED; The resource-specific properties for this resource.
Properties *DaprStateStoreProperties
// Resource tags.
Tags map[string]*string
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
SystemData *SystemData
// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Type *string
}
// DaprStateStoreResourceListResult - The response of a DaprStateStoreResource list operation.
type DaprStateStoreResourceListResult struct {
// REQUIRED; The DaprStateStoreResource items on this page
Value []*DaprStateStoreResource
// The link to the next page of items
NextLink *string
}
// DaprStateStoreResourceUpdate - The type used for update operations of the DaprStateStoreResource.
type DaprStateStoreResourceUpdate struct {
// The updatable properties of the DaprStateStoreResource.
Properties *DaprStateStoreResourceUpdateProperties
// Resource tags.
Tags map[string]*string
}
// DaprStateStoreResourceUpdateProperties - The updatable properties of the DaprStateStoreResource.
type DaprStateStoreResourceUpdateProperties struct {
// Fully qualified resource ID for the application that the portable resource is consumed by (if applicable)
Application *string
// Fully qualified resource ID for the environment that the portable resource is linked to
Environment *string
// The metadata for Dapr resource which must match the values specified in Dapr component spec
Metadata map[string]any
// The recipe used to automatically deploy underlying infrastructure for the resource
Recipe *RecipeUpdate
// Specifies how the underlying service/resource is provisioned and managed.
ResourceProvisioning *ResourceProvisioning
// A collection of references to resources associated with the state store
Resources []*ResourceReference
// Dapr component type which must matches the format used by Dapr Kubernetes configuration format
Type *string
// Dapr component version
Version *string
}
// EnvironmentCompute - Represents backing compute resource
type EnvironmentCompute struct {
// REQUIRED; Discriminator property for EnvironmentCompute.
Kind *string
// Configuration for supported external identity providers
Identity *IdentitySettings
// The resource id of the compute resource for application environment.
ResourceID *string
}
// GetEnvironmentCompute implements the EnvironmentComputeClassification interface for type EnvironmentCompute.
func (e *EnvironmentCompute) GetEnvironmentCompute() *EnvironmentCompute { return e }
// ErrorAdditionalInfo - The resource management error additional info.
type ErrorAdditionalInfo struct {
// READ-ONLY; The additional info.
Info map[string]any
// READ-ONLY; The additional info type.
Type *string
}
// ErrorDetail - The error detail.
type ErrorDetail struct {
// READ-ONLY; The error additional info.
AdditionalInfo []*ErrorAdditionalInfo
// READ-ONLY; The error code.
Code *string
// READ-ONLY; The error details.
Details []*ErrorDetail
// READ-ONLY; The error message.
Message *string
// READ-ONLY; The error target.
Target *string
}
// ErrorResponse - Common error response for all Azure Resource Manager APIs to return error details for failed operations.
// (This also follows the OData error response format.).
type ErrorResponse struct {
// The error object.
Error *ErrorDetail
}
// IdentitySettings is the external identity setting.
type IdentitySettings struct {
// REQUIRED; kind of identity setting
Kind *IdentitySettingKind
// The URI for your compute platform's OIDC issuer
OidcIssuer *string
// The resource ID of the provisioned identity
Resource *string
}
// KubernetesCompute - The Kubernetes compute configuration
type KubernetesCompute struct {
// REQUIRED; Discriminator property for EnvironmentCompute.
Kind *string
// REQUIRED; The namespace to use for the environment.
Namespace *string
// Configuration for supported external identity providers
Identity *IdentitySettings
// The resource id of the compute resource for application environment.
ResourceID *string
}
// GetEnvironmentCompute implements the EnvironmentComputeClassification interface for type KubernetesCompute.
func (k *KubernetesCompute) GetEnvironmentCompute() *EnvironmentCompute {
return &EnvironmentCompute{
Identity: k.Identity,
Kind: k.Kind,
ResourceID: k.ResourceID,
}
}
// Operation - Details of a REST API operation, returned from the Resource Provider Operations API
type Operation struct {
// Localized display information for this particular operation.
Display *OperationDisplay
// READ-ONLY; Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
ActionType *ActionType
// READ-ONLY; Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane
// operations.
IsDataAction *bool
// READ-ONLY; The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write",
// "Microsoft.Compute/virtualMachines/capture/action"
Name *string
// READ-ONLY; The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default
// value is "user,system"
Origin *Origin
}
// OperationDisplay - Localized display information for this particular operation.
type OperationDisplay struct {
// READ-ONLY; The short, localized friendly description of the operation; suitable for tool tips and detailed views.
Description *string
// READ-ONLY; The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual
// Machine", "Restart Virtual Machine".
Operation *string
// READ-ONLY; The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft
// Compute".
Provider *string
// READ-ONLY; The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job
// Schedule Collections".
Resource *string
}
// OperationListResult - A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to
// get the next set of results.
type OperationListResult struct {
// READ-ONLY; URL to get the next set of operation list results (if there are any).
NextLink *string
// READ-ONLY; List of operations supported by the resource provider
Value []*Operation
}
// OutputResource - Properties of an output resource.
type OutputResource struct {
// The UCP resource ID of the underlying resource.
ID *string
// The logical identifier scoped to the owning Radius resource. This is only needed or used when a resource has a dependency
// relationship. LocalIDs do not have any particular format or meaning beyond
// being compared to determine dependency relationships.
LocalID *string
// Determines whether Radius manages the lifecycle of the underlying resource.
RadiusManaged *bool
}
// Recipe - The recipe used to automatically deploy underlying infrastructure for a portable resource
type Recipe struct {
// REQUIRED; The name of the recipe within the environment to use
Name *string
// Key/value parameters to pass into the recipe at deployment
Parameters map[string]any
}
// RecipeStatus - Recipe status at deployment time for a resource.
type RecipeStatus struct {
// REQUIRED; TemplateKind is the kind of the recipe template used by the portable resource upon deployment.
TemplateKind *string
// REQUIRED; TemplatePath is the path of the recipe consumed by the portable resource upon deployment.
TemplatePath *string
// TemplateVersion is the version number of the template.
TemplateVersion *string
}
// RecipeUpdate - The recipe used to automatically deploy underlying infrastructure for a portable resource
type RecipeUpdate struct {
// The name of the recipe within the environment to use
Name *string
// Key/value parameters to pass into the recipe at deployment
Parameters map[string]any
}
// Resource - Common fields that are returned in the response for all Azure Resource Manager resources
type Resource struct {
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
SystemData *SystemData
// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Type *string
}
// ResourceReference - Describes a reference to an existing resource
type ResourceReference struct {
// REQUIRED; Resource id of an existing resource
ID *string
}
// ResourceStatus - Status of a resource.
type ResourceStatus struct {
// The compute resource associated with the resource.
Compute EnvironmentComputeClassification
// Properties of an output resource
OutputResources []*OutputResource
// READ-ONLY; The recipe data at the time of deployment
Recipe *RecipeStatus
}
// SystemData - Metadata pertaining to creation and last modification of the resource.
type SystemData struct {
// The timestamp of resource creation (UTC).
CreatedAt *time.Time
// The identity that created the resource.
CreatedBy *string
// The type of identity that created the resource.
CreatedByType *CreatedByType
// The timestamp of resource last modification (UTC)
LastModifiedAt *time.Time
// The identity that last modified the resource.
LastModifiedBy *string
// The type of identity that last modified the resource.
LastModifiedByType *CreatedByType
}
// TrackedResource - The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags'
// and a 'location'
type TrackedResource struct {
// REQUIRED; The geo-location where the resource lives
Location *string
// Resource tags.
Tags map[string]*string
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
SystemData *SystemData
// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Type *string
}