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-hybridcompute] [Hub Generated] Review request for Microsoft.HybridCompute to add version stable/2022-03-10 #114

Closed
wants to merge 1 commit into from
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
31 changes: 31 additions & 0 deletions sdk/hybridcompute/arm-hybridcompute/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,36 @@
# Release History

## 3.1.0 (2022-04-18)

**Features**

- Added Interface AgentConfiguration
- Added Interface CloudMetadata
- Added Interface ConfigurationExtension
- Added Interface OSProfileLinuxConfiguration
- Added Interface OSProfileWindowsConfiguration
- Added Interface PrivateEndpointConnectionDataModel
- Added Interface ServiceStatus
- Added Interface ServiceStatuses
- Added Type Alias AssessmentModeTypes
- Added Type Alias PatchModeTypes
- Interface HybridComputePrivateLinkScopeProperties has a new optional parameter privateEndpointConnections
- Interface MachineExtensionProperties has a new optional parameter enableAutomaticUpgrade
- Interface MachineProperties has a new optional parameter agentConfiguration
- Interface MachineProperties has a new optional parameter cloudMetadata
- Interface MachineProperties has a new optional parameter mssqlDiscovered
- Interface MachineProperties has a new optional parameter osType
- Interface MachineProperties has a new optional parameter serviceStatuses
- Interface MachineUpdateProperties has a new optional parameter cloudMetadata
- Interface MachineUpdateProperties has a new optional parameter osProfile
- Interface OperationValue has a new optional parameter isDataAction
- Interface OSProfile has a new optional parameter linuxConfiguration
- Interface OSProfile has a new optional parameter windowsConfiguration
- Interface PrivateEndpointConnectionProperties has a new optional parameter groupIds
- Added Enum KnownAssessmentModeTypes
- Added Enum KnownPatchModeTypes


## 3.0.0 (2022-01-18)

The package of @azure/arm-hybridcompute is using our next generation design principles since version 3.0.0, which contains breaking changes.
Expand Down
7 changes: 4 additions & 3 deletions sdk/hybridcompute/arm-hybridcompute/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"commit": "d29e6eb4894005c52e67cb4b5ac3faf031113e7d",
"commit": "445811e1b640cdd42073837818788bb9bba40619",
"readme": "specification/hybridcompute/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/hybridcompute/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220114.1 --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/hybridcompute/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220105.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"use": "@autorest/typescript@6.0.0-alpha.16.20220114.1"
"release_tool": "@azure-tools/js-sdk-release-tools@2.3.0",
"use": "@autorest/typescript@6.0.0-alpha.16.20220105.1"
}
25 changes: 19 additions & 6 deletions sdk/hybridcompute/arm-hybridcompute/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-hybridcompute.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"
}
}
}
}
}
36 changes: 16 additions & 20 deletions sdk/hybridcompute/arm-hybridcompute/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for HybridComputeManagementClient.",
"version": "3.0.0",
"engines": { "node": ">=12.0.0" },
"version": "3.1.0",
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.2.0",
"@azure/abort-controller": "^1.0.0",
Expand All @@ -14,7 +16,13 @@
"@azure/core-rest-pipeline": "^1.1.0",
"tslib": "^2.2.0"
},
"keywords": ["node", "azure", "typescript", "browser", "isomorphic"],
"keywords": [
"node",
"azure",
"typescript",
"browser",
"isomorphic"
],
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist-esm/src/index.js",
Expand All @@ -41,7 +49,9 @@
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
},
"bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" },
"bugs": {
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"files": [
"dist/**/*.js",
"dist/**/*.js.map",
Expand Down Expand Up @@ -88,19 +98,5 @@
"docs": "echo skipped"
},
"sideEffects": false,
"//metadata": {
"constantPaths": [
{
"path": "src/HybridComputeManagementClient.ts",
"prefix": "packageDetails"
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": ["azure"],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-hybridcompute?view=azure-node-preview"
}
}
"autoPublish": true
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,31 @@ import { PagedAsyncIterableIterator } from '@azure/core-paging';
import { PollerLike } from '@azure/core-lro';
import { PollOperationState } from '@azure/core-lro';

// @public
export interface AgentConfiguration {
readonly extensionsAllowList?: ConfigurationExtension[];
readonly extensionsBlockList?: ConfigurationExtension[];
readonly extensionsEnabled?: string;
readonly guestConfigurationEnabled?: string;
readonly incomingConnectionsPorts?: string[];
readonly proxyBypass?: string[];
readonly proxyUrl?: string;
}

// @public
export type AssessmentModeTypes = string;

// @public
export interface CloudMetadata {
readonly provider?: string;
}

// @public
export interface ConfigurationExtension {
readonly publisher?: string;
readonly type?: string;
}

// @public (undocumented)
export interface ConnectionDetail {
readonly groupId?: string;
Expand Down Expand Up @@ -93,6 +118,7 @@ export interface HybridComputePrivateLinkScopeListResult {

// @public
export interface HybridComputePrivateLinkScopeProperties {
readonly privateEndpointConnections?: PrivateEndpointConnectionDataModel[];
readonly privateLinkScopeId?: string;
readonly provisioningState?: string;
publicNetworkAccess?: PublicNetworkAccessType;
Expand All @@ -108,6 +134,14 @@ export interface Identity {
// @public
export type InstanceViewTypes = string;

// @public
export enum KnownAssessmentModeTypes {
// (undocumented)
AutomaticByPlatform = "AutomaticByPlatform",
// (undocumented)
ImageDefault = "ImageDefault"
}

// @public
export enum KnownCreatedByType {
// (undocumented)
Expand All @@ -126,6 +160,18 @@ export enum KnownInstanceViewTypes {
InstanceView = "instanceView"
}

// @public
export enum KnownPatchModeTypes {
// (undocumented)
AutomaticByOS = "AutomaticByOS",
// (undocumented)
AutomaticByPlatform = "AutomaticByPlatform",
// (undocumented)
ImageDefault = "ImageDefault",
// (undocumented)
Manual = "Manual"
}

// @public
export enum KnownPublicNetworkAccessType {
Disabled = "Disabled",
Expand Down Expand Up @@ -193,6 +239,7 @@ export interface MachineExtensionInstanceViewStatus {
// @public
export interface MachineExtensionProperties {
autoUpgradeMinorVersion?: boolean;
enableAutomaticUpgrade?: boolean;
forceUpdateTag?: string;
instanceView?: MachineExtensionInstanceView;
protectedSettings?: Record<string, unknown>;
Expand Down Expand Up @@ -300,8 +347,10 @@ export interface MachineListResult {
// @public
export interface MachineProperties {
readonly adFqdn?: string;
readonly agentConfiguration?: AgentConfiguration;
readonly agentVersion?: string;
clientPublicKey?: string;
cloudMetadata?: CloudMetadata;
readonly detectedProperties?: {
[propertyName: string]: string;
};
Expand All @@ -313,13 +362,16 @@ export interface MachineProperties {
readonly lastStatusChange?: Date;
locationData?: LocationData;
readonly machineFqdn?: string;
mssqlDiscovered?: string;
readonly osName?: string;
readonly osProfile?: OSProfile;
osProfile?: OSProfile;
readonly osSku?: string;
osType?: string;
readonly osVersion?: string;
parentClusterResourceId?: string;
privateLinkScopeResourceId?: string;
readonly provisioningState?: string;
serviceStatuses?: ServiceStatuses;
readonly status?: StatusTypes;
vmId?: string;
readonly vmUuid?: string;
Expand Down Expand Up @@ -381,7 +433,9 @@ export type MachineUpdate = ResourceUpdate & {

// @public
export interface MachineUpdateProperties {
cloudMetadata?: CloudMetadata;
locationData?: LocationData;
osProfile?: OSProfile;
parentClusterResourceId?: string;
privateLinkScopeResourceId?: string;
}
Expand All @@ -406,6 +460,7 @@ export type OperationsListResponse = OperationListResult;
// @public
export interface OperationValue {
display?: OperationValueDisplay;
readonly isDataAction?: boolean;
readonly name?: string;
readonly origin?: string;
}
Expand All @@ -421,14 +476,39 @@ export interface OperationValueDisplay {
// @public
export interface OSProfile {
readonly computerName?: string;
linuxConfiguration?: OSProfileLinuxConfiguration;
windowsConfiguration?: OSProfileWindowsConfiguration;
}

// @public
export interface OSProfileLinuxConfiguration {
assessmentMode?: AssessmentModeTypes;
patchMode?: PatchModeTypes;
}

// @public
export interface OSProfileWindowsConfiguration {
assessmentMode?: AssessmentModeTypes;
patchMode?: PatchModeTypes;
}

// @public
export type PatchModeTypes = string;

// @public
export type PrivateEndpointConnection = ProxyResource & {
properties?: PrivateEndpointConnectionProperties;
readonly systemData?: SystemData;
};

// @public
export interface PrivateEndpointConnectionDataModel {
readonly id?: string;
readonly name?: string;
properties?: PrivateEndpointConnectionProperties;
readonly type?: string;
}

// @public
export interface PrivateEndpointConnectionListResult {
readonly nextLink?: string;
Expand All @@ -437,6 +517,7 @@ export interface PrivateEndpointConnectionListResult {

// @public
export interface PrivateEndpointConnectionProperties {
readonly groupIds?: string[];
privateEndpoint?: PrivateEndpointProperty;
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty;
readonly provisioningState?: string;
Expand Down Expand Up @@ -666,6 +747,18 @@ export interface ResourceUpdate {
};
}

// @public
export interface ServiceStatus {
startupType?: string;
status?: string;
}

// @public
export interface ServiceStatuses {
extensionService?: ServiceStatus;
guestConfigurationService?: ServiceStatus;
}

// @public
export type StatusLevelTypes = string;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class HybridComputeManagementClient extends coreClient.ServiceClient {
credential: credentials
};

const packageDetails = `azsdk-js-arm-hybridcompute/3.0.0`;
const packageDetails = `azsdk-js-arm-hybridcompute/3.1.0`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand All @@ -89,7 +89,7 @@ export class HybridComputeManagementClient extends coreClient.ServiceClient {

// Assigning values to Constant parameters
this.$host = options.$host || "https://management.azure.com";
this.apiVersion = options.apiVersion || "2021-05-20";
this.apiVersion = options.apiVersion || "2022-03-10";
this.machines = new MachinesImpl(this);
this.machineExtensions = new MachineExtensionsImpl(this);
this.operations = new OperationsImpl(this);
Expand Down
Loading