Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 19 additions & 10 deletions sdk/search/arm-search/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
# Release History

## 3.1.0 (2022-12-19)

**Features**

## 3.0.2 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added Interface DataPlaneAadOrApiKeyAuthOption
- Added Interface DataPlaneAuthOptions
- Added Interface PrivateEndpointConnection
- Added Interface PrivateLinkResource
- Added Interface SearchService
- Added Interface SearchServiceUpdate
- Added Interface SharedPrivateLinkResource
- Added Interface TrackedResource
- Added Type Alias AadAuthFailureMode
- Added Type Alias PrivateLinkServiceConnectionProvisioningState
- Interface PrivateEndpointConnectionProperties has a new optional parameter groupId
- Interface PrivateEndpointConnectionProperties has a new optional parameter provisioningState
- Added Enum KnownPrivateLinkServiceConnectionProvisioningState
- Added function getContinuationToken

## 3.0.1 (2022-04-29)

**Features**
Expand Down
10 changes: 5 additions & 5 deletions sdk/search/arm-search/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "0cd7b3e83d5e7e21222dcc4bdde4565562da0cdf",
"readme": "specification\\search\\resource-manager\\readme.md",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\search\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220408.1 --generate-sample=true",
"commit": "da4ecb694176f1d7055f207283947cf81e7572dd",
"readme": "specification/search/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/search/resource-manager/readme.md --use=@autorest/typescript@6.0.0-rc.5",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.3.0",
"use": "@autorest/typescript@6.0.0-alpha.19.20220408.1"
"release_tool": "@azure-tools/js-sdk-release-tools@2.5.4",
"use": "@autorest/typescript@6.0.0-rc.5"
}
32 changes: 14 additions & 18 deletions sdk/search/arm-search/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for SearchManagementClient.",
"version": "3.0.2",
"version": "3.1.0",
"engines": {
"node": ">=14.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.2.0",
"@azure/abort-controller": "^1.0.0",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.5.0",
"@azure/core-client": "^1.6.1",
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.8.0",
"tslib": "^2.2.0"
Expand All @@ -36,13 +36,18 @@
"mkdirp": "^1.0.4",
"rollup": "^2.66.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.2.0",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^1.0.0",
"@azure-tools/test-recorder": "^2.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^7.1.1",
"cross-env": "^7.0.2"
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/arm-search",
"repository": {
Expand Down Expand Up @@ -93,9 +98,8 @@
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
"unit-test:browser": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
"integration-test:browser": "echo skipped",
"docs": "echo skipped"
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"integration-test:browser": "echo skipped"
},
"sideEffects": false,
"//metadata": {
Expand All @@ -106,13 +110,5 @@
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-search?view=azure-node-preview"
}
}
"autoPublish": true
}
105 changes: 68 additions & 37 deletions sdk/search/arm-search/review/arm-search.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ import { PagedAsyncIterableIterator } from '@azure/core-paging';
import { PollerLike } from '@azure/core-lro';
import { PollOperationState } from '@azure/core-lro';

// @public
export type AadAuthFailureMode = "http403" | "http401WithBearerChallenge";

// @public
export type AdminKeyKind = "primary" | "secondary";

Expand Down Expand Up @@ -72,6 +75,20 @@ export interface CloudErrorBody {
target?: string;
}

// @public
export interface DataPlaneAadOrApiKeyAuthOption {
aadAuthFailureMode?: AadAuthFailureMode;
}

// @public
export interface DataPlaneAuthOptions {
aadOrApiKey?: DataPlaneAadOrApiKeyAuthOption;
apiKeyOnly?: Record<string, unknown>;
}

// @public
export function getContinuationToken(page: unknown): string | undefined;

// @public
export type HostingMode = "default" | "highDensity";

Expand All @@ -90,21 +107,26 @@ export interface IpRule {
value?: string;
}

// @public
export enum KnownPrivateLinkServiceConnectionProvisioningState {
Canceled = "Canceled",
Deleting = "Deleting",
Failed = "Failed",
Incomplete = "Incomplete",
Succeeded = "Succeeded",
Updating = "Updating"
}

// @public
export enum KnownSharedPrivateLinkResourceAsyncOperationResult {
// (undocumented)
Failed = "Failed",
// (undocumented)
Running = "Running",
// (undocumented)
Succeeded = "Succeeded"
}

// @public
export enum KnownUnavailableNameReason {
// (undocumented)
AlreadyExists = "AlreadyExists",
// (undocumented)
Invalid = "Invalid"
}

Expand Down Expand Up @@ -152,9 +174,9 @@ export interface OperationsListOptionalParams extends coreClient.OperationOption
export type OperationsListResponse = OperationListResult;

// @public
export type PrivateEndpointConnection = Resource & {
export interface PrivateEndpointConnection extends Resource {
properties?: PrivateEndpointConnectionProperties;
};
}

// @public
export interface PrivateEndpointConnectionListResult {
Expand All @@ -164,8 +186,10 @@ export interface PrivateEndpointConnectionListResult {

// @public
export interface PrivateEndpointConnectionProperties {
groupId?: string;
privateEndpoint?: PrivateEndpointConnectionPropertiesPrivateEndpoint;
privateLinkServiceConnectionState?: PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState;
provisioningState?: PrivateLinkServiceConnectionProvisioningState;
}

// @public
Expand Down Expand Up @@ -229,9 +253,9 @@ export interface PrivateEndpointConnectionsUpdateOptionalParams extends coreClie
export type PrivateEndpointConnectionsUpdateResponse = PrivateEndpointConnection;

// @public
export type PrivateLinkResource = Resource & {
export interface PrivateLinkResource extends Resource {
readonly properties?: PrivateLinkResourceProperties;
};
}

// @public
export interface PrivateLinkResourceProperties {
Expand Down Expand Up @@ -259,6 +283,9 @@ export interface PrivateLinkResourcesResult {
readonly value?: PrivateLinkResource[];
}

// @public
export type PrivateLinkServiceConnectionProvisioningState = string;

// @public
export type PrivateLinkServiceConnectionStatus = "Pending" | "Approved" | "Rejected" | "Disconnected";

Expand Down Expand Up @@ -355,20 +382,22 @@ export interface SearchManagementRequestOptions {
}

// @public
export type SearchService = TrackedResource & {
sku?: Sku;
export interface SearchService extends TrackedResource {
authOptions?: DataPlaneAuthOptions;
disableLocalAuth?: boolean;
hostingMode?: HostingMode;
identity?: Identity;
replicaCount?: number;
networkRuleSet?: NetworkRuleSet;
partitionCount?: number;
hostingMode?: HostingMode;
readonly privateEndpointConnections?: PrivateEndpointConnection[];
readonly provisioningState?: ProvisioningState;
publicNetworkAccess?: PublicNetworkAccess;
replicaCount?: number;
readonly sharedPrivateLinkResources?: SharedPrivateLinkResource[];
sku?: Sku;
readonly status?: SearchServiceStatus;
readonly statusDetails?: string;
readonly provisioningState?: ProvisioningState;
networkRuleSet?: NetworkRuleSet;
readonly privateEndpointConnections?: PrivateEndpointConnection[];
readonly sharedPrivateLinkResources?: SharedPrivateLinkResource[];
};
}

// @public
export interface SearchServiceListResult {
Expand All @@ -377,27 +406,29 @@ export interface SearchServiceListResult {
}

// @public
export type SearchServiceStatus = "running" | "provisioning" | "deleting" | "degraded" | "disabled" | "error";
export type SearchServiceStatus = "running" | "provisioning" | "deleting" | "degraded" | "disabled" | "error" | "stopped";

// @public
export type SearchServiceUpdate = Resource & {
sku?: Sku;
location?: string;
tags?: {
[propertyName: string]: string;
};
export interface SearchServiceUpdate extends Resource {
authOptions?: DataPlaneAuthOptions;
disableLocalAuth?: boolean;
hostingMode?: HostingMode;
identity?: Identity;
replicaCount?: number;
location?: string;
networkRuleSet?: NetworkRuleSet;
partitionCount?: number;
hostingMode?: HostingMode;
readonly privateEndpointConnections?: PrivateEndpointConnection[];
readonly provisioningState?: ProvisioningState;
publicNetworkAccess?: PublicNetworkAccess;
replicaCount?: number;
readonly sharedPrivateLinkResources?: SharedPrivateLinkResource[];
sku?: Sku;
readonly status?: SearchServiceStatus;
readonly statusDetails?: string;
readonly provisioningState?: ProvisioningState;
networkRuleSet?: NetworkRuleSet;
readonly privateEndpointConnections?: PrivateEndpointConnection[];
readonly sharedPrivateLinkResources?: SharedPrivateLinkResource[];
};
tags?: {
[propertyName: string]: string;
};
}

// @public
export interface Services {
Expand Down Expand Up @@ -496,9 +527,9 @@ export interface ShareablePrivateLinkResourceType {
}

// @public
export type SharedPrivateLinkResource = Resource & {
export interface SharedPrivateLinkResource extends Resource {
properties?: SharedPrivateLinkResourceProperties;
};
}

// @public
export type SharedPrivateLinkResourceAsyncOperationResult = string;
Expand Down Expand Up @@ -585,12 +616,12 @@ export interface Sku {
export type SkuName = "free" | "basic" | "standard" | "standard2" | "standard3" | "storage_optimized_l1" | "storage_optimized_l2";

// @public
export type TrackedResource = Resource & {
export interface TrackedResource extends Resource {
location: string;
tags?: {
[propertyName: string]: string;
};
location: string;
};
}

// @public
export type UnavailableNameReason = string;
Expand Down
1 change: 1 addition & 0 deletions sdk/search/arm-search/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

/// <reference lib="esnext.asynciterable" />
export { getContinuationToken } from "./pagingHelper";
export * from "./models";
export { SearchManagementClient } from "./searchManagementClient";
export * from "./operationsInterfaces";
Loading