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
Merge 6727b8d7779e32e910d10f56bc86800aafe60417 into 8673a7c0b2268b0a363db6a78776706767812a33
  • Loading branch information
SDKAuto committed Nov 9, 2022
1 parent 3871d8b commit 48b0fe8
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": "f9bac580fcdb6ee25d8811dd53416badafb866fd",
"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/typescript@6.0.0-rc.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/typescript@6.0.0-rc.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/typescript@6.0.0-rc.1"
"release_tool": "@azure-tools/js-sdk-release-tools@2.5.1",
"use": "@autorest/typescript@6.0.0-rc.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 48b0fe8

Please sign in to comment.