diff --git a/sdk/apimanagement/arm-apimanagement/README.md b/sdk/apimanagement/arm-apimanagement/README.md index 8b269ab80915..faa16994e70d 100644 --- a/sdk/apimanagement/arm-apimanagement/README.md +++ b/sdk/apimanagement/arm-apimanagement/README.md @@ -1,11 +1,11 @@ ## Azure ApiManagementClient SDK for JavaScript -This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ApiManagementClient. +This package contains an isomorphic SDK (runs both in node.js and in browsers) for ApiManagementClient. ### 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-apimanagement @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 listByService api as an example written in JavaScript. ##### Sample code @@ -92,7 +90,7 @@ In browser applications, we recommend using the `InteractiveBrowserCredential` t const credential = new InteractiveBrowserCredential( { clientId: "", - tenantId: "" + tenant: "" }); const client = new Azure.ArmApimanagement.ApiManagementClient(creds, subscriptionId); const resourceGroupName = "testresourceGroupName"; diff --git a/sdk/apimanagement/arm-apimanagement/package.json b/sdk/apimanagement/arm-apimanagement/package.json index aa05bb40d702..1851b6fb7fac 100644 --- a/sdk/apimanagement/arm-apimanagement/package.json +++ b/sdk/apimanagement/arm-apimanagement/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/apimanagement/arm-apimanagement", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/apimanagement/arm-apimanagement", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/apimanagement/arm-apimanagement/src/apiManagementClient.ts b/sdk/apimanagement/arm-apimanagement/src/apiManagementClient.ts index 43154573785a..cb686ebdff40 100644 --- a/sdk/apimanagement/arm-apimanagement/src/apiManagementClient.ts +++ b/sdk/apimanagement/arm-apimanagement/src/apiManagementClient.ts @@ -9,8 +9,10 @@ import * as msRest from "@azure/ms-rest-js"; import { TokenCredential } from "@azure/core-auth"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; +import * as Parameters from "./models/parameters"; import * as operations from "./operations"; import { ApiManagementClientContext } from "./apiManagementClientContext"; @@ -60,6 +62,7 @@ class ApiManagementClient extends ApiManagementClientContext { notificationRecipientUser: operations.NotificationRecipientUser; notificationRecipientEmail: operations.NotificationRecipientEmail; openIdConnectProvider: operations.OpenIdConnectProvider; + outboundNetworkDependenciesEndpoints: operations.OutboundNetworkDependenciesEndpoints; policy: operations.Policy; policyDescription: operations.PolicyDescription; portalRevision: operations.PortalRevision; @@ -147,6 +150,7 @@ class ApiManagementClient extends ApiManagementClientContext { this.notificationRecipientUser = new operations.NotificationRecipientUser(this); this.notificationRecipientEmail = new operations.NotificationRecipientEmail(this); this.openIdConnectProvider = new operations.OpenIdConnectProvider(this); + this.outboundNetworkDependenciesEndpoints = new operations.OutboundNetworkDependenciesEndpoints(this); this.policy = new operations.Policy(this); this.policyDescription = new operations.PolicyDescription(this); this.portalRevision = new operations.PortalRevision(this); @@ -177,9 +181,77 @@ class ApiManagementClient extends ApiManagementClientContext { this.userConfirmationPassword = new operations.UserConfirmationPassword(this); this.apiExport = new operations.ApiExport(this); } + + /** + * Performs a connectivity check between the API Management service and a given destination, and + * returns metrics for the connection, as well as errors encountered while trying to establish it. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param connectivityCheckRequestParams Connectivity Check request parameters. + * @param [options] The optional parameters + * @returns Promise + */ + performConnectivityCheckAsync(resourceGroupName: string, serviceName: string, connectivityCheckRequestParams: Models.ConnectivityCheckRequest, options?: msRest.RequestOptionsBase): Promise { + return this.beginPerformConnectivityCheckAsync(resourceGroupName,serviceName,connectivityCheckRequestParams,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Performs a connectivity check between the API Management service and a given destination, and + * returns metrics for the connection, as well as errors encountered while trying to establish it. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param connectivityCheckRequestParams Connectivity Check request parameters. + * @param [options] The optional parameters + * @returns Promise + */ + beginPerformConnectivityCheckAsync(resourceGroupName: string, serviceName: string, connectivityCheckRequestParams: Models.ConnectivityCheckRequest, options?: msRest.RequestOptionsBase): Promise { + return this.sendLRORequest( + { + resourceGroupName, + serviceName, + connectivityCheckRequestParams, + options + }, + beginPerformConnectivityCheckAsyncOperationSpec, + options); + } } // Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const beginPerformConnectivityCheckAsyncOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/connectivityCheck", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "connectivityCheckRequestParams", + mapper: { + ...Mappers.ConnectivityCheckRequest, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ConnectivityCheckResponse + }, + 202: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; export { ApiManagementClient, diff --git a/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts b/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts index a8eddd2f76a9..ff58f9189994 100644 --- a/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts +++ b/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts @@ -9,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-apimanagement"; const packageVersion = "7.1.1"; @@ -50,7 +50,7 @@ export class ApiManagementClientContext extends msRestAzure.AzureServiceClient { super(credentials, options); - this.apiVersion = '2020-12-01'; + this.apiVersion = '2021-04-01-preview'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts index 465c74000e57..ee4ceaad7556 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts @@ -9,11 +9,13 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, ApiDiagnosticCreateOrUpdateHeaders, ApiDiagnosticGetEntityTagHeaders, ApiDiagnosticGetHeaders, ApiDiagnosticUpdateHeaders, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -52,6 +54,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -75,7 +78,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -99,6 +105,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts index 20d936f50c71..6ee4ec7e37a3 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts @@ -9,10 +9,12 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, ApiIssueAttachmentCreateOrUpdateHeaders, ApiIssueAttachmentGetEntityTagHeaders, ApiIssueAttachmentGetHeaders, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -50,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -74,7 +77,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -98,6 +104,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts index 52c9f25819f3..a88a588c0cdc 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts @@ -9,10 +9,12 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, ApiIssueCommentCreateOrUpdateHeaders, ApiIssueCommentGetEntityTagHeaders, ApiIssueCommentGetHeaders, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -50,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -74,7 +77,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -98,6 +104,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts index 7bf1aef54b29..87bd3910319e 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts @@ -9,11 +9,13 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, ApiIssueCreateOrUpdateHeaders, ApiIssueGetEntityTagHeaders, ApiIssueGetHeaders, ApiIssueUpdateHeaders, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -51,6 +53,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -76,7 +79,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -100,6 +106,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceMappers.ts index 85c8bd542f4f..08f4b1ae11d0 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceApplyNetworkConfigurationParameters, ApiManagementServiceBackupRestoreParameters, ApiManagementServiceCheckNameAvailabilityParameters, @@ -54,6 +56,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -77,7 +80,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -101,6 +107,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts index 44b414b6e9fa..5d8bb77671d2 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts @@ -10,6 +10,7 @@ export { AccessInformationContract, AdditionalLocation, ApiCollection, + ApiContactInformation, ApiContract, ApiContractProperties, ApiCreateOrUpdateHeaders, @@ -18,6 +19,7 @@ export { ApiEntityBaseContract, ApiGetEntityTagHeaders, ApiGetHeaders, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -58,6 +60,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -81,8 +84,11 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, OperationTagResourceContractProperties, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -108,6 +114,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TagResourceCollection, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts index bf3c27c7328e..8345d80973fe 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -51,6 +53,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -75,8 +78,11 @@ export { OpenidConnectProviderContract, OperationCollection, OperationContract, + OperationResultContract, + OperationResultLogItemContract, OperationUpdateContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -100,6 +106,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts index 4b420d3bbab1..3ecc916c9d16 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -50,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -73,7 +76,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyCollection, PolicyContract, @@ -98,6 +104,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts index 61dcd8cf8f7b..b0adb616f541 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -50,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -73,7 +76,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyCollection, PolicyContract, @@ -98,6 +104,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts index d6954c5a4483..7b7f1cd8f3ec 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +73,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -95,6 +101,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts index 9b880c27faef..feb32a7b4d71 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -52,6 +54,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -75,7 +78,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -99,6 +105,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts index e99de7c3157d..a68e2b3cd1d7 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -50,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -73,7 +76,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -98,6 +104,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts index 01db9a3fe3ca..071865e7df25 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -50,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -73,7 +76,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -97,6 +103,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionCollection, TagDescriptionContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts index be27747aad1c..402899fb55c3 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -53,6 +55,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -76,7 +79,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -100,6 +106,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts index 1e0e3ee93469..c17362ce699b 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -54,6 +56,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -77,7 +80,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -101,6 +107,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts index 1ee1333947e2..a307c691e412 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -53,6 +55,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -76,7 +79,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -100,6 +106,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts index cfc012c95295..b2b1a2a54bd9 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -53,6 +55,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -76,7 +79,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -100,6 +106,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts index c02064460b97..b9446e01220f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -53,6 +55,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -76,7 +79,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -100,6 +106,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/contentItemMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/contentItemMappers.ts index 17e86ef60cba..8f0ea753f749 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/contentItemMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/contentItemMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -51,6 +53,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -74,7 +77,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -98,6 +104,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts index 1c7e9cb3bcaa..b68538725115 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -50,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -73,7 +76,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -97,6 +103,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts index 0d0327307ce9..1a5cc8113a5d 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -49,6 +51,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -72,7 +75,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -97,6 +103,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/deletedServicesMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/deletedServicesMappers.ts index 98aedf7918a4..6c8356500382 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/deletedServicesMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/deletedServicesMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -48,6 +50,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -71,7 +74,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -95,6 +101,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts index 12807e90f56e..edacdda28238 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -52,6 +54,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -75,7 +78,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -99,6 +105,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts index b4e6bd898568..5b3dd97dd579 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -52,6 +54,7 @@ export { EmailTemplateUpdateParameters, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -75,7 +78,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -99,6 +105,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts index bd1944ce2578..c3e394bb1cf7 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts @@ -10,7 +10,9 @@ export { AccessInformationContract, AdditionalLocation, ApiCollection, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -48,6 +50,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayApiGetEntityTagHeaders, GatewayCertificateAuthorityContract, GatewayContract, @@ -72,7 +75,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -96,6 +102,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/gatewayCertificateAuthorityMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayCertificateAuthorityMappers.ts index 69f44e9facab..661ba8650a44 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayCertificateAuthorityMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayCertificateAuthorityMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityCollection, GatewayCertificateAuthorityContract, GatewayCertificateAuthorityCreateOrUpdateHeaders, @@ -74,7 +77,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -98,6 +104,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts index c85ccd64b9fc..2b1429c74c9b 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationCollection, @@ -74,7 +77,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -98,6 +104,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts index 9c3cd9b80c3c..f2d177d87cf1 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayCollection, GatewayContract, @@ -80,7 +83,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -104,6 +110,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts index dc5016ab4502..8aa8e878e7de 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -77,7 +80,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -101,6 +107,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts index 24678e06044c..321254ee5930 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +73,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -94,6 +100,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts index 13a1da054385..84772d293b72 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -48,6 +50,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -78,7 +81,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -102,6 +108,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/index.ts b/sdk/apimanagement/arm-apimanagement/src/models/index.ts index 833ac649ae13..3d6ff0e33c4c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/index.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/index.ts @@ -108,7 +108,7 @@ export interface Resource extends BaseResource { } /** - * The object defining the schema of the exported Api Detail + * The object defining the schema of the exported API Detail */ export interface ApiExportResultValue { /** @@ -127,12 +127,12 @@ export interface ApiExportResult { */ id?: string; /** - * Format in which the Api Details are exported to the Storage Blob with Sas Key valid for 5 + * Format in which the API Details are exported to the Storage Blob with Sas Key valid for 5 * minutes. Possible values include: 'Swagger', 'Wsdl', 'Wadl', 'OpenApi' */ exportResultFormat?: ExportResultFormat; /** - * The object defining the schema of the exported Api Detail + * The object defining the schema of the exported API Detail */ value?: ApiExportResultValue; } @@ -208,17 +208,17 @@ export interface OperationTagResourceContractProperties { */ readonly name?: string; /** - * Api Name. + * API Name. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly apiName?: string; /** - * Api Revision. + * API Revision. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly apiRevision?: string; /** - * Api Version. + * API Version. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly apiVersion?: string; @@ -241,6 +241,39 @@ export interface OperationTagResourceContractProperties { readonly urlTemplate?: string; } +/** + * API license information + */ +export interface ApiLicenseInformation { + /** + * The license name used for the API + */ + name?: string; + /** + * A URL to the license used for the API. MUST be in the format of a URL + */ + url?: string; +} + +/** + * API contact information + */ +export interface ApiContactInformation { + /** + * The identifying name of the contact person/organization + */ + name?: string; + /** + * The URL pointing to the contact information. MUST be in the format of a URL + */ + url?: string; + /** + * The email address of the contact person/organization. MUST be in the format of an email + * address + */ + email?: string; +} + /** * Subscription key parameter names details. */ @@ -360,15 +393,15 @@ export interface ApiEntityBaseContract { */ subscriptionKeyParameterNames?: SubscriptionKeyParameterNamesContract; /** - * Type of API. Possible values include: 'http', 'soap' + * Type of API. Possible values include: 'http', 'soap', 'websocket', 'graphql' */ apiType?: ApiType; /** - * Describes the Revision of the Api. If no value is provided, default revision 1 is created + * Describes the revision of the API. If no value is provided, default revision 1 is created */ apiRevision?: string; /** - * Indicates the Version identifier of the API if the API is versioned + * Indicates the version identifier of the API if the API is versioned */ apiVersion?: string; /** @@ -381,11 +414,11 @@ export interface ApiEntityBaseContract { */ readonly isOnline?: boolean; /** - * Description of the Api Revision. + * Description of the API Revision. */ apiRevisionDescription?: string; /** - * Description of the Api Version. + * Description of the API Version. */ apiVersionDescription?: string; /** @@ -396,10 +429,22 @@ export interface ApiEntityBaseContract { * Specifies whether an API or Product subscription is required for accessing the API. */ subscriptionRequired?: boolean; + /** + * A URL to the Terms of Service for the API. MUST be in the format of a URL. + */ + termsOfServiceUrl?: string; + /** + * Contact information for the API. + */ + contact?: ApiContactInformation; + /** + * License information for the API. + */ + license?: ApiLicenseInformation; } /** - * Api Entity Properties + * API Entity Properties */ export interface ApiContractProperties extends ApiEntityBaseContract { /** @@ -482,7 +527,7 @@ export interface TagResourceContract { */ tag: TagTagResourceContractProperties; /** - * Api associated with the tag. + * API associated with the tag. */ api?: ApiTagResourceContractProperties; /** @@ -816,9 +861,13 @@ export interface SchemaContract extends Resource { */ value?: string; /** - * Types definitions. Used for Swagger/OpenAPI schemas only, null otherwise. + * Types definitions. Used for Swagger/OpenAPI v1 schemas only, null otherwise. */ definitions?: any; + /** + * Types definitions. Used for Swagger/OpenAPI v2/v3 schemas only, null otherwise. + */ + components?: any; } /** @@ -901,6 +950,28 @@ export interface ProductContract extends Resource { displayName: string; } +/** + * Parameter example. + */ +export interface ParameterExampleContract { + /** + * Short description for the example + */ + summary?: string; + /** + * Long description for the example + */ + description?: string; + /** + * Example value. May be a primitive value, or an object. + */ + value?: any; + /** + * A URL that points to the literal example + */ + externalValue?: string; +} + /** * Operation parameters details. */ @@ -929,6 +1000,18 @@ export interface ParameterContract { * Parameter values. */ values?: string[]; + /** + * Schema identifier. + */ + schemaId?: string; + /** + * Type name defined by the schema. + */ + typeName?: string; + /** + * Exampled defined for the parameter. + */ + examples?: { [propertyName: string]: ParameterExampleContract }; } /** @@ -939,10 +1022,6 @@ export interface RepresentationContract { * Specifies a registered or custom content type for this representation, e.g. application/xml. */ contentType: string; - /** - * An example of the representation. - */ - sample?: string; /** * Schema identifier. Applicable only if 'contentType' value is neither * 'application/x-www-form-urlencoded' nor 'multipart/form-data'. @@ -1005,7 +1084,7 @@ export interface RequestContract { } /** - * Api Operation Entity Base Contract details. + * API Operation Entity Base Contract details. */ export interface OperationEntityBaseContract { /** @@ -1031,7 +1110,7 @@ export interface OperationEntityBaseContract { } /** - * Api Operation details. + * API Operation details. */ export interface OperationContract extends Resource { /** @@ -1071,7 +1150,7 @@ export interface OperationContract extends Resource { } /** - * Api Operation Update Contract details. + * API Operation Update Contract details. */ export interface OperationUpdateContract { /** @@ -1184,7 +1263,7 @@ export interface ApiRevisionContract { } /** - * Api details. + * API details. */ export interface ApiContract extends Resource { /** @@ -1200,15 +1279,15 @@ export interface ApiContract extends Resource { */ subscriptionKeyParameterNames?: SubscriptionKeyParameterNamesContract; /** - * Type of API. Possible values include: 'http', 'soap' + * Type of API. Possible values include: 'http', 'soap', 'websocket', 'graphql' */ apiType?: ApiType; /** - * Describes the Revision of the Api. If no value is provided, default revision 1 is created + * Describes the revision of the API. If no value is provided, default revision 1 is created */ apiRevision?: string; /** - * Indicates the Version identifier of the API if the API is versioned + * Indicates the version identifier of the API if the API is versioned */ apiVersion?: string; /** @@ -1221,11 +1300,11 @@ export interface ApiContract extends Resource { */ readonly isOnline?: boolean; /** - * Description of the Api Revision. + * Description of the API Revision. */ apiRevisionDescription?: string; /** - * Description of the Api Version. + * Description of the API Version. */ apiVersionDescription?: string; /** @@ -1236,6 +1315,18 @@ export interface ApiContract extends Resource { * Specifies whether an API or Product subscription is required for accessing the API. */ subscriptionRequired?: boolean; + /** + * A URL to the Terms of Service for the API. MUST be in the format of a URL. + */ + termsOfServiceUrl?: string; + /** + * Contact information for the API. + */ + contact?: ApiContactInformation; + /** + * License information for the API. + */ + license?: ApiLicenseInformation; /** * API identifier of the source API. */ @@ -1282,15 +1373,15 @@ export interface ApiUpdateContract { */ subscriptionKeyParameterNames?: SubscriptionKeyParameterNamesContract; /** - * Type of API. Possible values include: 'http', 'soap' + * Type of API. Possible values include: 'http', 'soap', 'websocket', 'graphql' */ apiType?: ApiType; /** - * Describes the Revision of the Api. If no value is provided, default revision 1 is created + * Describes the revision of the API. If no value is provided, default revision 1 is created */ apiRevision?: string; /** - * Indicates the Version identifier of the API if the API is versioned + * Indicates the version identifier of the API if the API is versioned */ apiVersion?: string; /** @@ -1303,11 +1394,11 @@ export interface ApiUpdateContract { */ readonly isOnline?: boolean; /** - * Description of the Api Revision. + * Description of the API Revision. */ apiRevisionDescription?: string; /** - * Description of the Api Version. + * Description of the API Version. */ apiVersionDescription?: string; /** @@ -1318,6 +1409,18 @@ export interface ApiUpdateContract { * Specifies whether an API or Product subscription is required for accessing the API. */ subscriptionRequired?: boolean; + /** + * A URL to the Terms of Service for the API. MUST be in the format of a URL. + */ + termsOfServiceUrl?: string; + /** + * Contact information for the API. + */ + contact?: ApiContactInformation; + /** + * License information for the API. + */ + license?: ApiLicenseInformation; /** * API name. */ @@ -1355,15 +1458,15 @@ export interface ApiCreateOrUpdateParameter { */ subscriptionKeyParameterNames?: SubscriptionKeyParameterNamesContract; /** - * Type of API. Possible values include: 'http', 'soap' + * Type of API. Possible values include: 'http', 'soap', 'websocket', 'graphql' */ apiType?: ApiType; /** - * Describes the Revision of the Api. If no value is provided, default revision 1 is created + * Describes the revision of the API. If no value is provided, default revision 1 is created */ apiRevision?: string; /** - * Indicates the Version identifier of the API if the API is versioned + * Indicates the version identifier of the API if the API is versioned */ apiVersion?: string; /** @@ -1376,11 +1479,11 @@ export interface ApiCreateOrUpdateParameter { */ readonly isOnline?: boolean; /** - * Description of the Api Revision. + * Description of the API Revision. */ apiRevisionDescription?: string; /** - * Description of the Api Version. + * Description of the API Version. */ apiVersionDescription?: string; /** @@ -1391,6 +1494,18 @@ export interface ApiCreateOrUpdateParameter { * Specifies whether an API or Product subscription is required for accessing the API. */ subscriptionRequired?: boolean; + /** + * A URL to the Terms of Service for the API. MUST be in the format of a URL. + */ + termsOfServiceUrl?: string; + /** + * Contact information for the API. + */ + contact?: ApiContactInformation; + /** + * License information for the API. + */ + license?: ApiLicenseInformation; /** * API identifier of the source API. */ @@ -1425,7 +1540,7 @@ export interface ApiCreateOrUpdateParameter { /** * Format of the Content in which the API is getting imported. Possible values include: * 'wadl-xml', 'wadl-link-json', 'swagger-json', 'swagger-link-json', 'wsdl', 'wsdl-link', - * 'openapi', 'openapi+json', 'openapi-link', 'openapi+json-link' + * 'openapi', 'openapi+json', 'openapi-link', 'openapi+json-link', 'graphql-link' */ format?: ContentFormat; /** @@ -1433,16 +1548,18 @@ export interface ApiCreateOrUpdateParameter { */ wsdlSelector?: ApiCreateOrUpdatePropertiesWsdlSelector; /** - * Type of Api to create. - * * `http` creates a SOAP to REST API - * * `soap` creates a SOAP pass-through API. Possible values include: 'SoapToRest', - * 'SoapPassThrough' + * Type of API to create. + * * `http` creates a REST API + * * `soap` creates a SOAP pass-through API + * * `websocket` creates websocket API + * * `graphql` creates GraphQL API. Possible values include: 'SoapToRest', 'SoapPassThrough', + * 'WebSocket', 'GraphQL' */ soapApiType?: SoapApiType; } /** - * Api Version set base parameters + * API Version set base parameters */ export interface ApiVersionSetEntityBase { /** @@ -1461,7 +1578,7 @@ export interface ApiVersionSetEntityBase { } /** - * Api Version Set Contract details. + * API Version Set Contract details. */ export interface ApiVersionSetContract extends Resource { /** @@ -1489,7 +1606,7 @@ export interface ApiVersionSetContract extends Resource { } /** - * Parameters to update or create an Api Version Set Contract. + * Parameters to update or create an API Version Set Contract. */ export interface ApiVersionSetUpdateParameters { /** @@ -1922,7 +2039,7 @@ export interface BackendBaseParameters { description?: string; /** * Management Uri of the Resource in External System. This url can be the Arm Resource Id of - * Logic Apps, Function Apps or Api Apps. + * Logic Apps, Function Apps or API Apps. */ resourceId?: string; /** @@ -1957,7 +2074,7 @@ export interface BackendContract extends Resource { description?: string; /** * Management Uri of the Resource in External System. This url can be the Arm Resource Id of - * Logic Apps, Function Apps or Api Apps. + * Logic Apps, Function Apps or API Apps. */ resourceId?: string; /** @@ -2000,7 +2117,7 @@ export interface BackendUpdateParameters { description?: string; /** * Management Uri of the Resource in External System. This url can be the Arm Resource Id of - * Logic Apps, Function Apps or Api Apps. + * Logic Apps, Function Apps or API Apps. */ resourceId?: string; /** @@ -2081,7 +2198,7 @@ export interface CacheUpdateParameters { export interface KeyVaultContractCreateProperties { /** * Key vault secret identifier for fetching secret. Providing a versioned secret will prevent - * auto-refresh. This requires Api Management service to be configured with aka.ms/apimmsi + * auto-refresh. This requires API Management service to be configured with aka.ms/apimmsi */ secretIdentifier?: string; /** @@ -2198,7 +2315,7 @@ export interface ContentTypeContract extends Resource { } /** - * Deleted Api Management Service information. + * Deleted API Management Service information. */ export interface DeletedServiceContract extends Resource { /** @@ -2216,7 +2333,7 @@ export interface DeletedServiceContract extends Resource { */ deletionDate?: Date; /** - * Api Management Service Master Location. + * API Management Service Master Location. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly location?: string; @@ -2373,6 +2490,14 @@ export interface HostnameConfiguration { * Certificate information. */ certificate?: CertificateInformation; + /** + * Certificate Source. Possible values include: 'Managed', 'KeyVault', 'Custom', 'BuiltIn' + */ + certificateSource?: CertificateSource; + /** + * Certificate Status. Possible values include: 'Completed', 'Failed', 'InProgress' + */ + certificateStatus?: CertificateStatus; } /** @@ -2440,6 +2565,11 @@ export interface AdditionalLocation { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly privateIPAddresses?: string[]; + /** + * Public Standard SKU IP V4 based IP address to be associated with Virtual Network deployed + * service in the location. Supported only for Premium SKU being deployed in Virtual Network. + */ + publicIpAddressId?: string; /** * Virtual network configuration for the location. */ @@ -2454,6 +2584,12 @@ export interface AdditionalLocation { * used to disable the gateway in this additional location. Default value: false. */ disableGateway?: boolean; + /** + * Compute Platform Version running the service. Possible values include: 'undetermined', 'stv1', + * 'stv2', 'mtv1' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly platformVersion?: PlatformVersion; } /** @@ -2461,21 +2597,31 @@ export interface AdditionalLocation { */ export interface ApiManagementServiceBackupRestoreParameters { /** - * Azure Cloud Storage account (used to place/retrieve the backup) name. + * The name of the Azure storage account (used to place/retrieve the backup). */ storageAccount: string; /** - * Azure Cloud Storage account (used to place/retrieve the backup) access key. - */ - accessKey: string; - /** - * Azure Cloud Storage blob container name used to place/retrieve the backup. + * The name of the blob container (used to place/retrieve the backup). */ containerName: string; /** - * The name of the backup file to create. + * The name of the backup file to create/retrieve. */ backupName: string; + /** + * The type of access to be used for the storage account. Possible values include: 'AccessKey', + * 'SystemAssignedManagedIdentity', 'UserAssignedManagedIdentity'. Default value: 'AccessKey'. + */ + accessType?: AccessType; + /** + * Storage account access key. Required only if `accessType` is set to `AccessKey`. + */ + accessKey?: string; + /** + * The Client ID of user assigned managed identity. Required only if `accessType` is set to + * `UserAssignedManagedIdentity`. + */ + clientId?: string; } /** @@ -2563,6 +2709,19 @@ export interface ApiManagementServiceBaseProperties { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly privateIPAddresses?: string[]; + /** + * Public Standard SKU IP V4 based IP address to be associated with Virtual Network deployed + * service in the region. Supported only for Developer and Premium SKU being deployed in Virtual + * Network. + */ + publicIpAddressId?: string; + /** + * Whether or not public endpoint access is allowed for this API Management service. Value is + * optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints + * are the exclusive access method. Default value is 'Enabled'. Possible values include: + * 'Enabled', 'Disabled' + */ + publicNetworkAccess?: PublicNetworkAccess; /** * Virtual network configuration of the API Management service. */ @@ -2635,6 +2794,12 @@ export interface ApiManagementServiceBaseProperties { * and set to True all other properties will be ignored. Default value: false. */ restore?: boolean; + /** + * Compute Platform Version running the service in this location. Possible values include: + * 'undetermined', 'stv1', 'stv2', 'mtv1' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly platformVersion?: PlatformVersion; } /** @@ -2681,6 +2846,38 @@ export interface ApiManagementServiceIdentity { userAssignedIdentities?: { [propertyName: string]: UserIdentityProperties }; } +/** + * 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; +} + /** * The Resource definition. */ @@ -2780,6 +2977,19 @@ export interface ApiManagementServiceResource extends ApimResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly privateIPAddresses?: string[]; + /** + * Public Standard SKU IP V4 based IP address to be associated with Virtual Network deployed + * service in the region. Supported only for Developer and Premium SKU being deployed in Virtual + * Network. + */ + publicIpAddressId?: string; + /** + * Whether or not public endpoint access is allowed for this API Management service. Value is + * optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints + * are the exclusive access method. Default value is 'Enabled'. Possible values include: + * 'Enabled', 'Disabled' + */ + publicNetworkAccess?: PublicNetworkAccess; /** * Virtual network configuration of the API Management service. */ @@ -2852,6 +3062,12 @@ export interface ApiManagementServiceResource extends ApimResource { * and set to True all other properties will be ignored. Default value: false. */ restore?: boolean; + /** + * Compute Platform Version running the service in this location. Possible values include: + * 'undetermined', 'stv1', 'stv2', 'mtv1' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly platformVersion?: PlatformVersion; /** * Publisher email. */ @@ -2868,6 +3084,11 @@ export interface ApiManagementServiceResource extends ApimResource { * Managed service identity of the Api Management service. */ identity?: ApiManagementServiceIdentity; + /** + * Metadata pertaining to creation and last modification of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly systemData?: SystemData; /** * Resource location. */ @@ -2957,6 +3178,19 @@ export interface ApiManagementServiceUpdateParameters extends ApimResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly privateIPAddresses?: string[]; + /** + * Public Standard SKU IP V4 based IP address to be associated with Virtual Network deployed + * service in the region. Supported only for Developer and Premium SKU being deployed in Virtual + * Network. + */ + publicIpAddressId?: string; + /** + * Whether or not public endpoint access is allowed for this API Management service. Value is + * optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints + * are the exclusive access method. Default value is 'Enabled'. Possible values include: + * 'Enabled', 'Disabled' + */ + publicNetworkAccess?: PublicNetworkAccess; /** * Virtual network configuration of the API Management service. */ @@ -3029,6 +3263,12 @@ export interface ApiManagementServiceUpdateParameters extends ApimResource { * and set to True all other properties will be ignored. Default value: false. */ restore?: boolean; + /** + * Compute Platform Version running the service in this location. Possible values include: + * 'undetermined', 'stv1', 'stv2', 'mtv1' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly platformVersion?: PlatformVersion; /** * Publisher email. */ @@ -3050,6 +3290,10 @@ export interface ApiManagementServiceUpdateParameters extends ApimResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly etag?: string; + /** + * A list of availability zones denoting where the resource needs to come from. + */ + zones?: string[]; } /** @@ -3204,7 +3448,7 @@ export interface EmailTemplateContract extends Resource { */ description?: string; /** - * Whether the template is the default template provided by Api Management or has been edited. + * Whether the template is the default template provided by API Management or has been edited. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly isDefault?: boolean; @@ -4134,6 +4378,65 @@ export interface OpenidConnectProviderUpdateContract { clientSecret?: string; } +/** + * Current TCP connectivity information from the Api Management Service to a single endpoint. + */ +export interface EndpointDetail { + /** + * The port an endpoint is connected to. + */ + port?: number; + /** + * The region of the dependency. + */ + region?: string; +} + +/** + * A domain name that a service is reached at. + */ +export interface EndpointDependency { + /** + * The domain name of the dependency. + */ + domainName?: string; + /** + * The Ports used when connecting to DomainName. + */ + endpointDetails?: EndpointDetail[]; +} + +/** + * Endpoints accessed for a common purpose that the Api Management Service requires outbound + * network access to. + */ +export interface OutboundEnvironmentEndpoint { + /** + * The type of service accessed by the Api Management Service, e.g., Azure Storage, Azure SQL + * Database, and Azure Active Directory. + */ + category?: string; + /** + * The endpoints that the Api Management Service reaches the service at. + */ + endpoints?: EndpointDependency[]; +} + +/** + * Collection of Outbound Environment Endpoints + */ +export interface OutboundEnvironmentEndpointList { + /** + * Collection of resources. + */ + value: OutboundEnvironmentEndpoint[]; + /** + * Link to next page of resources. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + /** * Policy description details. */ @@ -4165,7 +4468,7 @@ export interface PolicyDescriptionCollection { } /** - * Portal revisions contract details. + * Portal Revision's contract details. */ export interface PortalRevisionContract extends Resource { /** @@ -4178,17 +4481,17 @@ export interface PortalRevisionContract extends Resource { */ readonly statusDetails?: string; /** - * Portal revision publishing status. Possible values include: 'pending', 'publishing', + * Status of the portal's revision. Possible values include: 'pending', 'publishing', * 'completed', 'failed' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly status?: PortalRevisionStatus; /** - * Indicates if the Portal Revision is public. + * Indicates if the portal's revision is public. */ isCurrent?: boolean; /** - * Portal revision creation date and time. + * Portal's revision creation date and time. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly createdDateTime?: Date; @@ -5089,7 +5392,7 @@ export interface TagCreateUpdateParameters { } /** - * Tenant Configuration Synchronization State. + * Result of Tenant Configuration Sync State. */ export interface TenantConfigurationSyncStateContract { /** @@ -5122,6 +5425,10 @@ export interface TenantConfigurationSyncStateContract { * `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard. */ configurationChangeDate?: Date; + /** + * Most recent tenant configuration operation identifier + */ + lastOperationId?: string; } /** @@ -5143,13 +5450,13 @@ export interface OperationResultLogItemContract { } /** - * Operation Result. + * Long Running Git Operation Results. */ -export interface OperationResultContract { +export interface OperationResultContract extends Resource { /** * Operation result identifier. */ - id?: string; + operationResultContractId?: string; /** * Status of an async operation. Possible values include: 'Started', 'InProgress', 'Succeeded', * 'Failed' @@ -5410,6 +5717,210 @@ export interface UserCreateParameters { confirmation?: Confirmation; } +/** + * Information about an issue encountered in the process of checking for connectivity. + */ +export interface ConnectivityIssue { + /** + * The origin of the issue. Possible values include: 'Local', 'Inbound', 'Outbound' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly origin?: Origin; + /** + * The severity of the issue. Possible values include: 'Error', 'Warning' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly severity?: Severity; + /** + * The type of issue. Possible values include: 'Unknown', 'AgentStopped', 'GuestFirewall', + * 'DnsResolution', 'SocketBind', 'NetworkSecurityRule', 'UserDefinedRoute', 'PortThrottled', + * 'Platform' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: IssueType; + /** + * Provides additional context on the issue. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly context?: { [propertyName: string]: string }[]; +} + +/** + * Information about a hop between the source and the destination. + */ +export interface ConnectivityHop { + /** + * The type of the hop. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; + /** + * The ID of the hop. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; + /** + * The IP address of the hop. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly address?: string; + /** + * The ID of the resource corresponding to this hop. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly resourceId?: string; + /** + * List of next hop identifiers. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextHopIds?: string[]; + /** + * List of issues. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly issues?: ConnectivityIssue[]; +} + +/** + * Information on the connectivity status. + */ +export interface ConnectivityCheckResponse { + /** + * List of hops between the source and the destination. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly hops?: ConnectivityHop[]; + /** + * The connection status. Possible values include: 'Unknown', 'Connected', 'Disconnected', + * 'Degraded' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly connectionStatus?: ConnectionStatus; + /** + * Average latency in milliseconds. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly avgLatencyInMs?: number; + /** + * Minimum latency in milliseconds. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly minLatencyInMs?: number; + /** + * Maximum latency in milliseconds. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly maxLatencyInMs?: number; + /** + * Total number of probes sent. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly probesSent?: number; + /** + * Number of failed probes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly probesFailed?: number; +} + +/** + * HTTP header and it's value. + */ +export interface HTTPHeader { + /** + * Header name. + */ + name: string; + /** + * Header value. + */ + value: string; +} + +/** + * Definitions about the connectivity check origin. + */ +export interface ConnectivityCheckRequestSource { + /** + * The API Management service region from where to start the connectivity check operation. + */ + region: string; + /** + * The particular VMSS instance from which to fire the request. + */ + instance?: number; +} + +/** + * The connectivity check operation destination. + */ +export interface ConnectivityCheckRequestDestination { + /** + * Destination address. Can either be an IP address or a FQDN. + */ + address: string; + /** + * Destination port. + */ + port: number; +} + +/** + * Configuration for HTTP or HTTPS requests. + */ +export interface ConnectivityCheckRequestProtocolConfigurationHTTPConfiguration { + /** + * The HTTP method to be used. Possible values include: 'GET', 'POST' + */ + method?: Method; + /** + * List of HTTP status codes considered valid for the request response. + */ + validStatusCodes?: number[]; + /** + * List of headers to be included in the request. + */ + headers?: HTTPHeader[]; +} + +/** + * Protocol-specific configuration. + */ +export interface ConnectivityCheckRequestProtocolConfiguration { + /** + * Configuration for HTTP or HTTPS requests. + */ + hTTPConfiguration?: ConnectivityCheckRequestProtocolConfigurationHTTPConfiguration; +} + +/** + * A request to perform the connectivity check operation on a API Management service. + */ +export interface ConnectivityCheckRequest { + /** + * Definitions about the connectivity check origin. + */ + source: ConnectivityCheckRequestSource; + /** + * The connectivity check operation destination. + */ + destination: ConnectivityCheckRequestDestination; + /** + * The IP version to be used. Only IPv4 is supported for now. Possible values include: 'IPv4' + */ + preferredIPVersion?: PreferredIPVersion; + /** + * The request's protocol. Specific protocol configuration can be available based on this + * selection. The specified destination address must be coherent with this value. Possible values + * include: 'TCP', 'HTTP', 'HTTPS' + */ + protocol?: ConnectivityCheckProtocol; + /** + * Protocol-specific configuration. + */ + protocolConfiguration?: ConnectivityCheckRequestProtocolConfiguration; +} + /** * Object used to create an API Revision or Version based on an existing API Revision */ @@ -10260,7 +10771,7 @@ export interface UserSubscriptionGetHeaders { /** * @interface - * Paged Api list representation. + * Paged API list representation. * @extends Array */ export interface ApiCollection extends Array { @@ -10293,7 +10804,7 @@ export interface TagResourceCollection extends Array { /** * @interface - * Paged Api Revision list representation. + * Paged API Revision list representation. * @extends Array */ export interface ApiRevisionCollection extends Array { @@ -10476,7 +10987,7 @@ export interface TagDescriptionCollection extends Array /** * @interface - * Paged Api Version Set list representation. + * Paged API Version Set list representation. * @extends Array */ export interface ApiVersionSetCollection extends Array { @@ -10582,7 +11093,7 @@ export interface ContentItemCollection extends Array { /** * @interface - * Paged deleted Api Management Services List Representation. + * Paged deleted API Management Services List Representation. * @extends Array */ export interface DeletedServicesCollection extends Array { @@ -10961,36 +11472,37 @@ export type BearerTokenSendingMethods = 'authorizationHeader' | 'query'; /** * Defines values for Protocol. - * Possible values include: 'http', 'https' + * Possible values include: 'http', 'https', 'ws', 'wss' * @readonly * @enum {string} */ -export type Protocol = 'http' | 'https'; +export type Protocol = 'http' | 'https' | 'ws' | 'wss'; /** * Defines values for ContentFormat. * Possible values include: 'wadl-xml', 'wadl-link-json', 'swagger-json', 'swagger-link-json', - * 'wsdl', 'wsdl-link', 'openapi', 'openapi+json', 'openapi-link', 'openapi+json-link' + * 'wsdl', 'wsdl-link', 'openapi', 'openapi+json', 'openapi-link', 'openapi+json-link', + * 'graphql-link' * @readonly * @enum {string} */ -export type ContentFormat = 'wadl-xml' | 'wadl-link-json' | 'swagger-json' | 'swagger-link-json' | 'wsdl' | 'wsdl-link' | 'openapi' | 'openapi+json' | 'openapi-link' | 'openapi+json-link'; +export type ContentFormat = 'wadl-xml' | 'wadl-link-json' | 'swagger-json' | 'swagger-link-json' | 'wsdl' | 'wsdl-link' | 'openapi' | 'openapi+json' | 'openapi-link' | 'openapi+json-link' | 'graphql-link'; /** * Defines values for SoapApiType. - * Possible values include: 'SoapToRest', 'SoapPassThrough' + * Possible values include: 'SoapToRest', 'SoapPassThrough', 'WebSocket', 'GraphQL' * @readonly * @enum {string} */ -export type SoapApiType = 'http' | 'soap'; +export type SoapApiType = 'http' | 'soap' | 'websocket' | 'graphql'; /** * Defines values for ApiType. - * Possible values include: 'http', 'soap' + * Possible values include: 'http', 'soap', 'websocket', 'graphql' * @readonly * @enum {string} */ -export type ApiType = 'http' | 'soap'; +export type ApiType = 'http' | 'soap' | 'websocket' | 'graphql'; /** * Defines values for State. @@ -11129,6 +11641,47 @@ export type ResourceSkuCapacityScaleType = 'automatic' | 'manual' | 'none'; */ export type HostnameType = 'Proxy' | 'Portal' | 'Management' | 'Scm' | 'DeveloperPortal'; +/** + * Defines values for CertificateSource. + * Possible values include: 'Managed', 'KeyVault', 'Custom', 'BuiltIn' + * @readonly + * @enum {string} + */ +export type CertificateSource = 'Managed' | 'KeyVault' | 'Custom' | 'BuiltIn'; + +/** + * Defines values for CertificateStatus. + * Possible values include: 'Completed', 'Failed', 'InProgress' + * @readonly + * @enum {string} + */ +export type CertificateStatus = 'Completed' | 'Failed' | 'InProgress'; + +/** + * Defines values for PlatformVersion. + * Possible values include: 'undetermined', 'stv1', 'stv2', 'mtv1' + * @readonly + * @enum {string} + */ +export type PlatformVersion = 'undetermined' | 'stv1' | 'stv2' | 'mtv1'; + +/** + * Defines values for AccessType. + * Possible values include: 'AccessKey', 'SystemAssignedManagedIdentity', + * 'UserAssignedManagedIdentity' + * @readonly + * @enum {string} + */ +export type AccessType = 'AccessKey' | 'SystemAssignedManagedIdentity' | 'UserAssignedManagedIdentity'; + +/** + * Defines values for PublicNetworkAccess. + * Possible values include: 'Enabled', 'Disabled' + * @readonly + * @enum {string} + */ +export type PublicNetworkAccess = 'Enabled' | 'Disabled'; + /** * Defines values for VirtualNetworkType. * Possible values include: 'None', 'External', 'Internal' @@ -11146,6 +11699,14 @@ export type VirtualNetworkType = 'None' | 'External' | 'Internal'; */ export type ApimIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned' | 'None'; +/** + * Defines values for CreatedByType. + * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key' + * @readonly + * @enum {string} + */ +export type CreatedByType = 'User' | 'Application' | 'ManagedIdentity' | 'Key'; + /** * Defines values for NameAvailabilityReason. * Possible values include: 'Valid', 'Invalid', 'AlreadyExists' @@ -11274,6 +11835,63 @@ export type ApiManagementSkuRestrictionsReasonCode = 'QuotaId' | 'NotAvailableFo */ export type AsyncOperationStatus = 'Started' | 'InProgress' | 'Succeeded' | 'Failed'; +/** + * Defines values for Origin. + * Possible values include: 'Local', 'Inbound', 'Outbound' + * @readonly + * @enum {string} + */ +export type Origin = 'Local' | 'Inbound' | 'Outbound'; + +/** + * Defines values for Severity. + * Possible values include: 'Error', 'Warning' + * @readonly + * @enum {string} + */ +export type Severity = 'Error' | 'Warning'; + +/** + * Defines values for IssueType. + * Possible values include: 'Unknown', 'AgentStopped', 'GuestFirewall', 'DnsResolution', + * 'SocketBind', 'NetworkSecurityRule', 'UserDefinedRoute', 'PortThrottled', 'Platform' + * @readonly + * @enum {string} + */ +export type IssueType = 'Unknown' | 'AgentStopped' | 'GuestFirewall' | 'DnsResolution' | 'SocketBind' | 'NetworkSecurityRule' | 'UserDefinedRoute' | 'PortThrottled' | 'Platform'; + +/** + * Defines values for ConnectionStatus. + * Possible values include: 'Unknown', 'Connected', 'Disconnected', 'Degraded' + * @readonly + * @enum {string} + */ +export type ConnectionStatus = 'Unknown' | 'Connected' | 'Disconnected' | 'Degraded'; + +/** + * Defines values for PreferredIPVersion. + * Possible values include: 'IPv4' + * @readonly + * @enum {string} + */ +export type PreferredIPVersion = 'IPv4'; + +/** + * Defines values for ConnectivityCheckProtocol. + * Possible values include: 'TCP', 'HTTP', 'HTTPS' + * @readonly + * @enum {string} + */ +export type ConnectivityCheckProtocol = 'TCP' | 'HTTP' | 'HTTPS'; + +/** + * Defines values for Method. + * Possible values include: 'GET', 'POST' + * @readonly + * @enum {string} + */ +export type Method = 'GET' | 'POST'; + /** * Defines values for AccessIdName. * Possible values include: 'access', 'gitAccess' @@ -16497,6 +17115,26 @@ export type OpenIdConnectProviderListByServiceNextResponse = OpenIdConnectProvid }; }; +/** + * Contains response data for the listByService operation. + */ +export type OutboundNetworkDependenciesEndpointsListByServiceResponse = OutboundEnvironmentEndpointList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: OutboundEnvironmentEndpointList; + }; +}; + /** * Contains response data for the listByService operation. */ @@ -18697,6 +19335,46 @@ export type UserIdentitiesListNextResponse = UserIdentityCollection & { }; }; +/** + * Contains response data for the performConnectivityCheckAsync operation. + */ +export type PerformConnectivityCheckAsyncResponse = ConnectivityCheckResponse & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ConnectivityCheckResponse; + }; +}; + +/** + * Contains response data for the beginPerformConnectivityCheckAsync operation. + */ +export type BeginPerformConnectivityCheckAsyncResponse = ConnectivityCheckResponse & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ConnectivityCheckResponse; + }; +}; + /** * Contains response data for the get operation. */ diff --git a/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.ts index efe36a116985..ce97890674c9 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -72,7 +75,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -96,6 +102,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts index 1603929b6986..b3acc732b530 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -76,7 +79,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -100,6 +106,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts index f8ab696a66d7..0869854f49e7 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts @@ -360,6 +360,56 @@ export const OperationTagResourceContractProperties: msRest.CompositeMapper = { } }; +export const ApiLicenseInformation: msRest.CompositeMapper = { + serializedName: "ApiLicenseInformation", + type: { + name: "Composite", + className: "ApiLicenseInformation", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + url: { + serializedName: "url", + type: { + name: "String" + } + } + } + } +}; + +export const ApiContactInformation: msRest.CompositeMapper = { + serializedName: "ApiContactInformation", + type: { + name: "Composite", + className: "ApiContactInformation", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + url: { + serializedName: "url", + type: { + name: "String" + } + }, + email: { + serializedName: "email", + type: { + name: "String" + } + } + } + } +}; + export const SubscriptionKeyParameterNamesContract: msRest.CompositeMapper = { serializedName: "SubscriptionKeyParameterNamesContract", type: { @@ -616,6 +666,26 @@ export const ApiEntityBaseContract: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + termsOfServiceUrl: { + serializedName: "termsOfServiceUrl", + type: { + name: "String" + } + }, + contact: { + serializedName: "contact", + type: { + name: "Composite", + className: "ApiContactInformation" + } + }, + license: { + serializedName: "license", + type: { + name: "Composite", + className: "ApiLicenseInformation" + } } } } @@ -671,11 +741,7 @@ export const ApiContractProperties: msRest.CompositeMapper = { name: "Sequence", element: { type: { - name: "Enum", - allowedValues: [ - "http", - "https" - ] + name: "String" } } } @@ -740,11 +806,7 @@ export const ApiTagResourceContractProperties: msRest.CompositeMapper = { name: "Sequence", element: { type: { - name: "Enum", - allowedValues: [ - "http", - "https" - ] + name: "String" } } } @@ -1360,6 +1422,12 @@ export const SchemaContract: msRest.CompositeMapper = { type: { name: "Object" } + }, + components: { + serializedName: "properties.document.components", + type: { + name: "Object" + } } } } @@ -1490,6 +1558,40 @@ export const ProductContract: msRest.CompositeMapper = { } }; +export const ParameterExampleContract: msRest.CompositeMapper = { + serializedName: "ParameterExampleContract", + type: { + name: "Composite", + className: "ParameterExampleContract", + modelProperties: { + summary: { + serializedName: "summary", + type: { + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + }, + value: { + serializedName: "value", + type: { + name: "Object" + } + }, + externalValue: { + serializedName: "externalValue", + type: { + name: "String" + } + } + } + } +}; + export const ParameterContract: msRest.CompositeMapper = { serializedName: "ParameterContract", type: { @@ -1538,6 +1640,30 @@ export const ParameterContract: msRest.CompositeMapper = { } } } + }, + schemaId: { + serializedName: "schemaId", + type: { + name: "String" + } + }, + typeName: { + serializedName: "typeName", + type: { + name: "String" + } + }, + examples: { + serializedName: "examples", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "ParameterExampleContract" + } + } + } } } } @@ -1556,12 +1682,6 @@ export const RepresentationContract: msRest.CompositeMapper = { name: "String" } }, - sample: { - serializedName: "sample", - type: { - name: "String" - } - }, schemaId: { serializedName: "schemaId", type: { @@ -2118,6 +2238,26 @@ export const ApiContract: msRest.CompositeMapper = { name: "Boolean" } }, + termsOfServiceUrl: { + serializedName: "properties.termsOfServiceUrl", + type: { + name: "String" + } + }, + contact: { + serializedName: "properties.contact", + type: { + name: "Composite", + className: "ApiContactInformation" + } + }, + license: { + serializedName: "properties.license", + type: { + name: "Composite", + className: "ApiLicenseInformation" + } + }, sourceApiId: { serializedName: "properties.sourceApiId", type: { @@ -2161,11 +2301,7 @@ export const ApiContract: msRest.CompositeMapper = { name: "Sequence", element: { type: { - name: "Enum", - allowedValues: [ - "http", - "https" - ] + name: "String" } } } @@ -2275,6 +2411,26 @@ export const ApiUpdateContract: msRest.CompositeMapper = { name: "Boolean" } }, + termsOfServiceUrl: { + serializedName: "properties.termsOfServiceUrl", + type: { + name: "String" + } + }, + contact: { + serializedName: "properties.contact", + type: { + name: "Composite", + className: "ApiContactInformation" + } + }, + license: { + serializedName: "properties.license", + type: { + name: "Composite", + className: "ApiLicenseInformation" + } + }, displayName: { serializedName: "properties.displayName", constraints: { @@ -2311,11 +2467,7 @@ export const ApiUpdateContract: msRest.CompositeMapper = { name: "Sequence", element: { type: { - name: "Enum", - allowedValues: [ - "http", - "https" - ] + name: "String" } } } @@ -2418,6 +2570,26 @@ export const ApiCreateOrUpdateParameter: msRest.CompositeMapper = { name: "Boolean" } }, + termsOfServiceUrl: { + serializedName: "properties.termsOfServiceUrl", + type: { + name: "String" + } + }, + contact: { + serializedName: "properties.contact", + type: { + name: "Composite", + className: "ApiContactInformation" + } + }, + license: { + serializedName: "properties.license", + type: { + name: "Composite", + className: "ApiLicenseInformation" + } + }, sourceApiId: { serializedName: "properties.sourceApiId", type: { @@ -2461,11 +2633,7 @@ export const ApiCreateOrUpdateParameter: msRest.CompositeMapper = { name: "Sequence", element: { type: { - name: "Enum", - allowedValues: [ - "http", - "https" - ] + name: "String" } } } @@ -4173,6 +4341,18 @@ export const HostnameConfiguration: msRest.CompositeMapper = { name: "Composite", className: "CertificateInformation" } + }, + certificateSource: { + serializedName: "certificateSource", + type: { + name: "String" + } + }, + certificateStatus: { + serializedName: "certificateStatus", + type: { + name: "String" + } } } } @@ -4291,6 +4471,12 @@ export const AdditionalLocation: msRest.CompositeMapper = { } } }, + publicIpAddressId: { + serializedName: "publicIpAddressId", + type: { + name: "String" + } + }, virtualNetworkConfiguration: { serializedName: "virtualNetworkConfiguration", type: { @@ -4311,6 +4497,13 @@ export const AdditionalLocation: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + platformVersion: { + readOnly: true, + serializedName: "platformVersion", + type: { + name: "String" + } } } } @@ -4329,13 +4522,6 @@ export const ApiManagementServiceBackupRestoreParameters: msRest.CompositeMapper name: "String" } }, - accessKey: { - required: true, - serializedName: "accessKey", - type: { - name: "String" - } - }, containerName: { required: true, serializedName: "containerName", @@ -4349,6 +4535,25 @@ export const ApiManagementServiceBackupRestoreParameters: msRest.CompositeMapper type: { name: "String" } + }, + accessType: { + serializedName: "accessType", + defaultValue: 'AccessKey', + type: { + name: "String" + } + }, + accessKey: { + serializedName: "accessKey", + type: { + name: "String" + } + }, + clientId: { + serializedName: "clientId", + type: { + name: "String" + } } } } @@ -4484,6 +4689,18 @@ export const ApiManagementServiceBaseProperties: msRest.CompositeMapper = { } } }, + publicIpAddressId: { + serializedName: "publicIpAddressId", + type: { + name: "String" + } + }, + publicNetworkAccess: { + serializedName: "publicNetworkAccess", + type: { + name: "String" + } + }, virtualNetworkConfiguration: { serializedName: "virtualNetworkConfiguration", type: { @@ -4560,6 +4777,13 @@ export const ApiManagementServiceBaseProperties: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + platformVersion: { + readOnly: true, + serializedName: "platformVersion", + type: { + name: "String" + } } } } @@ -4630,6 +4854,52 @@ export const ApiManagementServiceIdentity: msRest.CompositeMapper = { } }; +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" + } + } + } + } +}; + export const ApimResource: msRest.CompositeMapper = { serializedName: "ApimResource", type: { @@ -4787,11 +5057,23 @@ export const ApiManagementServiceResource: msRest.CompositeMapper = { } } }, - virtualNetworkConfiguration: { - serializedName: "properties.virtualNetworkConfiguration", + publicIpAddressId: { + serializedName: "properties.publicIpAddressId", type: { - name: "Composite", - className: "VirtualNetworkConfiguration" + name: "String" + } + }, + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", + type: { + name: "String" + } + }, + virtualNetworkConfiguration: { + serializedName: "properties.virtualNetworkConfiguration", + type: { + name: "Composite", + className: "VirtualNetworkConfiguration" } }, additionalLocations: { @@ -4864,6 +5146,13 @@ export const ApiManagementServiceResource: msRest.CompositeMapper = { name: "Boolean" } }, + platformVersion: { + readOnly: true, + serializedName: "properties.platformVersion", + type: { + name: "String" + } + }, publisherEmail: { required: true, serializedName: "properties.publisherEmail", @@ -4899,6 +5188,14 @@ export const ApiManagementServiceResource: msRest.CompositeMapper = { className: "ApiManagementServiceIdentity" } }, + systemData: { + readOnly: true, + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } + }, location: { required: true, serializedName: "location", @@ -5043,6 +5340,18 @@ export const ApiManagementServiceUpdateParameters: msRest.CompositeMapper = { } } }, + publicIpAddressId: { + serializedName: "properties.publicIpAddressId", + type: { + name: "String" + } + }, + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", + type: { + name: "String" + } + }, virtualNetworkConfiguration: { serializedName: "properties.virtualNetworkConfiguration", type: { @@ -5120,6 +5429,13 @@ export const ApiManagementServiceUpdateParameters: msRest.CompositeMapper = { name: "Boolean" } }, + platformVersion: { + readOnly: true, + serializedName: "properties.platformVersion", + type: { + name: "String" + } + }, publisherEmail: { serializedName: "properties.publisherEmail", constraints: { @@ -5158,6 +5474,17 @@ export const ApiManagementServiceUpdateParameters: msRest.CompositeMapper = { type: { name: "String" } + }, + zones: { + serializedName: "zones", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } } } } @@ -7142,6 +7469,114 @@ export const OpenidConnectProviderUpdateContract: msRest.CompositeMapper = { } }; +export const EndpointDetail: msRest.CompositeMapper = { + serializedName: "EndpointDetail", + type: { + name: "Composite", + className: "EndpointDetail", + modelProperties: { + port: { + serializedName: "port", + type: { + name: "Number" + } + }, + region: { + serializedName: "region", + type: { + name: "String" + } + } + } + } +}; + +export const EndpointDependency: msRest.CompositeMapper = { + serializedName: "EndpointDependency", + type: { + name: "Composite", + className: "EndpointDependency", + modelProperties: { + domainName: { + serializedName: "domainName", + type: { + name: "String" + } + }, + endpointDetails: { + serializedName: "endpointDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointDetail" + } + } + } + } + } + } +}; + +export const OutboundEnvironmentEndpoint: msRest.CompositeMapper = { + serializedName: "OutboundEnvironmentEndpoint", + type: { + name: "Composite", + className: "OutboundEnvironmentEndpoint", + modelProperties: { + category: { + serializedName: "category", + type: { + name: "String" + } + }, + endpoints: { + serializedName: "endpoints", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointDependency" + } + } + } + } + } + } +}; + +export const OutboundEnvironmentEndpointList: msRest.CompositeMapper = { + serializedName: "OutboundEnvironmentEndpointList", + type: { + name: "Composite", + className: "OutboundEnvironmentEndpointList", + modelProperties: { + value: { + required: true, + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OutboundEnvironmentEndpoint" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const PolicyDescriptionContract: msRest.CompositeMapper = { serializedName: "PolicyDescriptionContract", type: { @@ -8708,46 +9143,52 @@ export const TenantConfigurationSyncStateContract: msRest.CompositeMapper = { className: "TenantConfigurationSyncStateContract", modelProperties: { branch: { - serializedName: "branch", + serializedName: "properties.branch", type: { name: "String" } }, commitId: { - serializedName: "commitId", + serializedName: "properties.commitId", type: { name: "String" } }, isExport: { - serializedName: "isExport", + serializedName: "properties.isExport", type: { name: "Boolean" } }, isSynced: { - serializedName: "isSynced", + serializedName: "properties.isSynced", type: { name: "Boolean" } }, isGitEnabled: { - serializedName: "isGitEnabled", + serializedName: "properties.isGitEnabled", type: { name: "Boolean" } }, syncDate: { - serializedName: "syncDate", + serializedName: "properties.syncDate", type: { name: "DateTime" } }, configurationChangeDate: { - serializedName: "configurationChangeDate", + serializedName: "properties.configurationChangeDate", type: { name: "DateTime" } + }, + lastOperationId: { + serializedName: "properties.lastOperationId", + type: { + name: "String" + } } } } @@ -8787,14 +9228,15 @@ export const OperationResultContract: msRest.CompositeMapper = { name: "Composite", className: "OperationResultContract", modelProperties: { - id: { - serializedName: "id", + ...Resource.type.modelProperties, + operationResultContractId: { + serializedName: "properties.id", type: { name: "String" } }, status: { - serializedName: "status", + serializedName: "properties.status", type: { name: "Enum", allowedValues: [ @@ -8806,25 +9248,25 @@ export const OperationResultContract: msRest.CompositeMapper = { } }, started: { - serializedName: "started", + serializedName: "properties.started", type: { name: "DateTime" } }, updated: { - serializedName: "updated", + serializedName: "properties.updated", type: { name: "DateTime" } }, resultInfo: { - serializedName: "resultInfo", + serializedName: "properties.resultInfo", type: { name: "String" } }, error: { - serializedName: "error", + serializedName: "properties.error", type: { name: "Composite", className: "ErrorResponseBody" @@ -8832,7 +9274,7 @@ export const OperationResultContract: msRest.CompositeMapper = { }, actionLog: { readOnly: true, - serializedName: "actionLog", + serializedName: "properties.actionLog", type: { name: "Sequence", element: { @@ -9230,6 +9672,354 @@ export const UserCreateParameters: msRest.CompositeMapper = { } }; +export const ConnectivityIssue: msRest.CompositeMapper = { + serializedName: "ConnectivityIssue", + type: { + name: "Composite", + className: "ConnectivityIssue", + modelProperties: { + origin: { + readOnly: true, + serializedName: "origin", + type: { + name: "String" + } + }, + severity: { + readOnly: true, + serializedName: "severity", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + context: { + readOnly: true, + serializedName: "context", + type: { + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } + } + } +}; + +export const ConnectivityHop: msRest.CompositeMapper = { + serializedName: "ConnectivityHop", + type: { + name: "Composite", + className: "ConnectivityHop", + modelProperties: { + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + address: { + readOnly: true, + serializedName: "address", + type: { + name: "String" + } + }, + resourceId: { + readOnly: true, + serializedName: "resourceId", + type: { + name: "String" + } + }, + nextHopIds: { + readOnly: true, + serializedName: "nextHopIds", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + issues: { + readOnly: true, + serializedName: "issues", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectivityIssue" + } + } + } + } + } + } +}; + +export const ConnectivityCheckResponse: msRest.CompositeMapper = { + serializedName: "ConnectivityCheckResponse", + type: { + name: "Composite", + className: "ConnectivityCheckResponse", + modelProperties: { + hops: { + readOnly: true, + serializedName: "hops", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectivityHop" + } + } + } + }, + connectionStatus: { + readOnly: true, + serializedName: "connectionStatus", + type: { + name: "String" + } + }, + avgLatencyInMs: { + readOnly: true, + serializedName: "avgLatencyInMs", + type: { + name: "Number" + } + }, + minLatencyInMs: { + readOnly: true, + serializedName: "minLatencyInMs", + type: { + name: "Number" + } + }, + maxLatencyInMs: { + readOnly: true, + serializedName: "maxLatencyInMs", + type: { + name: "Number" + } + }, + probesSent: { + readOnly: true, + serializedName: "probesSent", + type: { + name: "Number" + } + }, + probesFailed: { + readOnly: true, + serializedName: "probesFailed", + type: { + name: "Number" + } + } + } + } +}; + +export const HTTPHeader: msRest.CompositeMapper = { + serializedName: "HTTPHeader", + type: { + name: "Composite", + className: "HTTPHeader", + modelProperties: { + name: { + required: true, + serializedName: "name", + type: { + name: "String" + } + }, + value: { + required: true, + serializedName: "value", + type: { + name: "String" + } + } + } + } +}; + +export const ConnectivityCheckRequestSource: msRest.CompositeMapper = { + serializedName: "ConnectivityCheckRequest_source", + type: { + name: "Composite", + className: "ConnectivityCheckRequestSource", + modelProperties: { + region: { + required: true, + serializedName: "region", + type: { + name: "String" + } + }, + instance: { + serializedName: "instance", + type: { + name: "Number" + } + } + } + } +}; + +export const ConnectivityCheckRequestDestination: msRest.CompositeMapper = { + serializedName: "ConnectivityCheckRequest_destination", + type: { + name: "Composite", + className: "ConnectivityCheckRequestDestination", + modelProperties: { + address: { + required: true, + serializedName: "address", + type: { + name: "String" + } + }, + port: { + required: true, + serializedName: "port", + type: { + name: "Number" + } + } + } + } +}; + +export const ConnectivityCheckRequestProtocolConfigurationHTTPConfiguration: msRest.CompositeMapper = { + serializedName: "ConnectivityCheckRequest_protocolConfiguration_HTTPConfiguration", + type: { + name: "Composite", + className: "ConnectivityCheckRequestProtocolConfigurationHTTPConfiguration", + modelProperties: { + method: { + serializedName: "method", + type: { + name: "String" + } + }, + validStatusCodes: { + serializedName: "validStatusCodes", + type: { + name: "Sequence", + element: { + type: { + name: "Number" + } + } + } + }, + headers: { + serializedName: "headers", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HTTPHeader" + } + } + } + } + } + } +}; + +export const ConnectivityCheckRequestProtocolConfiguration: msRest.CompositeMapper = { + serializedName: "ConnectivityCheckRequest_protocolConfiguration", + type: { + name: "Composite", + className: "ConnectivityCheckRequestProtocolConfiguration", + modelProperties: { + hTTPConfiguration: { + serializedName: "HTTPConfiguration", + type: { + name: "Composite", + className: "ConnectivityCheckRequestProtocolConfigurationHTTPConfiguration" + } + } + } + } +}; + +export const ConnectivityCheckRequest: msRest.CompositeMapper = { + serializedName: "ConnectivityCheckRequest", + type: { + name: "Composite", + className: "ConnectivityCheckRequest", + modelProperties: { + source: { + required: true, + serializedName: "source", + type: { + name: "Composite", + className: "ConnectivityCheckRequestSource" + } + }, + destination: { + required: true, + serializedName: "destination", + type: { + name: "Composite", + className: "ConnectivityCheckRequestDestination" + } + }, + preferredIPVersion: { + serializedName: "preferredIPVersion", + type: { + name: "String" + } + }, + protocol: { + serializedName: "protocol", + type: { + name: "String" + } + }, + protocolConfiguration: { + serializedName: "protocolConfiguration", + type: { + name: "Composite", + className: "ConnectivityCheckRequestProtocolConfiguration" + } + } + } + } +}; + export const ApiRevisionInfoContract: msRest.CompositeMapper = { serializedName: "ApiRevisionInfoContract", type: { diff --git a/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts index 37c3ce050068..625b3c24ed67 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -79,7 +82,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -103,6 +109,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts index 830c2d9a8b8d..6baa720308c0 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -71,7 +74,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -95,6 +101,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts index c30aeeb958c3..c29dbaef7ea9 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +73,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -95,6 +101,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts index 5f8d0756d6c4..d3848f881671 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +73,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -95,6 +101,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts index 7657aec7c495..d3ae9547cb30 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -48,6 +50,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -78,7 +81,10 @@ export { OpenidConnectProviderUpdateContract, OpenIdConnectProviderUpdateHeaders, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -102,6 +108,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/operationOperationsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/operationOperationsMappers.ts index f75cb5d3f102..9380d1962c73 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/operationOperationsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/operationOperationsMappers.ts @@ -7,8 +7,10 @@ */ export { + ApiContactInformation, ApiContractProperties, ApiEntityBaseContract, + ApiLicenseInformation, ApiTagResourceContractProperties, ApiVersionSetContractDetails, AuthenticationSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/outboundNetworkDependenciesEndpointsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/outboundNetworkDependenciesEndpointsMappers.ts new file mode 100644 index 000000000000..2c5201b51375 --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/models/outboundNetworkDependenciesEndpointsMappers.ts @@ -0,0 +1,16 @@ +/* + * 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. + */ + +export { + EndpointDependency, + EndpointDetail, + ErrorFieldContract, + ErrorResponse, + OutboundEnvironmentEndpoint, + OutboundEnvironmentEndpointList +} from "../models/mappers"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts index 2144d2458421..d4a57ac25072 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +73,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionCollection, @@ -95,6 +101,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts index 307cf807c5a9..e03df0633c8d 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +73,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyCollection, PolicyContract, @@ -98,6 +104,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/portalRevisionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/portalRevisionMappers.ts index 02f6c4eac7c6..8d3caf5f4bb9 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/portalRevisionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/portalRevisionMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +73,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -99,6 +105,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/portalSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/portalSettingsMappers.ts index 6a779c200a89..1bb46c319b5f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/portalSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/portalSettingsMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +73,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -95,6 +101,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts index 25253de8dcdf..754794bc74ff 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts @@ -10,7 +10,9 @@ export { AccessInformationContract, AdditionalLocation, ApiCollection, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -48,6 +50,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -71,7 +74,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -95,6 +101,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts index 6a502aca75eb..28bdf477a468 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -71,7 +74,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -95,6 +101,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts index 11bdf825c3d0..5d68d2ab15ea 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts @@ -9,9 +9,11 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, ApiContractProperties, ApiEntityBaseContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -50,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -73,8 +76,11 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, OperationTagResourceContractProperties, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -106,6 +112,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TagResourceCollection, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts index 8c71ce15963f..1ebd777cec3b 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +73,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyCollection, PolicyContract, @@ -98,6 +104,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts index bb3cd32c8806..b012509ab39c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +73,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -95,6 +101,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts index d4e2e1b5766b..c883b347be9a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +73,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -96,6 +102,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts index 69e7dde54352..5339bd370acd 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +73,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -96,6 +102,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts index 0c0e8ce97ba9..49773310c60e 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +73,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -103,6 +109,7 @@ export { SubscriptionsDelegationSettingsProperties, SubscriptionUpdateHeaders, SubscriptionUpdateParameters, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts index 256ee374e33b..360f7181ed57 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +73,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -94,6 +100,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagAssignToApiHeaders, TagCollection, TagContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tagResourceMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tagResourceMappers.ts index f75cb5d3f102..9380d1962c73 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tagResourceMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tagResourceMappers.ts @@ -7,8 +7,10 @@ */ export { + ApiContactInformation, ApiContractProperties, ApiEntityBaseContract, + ApiLicenseInformation, ApiTagResourceContractProperties, ApiVersionSetContractDetails, AuthenticationSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts index 81829aa57b4e..95d31ff2f7a9 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts @@ -13,7 +13,9 @@ export { AccessInformationSecretsContract, AccessInformationUpdateParameters, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -51,6 +53,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -74,7 +77,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -98,6 +104,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantAccessCreateHeaders, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tenantConfigurationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tenantConfigurationMappers.ts index 623bc88c1291..192c2a8ca960 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tenantConfigurationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tenantConfigurationMappers.ts @@ -7,12 +7,111 @@ */ export { + AccessInformationContract, + AdditionalLocation, + ApiContactInformation, + ApiContract, + ApiLicenseInformation, + ApiManagementServiceIdentity, + ApiManagementServiceResource, + ApiManagementServiceSkuProperties, + ApiManagementServiceUpdateParameters, + ApimResource, + ApiReleaseContract, + ApiVersionConstraint, + ApiVersionSetContract, + ApiVersionSetContractDetails, + AssociationContract, + AuthenticationSettingsContract, + AuthorizationServerContract, + AuthorizationServerUpdateContract, + BackendAuthorizationHeaderCredentials, + BackendContract, + BackendCredentialsContract, + BackendProperties, + BackendProxyContract, + BackendReconnectContract, + BackendServiceFabricClusterProperties, + BackendTlsProperties, + BaseResource, + BodyDiagnosticSettings, + CacheContract, + CertificateConfiguration, + CertificateContract, + CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DeployConfigurationParameters, + DiagnosticContract, + EmailTemplateContract, + EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, ErrorResponseBody, + GatewayCertificateAuthorityContract, + GatewayContract, + GatewayHostnameConfigurationContract, + GroupContract, + GroupContractProperties, + HostnameConfiguration, + HttpMessageDiagnostic, + IdentityProviderContract, + IdentityProviderCreateContract, + IssueAttachmentContract, + IssueCommentContract, + IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, + LoggerContract, + NamedValueContract, + NamedValueCreateContract, + NotificationContract, + OAuth2AuthenticationSettingsContract, + OpenIdAuthenticationSettingsContract, + OpenidConnectProviderContract, + OperationContract, OperationResultContract, OperationResultLogItemContract, + ParameterContract, + ParameterExampleContract, + PipelineDiagnosticSettings, + PolicyContract, + PolicyDescriptionContract, + PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, + PortalSigninSettings, + PortalSignupSettings, + ProductContract, + RecipientEmailContract, + RecipientsContractProperties, + RecipientUserContract, + RegistrationDelegationSettingsProperties, + RepresentationContract, + RequestContract, + Resource, + ResourceLocationDataContract, + ResponseContract, + SamplingSettings, SaveConfigurationParameter, - TenantConfigurationSyncStateContract + SchemaContract, + SubscriptionContract, + SubscriptionKeyParameterNamesContract, + SubscriptionsDelegationSettingsProperties, + SystemData, + TagContract, + TagDescriptionContract, + TenantConfigurationSyncStateContract, + TenantSettingsContract, + TermsOfServiceProperties, + TokenBodyParameterContract, + UserContract, + UserIdentityContract, + UserIdentityProperties, + VirtualNetworkConfiguration, + X509CertificateName } from "../models/mappers"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tenantSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tenantSettingsMappers.ts index a0cf17c952da..e52b209db3c6 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tenantSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tenantSettingsMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +73,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -94,6 +100,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsCollection, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts index 6a502aca75eb..28bdf477a468 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -71,7 +74,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -95,6 +101,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts index 8a4af92021e0..0b2831be061b 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -71,7 +74,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -95,6 +101,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.ts index a9943509b5ba..4490ddf79242 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +73,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -95,6 +101,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiManagementService.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiManagementService.ts index 5f307f861bed..50d28c8b91d6 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiManagementService.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiManagementService.ts @@ -32,8 +32,7 @@ export class ApiManagementService { * minutes to complete. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. - * @param parameters Parameters supplied to the Restore API Management service from backup - * operation. + * @param parameters Parameters supplied to the ApiManagementService_Restore operation. * @param [options] The optional parameters * @returns Promise */ @@ -282,8 +281,7 @@ export class ApiManagementService { * minutes to complete. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. - * @param parameters Parameters supplied to the Restore API Management service from backup - * operation. + * @param parameters Parameters supplied to the ApiManagementService_Restore operation. * @param [options] The optional parameters * @returns Promise */ @@ -611,9 +609,9 @@ const beginRestoreOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/restore", urlParameters: [ + Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.serviceName, - Parameters.subscriptionId + Parameters.serviceName ], queryParameters: [ Parameters.apiVersion @@ -644,9 +642,9 @@ const beginBackupOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backup", urlParameters: [ + Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.serviceName, - Parameters.subscriptionId + Parameters.serviceName ], queryParameters: [ Parameters.apiVersion diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/contentItem.ts b/sdk/apimanagement/arm-apimanagement/src/operations/contentItem.ts index 75666e4b95ab..4c946eea91ad 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/contentItem.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/contentItem.ts @@ -26,7 +26,7 @@ export class ContentItem { } /** - * Returns list of content items + * Lists developer portal's content items specified by the provided content type. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param contentTypeId Content type identifier. @@ -62,7 +62,8 @@ export class ContentItem { } /** - * Returns content item metadata + * Returns the entity state (ETag) version of the developer portal's content item specified by its + * identifier. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param contentTypeId Content type identifier. @@ -102,7 +103,7 @@ export class ContentItem { } /** - * Returns content item details + * Returns the developer portal's content item specified by its identifier. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param contentTypeId Content type identifier. @@ -142,7 +143,7 @@ export class ContentItem { } /** - * Creates new content item + * Creates a new developer portal's content item specified by the provided content type. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param contentTypeId Content type identifier. @@ -182,7 +183,7 @@ export class ContentItem { } /** - * Removes specified content item. + * Removes the specified developer portal's content item. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param contentTypeId Content type identifier. @@ -229,7 +230,7 @@ export class ContentItem { } /** - * Returns list of content items + * Lists developer portal's content items specified by the provided content type. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/contentType.ts b/sdk/apimanagement/arm-apimanagement/src/operations/contentType.ts index 4459b47eb782..1669857e93f4 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/contentType.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/contentType.ts @@ -26,7 +26,8 @@ export class ContentType { } /** - * Returns list of content types + * Lists the developer portal's content types. Content types describe content items' properties, + * validation rules, and constraints. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param [options] The optional parameters @@ -58,7 +59,8 @@ export class ContentType { } /** - * Gets API Management content type details. + * Gets the details of the developer portal's content type. Content types describe content items' + * properties, validation rules, and constraints. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param contentTypeId Content type identifier. @@ -94,7 +96,9 @@ export class ContentType { } /** - * Creates or updates an Content Type. + * Creates or updates the developer portal's content type. Content types describe content items' + * properties, validation rules, and constraints. Custom content types' identifiers need to start + * with the `c-` prefix. Built-in content types can't be modified. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param contentTypeId Content type identifier. @@ -130,7 +134,9 @@ export class ContentType { } /** - * Removes specified content type. + * Removes the specified developer portal's content type. Content types describe content items' + * properties, validation rules, and constraints. Built-in content types (with identifiers starting + * with the `c-` prefix) can't be removed. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param contentTypeId Content type identifier. @@ -173,7 +179,8 @@ export class ContentType { } /** - * Returns list of content types + * Lists the developer portal's content types. Content types describe content items' properties, + * validation rules, and constraints. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/index.ts b/sdk/apimanagement/arm-apimanagement/src/operations/index.ts index f301dbf3404a..62126d380908 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/index.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/index.ts @@ -50,6 +50,7 @@ export * from "./notification"; export * from "./notificationRecipientUser"; export * from "./notificationRecipientEmail"; export * from "./openIdConnectProvider"; +export * from "./outboundNetworkDependenciesEndpoints"; export * from "./policy"; export * from "./policyDescription"; export * from "./portalRevision"; diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/outboundNetworkDependenciesEndpoints.ts b/sdk/apimanagement/arm-apimanagement/src/operations/outboundNetworkDependenciesEndpoints.ts new file mode 100644 index 000000000000..591cf1b9df61 --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/operations/outboundNetworkDependenciesEndpoints.ts @@ -0,0 +1,86 @@ +/* + * 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. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/outboundNetworkDependenciesEndpointsMappers"; +import * as Parameters from "../models/parameters"; +import { ApiManagementClientContext } from "../apiManagementClientContext"; + +/** Class representing a OutboundNetworkDependenciesEndpoints. */ +export class OutboundNetworkDependenciesEndpoints { + private readonly client: ApiManagementClientContext; + + /** + * Create a OutboundNetworkDependenciesEndpoints. + * @param {ApiManagementClientContext} client Reference to the service client. + */ + constructor(client: ApiManagementClientContext) { + this.client = client; + } + + /** + * Gets the network endpoints of all outbound dependencies of a ApiManagement service. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param [options] The optional parameters + * @returns Promise + */ + listByService(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param callback The callback + */ + listByService(resourceGroupName: string, serviceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param options The optional parameters + * @param callback The callback + */ + listByService(resourceGroupName: string, serviceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByService(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + options + }, + listByServiceOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listByServiceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/outboundNetworkDependenciesEndpoints", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.serviceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.OutboundEnvironmentEndpointList + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/portalRevision.ts b/sdk/apimanagement/arm-apimanagement/src/operations/portalRevision.ts index e03ba7ef0dce..a5c1ae9d4366 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/portalRevision.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/portalRevision.ts @@ -27,7 +27,7 @@ export class PortalRevision { } /** - * Lists a collection of developer portal revision entities. + * Lists developer portal's revisions. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param [options] The optional parameters @@ -59,7 +59,7 @@ export class PortalRevision { } /** - * Gets developer portal revision specified by its identifier. + * Gets the developer portal revision specified by its identifier. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param portalRevisionId Portal revision identifier. Must be unique in the current API Management @@ -98,7 +98,7 @@ export class PortalRevision { } /** - * Gets developer portal revision specified by its identifier. + * Gets the developer portal's revision specified by its identifier. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param portalRevisionId Portal revision identifier. Must be unique in the current API Management @@ -137,7 +137,8 @@ export class PortalRevision { } /** - * Creates a new developer portal revision. + * Creates a new developer portal's revision by running the portal's publishing. The `isCurrent` + * property indicates if the revision is publicly accessible. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param portalRevisionId Portal revision identifier. Must be unique in the current API Management @@ -169,7 +170,8 @@ export class PortalRevision { } /** - * Creates a new developer portal revision. + * Creates a new developer portal's revision by running the portal's publishing. The `isCurrent` + * property indicates if the revision is publicly accessible. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param portalRevisionId Portal revision identifier. Must be unique in the current API Management @@ -218,7 +220,7 @@ export class PortalRevision { } /** - * Lists a collection of developer portal revision entities. + * Lists developer portal's revisions. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise