Skip to content

Commit

Permalink
use binder to resolve dependencies and reserve work
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaozha committed Sep 5, 2024
1 parent c61258e commit 92c5a25
Show file tree
Hide file tree
Showing 271 changed files with 2,405 additions and 26,504 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@

import { NetworkAnalyticsContext as Client } from "../index.js";
import {
PathUncheckedResponse,
StreamableMethod,
createRestError,
operationOptionsToRequestParameters,
} from "@azure-rest/core-client";
import { serializeRecord } from "../../helpers/serializerHelpers.js";
Expand All @@ -31,6 +29,10 @@ import {
buildPagedAsyncIterator,
} from "../../static-helpers/pagingHelpers.js";
import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
import {
PathUncheckedResponse,
createRestError,
} from "@azure-rest/core-client";
import { PollerLike, OperationState } from "@azure/core-lro";
import {
DataProductsCreateOptionalParams,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@

import { NetworkAnalyticsContext as Client } from "../index.js";
import {
PathUncheckedResponse,
StreamableMethod,
createRestError,
operationOptionsToRequestParameters,
} from "@azure-rest/core-client";
import {
Expand All @@ -19,6 +17,10 @@ import {
PagedAsyncIterableIterator,
buildPagedAsyncIterator,
} from "../../static-helpers/pagingHelpers.js";
import {
PathUncheckedResponse,
createRestError,
} from "@azure-rest/core-client";
import {
DataProductsCatalogsGetOptionalParams,
DataProductsCatalogsListByResourceGroupOptionalParams,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@

import { NetworkAnalyticsContext as Client } from "../index.js";
import {
PathUncheckedResponse,
StreamableMethod,
createRestError,
operationOptionsToRequestParameters,
} from "@azure-rest/core-client";
import {
Expand All @@ -25,6 +23,10 @@ import {
buildPagedAsyncIterator,
} from "../../static-helpers/pagingHelpers.js";
import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
import {
PathUncheckedResponse,
createRestError,
} from "@azure-rest/core-client";
import { PollerLike, OperationState } from "@azure/core-lro";
import {
DataTypesCreateOptionalParams,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { TokenCredential } from "@azure/core-auth";
import { ClientOptions, Client, getClient } from "@azure-rest/core-client";
import { logger } from "../logger.js";
import {
_DataProductListResult,
_DataTypeListResult,
_DataProductsCatalogListResult,
_OperationListResult,
} from "../models/models.js";
import { Client, ClientOptions, getClient } from "@azure-rest/core-client";
import { TokenCredential } from "@azure/core-auth";

export interface NetworkAnalyticsContext extends Client {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@

import { NetworkAnalyticsContext as Client } from "../index.js";
import {
PathUncheckedResponse,
StreamableMethod,
createRestError,
operationOptionsToRequestParameters,
} from "@azure-rest/core-client";
import {
Expand All @@ -19,6 +17,10 @@ import {
PagedAsyncIterableIterator,
buildPagedAsyncIterator,
} from "../../static-helpers/pagingHelpers.js";
import {
PathUncheckedResponse,
createRestError,
} from "@azure-rest/core-client";
import { OperationsListOptionalParams } from "../../models/options.js";

export function _listSend(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { TokenCredential } from "@azure/core-auth";
import { Pipeline } from "@azure/core-rest-pipeline";
import {
getOperationsOperations,
OperationsOperations,
Expand All @@ -24,6 +22,14 @@ import {
NetworkAnalyticsContext,
NetworkAnalyticsClientOptionalParams,
} from "./api/index.js";
import {
_DataProductListResult,
_DataTypeListResult,
_DataProductsCatalogListResult,
_OperationListResult,
} from "./models/models.js";
import { Pipeline } from "@azure/core-rest-pipeline";
import { TokenCredential } from "@azure/core-auth";

export { NetworkAnalyticsClientOptionalParams } from "./api/networkAnalyticsContext.js";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,6 @@ import { Pipeline } from '@azure/core-rest-pipeline';
// @public (undocumented)
export type AlignMode = "Inner" | "Outer";

// @public (undocumented)
export enum AlignModeKnownValues {
// (undocumented)
Inner = "\"Inner\"",
// (undocumented)
Outer = "\"Outer\""
}

// @public (undocumented)
export class AnomalyDetectorClient {
constructor(endpointParam: string, credential: KeyCredential, options?: AnomalyDetectorClientOptionalParams);
Expand All @@ -36,41 +28,9 @@ export interface AnomalyDetectorClientOptionalParams extends ClientOptions {
// @public (undocumented)
export type AnomalyDetectorErrorCodes = "InvalidCustomInterval" | "BadArgument" | "InvalidGranularity" | "InvalidPeriod" | "InvalidModelArgument" | "InvalidSeries" | "InvalidJsonFormat" | "RequiredGranularity" | "RequiredSeries" | "InvalidImputeMode" | "InvalidImputeFixedValue";

// @public (undocumented)
export enum AnomalyDetectorErrorCodesKnownValues {
// (undocumented)
BadArgument = "\"BadArgument\"",
// (undocumented)
InvalidCustomInterval = "\"InvalidCustomInterval\"",
// (undocumented)
InvalidGranularity = "\"InvalidGranularity\"",
// (undocumented)
InvalidImputeFixedValue = "\"InvalidImputeFixedValue\"",
// (undocumented)
InvalidImputeMode = "\"InvalidImputeMode\"",
// (undocumented)
InvalidJsonFormat = "\"InvalidJsonFormat\"",
// (undocumented)
InvalidModelArgument = "\"InvalidModelArgument\"",
// (undocumented)
InvalidPeriod = "\"InvalidPeriod\"",
// (undocumented)
InvalidSeries = "\"InvalidSeries\"",
// (undocumented)
RequiredGranularity = "\"RequiredGranularity\"",
// (undocumented)
RequiredSeries = "\"RequiredSeries\""
}

// @public (undocumented)
export type APIVersion = "v1.1";

// @public (undocumented)
export enum APIVersionKnownValues {
// (undocumented)
v1_1 = "\"v1.1\""
}

// @public
export type ContinuablePage<TElement, TPage = TElement[]> = TPage & {
continuationToken?: string;
Expand All @@ -79,63 +39,15 @@ export type ContinuablePage<TElement, TPage = TElement[]> = TPage & {
// @public
export type DataSchema = "OneTable" | "MultiTable";

// @public
export enum DataSchemaKnownValues {
MultiTable = "\"MultiTable\"",
OneTable = "\"OneTable\""
}

// @public
export type FillNAMethod = "Previous" | "Subsequent" | "Linear" | "Zero" | "Fixed";

// @public
export enum FillNAMethodKnownValues {
// (undocumented)
Fixed = "\"Fixed\"",
// (undocumented)
Linear = "\"Linear\"",
// (undocumented)
Previous = "\"Previous\"",
// (undocumented)
Subsequent = "\"Subsequent\"",
// (undocumented)
Zero = "\"Zero\""
}

// @public (undocumented)
export type ImputeMode = "auto" | "previous" | "linear" | "fixed" | "zero" | "notFill";

// @public (undocumented)
export enum ImputeModeKnownValues {
// (undocumented)
Auto = "\"auto\"",
// (undocumented)
Fixed = "\"fixed\"",
// (undocumented)
Linear = "\"linear\"",
// (undocumented)
NotFill = "\"notFill\"",
// (undocumented)
Previous = "\"previous\"",
// (undocumented)
Zero = "\"zero\""
}

// @public (undocumented)
export type ModelStatus = "CREATED" | "RUNNING" | "READY" | "FAILED";

// @public (undocumented)
export enum ModelStatusKnownValues {
// (undocumented)
Created = "\"CREATED\"",
// (undocumented)
Failed = "\"FAILED\"",
// (undocumented)
Ready = "\"READY\"",
// (undocumented)
Running = "\"RUNNING\""
}

// @public
export interface MultivariateAlignPolicy {
alignMode?: AlignMode;
Expand Down Expand Up @@ -176,18 +88,6 @@ export interface MultivariateAnomalyValue {
// @public (undocumented)
export type MultivariateBatchDetectionStatus = "CREATED" | "RUNNING" | "READY" | "FAILED";

// @public (undocumented)
export enum MultivariateBatchDetectionStatusKnownValues {
// (undocumented)
Created = "\"CREATED\"",
// (undocumented)
Failed = "\"FAILED\"",
// (undocumented)
Ready = "\"READY\"",
// (undocumented)
Running = "\"RUNNING\""
}

// @public
export interface MultivariateCorrelationChanges {
changedVariables?: string[];
Expand Down Expand Up @@ -334,33 +234,11 @@ export interface PageSettings {
// @public (undocumented)
export type TimeGranularity = "yearly" | "monthly" | "weekly" | "daily" | "hourly" | "minutely" | "secondly" | "microsecond" | "none";

// @public (undocumented)
export enum TimeGranularityKnownValues {
// (undocumented)
Daily = "\"daily\"",
// (undocumented)
Hourly = "\"hourly\"",
// (undocumented)
Microsecond = "\"microsecond\"",
// (undocumented)
Monthly = "\"monthly\"",
// (undocumented)
None = "\"none\"",
// (undocumented)
PerMinute = "\"minutely\"",
// (undocumented)
PerSecond = "\"secondly\"",
// (undocumented)
Weekly = "\"weekly\"",
// (undocumented)
Yearly = "\"yearly\""
}

// @public
export interface UnivariateAnomalyDetectorError {
"x-ms-error-code"?: string;
code?: AnomalyDetectorErrorCodes;
message?: string;
xMsErrorCode?: string;
}

// @public
Expand Down Expand Up @@ -445,12 +323,6 @@ export interface UnivariateUnivariateLastDetectionResult {
// @public (undocumented)
export type Versions = "v1.1";

// @public (undocumented)
export enum VersionsKnownValues {
// (undocumented)
v1_1 = "\"v1.1\""
}

// (No @packageDocumentation comment for this package)

```
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { KeyCredential } from "@azure/core-auth";
import { Pipeline } from "@azure/core-rest-pipeline";
import {
getUnivariateOperations,
UnivariateOperations,
Expand All @@ -16,6 +14,9 @@ import {
AnomalyDetectorContext,
AnomalyDetectorClientOptionalParams,
} from "./api/index.js";
import { _MultivariateModelList } from "./models/models.js";
import { Pipeline } from "@azure/core-rest-pipeline";
import { KeyCredential } from "@azure/core-auth";

export { AnomalyDetectorClientOptionalParams } from "./api/anomalyDetectorContext.js";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { KeyCredential } from "@azure/core-auth";
import { ClientOptions, Client, getClient } from "@azure-rest/core-client";
import { logger } from "../logger.js";
import { _MultivariateModelList } from "../models/models.js";
import { Client, ClientOptions, getClient } from "@azure-rest/core-client";
import { KeyCredential } from "@azure/core-auth";

export interface AnomalyDetectorContext extends Client {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@

import { AnomalyDetectorContext as Client } from "../index.js";
import {
PathUncheckedResponse,
StreamableMethod,
createRestError,
operationOptionsToRequestParameters,
} from "@azure-rest/core-client";
import {
Expand All @@ -24,6 +22,10 @@ import {
PagedAsyncIterableIterator,
buildPagedAsyncIterator,
} from "../../static-helpers/pagingHelpers.js";
import {
PathUncheckedResponse,
createRestError,
} from "@azure-rest/core-client";
import {
MultivariateGetMultivariateBatchDetectionResultOptionalParams,
MultivariateTrainMultivariateModelOptionalParams,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@

import { AnomalyDetectorContext as Client } from "../index.js";
import {
PathUncheckedResponse,
StreamableMethod,
createRestError,
operationOptionsToRequestParameters,
} from "@azure-rest/core-client";
import {
Expand All @@ -17,6 +15,10 @@ import {
UnivariateUnivariateChangePointDetectionOptions,
UnivariateUnivariateChangePointDetectionResult,
} from "../../models/models.js";
import {
PathUncheckedResponse,
createRestError,
} from "@azure-rest/core-client";
import {
UnivariateDetectUnivariateEntireSeriesOptionalParams,
UnivariateDetectUnivariateLastPointOptionalParams,
Expand Down
Loading

0 comments on commit 92c5a25

Please sign in to comment.