Skip to content

Commit 4218b21

Browse files
authored
arm-operationalinsights-release (Azure#14741)
1 parent 368af17 commit 4218b21

File tree

15 files changed

+301
-259
lines changed

15 files changed

+301
-259
lines changed

sdk/operationalinsights/arm-operationalinsights/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@azure/arm-operationalinsights",
33
"author": "Microsoft Corporation",
44
"description": "OperationalInsightsManagementClient Library with typescript type definitions for node.js and browser.",
5-
"version": "6.0.0",
5+
"version": "7.0.0",
66
"dependencies": {
77
"@azure/ms-rest-azure-js": "^2.0.1",
88
"@azure/ms-rest-js": "^2.0.4",

sdk/operationalinsights/arm-operationalinsights/src/models/clustersMappers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ export {
1010
AzureEntityResource,
1111
BaseResource,
1212
Cluster,
13-
ClusterErrorResponse,
1413
ClusterListResult,
1514
ClusterPatch,
1615
ClusterSku,
1716
DataExport,
1817
DataSource,
1918
ErrorAdditionalInfo,
19+
ErrorDetail,
2020
ErrorResponse,
2121
Identity,
2222
KeyVaultProperties,

sdk/operationalinsights/arm-operationalinsights/src/models/dataExportsMappers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ export {
1313
ClusterPatch,
1414
ClusterSku,
1515
DataExport,
16-
DataExportErrorResponse,
1716
DataExportListResult,
1817
DataSource,
1918
ErrorAdditionalInfo,
19+
ErrorDetail,
2020
ErrorResponse,
2121
Identity,
2222
KeyVaultProperties,

sdk/operationalinsights/arm-operationalinsights/src/models/deletedWorkspacesMappers.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@
99
export {
1010
AzureEntityResource,
1111
BaseResource,
12-
CloudError,
1312
Cluster,
1413
ClusterPatch,
1514
ClusterSku,
1615
DataExport,
1716
DataSource,
17+
ErrorAdditionalInfo,
18+
ErrorDetail,
19+
ErrorResponse,
1820
Identity,
1921
KeyVaultProperties,
2022
LinkedService,

sdk/operationalinsights/arm-operationalinsights/src/models/index.ts

Lines changed: 102 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -52,66 +52,6 @@ export interface DataExport extends BaseResource {
5252
lastModifiedDate?: string;
5353
}
5454

55-
/**
56-
* The resource management error additional info.
57-
*/
58-
export interface ErrorAdditionalInfo {
59-
/**
60-
* The additional info type.
61-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
62-
*/
63-
readonly type?: string;
64-
/**
65-
* The additional info.
66-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
67-
*/
68-
readonly info?: any;
69-
}
70-
71-
/**
72-
* Common error response for all Azure Resource Manager APIs to return error details for failed
73-
* operations. (This also follows the OData error response format.)
74-
* @summary Error Response
75-
*/
76-
export interface ErrorResponse {
77-
/**
78-
* The error code.
79-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
80-
*/
81-
readonly code?: string;
82-
/**
83-
* The error message.
84-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
85-
*/
86-
readonly message?: string;
87-
/**
88-
* The error target.
89-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
90-
*/
91-
readonly target?: string;
92-
/**
93-
* The error details.
94-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
95-
*/
96-
readonly details?: ErrorResponse[];
97-
/**
98-
* The error additional info.
99-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
100-
*/
101-
readonly additionalInfo?: ErrorAdditionalInfo[];
102-
}
103-
104-
/**
105-
* Error response indicates that the service is not able to process the incoming request. The
106-
* reason is provided in the error message.
107-
*/
108-
export interface DataExportErrorResponse {
109-
/**
110-
* The details of the error.
111-
*/
112-
error?: ErrorResponse;
113-
}
114-
11555
/**
11656
* Common fields that are returned in the response for all Azure Resource Manager resources
11757
* @summary Resource
@@ -172,6 +112,65 @@ export interface AzureEntityResource extends Resource {
172112
export interface ProxyResource extends Resource {
173113
}
174114

115+
/**
116+
* The resource management error additional info.
117+
*/
118+
export interface ErrorAdditionalInfo {
119+
/**
120+
* The additional info type.
121+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
122+
*/
123+
readonly type?: string;
124+
/**
125+
* The additional info.
126+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
127+
*/
128+
readonly info?: any;
129+
}
130+
131+
/**
132+
* The error detail.
133+
*/
134+
export interface ErrorDetail {
135+
/**
136+
* The error code.
137+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
138+
*/
139+
readonly code?: string;
140+
/**
141+
* The error message.
142+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
143+
*/
144+
readonly message?: string;
145+
/**
146+
* The error target.
147+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
148+
*/
149+
readonly target?: string;
150+
/**
151+
* The error details.
152+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
153+
*/
154+
readonly details?: ErrorDetail[];
155+
/**
156+
* The error additional info.
157+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
158+
*/
159+
readonly additionalInfo?: ErrorAdditionalInfo[];
160+
}
161+
162+
/**
163+
* Common error response for all Azure Resource Manager APIs to return error details for failed
164+
* operations. (This also follows the OData error response format.).
165+
* @summary Error response
166+
*/
167+
export interface ErrorResponse {
168+
/**
169+
* The error object.
170+
*/
171+
error?: ErrorDetail;
172+
}
173+
175174
/**
176175
* Datasources under OMS Workspace.
177176
*/
@@ -451,7 +450,7 @@ export interface UsageMetric {
451450
export interface WorkspaceSku {
452451
/**
453452
* The name of the SKU. Possible values include: 'Free', 'Standard', 'Premium', 'PerNode',
454-
* 'PerGB2018', 'Standalone', 'CapacityReservation'
453+
* 'PerGB2018', 'Standalone', 'CapacityReservation', 'LACluster'
455454
*/
456455
name: WorkspaceSkuNameEnum;
457456
/**
@@ -525,13 +524,24 @@ export interface Workspace extends TrackedResource {
525524
*/
526525
sku?: WorkspaceSku;
527526
/**
528-
* The workspace data retention in days, between 30 and 730.
527+
* The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers
528+
* documentation for details.
529529
*/
530530
retentionInDays?: number;
531531
/**
532532
* The daily volume cap for ingestion.
533533
*/
534534
workspaceCapping?: WorkspaceCapping;
535+
/**
536+
* Workspace creation date.
537+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
538+
*/
539+
readonly createdDate?: string;
540+
/**
541+
* Workspace modification date.
542+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
543+
*/
544+
readonly modifiedDate?: string;
535545
/**
536546
* The network access type for accessing Log Analytics ingestion. Possible values include:
537547
* 'Enabled', 'Disabled'. Default value: 'Enabled'.
@@ -542,11 +552,19 @@ export interface Workspace extends TrackedResource {
542552
* 'Disabled'. Default value: 'Enabled'.
543553
*/
544554
publicNetworkAccessForQuery?: PublicNetworkAccessType;
555+
/**
556+
* Indicates whether customer managed storage is mandatory for query management.
557+
*/
558+
forceCmkForQuery?: boolean;
545559
/**
546560
* List of linked private link scope resources.
547561
* **NOTE: This property will not be serialized. It can only be populated by the server.**
548562
*/
549563
readonly privateLinkScopedResources?: PrivateLinkScopedResource[];
564+
/**
565+
* Workspace features.
566+
*/
567+
features?: { [propertyName: string]: any };
550568
/**
551569
* The ETag of the workspace.
552570
*/
@@ -572,13 +590,24 @@ export interface WorkspacePatch extends AzureEntityResource {
572590
*/
573591
sku?: WorkspaceSku;
574592
/**
575-
* The workspace data retention in days, between 30 and 730.
593+
* The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers
594+
* documentation for details.
576595
*/
577596
retentionInDays?: number;
578597
/**
579598
* The daily volume cap for ingestion.
580599
*/
581600
workspaceCapping?: WorkspaceCapping;
601+
/**
602+
* Workspace creation date.
603+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
604+
*/
605+
readonly createdDate?: string;
606+
/**
607+
* Workspace modification date.
608+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
609+
*/
610+
readonly modifiedDate?: string;
582611
/**
583612
* The network access type for accessing Log Analytics ingestion. Possible values include:
584613
* 'Enabled', 'Disabled'. Default value: 'Enabled'.
@@ -589,11 +618,19 @@ export interface WorkspacePatch extends AzureEntityResource {
589618
* 'Disabled'. Default value: 'Enabled'.
590619
*/
591620
publicNetworkAccessForQuery?: PublicNetworkAccessType;
621+
/**
622+
* Indicates whether customer managed storage is mandatory for query management.
623+
*/
624+
forceCmkForQuery?: boolean;
592625
/**
593626
* List of linked private link scope resources.
594627
* **NOTE: This property will not be serialized. It can only be populated by the server.**
595628
*/
596629
readonly privateLinkScopedResources?: PrivateLinkScopedResource[];
630+
/**
631+
* Workspace features.
632+
*/
633+
features?: { [propertyName: string]: any };
597634
/**
598635
* Resource tags. Optional.
599636
*/
@@ -618,17 +655,6 @@ export interface KeyVaultProperties {
618655
keyVersion?: string;
619656
}
620657

621-
/**
622-
* Error response indicates that the service is not able to process the incoming request. The
623-
* reason is provided in the error message.
624-
*/
625-
export interface ClusterErrorResponse {
626-
/**
627-
* The details of the error.
628-
*/
629-
error?: ErrorResponse;
630-
}
631-
632658
/**
633659
* The cluster sku definition.
634660
*/
@@ -1119,17 +1145,6 @@ export interface Table extends ProxyResource {
11191145
retentionInDays?: number;
11201146
}
11211147

1122-
/**
1123-
* Contains details when the response code indicates an error.
1124-
* @summary Error details.
1125-
*/
1126-
export interface ErrorContract {
1127-
/**
1128-
* The details of the error.
1129-
*/
1130-
error?: ErrorResponse;
1131-
}
1132-
11331148
/**
11341149
* Optional Parameters.
11351150
*/
@@ -1339,11 +1354,11 @@ export type DataSourceType = 'CustomLogs' | 'AzureWatson' | 'Query' | 'Alerts';
13391354
/**
13401355
* Defines values for WorkspaceSkuNameEnum.
13411356
* Possible values include: 'Free', 'Standard', 'Premium', 'PerNode', 'PerGB2018', 'Standalone',
1342-
* 'CapacityReservation'
1357+
* 'CapacityReservation', 'LACluster'
13431358
* @readonly
13441359
* @enum {string}
13451360
*/
1346-
export type WorkspaceSkuNameEnum = 'Free' | 'Standard' | 'Premium' | 'PerNode' | 'PerGB2018' | 'Standalone' | 'CapacityReservation';
1361+
export type WorkspaceSkuNameEnum = 'Free' | 'Standard' | 'Premium' | 'PerNode' | 'PerGB2018' | 'Standalone' | 'CapacityReservation' | 'LACluster';
13471362

13481363
/**
13491364
* Defines values for DataIngestionStatus.

0 commit comments

Comments
 (0)