Skip to content

Commit

Permalink
CodeGen from PR 18458 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 24ebc7824ad0c1d7588c13e19fd0b0dc2fb0d9ca into 2a939260357e0cba34cf9fba1d428b2da16dfa5e
  • Loading branch information
SDKAuto committed Mar 30, 2022
1 parent 0a098ff commit 205c818
Show file tree
Hide file tree
Showing 11 changed files with 754 additions and 154 deletions.
27 changes: 27 additions & 0 deletions sdk/hybridcompute/arm-hybridcompute/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# Release History

## 3.1.0 (2022-03-30)

**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
- 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


## 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": "dfbf05f83d90e5bd289561068ab4f4f3f274e577",
"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=/home/vsts/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.2.1",
"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,28 @@ 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 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 +115,7 @@ export interface HybridComputePrivateLinkScopeListResult {

// @public
export interface HybridComputePrivateLinkScopeProperties {
readonly privateEndpointConnections?: PrivateEndpointConnectionDataModel[];
readonly privateLinkScopeId?: string;
readonly provisioningState?: string;
publicNetworkAccess?: PublicNetworkAccessType;
Expand Down Expand Up @@ -193,6 +216,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 +324,10 @@ export interface MachineListResult {
// @public
export interface MachineProperties {
readonly adFqdn?: string;
agentConfiguration?: AgentConfiguration;
readonly agentVersion?: string;
clientPublicKey?: string;
cloudMetadata?: CloudMetadata;
readonly detectedProperties?: {
[propertyName: string]: string;
};
Expand All @@ -313,13 +339,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 +410,9 @@ export type MachineUpdate = ResourceUpdate & {

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

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

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

// @public
Expand All @@ -429,6 +475,14 @@ export type PrivateEndpointConnection = ProxyResource & {
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 +491,7 @@ export interface PrivateEndpointConnectionListResult {

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

// @public
export interface ServiceStatus {
startupType?: string;
state?: 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

0 comments on commit 205c818

Please sign in to comment.