Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR @azure/arm-apimanagement] Enable azure-powershell for all manage RPs #8480

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
19 changes: 9 additions & 10 deletions common/config/rush/pnpm-lock.yaml

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

37 changes: 26 additions & 11 deletions sdk/apimanagement/arm-apimanagement/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,30 @@
# Release History

## 8.0.2 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes


## 8.1.0 (2022-04-08)

**Features**

- Added operation group GlobalSchema
- Added Interface GlobalSchemaCollection
- Added Interface GlobalSchemaCreateOrUpdateHeaders
- Added Interface GlobalSchemaCreateOrUpdateOptionalParams
- Added Interface GlobalSchemaDeleteOptionalParams
- Added Interface GlobalSchemaGetEntityTagHeaders
- Added Interface GlobalSchemaGetEntityTagOptionalParams
- Added Interface GlobalSchemaGetHeaders
- Added Interface GlobalSchemaGetOptionalParams
- Added Interface GlobalSchemaListByServiceNextOptionalParams
- Added Interface GlobalSchemaListByServiceOptionalParams
- Added Type Alias GlobalSchemaContract
- Added Type Alias GlobalSchemaCreateOrUpdateResponse
- Added Type Alias GlobalSchemaGetEntityTagResponse
- Added Type Alias GlobalSchemaGetResponse
- Added Type Alias GlobalSchemaListByServiceNextResponse
- Added Type Alias GlobalSchemaListByServiceResponse
- Added Type Alias SchemaType
- Class ApiManagementClient has a new parameter globalSchema
- Added Enum KnownSchemaType

## 8.0.1 (2022-04-06)

**features**
Expand Down
11 changes: 0 additions & 11 deletions sdk/apimanagement/arm-apimanagement/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ ApiManagement Client
- [LTS versions of Node.js](https://nodejs.org/about/releases/)
- Latest versions of Safari, Chrome, Edge and Firefox.

See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.

### Prerequisites

- An [Azure subscription][azure_sub].
Expand Down Expand Up @@ -51,17 +49,8 @@ For more information about how to create an Azure AD Application check out [this
```javascript
const { ApiManagementClient } = require("@azure/arm-apimanagement");
const { DefaultAzureCredential } = require("@azure/identity");
// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.

const subscriptionId = "00000000-0000-0000-0000-000000000000";
const client = new ApiManagementClient(new DefaultAzureCredential(), subscriptionId);

// For client-side applications running in the browser, use this code instead:
// const credential = new InteractiveBrowserCredential({
// tenantId: "<YOUR_TENANT_ID>",
// clientId: "<YOUR_CLIENT_ID>"
// });
// const client = new ApiManagementClient(credential, subscriptionId);
```


Expand Down
10 changes: 5 additions & 5 deletions sdk/apimanagement/arm-apimanagement/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "b8cae07c799a07f2e779a9e301f639e9b85124b1",
"readme": "specification\\apimanagement\\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\\apimanagement\\resource-manager\\readme.md --use=@autorest/[email protected].18.20220329.1",
"commit": "3d6c003292c5d279871cc285aeaed67e7d7da24a",
"readme": "specification/apimanagement/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=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/apimanagement/resource-manager/readme.md --use=@autorest/[email protected].16.20220105.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/[email protected].1",
"use": "@autorest/[email protected].18.20220329.1"
"release_tool": "@azure-tools/[email protected].6",
"use": "@autorest/[email protected].16.20220105.1"
}
24 changes: 8 additions & 16 deletions sdk/apimanagement/arm-apimanagement/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for ApiManagementClient.",
"version": "8.0.2",
"version": "8.1.0",
"engines": {
"node": ">=12.0.0"
},
Expand All @@ -29,13 +29,13 @@
"types": "./types/arm-apimanagement.d.ts",
"devDependencies": {
"@microsoft/api-extractor": "^7.18.11",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-multi-entry": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-commonjs": "11.0.2",
"@rollup/plugin-json": "^4.0.0",
"@rollup/plugin-multi-entry": "^3.0.0",
"@rollup/plugin-node-resolve": "^8.0.0",
"mkdirp": "^1.0.4",
"rollup": "^2.66.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup": "^1.16.3",
"rollup-plugin-sourcemaps": "^0.4.2",
"typescript": "~4.2.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
Expand Down Expand Up @@ -98,13 +98,5 @@
"docs": "echo skipped"
},
"sideEffects": false,
"//metadata": {
"constantPaths": [
{
"path": "src/apiManagementClient.ts",
"prefix": "packageDetails"
}
]
},
"autoPublish": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,8 @@ export class ApiManagementClient extends coreClient.ServiceClient {
// (undocumented)
gatewayHostnameConfiguration: GatewayHostnameConfiguration;
// (undocumented)
globalSchema: GlobalSchema;
// (undocumented)
group: Group;
// (undocumented)
groupUser: GroupUser;
Expand Down Expand Up @@ -3619,6 +3621,94 @@ export interface GenerateSsoUrlResult {
value?: string;
}

// @public
export interface GlobalSchema {
beginCreateOrUpdate(resourceGroupName: string, serviceName: string, schemaId: string, parameters: GlobalSchemaContract, options?: GlobalSchemaCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<GlobalSchemaCreateOrUpdateResponse>, GlobalSchemaCreateOrUpdateResponse>>;
beginCreateOrUpdateAndWait(resourceGroupName: string, serviceName: string, schemaId: string, parameters: GlobalSchemaContract, options?: GlobalSchemaCreateOrUpdateOptionalParams): Promise<GlobalSchemaCreateOrUpdateResponse>;
delete(resourceGroupName: string, serviceName: string, schemaId: string, ifMatch: string, options?: GlobalSchemaDeleteOptionalParams): Promise<void>;
get(resourceGroupName: string, serviceName: string, schemaId: string, options?: GlobalSchemaGetOptionalParams): Promise<GlobalSchemaGetResponse>;
getEntityTag(resourceGroupName: string, serviceName: string, schemaId: string, options?: GlobalSchemaGetEntityTagOptionalParams): Promise<GlobalSchemaGetEntityTagResponse>;
listByService(resourceGroupName: string, serviceName: string, options?: GlobalSchemaListByServiceOptionalParams): PagedAsyncIterableIterator<GlobalSchemaContract>;
}

// @public
export interface GlobalSchemaCollection {
count?: number;
readonly nextLink?: string;
readonly value?: GlobalSchemaContract[];
}

// @public
export type GlobalSchemaContract = Resource & {
schemaType?: SchemaType;
description?: string;
value?: any;
document?: Record<string, unknown>;
};

// @public
export interface GlobalSchemaCreateOrUpdateHeaders {
eTag?: string;
}

// @public
export interface GlobalSchemaCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
ifMatch?: string;
resumeFrom?: string;
updateIntervalInMs?: number;
}

// @public
export type GlobalSchemaCreateOrUpdateResponse = GlobalSchemaCreateOrUpdateHeaders & GlobalSchemaContract;

// @public
export interface GlobalSchemaDeleteOptionalParams extends coreClient.OperationOptions {
}

// @public
export interface GlobalSchemaGetEntityTagHeaders {
eTag?: string;
}

// @public
export interface GlobalSchemaGetEntityTagOptionalParams extends coreClient.OperationOptions {
}

// @public
export type GlobalSchemaGetEntityTagResponse = GlobalSchemaGetEntityTagHeaders;

// @public
export interface GlobalSchemaGetHeaders {
eTag?: string;
}

// @public
export interface GlobalSchemaGetOptionalParams extends coreClient.OperationOptions {
}

// @public
export type GlobalSchemaGetResponse = GlobalSchemaGetHeaders & GlobalSchemaContract;

// @public
export interface GlobalSchemaListByServiceNextOptionalParams extends coreClient.OperationOptions {
filter?: string;
skip?: number;
top?: number;
}

// @public
export type GlobalSchemaListByServiceNextResponse = GlobalSchemaCollection;

// @public
export interface GlobalSchemaListByServiceOptionalParams extends coreClient.OperationOptions {
filter?: string;
skip?: number;
top?: number;
}

// @public
export type GlobalSchemaListByServiceResponse = GlobalSchemaCollection;

// @public
export type GrantType = string;

Expand Down Expand Up @@ -4557,6 +4647,12 @@ export enum KnownSamplingType {
Fixed = "fixed"
}

// @public
export enum KnownSchemaType {
Json = "json",
Xml = "xml"
}

// @public
export enum KnownSettingsTypeName {
// (undocumented)
Expand Down Expand Up @@ -6667,6 +6763,9 @@ export type SchemaContract = Resource & {
components?: Record<string, unknown>;
};

// @public
export type SchemaType = string;

// @public
export type SettingsTypeName = string;

Expand Down
Loading