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] update readme #8178

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
16 changes: 8 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.

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

## 8.0.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes


## 8.1.0 (2022-03-15)

**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.0 (2021-12-13)

The package of @azure/arm-apimanagement is using our next generation design principles since version 8.0.0, which contains breaking changes.
Expand Down
2 changes: 1 addition & 1 deletion sdk/apimanagement/arm-apimanagement/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2021 Microsoft
Copyright (c) 2022 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
7 changes: 4 additions & 3 deletions sdk/apimanagement/arm-apimanagement/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"commit": "b8cae07c799a07f2e779a9e301f639e9b85124b1",
"commit": "5fd3195f038f674be56db6a47ebfdd5c7bd4e984",
"readme": "specification/apimanagement/resource-manager/readme.md",
"autorest_command": "autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/apimanagement/resource-manager/readme.md --use=@autorest/[email protected].20211130.1",
"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=/home/vsts/work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/apimanagement/resource-manager/readme.md --use=@autorest/[email protected].20220105.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"use": "@autorest/[email protected]"
"release_tool": "@azure-tools/[email protected]",
"use": "@autorest/[email protected]"
}
25 changes: 19 additions & 6 deletions sdk/apimanagement/arm-apimanagement/api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,31 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
"docModel": { "enabled": true },
"apiReport": { "enabled": true, "reportFolder": "./review" },
"docModel": {
"enabled": true
},
"apiReport": {
"enabled": true,
"reportFolder": "./review"
},
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "",
"publicTrimmedFilePath": "./types/arm-apimanagement.d.ts"
},
"messages": {
"tsdocMessageReporting": { "default": { "logLevel": "none" } },
"tsdocMessageReporting": {
"default": {
"logLevel": "none"
}
},
"extractorMessageReporting": {
"ae-missing-release-tag": { "logLevel": "none" },
"ae-unresolved-link": { "logLevel": "none" }
"ae-missing-release-tag": {
"logLevel": "none"
},
"ae-unresolved-link": {
"logLevel": "none"
}
}
}
}
}
8 changes: 4 additions & 4 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.1",
"version": "8.1.0",
"engines": {
"node": ">=12.0.0"
},
Expand All @@ -29,12 +29,12 @@
"types": "./types/arm-apimanagement.d.ts",
"devDependencies": {
"@microsoft/api-extractor": "^7.18.11",
"@rollup/plugin-commonjs": "^21.0.1",
"@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.0.0",
"rollup": "^1.16.3",
"rollup-plugin-sourcemaps": "^0.4.2",
"typescript": "~4.2.0",
"uglify-js": "^3.4.9",
Expand Down Expand Up @@ -99,4 +99,4 @@
},
"sideEffects": false,
"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 @@ -2745,7 +2747,7 @@ export interface ContentItemCollection {
// @public
export type ContentItemContract = Resource & {
properties?: {
[propertyName: string]: Record<string, unknown>;
[propertyName: string]: any;
};
};

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
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ import {
QuotaByPeriodKeysImpl,
RegionImpl,
ReportsImpl,
GlobalSchemaImpl,
TenantSettingsImpl,
ApiManagementSkusImpl,
SubscriptionImpl,
Expand Down Expand Up @@ -149,6 +150,7 @@ import {
QuotaByPeriodKeys,
Region,
Reports,
GlobalSchema,
TenantSettings,
ApiManagementSkus,
Subscription,
Expand Down Expand Up @@ -204,7 +206,7 @@ export class ApiManagementClient extends coreClient.ServiceClient {
credential: credentials
};

const packageDetails = `azsdk-js-arm-apimanagement/8.0.0`;
const packageDetails = `azsdk-js-arm-apimanagement/8.1.0`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down Expand Up @@ -298,6 +300,7 @@ export class ApiManagementClient extends coreClient.ServiceClient {
this.quotaByPeriodKeys = new QuotaByPeriodKeysImpl(this);
this.region = new RegionImpl(this);
this.reports = new ReportsImpl(this);
this.globalSchema = new GlobalSchemaImpl(this);
this.tenantSettings = new TenantSettingsImpl(this);
this.apiManagementSkus = new ApiManagementSkusImpl(this);
this.subscription = new SubscriptionImpl(this);
Expand Down Expand Up @@ -472,6 +475,7 @@ export class ApiManagementClient extends coreClient.ServiceClient {
quotaByPeriodKeys: QuotaByPeriodKeys;
region: Region;
reports: Reports;
globalSchema: GlobalSchema;
tenantSettings: TenantSettings;
apiManagementSkus: ApiManagementSkus;
subscription: Subscription;
Expand Down
Loading