Skip to content

Commit

Permalink
arm-operationalinsights-release (Azure#14741)
Browse files Browse the repository at this point in the history
  • Loading branch information
colawwj authored May 8, 2021
1 parent 368af17 commit 4218b21
Show file tree
Hide file tree
Showing 15 changed files with 301 additions and 259 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@azure/arm-operationalinsights",
"author": "Microsoft Corporation",
"description": "OperationalInsightsManagementClient Library with typescript type definitions for node.js and browser.",
"version": "6.0.0",
"version": "7.0.0",
"dependencies": {
"@azure/ms-rest-azure-js": "^2.0.1",
"@azure/ms-rest-js": "^2.0.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ export {
AzureEntityResource,
BaseResource,
Cluster,
ClusterErrorResponse,
ClusterListResult,
ClusterPatch,
ClusterSku,
DataExport,
DataSource,
ErrorAdditionalInfo,
ErrorDetail,
ErrorResponse,
Identity,
KeyVaultProperties,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ export {
ClusterPatch,
ClusterSku,
DataExport,
DataExportErrorResponse,
DataExportListResult,
DataSource,
ErrorAdditionalInfo,
ErrorDetail,
ErrorResponse,
Identity,
KeyVaultProperties,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@
export {
AzureEntityResource,
BaseResource,
CloudError,
Cluster,
ClusterPatch,
ClusterSku,
DataExport,
DataSource,
ErrorAdditionalInfo,
ErrorDetail,
ErrorResponse,
Identity,
KeyVaultProperties,
LinkedService,
Expand Down
189 changes: 102 additions & 87 deletions sdk/operationalinsights/arm-operationalinsights/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,66 +52,6 @@ export interface DataExport extends BaseResource {
lastModifiedDate?: string;
}

/**
* The resource management error additional info.
*/
export interface ErrorAdditionalInfo {
/**
* The additional info type.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly type?: string;
/**
* The additional info.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly info?: any;
}

/**
* Common error response for all Azure Resource Manager APIs to return error details for failed
* operations. (This also follows the OData error response format.)
* @summary Error Response
*/
export interface ErrorResponse {
/**
* The error code.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly code?: string;
/**
* The error message.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly message?: string;
/**
* The error target.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly target?: string;
/**
* The error details.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly details?: ErrorResponse[];
/**
* The error additional info.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly additionalInfo?: ErrorAdditionalInfo[];
}

/**
* Error response indicates that the service is not able to process the incoming request. The
* reason is provided in the error message.
*/
export interface DataExportErrorResponse {
/**
* The details of the error.
*/
error?: ErrorResponse;
}

/**
* Common fields that are returned in the response for all Azure Resource Manager resources
* @summary Resource
Expand Down Expand Up @@ -172,6 +112,65 @@ export interface AzureEntityResource extends Resource {
export interface ProxyResource extends Resource {
}

/**
* The resource management error additional info.
*/
export interface ErrorAdditionalInfo {
/**
* The additional info type.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly type?: string;
/**
* The additional info.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly info?: any;
}

/**
* The error detail.
*/
export interface ErrorDetail {
/**
* The error code.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly code?: string;
/**
* The error message.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly message?: string;
/**
* The error target.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly target?: string;
/**
* The error details.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly details?: ErrorDetail[];
/**
* The error additional info.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly additionalInfo?: ErrorAdditionalInfo[];
}

/**
* Common error response for all Azure Resource Manager APIs to return error details for failed
* operations. (This also follows the OData error response format.).
* @summary Error response
*/
export interface ErrorResponse {
/**
* The error object.
*/
error?: ErrorDetail;
}

/**
* Datasources under OMS Workspace.
*/
Expand Down Expand Up @@ -451,7 +450,7 @@ export interface UsageMetric {
export interface WorkspaceSku {
/**
* The name of the SKU. Possible values include: 'Free', 'Standard', 'Premium', 'PerNode',
* 'PerGB2018', 'Standalone', 'CapacityReservation'
* 'PerGB2018', 'Standalone', 'CapacityReservation', 'LACluster'
*/
name: WorkspaceSkuNameEnum;
/**
Expand Down Expand Up @@ -525,13 +524,24 @@ export interface Workspace extends TrackedResource {
*/
sku?: WorkspaceSku;
/**
* The workspace data retention in days, between 30 and 730.
* The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers
* documentation for details.
*/
retentionInDays?: number;
/**
* The daily volume cap for ingestion.
*/
workspaceCapping?: WorkspaceCapping;
/**
* Workspace creation date.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly createdDate?: string;
/**
* Workspace modification date.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly modifiedDate?: string;
/**
* The network access type for accessing Log Analytics ingestion. Possible values include:
* 'Enabled', 'Disabled'. Default value: 'Enabled'.
Expand All @@ -542,11 +552,19 @@ export interface Workspace extends TrackedResource {
* 'Disabled'. Default value: 'Enabled'.
*/
publicNetworkAccessForQuery?: PublicNetworkAccessType;
/**
* Indicates whether customer managed storage is mandatory for query management.
*/
forceCmkForQuery?: boolean;
/**
* List of linked private link scope resources.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly privateLinkScopedResources?: PrivateLinkScopedResource[];
/**
* Workspace features.
*/
features?: { [propertyName: string]: any };
/**
* The ETag of the workspace.
*/
Expand All @@ -572,13 +590,24 @@ export interface WorkspacePatch extends AzureEntityResource {
*/
sku?: WorkspaceSku;
/**
* The workspace data retention in days, between 30 and 730.
* The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers
* documentation for details.
*/
retentionInDays?: number;
/**
* The daily volume cap for ingestion.
*/
workspaceCapping?: WorkspaceCapping;
/**
* Workspace creation date.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly createdDate?: string;
/**
* Workspace modification date.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly modifiedDate?: string;
/**
* The network access type for accessing Log Analytics ingestion. Possible values include:
* 'Enabled', 'Disabled'. Default value: 'Enabled'.
Expand All @@ -589,11 +618,19 @@ export interface WorkspacePatch extends AzureEntityResource {
* 'Disabled'. Default value: 'Enabled'.
*/
publicNetworkAccessForQuery?: PublicNetworkAccessType;
/**
* Indicates whether customer managed storage is mandatory for query management.
*/
forceCmkForQuery?: boolean;
/**
* List of linked private link scope resources.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly privateLinkScopedResources?: PrivateLinkScopedResource[];
/**
* Workspace features.
*/
features?: { [propertyName: string]: any };
/**
* Resource tags. Optional.
*/
Expand All @@ -618,17 +655,6 @@ export interface KeyVaultProperties {
keyVersion?: string;
}

/**
* Error response indicates that the service is not able to process the incoming request. The
* reason is provided in the error message.
*/
export interface ClusterErrorResponse {
/**
* The details of the error.
*/
error?: ErrorResponse;
}

/**
* The cluster sku definition.
*/
Expand Down Expand Up @@ -1119,17 +1145,6 @@ export interface Table extends ProxyResource {
retentionInDays?: number;
}

/**
* Contains details when the response code indicates an error.
* @summary Error details.
*/
export interface ErrorContract {
/**
* The details of the error.
*/
error?: ErrorResponse;
}

/**
* Optional Parameters.
*/
Expand Down Expand Up @@ -1339,11 +1354,11 @@ export type DataSourceType = 'CustomLogs' | 'AzureWatson' | 'Query' | 'Alerts';
/**
* Defines values for WorkspaceSkuNameEnum.
* Possible values include: 'Free', 'Standard', 'Premium', 'PerNode', 'PerGB2018', 'Standalone',
* 'CapacityReservation'
* 'CapacityReservation', 'LACluster'
* @readonly
* @enum {string}
*/
export type WorkspaceSkuNameEnum = 'Free' | 'Standard' | 'Premium' | 'PerNode' | 'PerGB2018' | 'Standalone' | 'CapacityReservation';
export type WorkspaceSkuNameEnum = 'Free' | 'Standard' | 'Premium' | 'PerNode' | 'PerGB2018' | 'Standalone' | 'CapacityReservation' | 'LACluster';

/**
* Defines values for DataIngestionStatus.
Expand Down
Loading

0 comments on commit 4218b21

Please sign in to comment.