diff --git a/sdk/healthcareapis/arm-healthcareapis/LICENSE.txt b/sdk/healthcareapis/arm-healthcareapis/LICENSE.txt index ea8fb1516028..2d3163745319 100644 --- a/sdk/healthcareapis/arm-healthcareapis/LICENSE.txt +++ b/sdk/healthcareapis/arm-healthcareapis/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2020 Microsoft +Copyright (c) 2021 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 diff --git a/sdk/healthcareapis/arm-healthcareapis/README.md b/sdk/healthcareapis/arm-healthcareapis/README.md index 1bad96847efa..ade77c2fe68b 100644 --- a/sdk/healthcareapis/arm-healthcareapis/README.md +++ b/sdk/healthcareapis/arm-healthcareapis/README.md @@ -1,11 +1,11 @@ ## Azure HealthcareApisManagementClient SDK for JavaScript -This package contains an isomorphic SDK (runs both in Node.js and in browsers) for HealthcareApisManagementClient. +This package contains an isomorphic SDK (runs both in node.js and in browsers) for HealthcareApisManagementClient. ### Currently supported environments - [LTS versions of Node.js](https://nodejs.org/about/releases/) -- Latest versions of Safari, Chrome, Edge, and Firefox. +- Latest versions of Safari, Chrome, Edge and Firefox. ### Prerequisites @@ -21,7 +21,6 @@ Install both packages using the below command: ```bash npm install --save @azure/arm-healthcareapis @azure/identity ``` - > **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. @@ -37,7 +36,6 @@ If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/ In the below samples, we pass the credential and the Azure subscription id to instantiate the client. Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. - #### nodejs - Authentication, client creation, and get services as an example written in JavaScript. ##### Sample code @@ -87,7 +85,7 @@ In browser applications, we recommend using the `InteractiveBrowserCredential` t const credential = new InteractiveBrowserCredential( { clientId: "", - tenantId: "" + tenant: "" }); const client = new Azure.ArmHealthcareapis.HealthcareApisManagementClient(creds, subscriptionId); const resourceGroupName = "testresourceGroupName"; diff --git a/sdk/healthcareapis/arm-healthcareapis/package.json b/sdk/healthcareapis/arm-healthcareapis/package.json index 15813b3898cf..c2ca83223249 100644 --- a/sdk/healthcareapis/arm-healthcareapis/package.json +++ b/sdk/healthcareapis/arm-healthcareapis/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/healthcareapis/arm-healthcareapis", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/healthcareapis/arm-healthcareapis", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/healthcareapis/arm-healthcareapis/rollup.config.js b/sdk/healthcareapis/arm-healthcareapis/rollup.config.js index 555d5fa9f225..7e9f56a8f51a 100644 --- a/sdk/healthcareapis/arm-healthcareapis/rollup.config.js +++ b/sdk/healthcareapis/arm-healthcareapis/rollup.config.js @@ -21,8 +21,8 @@ const config = { "@azure/ms-rest-azure-js": "msRestAzure" }, banner: `/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/healthcareapis/arm-healthcareapis/src/healthcareApisManagementClient.ts b/sdk/healthcareapis/arm-healthcareapis/src/healthcareApisManagementClient.ts index 7d86396d1f02..81526deac13c 100644 --- a/sdk/healthcareapis/arm-healthcareapis/src/healthcareApisManagementClient.ts +++ b/sdk/healthcareapis/arm-healthcareapis/src/healthcareApisManagementClient.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/healthcareapis/arm-healthcareapis/src/healthcareApisManagementClientContext.ts b/sdk/healthcareapis/arm-healthcareapis/src/healthcareApisManagementClientContext.ts index d8ebdc9e78b6..1ae74a64260d 100644 --- a/sdk/healthcareapis/arm-healthcareapis/src/healthcareApisManagementClientContext.ts +++ b/sdk/healthcareapis/arm-healthcareapis/src/healthcareApisManagementClientContext.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -10,8 +9,8 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; -import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; +import { TokenCredential } from "@azure/core-auth"; const packageName = "@azure/arm-healthcareapis"; const packageVersion = "1.1.1"; @@ -50,7 +49,7 @@ export class HealthcareApisManagementClientContext extends msRestAzure.AzureServ super(credentials, options); - this.apiVersion = '2020-03-30'; + this.apiVersion = '2021-01-11'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; diff --git a/sdk/healthcareapis/arm-healthcareapis/src/models/index.ts b/sdk/healthcareapis/arm-healthcareapis/src/models/index.ts index 6ac837aab5a7..cbc38c9900d5 100644 --- a/sdk/healthcareapis/arm-healthcareapis/src/models/index.ts +++ b/sdk/healthcareapis/arm-healthcareapis/src/models/index.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -121,11 +121,12 @@ export interface PrivateLinkServiceConnectionState { } /** - * An interface representing Resource. + * Common fields that are returned in the response for all Azure Resource Manager resources + * @summary Resource */ export interface Resource extends BaseResource { /** - * Fully qualified resource Id for the resource. Ex - + * Fully qualified resource ID for the resource. Ex - * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} * **NOTE: This property will not be serialized. It can only be populated by the server.** */ @@ -136,8 +137,8 @@ export interface Resource extends BaseResource { */ readonly name?: string; /** - * The type of the resource. Ex- Microsoft.Compute/virtualMachines or - * Microsoft.Storage/storageAccounts. + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + * "Microsoft.Storage/storageAccounts" * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; @@ -163,6 +164,16 @@ export interface PrivateEndpointConnection extends Resource { provisioningState?: PrivateEndpointConnectionProvisioningState; } +/** + * Azure container registry configuration information + */ +export interface ServiceAcrConfigurationInfo { + /** + * The list of the ACR login servers. + */ + loginServers?: string[]; +} + /** * The properties of a service instance. */ @@ -202,6 +213,42 @@ export interface ServicesProperties { * is enabled. Possible values include: 'Enabled', 'Disabled' */ publicNetworkAccess?: PublicNetworkAccess; + /** + * The azure container registry settings used for convert data operation of the service instance. + */ + acrConfiguration?: ServiceAcrConfigurationInfo; +} + +/** + * Metadata pertaining to creation and last modification of the resource. + */ +export interface SystemData { + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. Possible values include: 'User', + * 'Application', 'ManagedIdentity', 'Key' + */ + createdByType?: CreatedByType; + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: Date; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. Possible values include: 'User', + * 'Application', 'ManagedIdentity', 'Key' + */ + lastModifiedByType?: CreatedByType; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: Date; } /** @@ -253,6 +300,7 @@ export interface ServicesDescription extends ServicesResource { * The common properties of a service. */ properties?: ServicesProperties; + systemData?: SystemData; } /** @@ -434,35 +482,13 @@ export interface OperationResultsDescription { } /** - * The resource model definition for a ARM proxy resource. It will have everything other than - * required location and tags - */ -export interface ProxyResource extends Resource { -} - -/** - * The resource model definition for a ARM tracked top level resource + * The Private Endpoint Connection resource. */ -export interface TrackedResource extends Resource { - /** - * Resource tags. - */ - tags?: { [propertyName: string]: string }; +export interface PrivateEndpointConnectionDescription extends PrivateEndpointConnection { /** - * The geo-location where the resource lives + * System metadata for this resource. */ - location: string; -} - -/** - * The resource model definition for a Azure Resource Manager resource with an etag. - */ -export interface AzureEntityResource extends Resource { - /** - * Resource Etag. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly etag?: string; + systemData?: SystemData; } /** @@ -485,14 +511,60 @@ export interface PrivateLinkResource extends Resource { requiredZoneNames?: string[]; } +/** + * The Private Endpoint Connection resource. + */ +export interface PrivateLinkResourceDescription extends PrivateLinkResource { + /** + * System metadata for this resource. + */ + systemData?: SystemData; +} + /** * A list of private link resources */ -export interface PrivateLinkResourceListResult { +export interface PrivateLinkResourceListResultDescription { /** * Array of private link resources */ - value?: PrivateLinkResource[]; + value?: PrivateLinkResourceDescription[]; +} + +/** + * The resource model definition for a Azure Resource Manager proxy resource. It will not have tags + * and a location + * @summary Proxy Resource + */ +export interface ProxyResource extends Resource { +} + +/** + * The resource model definition for an Azure Resource Manager tracked top level resource which has + * 'tags' and a 'location' + * @summary Tracked Resource + */ +export interface TrackedResource extends Resource { + /** + * Resource tags. + */ + tags?: { [propertyName: string]: string }; + /** + * The geo-location where the resource lives + */ + location: string; +} + +/** + * The resource model definition for an Azure Resource Manager resource with an etag. + * @summary Entity Resource + */ +export interface AzureEntityResource extends Resource { + /** + * Resource Etag. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly etag?: string; } /** @@ -530,9 +602,9 @@ export interface OperationListResult extends Array { /** * @interface * List of private endpoint connection associated with the specified storage account - * @extends Array + * @extends Array */ -export interface PrivateEndpointConnectionListResult extends Array { +export interface PrivateEndpointConnectionListResultDescription extends Array { } /** @@ -568,6 +640,14 @@ export type PrivateEndpointConnectionProvisioningState = 'Succeeded' | 'Creating */ export type PublicNetworkAccess = 'Enabled' | 'Disabled'; +/** + * Defines values for CreatedByType. + * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key' + * @readonly + * @enum {string} + */ +export type CreatedByType = 'User' | 'Application' | 'ManagedIdentity' | 'Key'; + /** * Defines values for Kind. * Possible values include: 'fhir', 'fhir-Stu3', 'fhir-R4' @@ -868,7 +948,7 @@ export type OperationResultsGetResponse = { /** * Contains response data for the listByService operation. */ -export type PrivateEndpointConnectionsListByServiceResponse = PrivateEndpointConnectionListResult & { +export type PrivateEndpointConnectionsListByServiceResponse = PrivateEndpointConnectionListResultDescription & { /** * The underlying HTTP response. */ @@ -881,14 +961,14 @@ export type PrivateEndpointConnectionsListByServiceResponse = PrivateEndpointCon /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnectionListResult; + parsedBody: PrivateEndpointConnectionListResultDescription; }; }; /** * Contains response data for the get operation. */ -export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & { +export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnectionDescription & { /** * The underlying HTTP response. */ @@ -901,14 +981,14 @@ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnection; + parsedBody: PrivateEndpointConnectionDescription; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection & { +export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnectionDescription & { /** * The underlying HTTP response. */ @@ -921,14 +1001,14 @@ export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointCo /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnection; + parsedBody: PrivateEndpointConnectionDescription; }; }; /** * Contains response data for the beginCreateOrUpdate operation. */ -export type PrivateEndpointConnectionsBeginCreateOrUpdateResponse = PrivateEndpointConnection & { +export type PrivateEndpointConnectionsBeginCreateOrUpdateResponse = PrivateEndpointConnectionDescription & { /** * The underlying HTTP response. */ @@ -941,14 +1021,14 @@ export type PrivateEndpointConnectionsBeginCreateOrUpdateResponse = PrivateEndpo /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnection; + parsedBody: PrivateEndpointConnectionDescription; }; }; /** * Contains response data for the listByService operation. */ -export type PrivateLinkResourcesListByServiceResponse = PrivateLinkResourceListResult & { +export type PrivateLinkResourcesListByServiceResponse = PrivateLinkResourceListResultDescription & { /** * The underlying HTTP response. */ @@ -961,14 +1041,14 @@ export type PrivateLinkResourcesListByServiceResponse = PrivateLinkResourceListR /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkResourceListResult; + parsedBody: PrivateLinkResourceListResultDescription; }; }; /** * Contains response data for the get operation. */ -export type PrivateLinkResourcesGetResponse = PrivateLinkResource & { +export type PrivateLinkResourcesGetResponse = PrivateLinkResourceDescription & { /** * The underlying HTTP response. */ @@ -981,6 +1061,6 @@ export type PrivateLinkResourcesGetResponse = PrivateLinkResource & { /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkResource; + parsedBody: PrivateLinkResourceDescription; }; }; diff --git a/sdk/healthcareapis/arm-healthcareapis/src/models/mappers.ts b/sdk/healthcareapis/arm-healthcareapis/src/models/mappers.ts index d94e8ac1a5e4..497011c8dc14 100644 --- a/sdk/healthcareapis/arm-healthcareapis/src/models/mappers.ts +++ b/sdk/healthcareapis/arm-healthcareapis/src/models/mappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -269,6 +269,27 @@ export const PrivateEndpointConnection: msRest.CompositeMapper = { } }; +export const ServiceAcrConfigurationInfo: msRest.CompositeMapper = { + serializedName: "ServiceAcrConfigurationInfo", + type: { + name: "Composite", + className: "ServiceAcrConfigurationInfo", + modelProperties: { + loginServers: { + serializedName: "loginServers", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + export const ServicesProperties: msRest.CompositeMapper = { serializedName: "ServicesProperties", type: { @@ -339,6 +360,59 @@ export const ServicesProperties: msRest.CompositeMapper = { type: { name: "String" } + }, + acrConfiguration: { + serializedName: "acrConfiguration", + type: { + name: "Composite", + className: "ServiceAcrConfigurationInfo" + } + } + } + } +}; + +export const SystemData: msRest.CompositeMapper = { + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData", + modelProperties: { + createdBy: { + serializedName: "createdBy", + type: { + name: "String" + } + }, + createdByType: { + serializedName: "createdByType", + type: { + name: "String" + } + }, + createdAt: { + serializedName: "createdAt", + type: { + name: "DateTime" + } + }, + lastModifiedBy: { + serializedName: "lastModifiedBy", + type: { + name: "String" + } + }, + lastModifiedByType: { + serializedName: "lastModifiedByType", + type: { + name: "String" + } + }, + lastModifiedAt: { + serializedName: "lastModifiedAt", + type: { + name: "DateTime" + } } } } @@ -434,6 +508,13 @@ export const ServicesDescription: msRest.CompositeMapper = { name: "Composite", className: "ServicesProperties" } + }, + systemData: { + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } } } } @@ -715,58 +796,18 @@ export const OperationResultsDescription: msRest.CompositeMapper = { } }; -export const ProxyResource: msRest.CompositeMapper = { - serializedName: "ProxyResource", - type: { - name: "Composite", - className: "ProxyResource", - modelProperties: { - ...Resource.type.modelProperties - } - } -}; - -export const TrackedResource: msRest.CompositeMapper = { - serializedName: "TrackedResource", - type: { - name: "Composite", - className: "TrackedResource", - modelProperties: { - ...Resource.type.modelProperties, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - location: { - required: true, - serializedName: "location", - type: { - name: "String" - } - } - } - } -}; - -export const AzureEntityResource: msRest.CompositeMapper = { - serializedName: "AzureEntityResource", +export const PrivateEndpointConnectionDescription: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnectionDescription", type: { name: "Composite", - className: "AzureEntityResource", + className: "PrivateEndpointConnectionDescription", modelProperties: { - ...Resource.type.modelProperties, - etag: { - readOnly: true, - serializedName: "etag", + ...PrivateEndpointConnection.type.modelProperties, + systemData: { + serializedName: "systemData", type: { - name: "String" + name: "Composite", + className: "SystemData" } } } @@ -814,11 +855,29 @@ export const PrivateLinkResource: msRest.CompositeMapper = { } }; -export const PrivateLinkResourceListResult: msRest.CompositeMapper = { - serializedName: "PrivateLinkResourceListResult", +export const PrivateLinkResourceDescription: msRest.CompositeMapper = { + serializedName: "PrivateLinkResourceDescription", type: { name: "Composite", - className: "PrivateLinkResourceListResult", + className: "PrivateLinkResourceDescription", + modelProperties: { + ...PrivateLinkResource.type.modelProperties, + systemData: { + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } + } + } + } +}; + +export const PrivateLinkResourceListResultDescription: msRest.CompositeMapper = { + serializedName: "PrivateLinkResourceListResultDescription", + type: { + name: "Composite", + className: "PrivateLinkResourceListResultDescription", modelProperties: { value: { serializedName: "value", @@ -827,10 +886,68 @@ export const PrivateLinkResourceListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "PrivateLinkResource" + className: "PrivateLinkResourceDescription" + } + } + } + } + } + } +}; + +export const ProxyResource: msRest.CompositeMapper = { + serializedName: "ProxyResource", + type: { + name: "Composite", + className: "ProxyResource", + modelProperties: { + ...Resource.type.modelProperties + } + } +}; + +export const TrackedResource: msRest.CompositeMapper = { + serializedName: "TrackedResource", + type: { + name: "Composite", + className: "TrackedResource", + modelProperties: { + ...Resource.type.modelProperties, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" } } } + }, + location: { + required: true, + serializedName: "location", + type: { + name: "String" + } + } + } + } +}; + +export const AzureEntityResource: msRest.CompositeMapper = { + serializedName: "AzureEntityResource", + type: { + name: "Composite", + className: "AzureEntityResource", + modelProperties: { + ...Resource.type.modelProperties, + etag: { + readOnly: true, + serializedName: "etag", + type: { + name: "String" + } } } } @@ -893,11 +1010,11 @@ export const OperationListResult: msRest.CompositeMapper = { } }; -export const PrivateEndpointConnectionListResult: msRest.CompositeMapper = { - serializedName: "PrivateEndpointConnectionListResult", +export const PrivateEndpointConnectionListResultDescription: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnectionListResultDescription", type: { name: "Composite", - className: "PrivateEndpointConnectionListResult", + className: "PrivateEndpointConnectionListResultDescription", modelProperties: { value: { serializedName: "", @@ -906,7 +1023,7 @@ export const PrivateEndpointConnectionListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "PrivateEndpointConnection" + className: "PrivateEndpointConnectionDescription" } } } diff --git a/sdk/healthcareapis/arm-healthcareapis/src/models/operationResultsMappers.ts b/sdk/healthcareapis/arm-healthcareapis/src/models/operationResultsMappers.ts index dbd5e7895407..73acc940a0c0 100644 --- a/sdk/healthcareapis/arm-healthcareapis/src/models/operationResultsMappers.ts +++ b/sdk/healthcareapis/arm-healthcareapis/src/models/operationResultsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/healthcareapis/arm-healthcareapis/src/models/operationsMappers.ts b/sdk/healthcareapis/arm-healthcareapis/src/models/operationsMappers.ts index dad157b4e8d6..5e62831140e1 100644 --- a/sdk/healthcareapis/arm-healthcareapis/src/models/operationsMappers.ts +++ b/sdk/healthcareapis/arm-healthcareapis/src/models/operationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/healthcareapis/arm-healthcareapis/src/models/parameters.ts b/sdk/healthcareapis/arm-healthcareapis/src/models/parameters.ts index f4873eee85e3..b84e5bb05576 100644 --- a/sdk/healthcareapis/arm-healthcareapis/src/models/parameters.ts +++ b/sdk/healthcareapis/arm-healthcareapis/src/models/parameters.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/healthcareapis/arm-healthcareapis/src/models/privateEndpointConnectionsMappers.ts b/sdk/healthcareapis/arm-healthcareapis/src/models/privateEndpointConnectionsMappers.ts index f87561bab5c5..fb80f73c0bd9 100644 --- a/sdk/healthcareapis/arm-healthcareapis/src/models/privateEndpointConnectionsMappers.ts +++ b/sdk/healthcareapis/arm-healthcareapis/src/models/privateEndpointConnectionsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -13,12 +13,15 @@ export { ErrorDetailsInternal, PrivateEndpoint, PrivateEndpointConnection, - PrivateEndpointConnectionListResult, + PrivateEndpointConnectionDescription, + PrivateEndpointConnectionListResultDescription, PrivateLinkResource, + PrivateLinkResourceDescription, PrivateLinkServiceConnectionState, ProxyResource, Resource, ServiceAccessPolicyEntry, + ServiceAcrConfigurationInfo, ServiceAuthenticationConfigurationInfo, ServiceCorsConfigurationInfo, ServiceCosmosDbConfigurationInfo, @@ -27,5 +30,6 @@ export { ServicesProperties, ServicesResource, ServicesResourceIdentity, + SystemData, TrackedResource } from "../models/mappers"; diff --git a/sdk/healthcareapis/arm-healthcareapis/src/models/privateLinkResourcesMappers.ts b/sdk/healthcareapis/arm-healthcareapis/src/models/privateLinkResourcesMappers.ts index 704670297f75..8673d2c22a7f 100644 --- a/sdk/healthcareapis/arm-healthcareapis/src/models/privateLinkResourcesMappers.ts +++ b/sdk/healthcareapis/arm-healthcareapis/src/models/privateLinkResourcesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -13,12 +13,15 @@ export { ErrorDetailsInternal, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionDescription, PrivateLinkResource, - PrivateLinkResourceListResult, + PrivateLinkResourceDescription, + PrivateLinkResourceListResultDescription, PrivateLinkServiceConnectionState, ProxyResource, Resource, ServiceAccessPolicyEntry, + ServiceAcrConfigurationInfo, ServiceAuthenticationConfigurationInfo, ServiceCorsConfigurationInfo, ServiceCosmosDbConfigurationInfo, @@ -27,5 +30,6 @@ export { ServicesProperties, ServicesResource, ServicesResourceIdentity, + SystemData, TrackedResource } from "../models/mappers"; diff --git a/sdk/healthcareapis/arm-healthcareapis/src/models/servicesMappers.ts b/sdk/healthcareapis/arm-healthcareapis/src/models/servicesMappers.ts index 0de63e86f6f6..72f63ac5bff7 100644 --- a/sdk/healthcareapis/arm-healthcareapis/src/models/servicesMappers.ts +++ b/sdk/healthcareapis/arm-healthcareapis/src/models/servicesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -14,11 +14,14 @@ export { ErrorDetailsInternal, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionDescription, PrivateLinkResource, + PrivateLinkResourceDescription, PrivateLinkServiceConnectionState, ProxyResource, Resource, ServiceAccessPolicyEntry, + ServiceAcrConfigurationInfo, ServiceAuthenticationConfigurationInfo, ServiceCorsConfigurationInfo, ServiceCosmosDbConfigurationInfo, @@ -30,5 +33,6 @@ export { ServicesProperties, ServicesResource, ServicesResourceIdentity, + SystemData, TrackedResource } from "../models/mappers"; diff --git a/sdk/healthcareapis/arm-healthcareapis/src/operations/index.ts b/sdk/healthcareapis/arm-healthcareapis/src/operations/index.ts index 0e8ba668f2c1..b03e6c10c240 100644 --- a/sdk/healthcareapis/arm-healthcareapis/src/operations/index.ts +++ b/sdk/healthcareapis/arm-healthcareapis/src/operations/index.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/healthcareapis/arm-healthcareapis/src/operations/operationResults.ts b/sdk/healthcareapis/arm-healthcareapis/src/operations/operationResults.ts index 8e3c2e4a5ada..f4317442b288 100644 --- a/sdk/healthcareapis/arm-healthcareapis/src/operations/operationResults.ts +++ b/sdk/healthcareapis/arm-healthcareapis/src/operations/operationResults.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/healthcareapis/arm-healthcareapis/src/operations/operations.ts b/sdk/healthcareapis/arm-healthcareapis/src/operations/operations.ts index 385220df48d1..a783959767ed 100644 --- a/sdk/healthcareapis/arm-healthcareapis/src/operations/operations.ts +++ b/sdk/healthcareapis/arm-healthcareapis/src/operations/operations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -108,6 +107,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/healthcareapis/arm-healthcareapis/src/operations/privateEndpointConnections.ts b/sdk/healthcareapis/arm-healthcareapis/src/operations/privateEndpointConnections.ts index 315539d3c21c..32a1be30c77b 100644 --- a/sdk/healthcareapis/arm-healthcareapis/src/operations/privateEndpointConnections.ts +++ b/sdk/healthcareapis/arm-healthcareapis/src/operations/privateEndpointConnections.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -40,15 +39,15 @@ export class PrivateEndpointConnections { * @param resourceName The name of the service instance. * @param callback The callback */ - listByService(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; + listByService(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group that contains the service instance. * @param resourceName The name of the service instance. * @param options The optional parameters * @param callback The callback */ - listByService(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByService(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByService(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByService(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -76,7 +75,7 @@ export class PrivateEndpointConnections { * the Azure resource * @param callback The callback */ - get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group that contains the service instance. * @param resourceName The name of the service instance. @@ -85,8 +84,8 @@ export class PrivateEndpointConnections { * @param options The optional parameters * @param callback The callback */ - get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -190,7 +189,7 @@ const listByServiceOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.PrivateEndpointConnectionListResult + bodyMapper: Mappers.PrivateEndpointConnectionListResultDescription }, default: { bodyMapper: Mappers.ErrorDetails @@ -216,7 +215,7 @@ const getOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.PrivateEndpointConnection + bodyMapper: Mappers.PrivateEndpointConnectionDescription }, default: { bodyMapper: Mappers.ErrorDetails @@ -249,7 +248,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { }, responses: { 200: { - bodyMapper: Mappers.PrivateEndpointConnection + bodyMapper: Mappers.PrivateEndpointConnectionDescription }, default: { bodyMapper: Mappers.ErrorDetails diff --git a/sdk/healthcareapis/arm-healthcareapis/src/operations/privateLinkResources.ts b/sdk/healthcareapis/arm-healthcareapis/src/operations/privateLinkResources.ts index 499a9f923909..f7184986af8d 100644 --- a/sdk/healthcareapis/arm-healthcareapis/src/operations/privateLinkResources.ts +++ b/sdk/healthcareapis/arm-healthcareapis/src/operations/privateLinkResources.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -39,15 +38,15 @@ export class PrivateLinkResources { * @param resourceName The name of the service instance. * @param callback The callback */ - listByService(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; + listByService(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group that contains the service instance. * @param resourceName The name of the service instance. * @param options The optional parameters * @param callback The callback */ - listByService(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByService(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByService(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByService(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -73,7 +72,7 @@ export class PrivateLinkResources { * @param groupName The name of the private link resource group. * @param callback The callback */ - get(resourceGroupName: string, resourceName: string, groupName: string, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, resourceName: string, groupName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group that contains the service instance. * @param resourceName The name of the service instance. @@ -81,8 +80,8 @@ export class PrivateLinkResources { * @param options The optional parameters * @param callback The callback */ - get(resourceGroupName: string, resourceName: string, groupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, resourceName: string, groupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, resourceName: string, groupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, resourceName: string, groupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -113,7 +112,7 @@ const listByServiceOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.PrivateLinkResourceListResult + bodyMapper: Mappers.PrivateLinkResourceListResultDescription }, default: { bodyMapper: Mappers.ErrorDetails @@ -139,7 +138,7 @@ const getOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.PrivateLinkResource + bodyMapper: Mappers.PrivateLinkResourceDescription }, default: { bodyMapper: Mappers.ErrorDetails diff --git a/sdk/healthcareapis/arm-healthcareapis/src/operations/services.ts b/sdk/healthcareapis/arm-healthcareapis/src/operations/services.ts index b019fdd021ca..b22e3adaa90f 100644 --- a/sdk/healthcareapis/arm-healthcareapis/src/operations/services.ts +++ b/sdk/healthcareapis/arm-healthcareapis/src/operations/services.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -497,6 +496,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -518,6 +520,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ],