Skip to content
Closed
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
55 changes: 45 additions & 10 deletions sdk/azurestackhci/arm-azurestackhci/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,50 @@
# Release History

## 3.0.0 (2022-05-19)

**Features**

## 2.1.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added operation ArcSettings.beginCreateIdentity
- Added operation ArcSettings.beginCreateIdentityAndWait
- Added operation ArcSettings.generatePassword
- Added operation ArcSettings.update
- Added operation Clusters.beginCreateIdentity
- Added operation Clusters.beginCreateIdentityAndWait
- Added operation Clusters.beginDelete
- Added operation Clusters.beginDeleteAndWait
- Added operation Clusters.beginUploadCertificate
- Added operation Clusters.beginUploadCertificateAndWait
- Added Interface ArcConnectivityProperties
- Added Interface ArcIdentityResponse
- Added Interface ArcSettingsCreateIdentityOptionalParams
- Added Interface ArcSettingsGeneratePasswordOptionalParams
- Added Interface ArcSettingsPatch
- Added Interface ArcSettingsUpdateOptionalParams
- Added Interface ClusterIdentityResponse
- Added Interface ClustersCreateIdentityOptionalParams
- Added Interface ClustersUploadCertificateOptionalParams
- Added Interface PasswordCredential
- Added Interface RawCertificateData
- Added Interface UploadCertificateRequest
- Added Type Alias ArcSettingsCreateIdentityResponse
- Added Type Alias ArcSettingsGeneratePasswordResponse
- Added Type Alias ArcSettingsUpdateResponse
- Added Type Alias ClustersCreateIdentityResponse
- Interface ClustersDeleteOptionalParams has a new optional parameter resumeFrom
- Interface ClustersDeleteOptionalParams has a new optional parameter updateIntervalInMs
- Type Alias ArcSetting has a new parameter arcApplicationClientId
- Type Alias ArcSetting has a new parameter arcApplicationTenantId
- Type Alias ArcSetting has a new parameter arcServicePrincipalObjectId
- Type Alias ArcSetting has a new parameter arcApplicationObjectId
- Type Alias ArcSetting has a new parameter connectivityProperties
- Type Alias Cluster has a new parameter aadApplicationObjectId
- Type Alias Cluster has a new parameter aadServicePrincipalObjectId
- Type Alias Cluster has a new parameter serviceEndpoint

**Breaking Changes**

- Removed operation Clusters.delete

## 2.1.0 (2022-02-28)

**Features**
Expand Down
2 changes: 1 addition & 1 deletion sdk/azurestackhci/arm-azurestackhci/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Azure Stack HCI management service

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

## Getting started
Expand Down
7 changes: 4 additions & 3 deletions sdk/azurestackhci/arm-azurestackhci/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"commit": "20d333fa60a4a81acfd01a7bd56dd9c552301afe",
"commit": "4742065e8d48160292fbce6790710c6835f8dc4f",
"readme": "specification/azurestackhci/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:\\mydev\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\azurestackhci\\resource-manager\\readme.md --use=@autorest/[email protected]beta.16 --generate-sample=true",
"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/azurestackhci/resource-manager/readme.md --use=@autorest/[email protected]alpha.19.20220425.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]"
}
26 changes: 10 additions & 16 deletions sdk/azurestackhci/arm-azurestackhci/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for AzureStackHCIClient.",
"version": "2.1.1",
"version": "3.0.0",
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.2.0",
"@azure/abort-controller": "^1.0.0",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.0.0",
"@azure/core-client": "^1.5.0",
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.1.0",
"@azure/core-rest-pipeline": "^1.8.0",
"tslib": "^2.2.0"
},
"keywords": [
Expand All @@ -40,9 +40,11 @@
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^1.0.0",
"@azure-tools/test-recorder": "^2.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^7.1.1",
"cross-env": "^7.0.2"
"cross-env": "^7.0.2",
"@azure/dev-tool": "^1.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/azurestackhci/arm-azurestackhci",
"repository": {
Expand Down Expand Up @@ -93,7 +95,7 @@
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
"unit-test:browser": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"integration-test:browser": "echo skipped",
"docs": "echo skipped"
},
Expand All @@ -106,13 +108,5 @@
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-azurestackhci?view=azure-node-preview"
}
}
"autoPublish": true
}
120 changes: 119 additions & 1 deletion sdk/azurestackhci/arm-azurestackhci/review/arm-azurestackhci.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,34 @@ import { PollOperationState } from '@azure/core-lro';
// @public
export type ActionType = string;

// @public
export interface ArcConnectivityProperties {
enabled?: boolean;
}

// @public
export interface ArcIdentityResponse {
// (undocumented)
arcApplicationClientId?: string;
// (undocumented)
arcApplicationObjectId?: string;
// (undocumented)
arcApplicationTenantId?: string;
// (undocumented)
arcServicePrincipalObjectId?: string;
}

// @public
export type ArcSetting = ProxyResource & {
readonly provisioningState?: ProvisioningState;
arcInstanceResourceGroup?: string;
arcApplicationClientId?: string;
arcApplicationTenantId?: string;
arcServicePrincipalObjectId?: string;
arcApplicationObjectId?: string;
readonly aggregateState?: ArcSettingAggregateState;
readonly perNodeDetails?: PerNodeState[];
connectivityProperties?: Record<string, unknown>;
createdBy?: string;
createdByType?: CreatedByType;
createdAt?: Date;
Expand All @@ -38,13 +60,26 @@ export interface ArcSettingList {

// @public
export interface ArcSettings {
beginCreateIdentity(resourceGroupName: string, clusterName: string, arcSettingName: string, options?: ArcSettingsCreateIdentityOptionalParams): Promise<PollerLike<PollOperationState<ArcSettingsCreateIdentityResponse>, ArcSettingsCreateIdentityResponse>>;
beginCreateIdentityAndWait(resourceGroupName: string, clusterName: string, arcSettingName: string, options?: ArcSettingsCreateIdentityOptionalParams): Promise<ArcSettingsCreateIdentityResponse>;
beginDelete(resourceGroupName: string, clusterName: string, arcSettingName: string, options?: ArcSettingsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
beginDeleteAndWait(resourceGroupName: string, clusterName: string, arcSettingName: string, options?: ArcSettingsDeleteOptionalParams): Promise<void>;
create(resourceGroupName: string, clusterName: string, arcSettingName: string, arcSetting: ArcSetting, options?: ArcSettingsCreateOptionalParams): Promise<ArcSettingsCreateResponse>;
generatePassword(resourceGroupName: string, clusterName: string, arcSettingName: string, options?: ArcSettingsGeneratePasswordOptionalParams): Promise<ArcSettingsGeneratePasswordResponse>;
get(resourceGroupName: string, clusterName: string, arcSettingName: string, options?: ArcSettingsGetOptionalParams): Promise<ArcSettingsGetResponse>;
listByCluster(resourceGroupName: string, clusterName: string, options?: ArcSettingsListByClusterOptionalParams): PagedAsyncIterableIterator<ArcSetting>;
update(resourceGroupName: string, clusterName: string, arcSettingName: string, arcSetting: ArcSettingsPatch, options?: ArcSettingsUpdateOptionalParams): Promise<ArcSettingsUpdateResponse>;
}

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

// @public
export type ArcSettingsCreateIdentityResponse = ArcIdentityResponse;

// @public
export interface ArcSettingsCreateOptionalParams extends coreClient.OperationOptions {
}
Expand All @@ -58,6 +93,13 @@ export interface ArcSettingsDeleteOptionalParams extends coreClient.OperationOpt
updateIntervalInMs?: number;
}

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

// @public
export type ArcSettingsGeneratePasswordResponse = PasswordCredential;

// @public
export interface ArcSettingsGetOptionalParams extends coreClient.OperationOptions {
}
Expand All @@ -79,6 +121,21 @@ export interface ArcSettingsListByClusterOptionalParams extends coreClient.Opera
// @public
export type ArcSettingsListByClusterResponse = ArcSettingList;

// @public
export interface ArcSettingsPatch {
connectivityProperties?: Record<string, unknown>;
tags?: {
[propertyName: string]: string;
};
}

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

// @public
export type ArcSettingsUpdateResponse = ArcSetting;

// @public (undocumented)
export class AzureStackHCIClient extends coreClient.ServiceClient {
// (undocumented)
Expand Down Expand Up @@ -113,13 +170,16 @@ export type Cluster = TrackedResource & {
cloudManagementEndpoint?: string;
aadClientId?: string;
aadTenantId?: string;
aadApplicationObjectId?: string;
aadServicePrincipalObjectId?: string;
desiredProperties?: ClusterDesiredProperties;
readonly reportedProperties?: ClusterReportedProperties;
readonly trialDaysRemaining?: number;
readonly billingModel?: string;
readonly registrationTimestamp?: Date;
readonly lastSyncTimestamp?: Date;
readonly lastBillingTimestamp?: Date;
readonly serviceEndpoint?: string;
createdBy?: string;
createdByType?: CreatedByType;
createdAt?: Date;
Expand All @@ -134,6 +194,18 @@ export interface ClusterDesiredProperties {
windowsServerSubscription?: WindowsServerSubscription;
}

// @public
export interface ClusterIdentityResponse {
// (undocumented)
aadApplicationObjectId?: string;
// (undocumented)
aadClientId?: string;
// (undocumented)
aadServicePrincipalObjectId?: string;
// (undocumented)
aadTenantId?: string;
}

// @public
export interface ClusterList {
readonly nextLink?: string;
Expand Down Expand Up @@ -178,14 +250,28 @@ export interface ClusterReportedProperties {

// @public
export interface Clusters {
beginCreateIdentity(resourceGroupName: string, clusterName: string, options?: ClustersCreateIdentityOptionalParams): Promise<PollerLike<PollOperationState<ClustersCreateIdentityResponse>, ClustersCreateIdentityResponse>>;
beginCreateIdentityAndWait(resourceGroupName: string, clusterName: string, options?: ClustersCreateIdentityOptionalParams): Promise<ClustersCreateIdentityResponse>;
beginDelete(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
beginDeleteAndWait(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise<void>;
beginUploadCertificate(resourceGroupName: string, clusterName: string, uploadCertificateRequest: UploadCertificateRequest, options?: ClustersUploadCertificateOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
beginUploadCertificateAndWait(resourceGroupName: string, clusterName: string, uploadCertificateRequest: UploadCertificateRequest, options?: ClustersUploadCertificateOptionalParams): Promise<void>;
create(resourceGroupName: string, clusterName: string, cluster: Cluster, options?: ClustersCreateOptionalParams): Promise<ClustersCreateResponse>;
delete(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise<void>;
get(resourceGroupName: string, clusterName: string, options?: ClustersGetOptionalParams): Promise<ClustersGetResponse>;
listByResourceGroup(resourceGroupName: string, options?: ClustersListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Cluster>;
listBySubscription(options?: ClustersListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Cluster>;
update(resourceGroupName: string, clusterName: string, cluster: ClusterPatch, options?: ClustersUpdateOptionalParams): Promise<ClustersUpdateResponse>;
}

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

// @public
export type ClustersCreateIdentityResponse = ClusterIdentityResponse;

// @public
export interface ClustersCreateOptionalParams extends coreClient.OperationOptions {
}
Expand All @@ -195,6 +281,8 @@ export type ClustersCreateResponse = Cluster;

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

// @public
Expand Down Expand Up @@ -239,6 +327,12 @@ export interface ClustersUpdateOptionalParams extends coreClient.OperationOption
// @public
export type ClustersUpdateResponse = Cluster;

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

// @public
export type CreatedByType = string;

Expand Down Expand Up @@ -604,6 +698,18 @@ export type OperationsListResponse = OperationListResult;
// @public
export type Origin = string;

// @public (undocumented)
export interface PasswordCredential {
// (undocumented)
endDateTime?: Date;
// (undocumented)
keyId?: string;
// (undocumented)
secretText?: string;
// (undocumented)
startDateTime?: Date;
}

// @public
export interface PerNodeExtensionState {
readonly extension?: string;
Expand All @@ -624,6 +730,12 @@ export type ProvisioningState = string;
// @public
export type ProxyResource = Resource & {};

// @public (undocumented)
export interface RawCertificateData {
// (undocumented)
certificates?: string[];
}

// @public
export interface Resource {
readonly id?: string;
Expand All @@ -642,6 +754,12 @@ export type TrackedResource = Resource & {
location: string;
};

// @public (undocumented)
export interface UploadCertificateRequest {
// (undocumented)
properties?: RawCertificateData;
}

// @public
export type WindowsServerSubscription = string;

Expand Down
Loading