Skip to content

Commit

Permalink
CodeGen from PR 22837 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge a9c6107fc5c02675080aeec81c90fb7bd723822b into 66174681c09b101de03fd35399080cfbccc93e8f
  • Loading branch information
SDKAuto committed Mar 4, 2023
1 parent b38e202 commit 211641d
Show file tree
Hide file tree
Showing 19 changed files with 442 additions and 81 deletions.
66 changes: 62 additions & 4 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 21 additions & 10 deletions sdk/healthcareapis/arm-healthcareapis/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
# Release History

## 2.3.0 (2023-03-04)

**Features**

## 2.2.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added Interface CorsConfiguration
- Added Interface FhirServiceImportConfiguration
- Added Interface ImplementationGuidesConfiguration
- Added Interface ServiceImportConfigurationInfo
- Interface DicomService has a new optional parameter corsConfiguration
- Interface DicomService has a new optional parameter eventState
- Interface FhirService has a new optional parameter implementationGuidesConfiguration
- Interface FhirService has a new optional parameter importConfiguration
- Interface MetricSpecification has a new optional parameter enableRegionalMdmAccount
- Interface MetricSpecification has a new optional parameter isInternal
- Interface MetricSpecification has a new optional parameter metricFilterPattern
- Interface MetricSpecification has a new optional parameter resourceIdDimensionNameOverride
- Interface MetricSpecification has a new optional parameter sourceMdmAccount
- Interface ServiceCosmosDbConfigurationInfo has a new optional parameter crossTenantCmkApplicationId
- Interface ServicesProperties has a new optional parameter importConfiguration


## 2.2.0 (2022-11-25)

**Features**
Expand Down
2 changes: 1 addition & 1 deletion sdk/healthcareapis/arm-healthcareapis/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2022 Microsoft
Copyright (c) 2023 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/healthcareapis/arm-healthcareapis/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "c583b05741fadfdca116be3b9ccb1c4be8a73258",
"commit": "af62393b90d4e344fc6844dfcc21b24d79d3db54",
"readme": "specification/healthcareapis/resource-manager/readme.md",
"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=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\healthcareapis\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.3.20221108.1 --generate-sample=true",
"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=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/healthcareapis/resource-manager/readme.md --use=@autorest/typescript@6.0.0-rc.5",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.4.2",
"use": "@autorest/typescript@6.0.0-rc.3.20221108.1"
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.2",
"use": "@autorest/typescript@6.0.0-rc.5"
}
22 changes: 7 additions & 15 deletions sdk/healthcareapis/arm-healthcareapis/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 HealthcareApisManagementClient.",
"version": "2.2.1",
"version": "2.3.0",
"engines": {
"node": ">=14.0.0"
},
Expand All @@ -29,9 +29,9 @@
"types": "./types/arm-healthcareapis.d.ts",
"devDependencies": {
"@microsoft/api-extractor": "^7.31.1",
"@rollup/plugin-commonjs": "^24.0.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-multi-entry": "^6.0.0",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-multi-entry": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"mkdirp": "^1.0.4",
"rollup": "^2.66.1",
Expand All @@ -40,7 +40,7 @@
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-recorder": "^2.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^7.1.1",
"@types/chai": "^4.2.8",
Expand Down Expand Up @@ -110,13 +110,5 @@
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-healthcareapis?view=azure-node-preview"
}
}
"autoPublish": true
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,23 @@ export interface CheckNameAvailabilityParameters {
type: string;
}

// @public
export interface CorsConfiguration {
allowCredentials?: boolean;
headers?: string[];
maxAge?: number;
methods?: string[];
origins?: string[];
}

// @public
export type CreatedByType = string;

// @public
export interface DicomService extends TaggedResource, ServiceManagedIdentity {
authenticationConfiguration?: DicomServiceAuthenticationConfiguration;
corsConfiguration?: CorsConfiguration;
readonly eventState?: ServiceEventState;
readonly privateEndpointConnections?: PrivateEndpointConnection[];
readonly provisioningState?: ProvisioningState;
publicNetworkAccess?: PublicNetworkAccess;
Expand Down Expand Up @@ -152,6 +163,8 @@ export interface FhirService extends TaggedResource, ServiceManagedIdentity {
corsConfiguration?: FhirServiceCorsConfiguration;
readonly eventState?: ServiceEventState;
exportConfiguration?: FhirServiceExportConfiguration;
implementationGuidesConfiguration?: ImplementationGuidesConfiguration;
importConfiguration?: FhirServiceImportConfiguration;
kind?: FhirServiceKind;
readonly privateEndpointConnections?: PrivateEndpointConnection[];
readonly provisioningState?: ProvisioningState;
Expand Down Expand Up @@ -198,6 +211,13 @@ export interface FhirServiceExportConfiguration {
storageAccountName?: string;
}

// @public
export interface FhirServiceImportConfiguration {
enabled?: boolean;
initialImportMode?: boolean;
integrationDataStore?: string;
}

// @public
export type FhirServiceKind = string;

Expand Down Expand Up @@ -309,6 +329,11 @@ export interface HealthcareApisManagementClientOptionalParams extends coreClient
endpoint?: string;
}

// @public
export interface ImplementationGuidesConfiguration {
usCoreMissingData?: boolean;
}

// @public
export interface IotConnector extends TaggedResource, ServiceManagedIdentity {
deviceMapping?: IotMappingProperties;
Expand Down Expand Up @@ -595,8 +620,13 @@ export interface MetricSpecification {
dimensions?: MetricDimension[];
displayDescription?: string;
displayName?: string;
enableRegionalMdmAccount?: boolean;
fillGapWithZero?: boolean;
isInternal?: boolean;
metricFilterPattern?: string;
name?: string;
resourceIdDimensionNameOverride?: string;
sourceMdmAccount?: string;
sourceMdmNamespace?: string;
supportedAggregationTypes?: string[];
supportedTimeGrainTypes?: string[];
Expand Down Expand Up @@ -851,6 +881,7 @@ export interface ServiceCorsConfigurationInfo {

// @public
export interface ServiceCosmosDbConfigurationInfo {
crossTenantCmkApplicationId?: string;
keyVaultKeyUri?: string;
offerThroughput?: number;
}
Expand All @@ -863,6 +894,13 @@ export interface ServiceExportConfigurationInfo {
storageAccountName?: string;
}

// @public
export interface ServiceImportConfigurationInfo {
enabled?: boolean;
initialImportMode?: boolean;
integrationDataStore?: string;
}

// @public
export interface ServiceManagedIdentity {
identity?: ServiceManagedIdentityIdentity;
Expand Down Expand Up @@ -1003,6 +1041,7 @@ export interface ServicesProperties {
corsConfiguration?: ServiceCorsConfigurationInfo;
cosmosDbConfiguration?: ServiceCosmosDbConfigurationInfo;
exportConfiguration?: ServiceExportConfigurationInfo;
importConfiguration?: ServiceImportConfigurationInfo;
privateEndpointConnections?: PrivateEndpointConnection[];
readonly provisioningState?: ProvisioningState;
publicNetworkAccess?: PublicNetworkAccess;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class HealthcareApisManagementClient extends coreClient.ServiceClient {
/**
* Initializes a new instance of the HealthcareApisManagementClient class.
* @param credentials Subscription credentials which uniquely identify client subscription.
* @param subscriptionId The subscription identifier.
* @param subscriptionId The ID of the target subscription.
* @param options The parameter options
*/
constructor(
Expand All @@ -78,7 +78,7 @@ export class HealthcareApisManagementClient extends coreClient.ServiceClient {
credential: credentials
};

const packageDetails = `azsdk-js-arm-healthcareapis/2.2.1`;
const packageDetails = `azsdk-js-arm-healthcareapis/2.3.0`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down Expand Up @@ -131,7 +131,7 @@ export class HealthcareApisManagementClient extends coreClient.ServiceClient {

// Assigning values to Constant parameters
this.$host = options.$host || "https://management.azure.com";
this.apiVersion = options.apiVersion || "2021-11-01";
this.apiVersion = options.apiVersion || "2023-02-28";
this.services = new ServicesImpl(this);
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
Expand Down
Loading

0 comments on commit 211641d

Please sign in to comment.