Skip to content

Commit

Permalink
CodeGen from PR 29229 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 89f95b85607544e1728c84a9e5ff885bf62e49b9 into 162fb3af1af3a6e166ab16b8f2684c31a6e6bd0b
  • Loading branch information
SDKAuto committed May 24, 2024
1 parent 8773b12 commit 4b78e21
Show file tree
Hide file tree
Showing 21 changed files with 2,514 additions and 929 deletions.
780 changes: 391 additions & 389 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

51 changes: 40 additions & 11 deletions sdk/devhub/arm-devhub/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,44 @@
# Release History

## 1.0.0-beta.4 (2024-05-24)
Compared with version 1.0.0-beta.3

**Features**

## 1.0.0-beta.4 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added operation group IacProfiles
- Added Interface ExportTemplateRequest
- Added Interface IacProfile
- Added Interface IacProfileListResult
- Added Interface IacProfilesCreateOrUpdateOptionalParams
- Added Interface IacProfilesDeleteOptionalParams
- Added Interface IacProfilesExportOptionalParams
- Added Interface IacProfilesGetOptionalParams
- Added Interface IacProfilesListByResourceGroupNextOptionalParams
- Added Interface IacProfilesListByResourceGroupOptionalParams
- Added Interface IacProfilesListNextOptionalParams
- Added Interface IacProfilesListOptionalParams
- Added Interface IacProfilesScaleOptionalParams
- Added Interface IacProfilesSyncOptionalParams
- Added Interface IacProfilesUpdateTagsOptionalParams
- Added Interface IacTemplateDetails
- Added Interface IacTemplateProperties
- Added Interface PrLinkResponse
- Added Interface ScaleProperty
- Added Interface ScaleTemplateRequest
- Added Interface StageProperties
- Added Type Alias IacProfilesCreateOrUpdateResponse
- Added Type Alias IacProfilesExportResponse
- Added Type Alias IacProfilesGetResponse
- Added Type Alias IacProfilesListByResourceGroupNextResponse
- Added Type Alias IacProfilesListByResourceGroupResponse
- Added Type Alias IacProfilesListNextResponse
- Added Type Alias IacProfilesListResponse
- Added Type Alias IacProfilesScaleResponse
- Added Type Alias IacProfilesUpdateTagsResponse
- Added Type Alias QuickStartTemplateType
- Added Enum KnownQuickStartTemplateType


## 1.0.0-beta.3 (2023-05-29)

**Features**
Expand Down Expand Up @@ -60,4 +89,4 @@

## 1.0.0-beta.1 (2022-10-18)

The package of @azure/arm-devhub is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
The package of @azure/arm-devhub is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart).
2 changes: 1 addition & 1 deletion sdk/devhub/arm-devhub/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2023 Microsoft
Copyright (c) 2024 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
8 changes: 4 additions & 4 deletions sdk/devhub/arm-devhub/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "5595c3c7082fe447f32e637f06191f67fa8cfab2",
"commit": "315c656a37b87c3d30522c33dec4e3207c2e2c11",
"readme": "specification/developerhub/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=F:\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\developerhub\\resource-manager\\readme.md --use=@autorest/typescript@6.0.2 --generate-sample=true",
"autorest_command": "autorest --version=3.9.7 --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/developerhub/resource-manager/readme.md --use=@autorest/typescript@^6.0.12",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.0",
"use": "@autorest/typescript@6.0.2"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.9",
"use": "@autorest/typescript@^6.0.12"
}
26 changes: 9 additions & 17 deletions sdk/devhub/arm-devhub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"dependencies": {
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.7.0",
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.8.0",
"@azure/core-auth": "^1.6.0",
"@azure/core-rest-pipeline": "^1.14.0",
"tslib": "^2.2.0"
},
"keywords": [
Expand All @@ -30,19 +30,20 @@
"mkdirp": "^3.0.1",
"typescript": "~5.4.5",
"uglify-js": "^3.4.9",
"rimraf": "^5.0.5",
"rimraf": "^5.0.0",
"dotenv": "^16.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^4.0.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^10.0.0",
"@types/mocha": "^10.0.0",
"tsx": "^4.7.1",
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^18.0.0",
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0",
"@types/mocha": "^10.0.0"
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -75,7 +76,6 @@
"pack": "npm pack 2>&1",
"extract-api": "dev-tool run extract-api",
"lint": "echo skipped",
"audit": "echo skipped",
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
"build:node": "echo skipped",
"build:browser": "echo skipped",
Expand Down Expand Up @@ -104,13 +104,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/devhub/arm-devhub",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-devhub?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/devhub/arm-devhub"
}
182 changes: 182 additions & 0 deletions sdk/devhub/arm-devhub/review/arm-devhub.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ export class DeveloperHubServiceClient extends coreClient.ServiceClient {
generatePreviewArtifacts(location: string, parameters: ArtifactGenerationProperties, options?: GeneratePreviewArtifactsOptionalParams): Promise<GeneratePreviewArtifactsResponse>;
gitHubOAuth(location: string, options?: GitHubOAuthOptionalParams): Promise<GitHubOAuthOperationResponse>;
gitHubOAuthCallback(location: string, code: string, state: string, options?: GitHubOAuthCallbackOptionalParams): Promise<GitHubOAuthCallbackResponse>;
// (undocumented)
iacProfiles: IacProfiles;
listGitHubOAuth(location: string, options?: ListGitHubOAuthOptionalParams): Promise<ListGitHubOAuthResponse>;
// (undocumented)
operations: Operations;
Expand Down Expand Up @@ -108,6 +110,19 @@ export interface ErrorResponse {
error?: ErrorDetail;
}

// @public (undocumented)
export interface ExportTemplateRequest {
// (undocumented)
instanceName?: string;
// (undocumented)
instanceStage?: string;
// (undocumented)
resourceGroupIds?: string[];
// (undocumented)
siteId?: string;
templateName?: string;
}

// @public
export interface GeneratePreviewArtifactsOptionalParams extends coreClient.OperationOptions {
}
Expand Down Expand Up @@ -168,6 +183,134 @@ export interface GitHubWorkflowProfileOidcCredentials {
azureTenantId?: string;
}

// @public
export interface IacProfile extends TrackedResource {
readonly authStatus?: AuthorizationStatus;
branchName?: string;
readonly etag?: string;
readonly prStatus?: PullRequestStatus;
readonly pullNumber?: number;
repositoryMainBranch?: string;
repositoryName?: string;
repositoryOwner?: string;
// (undocumented)
stages?: StageProperties[];
storageAccountName?: string;
storageAccountResourceGroup?: string;
storageAccountSubscription?: string;
storageContainerName?: string;
// (undocumented)
templates?: IacTemplateProperties[];
}

// @public (undocumented)
export interface IacProfileListResult {
readonly nextLink?: string;
value?: IacProfile[];
}

// @public
export interface IacProfiles {
createOrUpdate(resourceGroupName: string, iacProfileName: string, parameters: IacProfile, options?: IacProfilesCreateOrUpdateOptionalParams): Promise<IacProfilesCreateOrUpdateResponse>;
delete(resourceGroupName: string, iacProfileName: string, options?: IacProfilesDeleteOptionalParams): Promise<void>;
export(resourceGroupName: string, iacProfileName: string, parameters: ExportTemplateRequest, options?: IacProfilesExportOptionalParams): Promise<IacProfilesExportResponse>;
get(resourceGroupName: string, iacProfileName: string, options?: IacProfilesGetOptionalParams): Promise<IacProfilesGetResponse>;
list(options?: IacProfilesListOptionalParams): PagedAsyncIterableIterator<IacProfile>;
listByResourceGroup(resourceGroupName: string, options?: IacProfilesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<IacProfile>;
scale(resourceGroupName: string, iacProfileName: string, parameters: ScaleTemplateRequest, options?: IacProfilesScaleOptionalParams): Promise<IacProfilesScaleResponse>;
sync(resourceGroupName: string, iacProfileName: string, options?: IacProfilesSyncOptionalParams): Promise<void>;
updateTags(resourceGroupName: string, iacProfileName: string, parameters: TagsObject, options?: IacProfilesUpdateTagsOptionalParams): Promise<IacProfilesUpdateTagsResponse>;
}

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

// @public
export type IacProfilesCreateOrUpdateResponse = IacProfile;

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

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

// @public
export type IacProfilesExportResponse = PrLinkResponse;

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

// @public
export type IacProfilesGetResponse = IacProfile;

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

// @public
export type IacProfilesListByResourceGroupNextResponse = IacProfileListResult;

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

// @public
export type IacProfilesListByResourceGroupResponse = IacProfileListResult;

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

// @public
export type IacProfilesListNextResponse = IacProfileListResult;

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

// @public
export type IacProfilesListResponse = IacProfileListResult;

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

// @public
export type IacProfilesScaleResponse = PrLinkResponse;

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

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

// @public
export type IacProfilesUpdateTagsResponse = IacProfile;

// @public (undocumented)
export interface IacTemplateDetails {
count?: number;
namingConvention?: string;
productName?: string;
}

// @public
export interface IacTemplateProperties {
instanceName?: string;
instanceStage?: string;
readonly quickStartTemplateType?: QuickStartTemplateType;
sourceResourceId?: string;
// (undocumented)
templateDetails?: IacTemplateDetails[];
templateName?: string;
}

// @public
export enum KnownActionType {
Internal = "Internal"
Expand Down Expand Up @@ -244,6 +387,14 @@ export enum KnownPullRequestStatus {
Unknown = "unknown"
}

// @public
export enum KnownQuickStartTemplateType {
HCI = "HCI",
Hciaks = "HCIAKS",
Hciarcvm = "HCIARCVM",
None = "None"
}

// @public
export enum KnownWorkflowRunStatus {
Completed = "completed",
Expand Down Expand Up @@ -302,13 +453,21 @@ export type OperationsListResponse = OperationListResult;
// @public
export type Origin = string;

// @public (undocumented)
export interface PrLinkResponse {
prLink?: string;
}

// @public
export interface ProxyResource extends Resource {
}

// @public
export type PullRequestStatus = string;

// @public
export type QuickStartTemplateType = string;

// @public
export interface Resource {
readonly id?: string;
Expand All @@ -317,6 +476,29 @@ export interface Resource {
readonly type?: string;
}

// @public (undocumented)
export interface ScaleProperty {
numberOfStore?: number;
region?: string;
stage?: string;
}

// @public (undocumented)
export interface ScaleTemplateRequest {
// (undocumented)
scaleRequirement?: ScaleProperty[];
templateName?: string;
}

// @public
export interface StageProperties {
// (undocumented)
dependencies?: string[];
// (undocumented)
gitEnvironment?: string;
stageName?: string;
}

// @public
export interface SystemData {
createdAt?: Date;
Expand Down
Loading

0 comments on commit 4b78e21

Please sign in to comment.