Skip to content

Commit

Permalink
CodeGen from PR 20681 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Adding resourceconnector - Appliance GA API version (Azure#20681)

* Adding resourceconnector - appliance GA API verson

* Update swagger PR to add ArtifactURL and Another SSHKey type - ScopesAccessKey

* Commiting previous API Version 2022-04-15-preview

* Commiting latest API Version 2022-10-27

* Update to v3 types:

* Adding words to custom-words.txt

* run prettier check

* Use v3 for appliance resource type too

* resolve merge conflicts in custom words.txt

* add in readmes

* Add blockchain to latest profile

* Add additional types

* track2 modify eventhub readme.go.md (Azure#15338)

* track2 modify operationalinsights readme.go.md (Azure#15354)

* track2 modify security readme.go.md (Azure#15357)

* track2 modify eventgrid readme.go.md (Azure#15358)

* [Hub Generated] Public private branch 'dev-azure-kusto-Microsoft.Kusto-2021-08-27' (Azure#15905)

* Adds base for updating Microsoft.Kusto from version stable/2021-01-01 to version 2021-08-27

* Updates readme

* Updates API version in new specs and examples

* Swagger changes

* it1

* hh

* it2

* it3

* it5

* it6

* it7

* readme

* it10

* it11

* it11

* it 12

* it 13

* prettier

* python

* allowedIpRangeList - remove default

* bassel changes

* checkNameAvailability

* fix lint

* checkName

* fix

* managedPrivate check name

* prettier

* Update readme.python.md

* add attached enum

* Dor comments

* fix description

* readOnly

Co-authored-by: msyyc <[email protected]>

* update the format to int64 for creationtimestamp and expirationtimestamp

* Updating Delete example to include location header for 202 response

* fix header in delete example

Co-authored-by: Mark Cowlishaw <[email protected]>
Co-authored-by: JiahuiPeng <[email protected]>
Co-authored-by: hila levi <[email protected]>
Co-authored-by: msyyc <[email protected]>
Co-authored-by: Aditi Malladi <[email protected]>
  • Loading branch information
6 people committed Nov 9, 2022
1 parent 3871d8b commit f1294dd
Show file tree
Hide file tree
Showing 51 changed files with 453 additions and 1,533 deletions.
4 changes: 2 additions & 2 deletions common/config/rush/pnpm-lock.yaml

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

14 changes: 2 additions & 12 deletions sdk/resourceconnector/arm-resourceconnector/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
# Release History

## 1.0.0-beta.2 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

## 1.0.0-beta.1 (2022-06-28)

## 1.0.0 (2022-11-09)

The package of @azure/arm-resourceconnector is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
2 changes: 1 addition & 1 deletion sdk/resourceconnector/arm-resourceconnector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The appliances Rest API spec.

[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/resourceconnector/arm-resourceconnector) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-resourceconnector) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-resourceconnector?view=azure-node-preview) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-resourceconnector) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)

## Getting started
Expand Down
8 changes: 4 additions & 4 deletions sdk/resourceconnector/arm-resourceconnector/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "b8fc2b4ff626aab886f929e49926c6e836548e01",
"commit": "7d6c14d986a67dca3451d7d92d8f6b9416d61fbf",
"readme": "specification/resourceconnector/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:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\resourceconnector\\resource-manager\\readme.md --use=@autorest/[email protected].1 --generate-sample=true",
"autorest_command": "autorest --version=3.8.4 --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/resourceconnector/resource-manager/readme.md --use=@autorest/[email protected].2",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.3.2",
"use": "@autorest/[email protected].1"
"release_tool": "@azure-tools/js-sdk-release-tools@2.5.1",
"use": "@autorest/[email protected].2"
}
16 changes: 4 additions & 12 deletions sdk/resourceconnector/arm-resourceconnector/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 ResourceConnectorManagementClient.",
"version": "1.0.0-beta.2",
"version": "1.0.0",
"engines": {
"node": ">=14.0.0"
},
Expand Down Expand Up @@ -36,7 +36,7 @@
"mkdirp": "^1.0.4",
"rollup": "^2.66.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.2.0",
"typescript": "~4.6.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"@azure/identity": "^2.0.1",
Expand Down Expand Up @@ -109,13 +109,5 @@
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-resourceconnector?view=azure-node-preview"
}
}
"autoPublish": true
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export interface Appliance extends TrackedResource {
readonly provisioningState?: string;
publicKey?: string;
readonly status?: Status;
readonly systemData?: SystemData;
version?: string;
}

Expand All @@ -32,11 +31,8 @@ export interface ApplianceCredentialKubeconfig {
}

// @public
export interface ApplianceListClusterCustomerUserCredentialResults {
readonly kubeconfigs?: ApplianceCredentialKubeconfig[];
readonly sshKeys?: {
[propertyName: string]: SSHKey;
};
export interface ApplianceGetTelemetryConfigResult {
readonly telemetryInstrumentationKey?: string;
}

// @public
Expand All @@ -45,6 +41,17 @@ export interface ApplianceListCredentialResults {
readonly kubeconfigs?: ApplianceCredentialKubeconfig[];
}

// @public
export interface ApplianceListKeysResults {
readonly artifactProfiles?: {
[propertyName: string]: ArtifactProfile;
};
readonly kubeconfigs?: ApplianceCredentialKubeconfig[];
readonly sshKeys?: {
[propertyName: string]: SSHKey;
};
}

// @public
export interface ApplianceListResult {
readonly nextLink?: string;
Expand Down Expand Up @@ -80,11 +87,12 @@ export interface Appliances {
beginDelete(resourceGroupName: string, resourceName: string, options?: AppliancesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
beginDeleteAndWait(resourceGroupName: string, resourceName: string, options?: AppliancesDeleteOptionalParams): Promise<void>;
get(resourceGroupName: string, resourceName: string, options?: AppliancesGetOptionalParams): Promise<AppliancesGetResponse>;
getTelemetryConfig(options?: AppliancesGetTelemetryConfigOptionalParams): Promise<AppliancesGetTelemetryConfigResponse>;
getUpgradeGraph(resourceGroupName: string, resourceName: string, upgradeGraph: string, options?: AppliancesGetUpgradeGraphOptionalParams): Promise<AppliancesGetUpgradeGraphResponse>;
listByResourceGroup(resourceGroupName: string, options?: AppliancesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Appliance>;
listBySubscription(options?: AppliancesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Appliance>;
listClusterCustomerUserCredential(resourceGroupName: string, resourceName: string, options?: AppliancesListClusterCustomerUserCredentialOptionalParams): Promise<AppliancesListClusterCustomerUserCredentialResponse>;
listClusterUserCredential(resourceGroupName: string, resourceName: string, options?: AppliancesListClusterUserCredentialOptionalParams): Promise<AppliancesListClusterUserCredentialResponse>;
listKeys(resourceGroupName: string, resourceName: string, options?: AppliancesListKeysOptionalParams): Promise<AppliancesListKeysResponse>;
listOperations(options?: AppliancesListOperationsOptionalParams): PagedAsyncIterableIterator<ApplianceOperation>;
update(resourceGroupName: string, resourceName: string, options?: AppliancesUpdateOptionalParams): Promise<AppliancesUpdateResponse>;
}
Expand All @@ -111,6 +119,13 @@ export interface AppliancesGetOptionalParams extends coreClient.OperationOptions
// @public
export type AppliancesGetResponse = Appliance;

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

// @public
export type AppliancesGetTelemetryConfigResponse = ApplianceGetTelemetryConfigResult;

// @public
export interface AppliancesGetUpgradeGraphOptionalParams extends coreClient.OperationOptions {
}
Expand Down Expand Up @@ -147,18 +162,18 @@ export interface AppliancesListBySubscriptionOptionalParams extends coreClient.O
export type AppliancesListBySubscriptionResponse = ApplianceListResult;

// @public
export interface AppliancesListClusterCustomerUserCredentialOptionalParams extends coreClient.OperationOptions {
export interface AppliancesListClusterUserCredentialOptionalParams extends coreClient.OperationOptions {
}

// @public
export type AppliancesListClusterCustomerUserCredentialResponse = ApplianceListClusterCustomerUserCredentialResults;
export type AppliancesListClusterUserCredentialResponse = ApplianceListCredentialResults;

// @public
export interface AppliancesListClusterUserCredentialOptionalParams extends coreClient.OperationOptions {
export interface AppliancesListKeysOptionalParams extends coreClient.OperationOptions {
}

// @public
export type AppliancesListClusterUserCredentialResponse = ApplianceListCredentialResults;
export type AppliancesListKeysResponse = ApplianceListKeysResults;

// @public
export interface AppliancesListOperationsNextOptionalParams extends coreClient.OperationOptions {
Expand All @@ -184,6 +199,14 @@ export interface AppliancesUpdateOptionalParams extends coreClient.OperationOpti
// @public
export type AppliancesUpdateResponse = Appliance;

// @public
export interface ArtifactProfile {
readonly endpoint?: string;
}

// @public
export type ArtifactType = string;

// @public
export type CreatedByType = string;

Expand Down Expand Up @@ -231,6 +254,11 @@ export enum KnownAccessProfileType {
ClusterUser = "clusterUser"
}

// @public
export enum KnownArtifactType {
LogsArtifactType = "LogsArtifactType"
}

// @public
export enum KnownCreatedByType {
Application = "Application",
Expand Down Expand Up @@ -261,13 +289,23 @@ export enum KnownResourceIdentityType {

// @public
export enum KnownSSHKeyType {
LogsKey = "LogsKey",
ManagementCAKey = "ManagementCAKey",
ScopedAccessKey = "ScopedAccessKey",
SSHCustomerUser = "SSHCustomerUser"
}

// @public
export enum KnownStatus {
Connected = "Connected",
Connecting = "Connecting",
ImageDeprovisioning = "ImageDeprovisioning",
ImageDownloaded = "ImageDownloaded",
ImageDownloading = "ImageDownloading",
ImagePending = "ImagePending",
ImageProvisioned = "ImageProvisioned",
ImageProvisioning = "ImageProvisioning",
ImageUnknown = "ImageUnknown",
None = "None",
Offline = "Offline",
PostUpgrade = "PostUpgrade",
Expand All @@ -281,9 +319,11 @@ export enum KnownStatus {
UpgradeComplete = "UpgradeComplete",
UpgradeFailed = "UpgradeFailed",
UpgradePrerequisitesCompleted = "UpgradePrerequisitesCompleted",
UpgradingKvaio = "UpgradingKVAIO",
Validating = "Validating",
WaitingForCloudOperator = "WaitingForCloudOperator",
WaitingForHeartbeat = "WaitingForHeartbeat"
WaitingForHeartbeat = "WaitingForHeartbeat",
WaitingForKvaio = "WaitingForKVAIO"
}

// @public
Expand All @@ -300,6 +340,7 @@ export type Provider = string;
export interface Resource {
readonly id?: string;
readonly name?: string;
readonly systemData?: SystemData;
readonly type?: string;
}

Expand Down Expand Up @@ -328,8 +369,11 @@ export type ResourceIdentityType = string;

// @public
export interface SSHKey {
privateKey?: string;
publicKey?: string;
readonly certificate?: string;
readonly creationTimeStamp?: number;
readonly expirationTimeStamp?: number;
readonly privateKey?: string;
readonly publicKey?: string;
}

// @public
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit f1294dd

Please sign in to comment.