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 ce0dfa5e2bd5..753e372139f3 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..735bd91b35fc 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; @@ -67,6 +70,7 @@ class ApiManagementClient extends ApiManagementClientContext { signInSettings: operations.SignInSettings; signUpSettings: operations.SignUpSettings; delegationSettings: operations.DelegationSettings; + privateEndpointConnection: operations.PrivateEndpointConnectionOperations; product: operations.Product; productApi: operations.ProductApi; productGroup: operations.ProductGroup; @@ -76,6 +80,7 @@ class ApiManagementClient extends ApiManagementClientContext { quotaByPeriodKeys: operations.QuotaByPeriodKeys; region: operations.Region; reports: operations.Reports; + schema: operations.Schema; tenantSettings: operations.TenantSettings; apiManagementSkus: operations.ApiManagementSkus; subscription: operations.Subscription; @@ -147,6 +152,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); @@ -154,6 +160,7 @@ class ApiManagementClient extends ApiManagementClientContext { this.signInSettings = new operations.SignInSettings(this); this.signUpSettings = new operations.SignUpSettings(this); this.delegationSettings = new operations.DelegationSettings(this); + this.privateEndpointConnection = new operations.PrivateEndpointConnectionOperations(this); this.product = new operations.Product(this); this.productApi = new operations.ProductApi(this); this.productGroup = new operations.ProductGroup(this); @@ -163,6 +170,7 @@ class ApiManagementClient extends ApiManagementClientContext { this.quotaByPeriodKeys = new operations.QuotaByPeriodKeys(this); this.region = new operations.Region(this); this.reports = new operations.Reports(this); + this.schema = new operations.Schema(this); this.tenantSettings = new operations.TenantSettings(this); this.apiManagementSkus = new operations.ApiManagementSkus(this); this.subscription = new operations.Subscription(this); @@ -177,9 +185,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 76e8f4a65acd..6480dfcc3f9f 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.2"; @@ -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..1d7cb542ece6 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts @@ -9,24 +9,29 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, ApiDiagnosticCreateOrUpdateHeaders, ApiDiagnosticGetEntityTagHeaders, ApiDiagnosticGetHeaders, ApiDiagnosticUpdateHeaders, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -52,6 +57,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -75,7 +81,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -84,11 +93,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -99,11 +114,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts index 20d936f50c71..d0322770d7e9 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts @@ -9,23 +9,28 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, ApiIssueAttachmentCreateOrUpdateHeaders, ApiIssueAttachmentGetEntityTagHeaders, ApiIssueAttachmentGetHeaders, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -50,6 +55,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -74,7 +80,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -83,11 +92,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -98,11 +113,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts index 52c9f25819f3..a2c9f6030921 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts @@ -9,23 +9,28 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, ApiIssueCommentCreateOrUpdateHeaders, ApiIssueCommentGetEntityTagHeaders, ApiIssueCommentGetHeaders, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -50,6 +55,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -74,7 +80,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -83,11 +92,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -98,11 +113,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts index 7bf1aef54b29..15b5ed38d038 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts @@ -9,24 +9,29 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, ApiIssueCreateOrUpdateHeaders, ApiIssueGetEntityTagHeaders, ApiIssueGetHeaders, ApiIssueUpdateHeaders, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -51,6 +56,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -76,7 +82,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -85,11 +94,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -100,11 +115,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceMappers.ts index 85c8bd542f4f..d35711a522d0 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, @@ -23,13 +25,16 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -54,6 +59,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -77,7 +83,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -86,11 +95,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -101,11 +116,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts index 44b414b6e9fa..958f0517ae50 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,22 +19,26 @@ export { ApiEntityBaseContract, ApiGetEntityTagHeaders, ApiGetHeaders, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiTagResourceContractProperties, ApiUpdateContract, ApiUpdateHeaders, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -58,6 +63,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -81,8 +87,11 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, OperationTagResourceContractProperties, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -91,13 +100,19 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, ProductEntityBaseParameters, ProductTagResourceContractProperties, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -108,14 +123,17 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TagResourceCollection, TagResourceContract, TagTagResourceContractProperties, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts index bf3c27c7328e..fa54f25dec6e 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, @@ -20,13 +22,16 @@ export { ApiOperationGetHeaders, ApiOperationUpdateHeaders, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -51,6 +56,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -75,8 +81,11 @@ export { OpenidConnectProviderContract, OperationCollection, OperationContract, + OperationResultContract, + OperationResultLogItemContract, OperationUpdateContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -85,11 +94,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -100,11 +115,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts index 4b420d3bbab1..3c5d2befd420 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, @@ -19,13 +21,16 @@ export { ApiOperationPolicyGetEntityTagHeaders, ApiOperationPolicyGetHeaders, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -50,6 +55,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -73,7 +79,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyCollection, PolicyContract, @@ -83,11 +92,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -98,11 +113,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts index 61dcd8cf8f7b..754cbbc5caf5 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, @@ -19,13 +21,16 @@ export { ApiPolicyGetEntityTagHeaders, ApiPolicyGetHeaders, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -50,6 +55,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -73,7 +79,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyCollection, PolicyContract, @@ -83,11 +92,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -98,11 +113,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts index d6954c5a4483..30766c050f8a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +76,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -79,12 +88,18 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductCollection, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -95,11 +110,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts index 9b880c27faef..fd392254255e 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, @@ -21,13 +23,16 @@ export { ApiReleaseGetEntityTagHeaders, ApiReleaseGetHeaders, ApiReleaseUpdateHeaders, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -52,6 +57,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -75,7 +81,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -84,11 +93,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -99,11 +114,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts index e99de7c3157d..f8c7ebc3ba10 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts @@ -9,23 +9,29 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaCollection, + ApiSchemaContract, ApiSchemaCreateOrUpdateHeaders, ApiSchemaGetEntityTagHeaders, ApiSchemaGetHeaders, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -50,6 +56,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -73,7 +80,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -82,27 +92,35 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, ResourceLocationDataContract, ResponseContract, SamplingSettings, - SchemaCollection, SchemaContract, SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts index 01db9a3fe3ca..ab0ee895a6c9 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts @@ -9,23 +9,28 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiTagDescriptionCreateOrUpdateHeaders, ApiTagDescriptionGetEntityTagHeaders, ApiTagDescriptionGetHeaders, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -50,6 +55,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -73,7 +79,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -82,11 +91,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -97,13 +112,16 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionCollection, TagDescriptionContract, TagDescriptionCreateParameters, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts index be27747aad1c..c0e0e9e371c8 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts @@ -9,13 +9,16 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetCollection, ApiVersionSetContract, @@ -25,10 +28,12 @@ export { ApiVersionSetGetHeaders, ApiVersionSetUpdateHeaders, ApiVersionSetUpdateParameters, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -53,6 +58,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -76,7 +82,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -85,11 +94,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -100,11 +115,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts index 1e0e3ee93469..a43bb011d934 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts @@ -9,16 +9,20 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerCollection, @@ -30,6 +34,7 @@ export { AuthorizationServerSecretsContract, AuthorizationServerUpdateContract, AuthorizationServerUpdateHeaders, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -54,6 +59,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -77,7 +83,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -86,11 +95,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -101,11 +116,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts index 1ee1333947e2..0942d2637f7f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendCollection, BackendContract, @@ -53,6 +58,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -76,7 +82,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -85,11 +94,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -100,11 +115,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts index cfc012c95295..e9e21c03b193 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -53,6 +58,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -76,7 +82,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -85,11 +94,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -100,11 +115,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts index c02064460b97..4c2a5384357d 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -53,6 +58,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -76,7 +82,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -85,11 +94,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -100,11 +115,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/contentItemMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/contentItemMappers.ts index 17e86ef60cba..f7266563d190 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/contentItemMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/contentItemMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -51,6 +56,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -74,7 +80,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -83,11 +92,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -98,11 +113,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts index 1c7e9cb3bcaa..08dd6d18de11 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -50,6 +55,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -73,7 +79,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -82,11 +91,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -97,11 +112,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts index 0d0327307ce9..652ae081b1d0 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -49,6 +54,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -72,7 +78,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -82,11 +91,17 @@ export { PortalSettingValidationKeyContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -97,11 +112,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/deletedServicesMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/deletedServicesMappers.ts index 98aedf7918a4..de3fcaea51df 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/deletedServicesMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/deletedServicesMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -48,6 +53,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -71,7 +77,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -80,11 +89,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -95,11 +110,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts index 12807e90f56e..484556d82936 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -52,6 +57,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -75,7 +81,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -84,11 +93,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -99,11 +114,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts index b4e6bd898568..66a0d6a95341 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -52,6 +57,7 @@ export { EmailTemplateUpdateParameters, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -75,7 +81,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -84,11 +93,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -99,11 +114,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts index bd1944ce2578..cd14d18f8430 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts @@ -10,20 +10,25 @@ export { AccessInformationContract, AdditionalLocation, ApiCollection, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -48,6 +53,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayApiGetEntityTagHeaders, GatewayCertificateAuthorityContract, GatewayContract, @@ -72,7 +78,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -81,11 +90,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -96,11 +111,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/gatewayCertificateAuthorityMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayCertificateAuthorityMappers.ts index 69f44e9facab..5b024da77c1f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayCertificateAuthorityMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayCertificateAuthorityMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityCollection, GatewayCertificateAuthorityContract, GatewayCertificateAuthorityCreateOrUpdateHeaders, @@ -74,7 +80,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -83,11 +92,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -98,11 +113,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts index c85ccd64b9fc..831be45aa8cb 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationCollection, @@ -74,7 +80,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -83,11 +92,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -98,11 +113,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts index 9c3cd9b80c3c..17b6849a686a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayCollection, GatewayContract, @@ -80,7 +86,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -89,11 +98,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -104,11 +119,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts index dc5016ab4502..0e45d4ab1434 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -77,7 +83,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -86,11 +95,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -101,11 +116,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts index 24678e06044c..5285d57107a4 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +76,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -79,11 +88,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -94,11 +109,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserCollection, UserContract, UserIdentityContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts index 13a1da054385..ce8c9d2163c1 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -48,6 +53,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -78,7 +84,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -87,11 +96,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -102,11 +117,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/index.ts b/sdk/apimanagement/arm-apimanagement/src/models/index.ts index 833ac649ae13..c503065b5289 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/index.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/index.ts @@ -87,28 +87,7 @@ export interface RegionContract { } /** - * The Resource definition. - */ -export interface Resource extends BaseResource { - /** - * Resource ID. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly id?: string; - /** - * Resource name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly name?: string; - /** - * Resource type for API Management resource. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly type?: string; -} - -/** - * 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 +106,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 +187,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 +220,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 +372,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 +393,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 +408,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 +506,7 @@ export interface TagResourceContract { */ tag: TagTagResourceContractProperties; /** - * Api associated with the tag. + * API associated with the tag. */ api?: ApiTagResourceContractProperties; /** @@ -495,6 +519,66 @@ export interface TagResourceContract { product?: ProductTagResourceContractProperties; } +/** + * Common fields that are returned in the response for all Azure Resource Manager resources + * @summary Resource + */ +export interface Resource extends BaseResource { + /** + * Fully qualified resource ID for the resource. Ex - + * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; + /** + * The name of the resource + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + * "Microsoft.Storage/storageAccounts" + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; +} + +/** + * The resource model definition for a Azure Resource Manager proxy resource. It will not have tags + * and a location + * @summary Proxy Resource + */ +export interface ProxyResource extends Resource { +} + +/** + * The resource model definition for an Azure Resource Manager tracked top level resource which has + * 'tags' and a 'location' + * @summary Tracked Resource + */ +export interface TrackedResource extends Resource { + /** + * Resource tags. + */ + tags?: { [propertyName: string]: string }; + /** + * The geo-location where the resource lives + */ + location: string; +} + +/** + * The resource model definition for an Azure Resource Manager resource with an etag. + * @summary Entity Resource + */ +export interface AzureEntityResource extends Resource { + /** + * Resource Etag. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly etag?: string; +} + /** * Tag Contract details. */ @@ -798,9 +882,9 @@ export interface DiagnosticContract extends Resource { } /** - * Schema Contract details. + * API Schema Contract details. */ -export interface SchemaContract extends Resource { +export interface ApiSchemaContract extends Resource { /** * Must be a valid a media type used in a Content-Type header as defined in the RFC 2616. Media * type of the schema document (e.g. application/json, application/xml).
- `Swagger` Schema @@ -816,9 +900,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 +989,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 +1039,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 +1061,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'. @@ -958,6 +1076,10 @@ export interface RepresentationContract { * 'application/x-www-form-urlencoded' or 'multipart/form-data'.. */ formParameters?: ParameterContract[]; + /** + * Exampled defined for the representation. + */ + examples?: { [propertyName: string]: ParameterExampleContract }; } /** @@ -1005,7 +1127,7 @@ export interface RequestContract { } /** - * Api Operation Entity Base Contract details. + * API Operation Entity Base Contract details. */ export interface OperationEntityBaseContract { /** @@ -1031,7 +1153,7 @@ export interface OperationEntityBaseContract { } /** - * Api Operation details. + * API Operation details. */ export interface OperationContract extends Resource { /** @@ -1071,7 +1193,7 @@ export interface OperationContract extends Resource { } /** - * Api Operation Update Contract details. + * API Operation Update Contract details. */ export interface OperationUpdateContract { /** @@ -1184,7 +1306,7 @@ export interface ApiRevisionContract { } /** - * Api details. + * API details. */ export interface ApiContract extends Resource { /** @@ -1200,15 +1322,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 +1343,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 +1358,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 +1416,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 +1437,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 +1452,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 +1501,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 +1522,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 +1537,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 +1583,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 +1591,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 +1621,7 @@ export interface ApiVersionSetEntityBase { } /** - * Api Version Set Contract details. + * API Version Set Contract details. */ export interface ApiVersionSetContract extends Resource { /** @@ -1489,7 +1649,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 +2082,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 +2117,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 +2160,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 +2241,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 +2358,7 @@ export interface ContentTypeContract extends Resource { } /** - * Deleted Api Management Service information. + * Deleted API Management Service information. */ export interface DeletedServiceContract extends Resource { /** @@ -2216,7 +2376,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 +2533,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 +2608,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 +2627,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 +2640,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; } /** @@ -2489,6 +2678,73 @@ export interface ApiVersionConstraint { minApiVersion?: string; } +/** + * A wrapper for an ARM resource id + */ +export interface ArmIdWrapper { + /** + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; +} + +/** + * A collection of information about the state of the connection between service consumer and + * provider. + */ +export interface PrivateLinkServiceConnectionState { + /** + * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the + * service. Possible values include: 'Pending', 'Approved', 'Rejected' + */ + status?: PrivateEndpointServiceConnectionStatus; + /** + * The reason for approval/rejection of the connection. + */ + description?: string; + /** + * A message indicating if changes on the service provider require any updates on the consumer. + */ + actionsRequired?: string; +} + +/** + * Remote Private Endpoint Connection resource. + */ +export interface RemotePrivateEndpointConnectionWrapper { + /** + * Private Endpoint connection resource id + */ + id?: string; + /** + * Private Endpoint Connection Name + */ + name?: string; + /** + * Private Endpoint Connection Resource Type + */ + type?: string; + /** + * The resource of private end point. + */ + privateEndpoint?: ArmIdWrapper; + /** + * A collection of information about the state of the connection between service consumer and + * provider. + */ + privateLinkServiceConnectionState: PrivateLinkServiceConnectionState; + /** + * The provisioning state of the private endpoint connection resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: string; + /** + * All the Group ids. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly groupIds?: string[]; +} + /** * Base Properties of an API Management service resource description. */ @@ -2563,6 +2819,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 +2904,16 @@ export interface ApiManagementServiceBaseProperties { * and set to True all other properties will be ignored. Default value: false. */ restore?: boolean; + /** + * List of Private Endpoint Connections of this service. + */ + privateEndpointConnections?: RemotePrivateEndpointConnectionWrapper[]; + /** + * 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 +2960,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 +3091,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 +3176,16 @@ export interface ApiManagementServiceResource extends ApimResource { * and set to True all other properties will be ignored. Default value: false. */ restore?: boolean; + /** + * List of Private Endpoint Connections of this service. + */ + privateEndpointConnections?: RemotePrivateEndpointConnectionWrapper[]; + /** + * 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 +3202,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 +3296,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 +3381,16 @@ export interface ApiManagementServiceUpdateParameters extends ApimResource { * and set to True all other properties will be ignored. Default value: false. */ restore?: boolean; + /** + * List of Private Endpoint Connections of this service. + */ + privateEndpointConnections?: RemotePrivateEndpointConnectionWrapper[]; + /** + * 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 +3412,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 +3570,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 +4500,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 +4590,7 @@ export interface PolicyDescriptionCollection { } /** - * Portal revisions contract details. + * Portal Revision's contract details. */ export interface PortalRevisionContract extends Resource { /** @@ -4178,17 +4603,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; @@ -4339,6 +4764,92 @@ export interface PortalSettingsCollection { count?: number; } +/** + * A private link resource + */ +export interface PrivateLinkResource extends Resource { + /** + * The private link resource group id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly groupId?: string; + /** + * The private link resource required member names. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly requiredMembers?: string[]; + /** + * The private link resource Private link DNS zone name. + */ + requiredZoneNames?: string[]; +} + +/** + * A list of private link resources + */ +export interface PrivateLinkResourceListResult { + /** + * Array of private link resources + */ + value?: PrivateLinkResource[]; +} + +/** + * The Private Endpoint resource. + */ +export interface PrivateEndpoint { + /** + * The ARM identifier for Private Endpoint + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; +} + +/** + * The Private Endpoint Connection resource. + */ +export interface PrivateEndpointConnection extends Resource { + /** + * The resource of private end point. + */ + privateEndpoint?: PrivateEndpoint; + /** + * A collection of information about the state of the connection between service consumer and + * provider. + */ + privateLinkServiceConnectionState: PrivateLinkServiceConnectionState; + /** + * The provisioning state of the private endpoint connection resource. Possible values include: + * 'Succeeded', 'Creating', 'Deleting', 'Failed' + */ + provisioningState?: PrivateEndpointConnectionProvisioningState; +} + +/** + * The connection state of the private endpoint connection. + */ +export interface PrivateEndpointConnectionRequestProperties { + /** + * A collection of information about the state of the connection between service consumer and + * provider. + */ + privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; +} + +/** + * A request to approve or reject a private endpoint connection + */ +export interface PrivateEndpointConnectionRequest { + /** + * Private Endpoint Connection Resource Id. + */ + id?: string; + /** + * The connection state of the private endpoint connection. + */ + properties?: PrivateEndpointConnectionRequestProperties; +} + /** * Subscription details. */ @@ -4743,6 +5254,28 @@ export interface ReportRecordContract { serviceTimeMax?: number; } +/** + * Schema Contract details. + */ +export interface SchemaContract extends Resource { + /** + * Schema Type. Immutable. Possible values include: 'Xml', 'Json' + */ + schemaType: SchemaType; + /** + * Free-form schema entity description. + */ + description?: string; + /** + * Json-encoded string for non json-based schema. + */ + value?: string; + /** + * Schema document object for json-based schema formats(e.g. json schema). + */ + document?: any; +} + /** * Tenant Settings. */ @@ -5089,9 +5622,9 @@ export interface TagCreateUpdateParameters { } /** - * Tenant Configuration Synchronization State. + * Result of Tenant Configuration Sync State. */ -export interface TenantConfigurationSyncStateContract { +export interface TenantConfigurationSyncStateContract extends Resource { /** * The name of Git branch. */ @@ -5122,6 +5655,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 +5680,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' @@ -5337,77 +5874,281 @@ export interface UserUpdateParameters { * into the developer portal or call any APIs of subscribed products. Default state is Active. * Possible values include: 'active', 'blocked', 'pending', 'deleted'. Default value: 'active'. */ - state?: UserState; + state?: UserState; + /** + * Optional note about a user set by the administrator. + */ + note?: string; + /** + * Collection of user identities. + */ + identities?: UserIdentityContract[]; + /** + * Email address. Must not be empty and must be unique within the service instance. + */ + email?: string; + /** + * User Password. + */ + password?: string; + /** + * First name. + */ + firstName?: string; + /** + * Last name. + */ + lastName?: string; +} + +/** + * User create details. + */ +export interface UserCreateParameters { + /** + * Account state. Specifies whether the user is active or not. Blocked users are unable to sign + * into the developer portal or call any APIs of subscribed products. Default state is Active. + * Possible values include: 'active', 'blocked', 'pending', 'deleted'. Default value: 'active'. + */ + state?: UserState; + /** + * Optional note about a user set by the administrator. + */ + note?: string; + /** + * Collection of user identities. + */ + identities?: UserIdentityContract[]; + /** + * Email address. Must not be empty and must be unique within the service instance. + */ + email: string; + /** + * First name. + */ + firstName: string; + /** + * Last name. + */ + lastName: string; + /** + * User Password. If no value is provided, a default password is generated. + */ + password?: string; + /** + * Determines the type of application which send the create user request. Default is legacy + * portal. Possible values include: 'portal', 'developerPortal' + */ + appType?: AppType; + /** + * Determines the type of confirmation e-mail that will be sent to the newly created user. + * Possible values include: 'signup', 'invite' + */ + 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 { /** - * Optional note about a user set by the administrator. + * Header name. */ - note?: string; + name: string; /** - * Collection of user identities. + * Header value. */ - identities?: UserIdentityContract[]; + value: string; +} + +/** + * Definitions about the connectivity check origin. + */ +export interface ConnectivityCheckRequestSource { /** - * Email address. Must not be empty and must be unique within the service instance. + * The API Management service region from where to start the connectivity check operation. */ - email?: string; + region: string; /** - * User Password. + * The particular VMSS instance from which to fire the request. */ - password?: string; + instance?: number; +} + +/** + * The connectivity check operation destination. + */ +export interface ConnectivityCheckRequestDestination { /** - * First name. + * Destination address. Can either be an IP address or a FQDN. */ - firstName?: string; + address: string; /** - * Last name. + * Destination port. */ - lastName?: string; + port: number; } /** - * User create details. + * Configuration for HTTP or HTTPS requests. */ -export interface UserCreateParameters { +export interface ConnectivityCheckRequestProtocolConfigurationHTTPConfiguration { /** - * Account state. Specifies whether the user is active or not. Blocked users are unable to sign - * into the developer portal or call any APIs of subscribed products. Default state is Active. - * Possible values include: 'active', 'blocked', 'pending', 'deleted'. Default value: 'active'. + * The HTTP method to be used. Possible values include: 'GET', 'POST' */ - state?: UserState; + method?: Method; /** - * Optional note about a user set by the administrator. + * List of HTTP status codes considered valid for the request response. */ - note?: string; + validStatusCodes?: number[]; /** - * Collection of user identities. + * List of headers to be included in the request. */ - identities?: UserIdentityContract[]; + headers?: HTTPHeader[]; +} + +/** + * Protocol-specific configuration. + */ +export interface ConnectivityCheckRequestProtocolConfiguration { /** - * Email address. Must not be empty and must be unique within the service instance. + * Configuration for HTTP or HTTPS requests. */ - email: string; + hTTPConfiguration?: ConnectivityCheckRequestProtocolConfigurationHTTPConfiguration; +} + +/** + * A request to perform the connectivity check operation on a API Management service. + */ +export interface ConnectivityCheckRequest { /** - * First name. + * Definitions about the connectivity check origin. */ - firstName: string; + source: ConnectivityCheckRequestSource; /** - * Last name. + * The connectivity check operation destination. */ - lastName: string; + destination: ConnectivityCheckRequestDestination; /** - * User Password. If no value is provided, a default password is generated. + * The IP version to be used. Only IPv4 is supported for now. Possible values include: 'IPv4' */ - password?: string; + preferredIPVersion?: PreferredIPVersion; /** - * Determines the type of application which send the create user request. Default is legacy - * portal. Possible values include: 'portal', 'developerPortal' + * 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' */ - appType?: AppType; + protocol?: ConnectivityCheckProtocol; /** - * Determines the type of confirmation e-mail that will be sent to the newly created user. - * Possible values include: 'signup', 'invite' + * Protocol-specific configuration. */ - confirmation?: Confirmation; + protocolConfiguration?: ConnectivityCheckRequestProtocolConfiguration; } /** @@ -8140,6 +8881,68 @@ export interface ReportsListByTimeNextOptionalParams extends msRest.RequestOptio orderby?: string; } +/** + * Optional Parameters. + */ +export interface SchemaListByServiceOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ */ + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; +} + +/** + * Optional Parameters. + */ +export interface SchemaCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. + */ + ifMatch?: string; +} + +/** + * Optional Parameters. + */ +export interface SchemaBeginCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. + */ + ifMatch?: string; +} + +/** + * Optional Parameters. + */ +export interface SchemaListByServiceNextOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ */ + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; +} + /** * Optional Parameters. */ @@ -10038,6 +10841,39 @@ export interface TagGetByProductHeaders { eTag: string; } +/** + * Defines headers for GetEntityTag operation. + */ +export interface SchemaGetEntityTagHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for Get operation. + */ +export interface SchemaGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for CreateOrUpdate operation. + */ +export interface SchemaCreateOrUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + /** * Defines headers for Get operation. */ @@ -10260,7 +11096,7 @@ export interface UserSubscriptionGetHeaders { /** * @interface - * Paged Api list representation. + * Paged API list representation. * @extends Array */ export interface ApiCollection extends Array { @@ -10293,7 +11129,7 @@ export interface TagResourceCollection extends Array { /** * @interface - * Paged Api Revision list representation. + * Paged API Revision list representation. * @extends Array */ export interface ApiRevisionCollection extends Array { @@ -10377,9 +11213,9 @@ export interface ProductCollection extends Array { /** * @interface * The response of the list schema operation. - * @extends Array + * @extends Array */ -export interface SchemaCollection extends Array { +export interface ApiSchemaCollection extends Array { /** * Total record count number. */ @@ -10476,7 +11312,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 +11418,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 { @@ -10815,6 +11651,14 @@ export interface PortalRevisionCollection extends Array readonly nextLink?: string; } +/** + * @interface + * List of private endpoint connection associated with the specified storage account + * @extends Array + */ +export interface PrivateEndpointConnectionListResult extends Array { +} + /** * @interface * Paged Subscriptions list representation. @@ -10875,6 +11719,23 @@ export interface RequestReportCollection extends Array + */ +export interface SchemaCollection extends Array { + /** + * Total record count number. + */ + count?: number; + /** + * Next page link if any. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + /** * @interface * Paged AccessInformation list representation. @@ -10961,36 +11822,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 +11991,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' @@ -11137,6 +12040,14 @@ export type HostnameType = 'Proxy' | 'Portal' | 'Management' | 'Scm' | 'Develope */ export type VirtualNetworkType = 'None' | 'External' | 'Internal'; +/** + * Defines values for PrivateEndpointServiceConnectionStatus. + * Possible values include: 'Pending', 'Approved', 'Rejected' + * @readonly + * @enum {string} + */ +export type PrivateEndpointServiceConnectionStatus = 'Pending' | 'Approved' | 'Rejected'; + /** * Defines values for ApimIdentityType. * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', @@ -11146,6 +12057,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' @@ -11234,6 +12153,14 @@ export type ConnectivityStatusType = 'initializing' | 'success' | 'failure'; */ export type PortalRevisionStatus = 'pending' | 'publishing' | 'completed' | 'failed'; +/** + * Defines values for PrivateEndpointConnectionProvisioningState. + * Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Failed' + * @readonly + * @enum {string} + */ +export type PrivateEndpointConnectionProvisioningState = 'Succeeded' | 'Creating' | 'Deleting' | 'Failed'; + /** * Defines values for SubscriptionState. * Possible values include: 'suspended', 'active', 'expired', 'submitted', 'rejected', 'cancelled' @@ -11242,6 +12169,14 @@ export type PortalRevisionStatus = 'pending' | 'publishing' | 'completed' | 'fai */ export type SubscriptionState = 'suspended' | 'active' | 'expired' | 'submitted' | 'rejected' | 'cancelled'; +/** + * Defines values for SchemaType. + * Possible values include: 'Xml', 'Json' + * @readonly + * @enum {string} + */ +export type SchemaType = 'xml' | 'json'; + /** * Defines values for ApiManagementSkuCapacityScaleType. * Possible values include: 'Automatic', 'Manual', 'None' @@ -11274,6 +12209,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' @@ -12465,7 +13457,7 @@ export type ApiPolicyCreateOrUpdateResponse = PolicyContract & ApiPolicyCreateOr /** * Contains response data for the listByApi operation. */ -export type ApiSchemaListByApiResponse = SchemaCollection & { +export type ApiSchemaListByApiResponse = ApiSchemaCollection & { /** * The underlying HTTP response. */ @@ -12478,7 +13470,7 @@ export type ApiSchemaListByApiResponse = SchemaCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: SchemaCollection; + parsedBody: ApiSchemaCollection; }; }; @@ -12500,7 +13492,7 @@ export type ApiSchemaGetEntityTagResponse = ApiSchemaGetEntityTagHeaders & { /** * Contains response data for the get operation. */ -export type ApiSchemaGetResponse = SchemaContract & ApiSchemaGetHeaders & { +export type ApiSchemaGetResponse = ApiSchemaContract & ApiSchemaGetHeaders & { /** * The underlying HTTP response. */ @@ -12518,14 +13510,14 @@ export type ApiSchemaGetResponse = SchemaContract & ApiSchemaGetHeaders & { /** * The response body as parsed JSON or XML */ - parsedBody: SchemaContract; + parsedBody: ApiSchemaContract; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ApiSchemaCreateOrUpdateResponse = SchemaContract & ApiSchemaCreateOrUpdateHeaders & { +export type ApiSchemaCreateOrUpdateResponse = ApiSchemaContract & ApiSchemaCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -12543,14 +13535,14 @@ export type ApiSchemaCreateOrUpdateResponse = SchemaContract & ApiSchemaCreateOr /** * The response body as parsed JSON or XML */ - parsedBody: SchemaContract; + parsedBody: ApiSchemaContract; }; }; /** * Contains response data for the listByApiNext operation. */ -export type ApiSchemaListByApiNextResponse = SchemaCollection & { +export type ApiSchemaListByApiNextResponse = ApiSchemaCollection & { /** * The underlying HTTP response. */ @@ -12563,7 +13555,7 @@ export type ApiSchemaListByApiNextResponse = SchemaCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: SchemaCollection; + parsedBody: ApiSchemaCollection; }; }; @@ -16497,6 +17489,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. */ @@ -16952,6 +17964,126 @@ export type DelegationSettingsListSecretsResponse = PortalSettingValidationKeyCo }; }; +/** + * Contains response data for the listByService operation. + */ +export type PrivateEndpointConnectionListByServiceResponse = PrivateEndpointConnectionListResult & { + /** + * 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: PrivateEndpointConnectionListResult; + }; +}; + +/** + * Contains response data for the getByName operation. + */ +export type PrivateEndpointConnectionGetByNameResponse = PrivateEndpointConnection & { + /** + * 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: PrivateEndpointConnection; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type PrivateEndpointConnectionCreateOrUpdateResponse = PrivateEndpointConnection & { + /** + * 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: PrivateEndpointConnection; + }; +}; + +/** + * Contains response data for the listPrivateLinkResources operation. + */ +export type PrivateEndpointConnectionListPrivateLinkResourcesResponse = PrivateLinkResourceListResult & { + /** + * 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: PrivateLinkResourceListResult; + }; +}; + +/** + * Contains response data for the getPrivateLinkResource operation. + */ +export type PrivateEndpointConnectionGetPrivateLinkResourceResponse = PrivateLinkResource & { + /** + * 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: PrivateLinkResource; + }; +}; + +/** + * Contains response data for the beginCreateOrUpdate operation. + */ +export type PrivateEndpointConnectionBeginCreateOrUpdateResponse = PrivateEndpointConnection & { + /** + * 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: PrivateEndpointConnection; + }; +}; + /** * Contains response data for the listByService operation. */ @@ -17787,6 +18919,111 @@ export type ReportsListByTimeNextResponse = ReportCollection & { }; }; +/** + * Contains response data for the listByService operation. + */ +export type SchemaListByServiceResponse = SchemaCollection & { + /** + * 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: SchemaCollection; + }; +}; + +/** + * Contains response data for the getEntityTag operation. + */ +export type SchemaGetEntityTagResponse = SchemaGetEntityTagHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: SchemaGetEntityTagHeaders; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type SchemaGetResponse = SchemaContract & SchemaGetHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: SchemaGetHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SchemaContract; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type SchemaCreateOrUpdateResponse = SchemaContract & SchemaCreateOrUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: SchemaCreateOrUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SchemaContract; + }; +}; + +/** + * Contains response data for the listByServiceNext operation. + */ +export type SchemaListByServiceNextResponse = SchemaCollection & { + /** + * 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: SchemaCollection; + }; +}; + /** * Contains response data for the listByService operation. */ @@ -18697,6 +19934,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..c7c2fd9214b0 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -72,7 +78,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -81,11 +90,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -96,11 +111,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts index 1603929b6986..0230146527f3 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -76,7 +82,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -85,11 +94,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -100,11 +115,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts index f8ab696a66d7..bf86c1c9d1c1 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts @@ -137,37 +137,6 @@ export const RegionContract: msRest.CompositeMapper = { } }; -export const Resource: msRest.CompositeMapper = { - serializedName: "Resource", - type: { - name: "Composite", - className: "Resource", - modelProperties: { - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" - } - }, - name: { - readOnly: true, - serializedName: "name", - type: { - name: "String" - } - }, - type: { - readOnly: true, - serializedName: "type", - type: { - name: "String" - } - } - } - } -}; - export const ApiExportResultValue: msRest.CompositeMapper = { serializedName: "ApiExportResult_value", type: { @@ -360,6 +329,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 +635,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 +710,7 @@ export const ApiContractProperties: msRest.CompositeMapper = { name: "Sequence", element: { type: { - name: "Enum", - allowedValues: [ - "http", - "https" - ] + name: "String" } } } @@ -740,11 +775,7 @@ export const ApiTagResourceContractProperties: msRest.CompositeMapper = { name: "Sequence", element: { type: { - name: "Enum", - allowedValues: [ - "http", - "https" - ] + name: "String" } } } @@ -818,6 +849,95 @@ export const TagResourceContract: msRest.CompositeMapper = { } }; +export const Resource: msRest.CompositeMapper = { + serializedName: "Resource", + type: { + name: "Composite", + className: "Resource", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const ProxyResource: msRest.CompositeMapper = { + serializedName: "ProxyResource", + type: { + name: "Composite", + className: "ProxyResource", + modelProperties: { + ...Resource.type.modelProperties + } + } +}; + +export const TrackedResource: msRest.CompositeMapper = { + serializedName: "TrackedResource", + type: { + name: "Composite", + className: "TrackedResource", + modelProperties: { + ...Resource.type.modelProperties, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + location: { + required: true, + serializedName: "location", + type: { + name: "String" + } + } + } + } +}; + +export const AzureEntityResource: msRest.CompositeMapper = { + serializedName: "AzureEntityResource", + type: { + name: "Composite", + className: "AzureEntityResource", + modelProperties: { + ...Resource.type.modelProperties, + etag: { + readOnly: true, + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const TagContract: msRest.CompositeMapper = { serializedName: "TagContract", type: { @@ -1335,11 +1455,11 @@ export const DiagnosticContract: msRest.CompositeMapper = { } }; -export const SchemaContract: msRest.CompositeMapper = { - serializedName: "SchemaContract", +export const ApiSchemaContract: msRest.CompositeMapper = { + serializedName: "ApiSchemaContract", type: { name: "Composite", - className: "SchemaContract", + className: "ApiSchemaContract", modelProperties: { ...Resource.type.modelProperties, contentType: { @@ -1360,6 +1480,12 @@ export const SchemaContract: msRest.CompositeMapper = { type: { name: "Object" } + }, + components: { + serializedName: "properties.document.components", + type: { + name: "Object" + } } } } @@ -1490,6 +1616,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 +1698,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 +1740,6 @@ export const RepresentationContract: msRest.CompositeMapper = { name: "String" } }, - sample: { - serializedName: "sample", - type: { - name: "String" - } - }, schemaId: { serializedName: "schemaId", type: { @@ -1585,6 +1763,18 @@ export const RepresentationContract: msRest.CompositeMapper = { } } } + }, + examples: { + serializedName: "examples", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "ParameterExampleContract" + } + } + } } } } @@ -2118,6 +2308,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 +2371,7 @@ export const ApiContract: msRest.CompositeMapper = { name: "Sequence", element: { type: { - name: "Enum", - allowedValues: [ - "http", - "https" - ] + name: "String" } } } @@ -2275,6 +2481,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 +2537,7 @@ export const ApiUpdateContract: msRest.CompositeMapper = { name: "Sequence", element: { type: { - name: "Enum", - allowedValues: [ - "http", - "https" - ] + name: "String" } } } @@ -2418,6 +2640,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 +2703,7 @@ export const ApiCreateOrUpdateParameter: msRest.CompositeMapper = { name: "Sequence", element: { type: { - name: "Enum", - allowedValues: [ - "http", - "https" - ] + name: "String" } } } @@ -4173,6 +4411,18 @@ export const HostnameConfiguration: msRest.CompositeMapper = { name: "Composite", className: "CertificateInformation" } + }, + certificateSource: { + serializedName: "certificateSource", + type: { + name: "String" + } + }, + certificateStatus: { + serializedName: "certificateStatus", + type: { + name: "String" + } } } } @@ -4291,6 +4541,12 @@ export const AdditionalLocation: msRest.CompositeMapper = { } } }, + publicIpAddressId: { + serializedName: "publicIpAddressId", + type: { + name: "String" + } + }, virtualNetworkConfiguration: { serializedName: "virtualNetworkConfiguration", type: { @@ -4311,6 +4567,13 @@ export const AdditionalLocation: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + platformVersion: { + readOnly: true, + serializedName: "platformVersion", + type: { + name: "String" + } } } } @@ -4329,13 +4592,6 @@ export const ApiManagementServiceBackupRestoreParameters: msRest.CompositeMapper name: "String" } }, - accessKey: { - required: true, - serializedName: "accessKey", - type: { - name: "String" - } - }, containerName: { required: true, serializedName: "containerName", @@ -4349,6 +4605,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" + } } } } @@ -4370,6 +4645,113 @@ export const ApiVersionConstraint: msRest.CompositeMapper = { } }; +export const ArmIdWrapper: msRest.CompositeMapper = { + serializedName: "ArmIdWrapper", + type: { + name: "Composite", + className: "ArmIdWrapper", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + +export const PrivateLinkServiceConnectionState: msRest.CompositeMapper = { + serializedName: "PrivateLinkServiceConnectionState", + type: { + name: "Composite", + className: "PrivateLinkServiceConnectionState", + modelProperties: { + status: { + serializedName: "status", + type: { + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + }, + actionsRequired: { + serializedName: "actionsRequired", + type: { + name: "String" + } + } + } + } +}; + +export const RemotePrivateEndpointConnectionWrapper: msRest.CompositeMapper = { + serializedName: "RemotePrivateEndpointConnectionWrapper", + type: { + name: "Composite", + className: "RemotePrivateEndpointConnectionWrapper", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "String" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + type: { + serializedName: "type", + type: { + name: "String" + } + }, + privateEndpoint: { + serializedName: "properties.privateEndpoint", + type: { + name: "Composite", + className: "ArmIdWrapper" + } + }, + privateLinkServiceConnectionState: { + required: true, + serializedName: "properties.privateLinkServiceConnectionState", + type: { + name: "Composite", + className: "PrivateLinkServiceConnectionState" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + groupIds: { + readOnly: true, + serializedName: "properties.groupIds", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + export const ApiManagementServiceBaseProperties: msRest.CompositeMapper = { serializedName: "ApiManagementServiceBaseProperties", type: { @@ -4484,6 +4866,18 @@ export const ApiManagementServiceBaseProperties: msRest.CompositeMapper = { } } }, + publicIpAddressId: { + serializedName: "publicIpAddressId", + type: { + name: "String" + } + }, + publicNetworkAccess: { + serializedName: "publicNetworkAccess", + type: { + name: "String" + } + }, virtualNetworkConfiguration: { serializedName: "virtualNetworkConfiguration", type: { @@ -4560,6 +4954,25 @@ export const ApiManagementServiceBaseProperties: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + privateEndpointConnections: { + serializedName: "privateEndpointConnections", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RemotePrivateEndpointConnectionWrapper" + } + } + } + }, + platformVersion: { + readOnly: true, + serializedName: "platformVersion", + type: { + name: "String" + } } } } @@ -4630,6 +5043,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,6 +5246,18 @@ export const ApiManagementServiceResource: msRest.CompositeMapper = { } } }, + publicIpAddressId: { + serializedName: "properties.publicIpAddressId", + type: { + name: "String" + } + }, + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", + type: { + name: "String" + } + }, virtualNetworkConfiguration: { serializedName: "properties.virtualNetworkConfiguration", type: { @@ -4864,6 +5335,25 @@ export const ApiManagementServiceResource: msRest.CompositeMapper = { name: "Boolean" } }, + privateEndpointConnections: { + serializedName: "properties.privateEndpointConnections", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RemotePrivateEndpointConnectionWrapper" + } + } + } + }, + platformVersion: { + readOnly: true, + serializedName: "properties.platformVersion", + type: { + name: "String" + } + }, publisherEmail: { required: true, serializedName: "properties.publisherEmail", @@ -4899,6 +5389,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 +5541,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,14 +5630,33 @@ export const ApiManagementServiceUpdateParameters: msRest.CompositeMapper = { name: "Boolean" } }, - publisherEmail: { - serializedName: "properties.publisherEmail", - constraints: { - MaxLength: 100 - }, + privateEndpointConnections: { + serializedName: "properties.privateEndpointConnections", type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RemotePrivateEndpointConnectionWrapper" + } + } + } + }, + platformVersion: { + readOnly: true, + serializedName: "properties.platformVersion", + type: { + name: "String" + } + }, + publisherEmail: { + serializedName: "properties.publisherEmail", + constraints: { + MaxLength: 100 + }, + type: { + name: "String" + } }, publisherName: { serializedName: "properties.publisherName", @@ -5158,6 +5687,17 @@ export const ApiManagementServiceUpdateParameters: msRest.CompositeMapper = { type: { name: "String" } + }, + zones: { + serializedName: "zones", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } } } } @@ -7142,6 +7682,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: { @@ -7484,6 +8132,158 @@ export const PortalSettingsCollection: msRest.CompositeMapper = { } }; +export const PrivateLinkResource: msRest.CompositeMapper = { + serializedName: "PrivateLinkResource", + type: { + name: "Composite", + className: "PrivateLinkResource", + modelProperties: { + ...Resource.type.modelProperties, + groupId: { + readOnly: true, + serializedName: "properties.groupId", + type: { + name: "String" + } + }, + requiredMembers: { + readOnly: true, + serializedName: "properties.requiredMembers", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + requiredZoneNames: { + serializedName: "properties.requiredZoneNames", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const PrivateLinkResourceListResult: msRest.CompositeMapper = { + serializedName: "PrivateLinkResourceListResult", + type: { + name: "Composite", + className: "PrivateLinkResourceListResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateLinkResource" + } + } + } + } + } + } +}; + +export const PrivateEndpoint: msRest.CompositeMapper = { + serializedName: "PrivateEndpoint", + type: { + name: "Composite", + className: "PrivateEndpoint", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + +export const PrivateEndpointConnection: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnection", + type: { + name: "Composite", + className: "PrivateEndpointConnection", + modelProperties: { + ...Resource.type.modelProperties, + privateEndpoint: { + serializedName: "properties.privateEndpoint", + type: { + name: "Composite", + className: "PrivateEndpoint" + } + }, + privateLinkServiceConnectionState: { + required: true, + serializedName: "properties.privateLinkServiceConnectionState", + type: { + name: "Composite", + className: "PrivateLinkServiceConnectionState" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + type: { + name: "String" + } + } + } + } +}; + +export const PrivateEndpointConnectionRequestProperties: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnectionRequest_properties", + type: { + name: "Composite", + className: "PrivateEndpointConnectionRequestProperties", + modelProperties: { + privateLinkServiceConnectionState: { + serializedName: "privateLinkServiceConnectionState", + type: { + name: "Composite", + className: "PrivateLinkServiceConnectionState" + } + } + } + } +}; + +export const PrivateEndpointConnectionRequest: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnectionRequest", + type: { + name: "Composite", + className: "PrivateEndpointConnectionRequest", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "String" + } + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "PrivateEndpointConnectionRequestProperties" + } + } + } + } +}; + export const SubscriptionContract: msRest.CompositeMapper = { serializedName: "SubscriptionContract", type: { @@ -8077,31 +8877,67 @@ export const ReportRecordContract: msRest.CompositeMapper = { } }; -export const TenantSettingsContract: msRest.CompositeMapper = { - serializedName: "TenantSettingsContract", +export const SchemaContract: msRest.CompositeMapper = { + serializedName: "SchemaContract", type: { name: "Composite", - className: "TenantSettingsContract", + className: "SchemaContract", modelProperties: { ...Resource.type.modelProperties, - settings: { - serializedName: "properties.settings", + schemaType: { + required: true, + serializedName: "properties.schemaType", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "String" } - } - } - } -}; - -export const ApiManagementSkuCapacity: msRest.CompositeMapper = { - serializedName: "ApiManagementSkuCapacity", - type: { + }, + description: { + serializedName: "properties.description", + type: { + name: "String" + } + }, + value: { + serializedName: "properties.value", + type: { + name: "String" + } + }, + document: { + serializedName: "properties\\.document", + type: { + name: "Object" + } + } + } + } +}; + +export const TenantSettingsContract: msRest.CompositeMapper = { + serializedName: "TenantSettingsContract", + type: { + name: "Composite", + className: "TenantSettingsContract", + modelProperties: { + ...Resource.type.modelProperties, + settings: { + serializedName: "properties.settings", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const ApiManagementSkuCapacity: msRest.CompositeMapper = { + serializedName: "ApiManagementSkuCapacity", + type: { name: "Composite", className: "ApiManagementSkuCapacity", modelProperties: { @@ -8707,47 +9543,54 @@ export const TenantConfigurationSyncStateContract: msRest.CompositeMapper = { name: "Composite", className: "TenantConfigurationSyncStateContract", modelProperties: { + ...Resource.type.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 +9630,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 +9650,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 +9676,7 @@ export const OperationResultContract: msRest.CompositeMapper = { }, actionLog: { readOnly: true, - serializedName: "actionLog", + serializedName: "properties.actionLog", type: { name: "Sequence", element: { @@ -9028,202 +9872,550 @@ export const UserTokenResult: msRest.CompositeMapper = { } }; -export const UserTokenParameters: msRest.CompositeMapper = { - serializedName: "UserTokenParameters", +export const UserTokenParameters: msRest.CompositeMapper = { + serializedName: "UserTokenParameters", + type: { + name: "Composite", + className: "UserTokenParameters", + modelProperties: { + keyType: { + required: true, + serializedName: "properties.keyType", + defaultValue: 'primary', + type: { + name: "Enum", + allowedValues: [ + "primary", + "secondary" + ] + } + }, + expiry: { + required: true, + serializedName: "properties.expiry", + type: { + name: "DateTime" + } + } + } + } +}; + +export const GenerateSsoUrlResult: msRest.CompositeMapper = { + serializedName: "GenerateSsoUrlResult", + type: { + name: "Composite", + className: "GenerateSsoUrlResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "String" + } + } + } + } +}; + +export const UserUpdateParameters: msRest.CompositeMapper = { + serializedName: "UserUpdateParameters", + type: { + name: "Composite", + className: "UserUpdateParameters", + modelProperties: { + state: { + serializedName: "properties.state", + defaultValue: 'active', + type: { + name: "String" + } + }, + note: { + serializedName: "properties.note", + type: { + name: "String" + } + }, + identities: { + serializedName: "properties.identities", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "UserIdentityContract" + } + } + } + }, + email: { + serializedName: "properties.email", + constraints: { + MaxLength: 254, + MinLength: 1 + }, + type: { + name: "String" + } + }, + password: { + serializedName: "properties.password", + type: { + name: "String" + } + }, + firstName: { + serializedName: "properties.firstName", + constraints: { + MaxLength: 100, + MinLength: 1 + }, + type: { + name: "String" + } + }, + lastName: { + serializedName: "properties.lastName", + constraints: { + MaxLength: 100, + MinLength: 1 + }, + type: { + name: "String" + } + } + } + } +}; + +export const UserCreateParameters: msRest.CompositeMapper = { + serializedName: "UserCreateParameters", + type: { + name: "Composite", + className: "UserCreateParameters", + modelProperties: { + state: { + serializedName: "properties.state", + defaultValue: 'active', + type: { + name: "String" + } + }, + note: { + serializedName: "properties.note", + type: { + name: "String" + } + }, + identities: { + serializedName: "properties.identities", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "UserIdentityContract" + } + } + } + }, + email: { + required: true, + serializedName: "properties.email", + constraints: { + MaxLength: 254, + MinLength: 1 + }, + type: { + name: "String" + } + }, + firstName: { + required: true, + serializedName: "properties.firstName", + constraints: { + MaxLength: 100, + MinLength: 1 + }, + type: { + name: "String" + } + }, + lastName: { + required: true, + serializedName: "properties.lastName", + constraints: { + MaxLength: 100, + MinLength: 1 + }, + type: { + name: "String" + } + }, + password: { + serializedName: "properties.password", + type: { + name: "String" + } + }, + appType: { + serializedName: "properties.appType", + type: { + name: "String" + } + }, + confirmation: { + serializedName: "properties.confirmation", + type: { + name: "String" + } + } + } + } +}; + +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: "UserTokenParameters", + className: "ConnectivityCheckRequestSource", modelProperties: { - keyType: { + region: { required: true, - serializedName: "properties.keyType", - defaultValue: 'primary', + serializedName: "region", type: { - name: "Enum", - allowedValues: [ - "primary", - "secondary" - ] + name: "String" } }, - expiry: { - required: true, - serializedName: "properties.expiry", + instance: { + serializedName: "instance", type: { - name: "DateTime" + name: "Number" } } } } }; -export const GenerateSsoUrlResult: msRest.CompositeMapper = { - serializedName: "GenerateSsoUrlResult", +export const ConnectivityCheckRequestDestination: msRest.CompositeMapper = { + serializedName: "ConnectivityCheckRequest_destination", type: { name: "Composite", - className: "GenerateSsoUrlResult", + className: "ConnectivityCheckRequestDestination", modelProperties: { - value: { - serializedName: "value", + address: { + required: true, + serializedName: "address", type: { name: "String" } + }, + port: { + required: true, + serializedName: "port", + type: { + name: "Number" + } } } } }; -export const UserUpdateParameters: msRest.CompositeMapper = { - serializedName: "UserUpdateParameters", +export const ConnectivityCheckRequestProtocolConfigurationHTTPConfiguration: msRest.CompositeMapper = { + serializedName: "ConnectivityCheckRequest_protocolConfiguration_HTTPConfiguration", type: { name: "Composite", - className: "UserUpdateParameters", + className: "ConnectivityCheckRequestProtocolConfigurationHTTPConfiguration", modelProperties: { - state: { - serializedName: "properties.state", - defaultValue: 'active', + method: { + serializedName: "method", type: { name: "String" } }, - note: { - serializedName: "properties.note", + validStatusCodes: { + serializedName: "validStatusCodes", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Number" + } + } } }, - identities: { - serializedName: "properties.identities", + headers: { + serializedName: "headers", type: { name: "Sequence", element: { type: { name: "Composite", - className: "UserIdentityContract" + className: "HTTPHeader" } } } - }, - email: { - serializedName: "properties.email", - constraints: { - MaxLength: 254, - MinLength: 1 - }, - type: { - name: "String" - } - }, - password: { - serializedName: "properties.password", - type: { - name: "String" - } - }, - firstName: { - serializedName: "properties.firstName", - constraints: { - MaxLength: 100, - MinLength: 1 - }, - type: { - name: "String" - } - }, - lastName: { - serializedName: "properties.lastName", - constraints: { - MaxLength: 100, - MinLength: 1 - }, - type: { - name: "String" - } } } } }; -export const UserCreateParameters: msRest.CompositeMapper = { - serializedName: "UserCreateParameters", +export const ConnectivityCheckRequestProtocolConfiguration: msRest.CompositeMapper = { + serializedName: "ConnectivityCheckRequest_protocolConfiguration", type: { name: "Composite", - className: "UserCreateParameters", + className: "ConnectivityCheckRequestProtocolConfiguration", modelProperties: { - state: { - serializedName: "properties.state", - defaultValue: 'active', - type: { - name: "String" - } - }, - note: { - serializedName: "properties.note", - type: { - name: "String" - } - }, - identities: { - serializedName: "properties.identities", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "UserIdentityContract" - } - } - } - }, - email: { - required: true, - serializedName: "properties.email", - constraints: { - MaxLength: 254, - MinLength: 1 - }, + hTTPConfiguration: { + serializedName: "HTTPConfiguration", type: { - name: "String" + name: "Composite", + className: "ConnectivityCheckRequestProtocolConfigurationHTTPConfiguration" } - }, - firstName: { + } + } + } +}; + +export const ConnectivityCheckRequest: msRest.CompositeMapper = { + serializedName: "ConnectivityCheckRequest", + type: { + name: "Composite", + className: "ConnectivityCheckRequest", + modelProperties: { + source: { required: true, - serializedName: "properties.firstName", - constraints: { - MaxLength: 100, - MinLength: 1 - }, + serializedName: "source", type: { - name: "String" + name: "Composite", + className: "ConnectivityCheckRequestSource" } }, - lastName: { + destination: { required: true, - serializedName: "properties.lastName", - constraints: { - MaxLength: 100, - MinLength: 1 - }, + serializedName: "destination", type: { - name: "String" + name: "Composite", + className: "ConnectivityCheckRequestDestination" } }, - password: { - serializedName: "properties.password", + preferredIPVersion: { + serializedName: "preferredIPVersion", type: { name: "String" } }, - appType: { - serializedName: "properties.appType", + protocol: { + serializedName: "protocol", type: { name: "String" } }, - confirmation: { - serializedName: "properties.confirmation", + protocolConfiguration: { + serializedName: "protocolConfiguration", type: { - name: "String" + name: "Composite", + className: "ConnectivityCheckRequestProtocolConfiguration" } } } @@ -11453,6 +12645,54 @@ export const TagGetByProductHeaders: msRest.CompositeMapper = { } }; +export const SchemaGetEntityTagHeaders: msRest.CompositeMapper = { + serializedName: "schema-getentitytag-headers", + type: { + name: "Composite", + className: "SchemaGetEntityTagHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const SchemaGetHeaders: msRest.CompositeMapper = { + serializedName: "schema-get-headers", + type: { + name: "Composite", + className: "SchemaGetHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const SchemaCreateOrUpdateHeaders: msRest.CompositeMapper = { + serializedName: "schema-createorupdate-headers", + type: { + name: "Composite", + className: "SchemaCreateOrUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const TenantSettingsGetHeaders: msRest.CompositeMapper = { serializedName: "tenantsettings-get-headers", type: { @@ -12019,11 +13259,11 @@ export const ProductCollection: msRest.CompositeMapper = { } }; -export const SchemaCollection: msRest.CompositeMapper = { - serializedName: "SchemaCollection", +export const ApiSchemaCollection: msRest.CompositeMapper = { + serializedName: "ApiSchemaCollection", type: { name: "Composite", - className: "SchemaCollection", + className: "ApiSchemaCollection", modelProperties: { value: { readOnly: true, @@ -12033,7 +13273,7 @@ export const SchemaCollection: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SchemaContract" + className: "ApiSchemaContract" } } } @@ -12975,6 +14215,28 @@ export const PortalRevisionCollection: msRest.CompositeMapper = { } }; +export const PrivateEndpointConnectionListResult: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnectionListResult", + type: { + name: "Composite", + className: "PrivateEndpointConnectionListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnection" + } + } + } + } + } + } +}; + export const SubscriptionCollection: msRest.CompositeMapper = { serializedName: "SubscriptionCollection", type: { @@ -13105,6 +14367,42 @@ export const RequestReportCollection: msRest.CompositeMapper = { } }; +export const SchemaCollection: msRest.CompositeMapper = { + serializedName: "SchemaCollection", + type: { + name: "Composite", + className: "SchemaCollection", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SchemaContract" + } + } + } + }, + count: { + serializedName: "count", + type: { + name: "Number" + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const TenantSettingsCollection: msRest.CompositeMapper = { serializedName: "TenantSettingsCollection", type: { diff --git a/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts index 37c3ce050068..a52114812b02 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -79,7 +85,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -88,11 +97,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -103,11 +118,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts index 830c2d9a8b8d..4b3e641c71df 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -71,7 +77,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -80,11 +89,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -95,11 +110,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts index c30aeeb958c3..f0c770b33879 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +76,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -79,12 +88,18 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailCollection, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -95,11 +110,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts index 5f8d0756d6c4..87c3231f3379 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +76,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -79,12 +88,18 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserCollection, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -95,11 +110,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts index 7657aec7c495..df4ae15029b2 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -48,6 +53,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -78,7 +84,10 @@ export { OpenidConnectProviderUpdateContract, OpenIdConnectProviderUpdateHeaders, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -87,11 +96,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -102,11 +117,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, 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/parameters.ts b/sdk/apimanagement/arm-apimanagement/src/models/parameters.ts index 6d64fc442225..c0ff9517378e 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/parameters.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/parameters.ts @@ -661,6 +661,26 @@ export const portalRevisionId: msRest.OperationURLParameter = { } } }; +export const privateEndpointConnectionName: msRest.OperationURLParameter = { + parameterPath: "privateEndpointConnectionName", + mapper: { + required: true, + serializedName: "privateEndpointConnectionName", + type: { + name: "String" + } + } +}; +export const privateLinkSubResourceName: msRest.OperationURLParameter = { + parameterPath: "privateLinkSubResourceName", + mapper: { + required: true, + serializedName: "privateLinkSubResourceName", + type: { + name: "String" + } + } +}; export const productId: msRest.OperationURLParameter = { parameterPath: "productId", mapper: { @@ -727,8 +747,7 @@ export const schemaId: msRest.OperationURLParameter = { serializedName: "schemaId", constraints: { MaxLength: 80, - MinLength: 1, - Pattern: /^[^*#&+:<>?]+$/ + MinLength: 1 }, type: { name: "String" diff --git a/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts index 2144d2458421..db3b5e6e8f51 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +76,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionCollection, @@ -80,11 +89,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -95,11 +110,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts index 307cf807c5a9..eb19114fa27a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +76,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyCollection, PolicyContract, @@ -83,11 +92,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -98,11 +113,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/portalRevisionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/portalRevisionMappers.ts index 02f6c4eac7c6..dce90bc32b92 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/portalRevisionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/portalRevisionMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +76,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -84,11 +93,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -99,11 +114,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/portalSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/portalSettingsMappers.ts index 6a779c200a89..2e0e2e94ea4b 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/portalSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/portalSettingsMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +76,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -80,11 +89,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -95,11 +110,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/privateEndpointConnectionOperationsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/privateEndpointConnectionOperationsMappers.ts new file mode 100644 index 000000000000..697c13a35d63 --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/models/privateEndpointConnectionOperationsMappers.ts @@ -0,0 +1,129 @@ +/* + * 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 { + AccessInformationContract, + AdditionalLocation, + ApiContactInformation, + ApiContract, + ApiLicenseInformation, + ApiManagementServiceIdentity, + ApiManagementServiceResource, + ApiManagementServiceSkuProperties, + ApiManagementServiceUpdateParameters, + ApimResource, + ApiReleaseContract, + ApiSchemaContract, + ApiVersionConstraint, + ApiVersionSetContract, + ApiVersionSetContractDetails, + ArmIdWrapper, + AssociationContract, + AuthenticationSettingsContract, + AuthorizationServerContract, + AuthorizationServerUpdateContract, + AzureEntityResource, + BackendAuthorizationHeaderCredentials, + BackendContract, + BackendCredentialsContract, + BackendProperties, + BackendProxyContract, + BackendReconnectContract, + BackendServiceFabricClusterProperties, + BackendTlsProperties, + BaseResource, + BodyDiagnosticSettings, + CacheContract, + CertificateConfiguration, + CertificateContract, + CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, + 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, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateEndpointConnectionListResult, + PrivateEndpointConnectionRequest, + PrivateEndpointConnectionRequestProperties, + PrivateLinkResource, + PrivateLinkResourceListResult, + PrivateLinkServiceConnectionState, + ProductContract, + ProxyResource, + RecipientEmailContract, + RecipientsContractProperties, + RecipientUserContract, + RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, + RepresentationContract, + RequestContract, + Resource, + ResourceLocationDataContract, + ResponseContract, + SamplingSettings, + SchemaContract, + SubscriptionContract, + SubscriptionKeyParameterNamesContract, + SubscriptionsDelegationSettingsProperties, + SystemData, + TagContract, + TagDescriptionContract, + TenantConfigurationSyncStateContract, + TenantSettingsContract, + TermsOfServiceProperties, + TokenBodyParameterContract, + TrackedResource, + UserContract, + UserIdentityContract, + UserIdentityProperties, + VirtualNetworkConfiguration, + X509CertificateName +} from "../models/mappers"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts index 25253de8dcdf..e6e6c0e80d32 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts @@ -10,20 +10,25 @@ export { AccessInformationContract, AdditionalLocation, ApiCollection, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -48,6 +53,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -71,7 +77,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -80,11 +89,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -95,11 +110,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts index 6a502aca75eb..7e110b9b687d 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -71,7 +77,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -80,11 +89,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -95,11 +110,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts index 11bdf825c3d0..591fc6a70d5b 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts @@ -9,23 +9,28 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, ApiContractProperties, ApiEntityBaseContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiTagResourceContractProperties, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -50,6 +55,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -73,8 +79,11 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, OperationTagResourceContractProperties, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -83,6 +92,10 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductCollection, ProductContract, ProductCreateOrUpdateHeaders, @@ -92,10 +105,12 @@ export { ProductTagResourceContractProperties, ProductUpdateHeaders, ProductUpdateParameters, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -106,14 +121,17 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TagResourceCollection, TagResourceContract, TagTagResourceContractProperties, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts index 8c71ce15963f..0c179087702d 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +76,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyCollection, PolicyContract, @@ -80,14 +89,20 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, ProductPolicyCreateOrUpdateHeaders, ProductPolicyGetEntityTagHeaders, ProductPolicyGetHeaders, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -98,11 +113,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts index bb3cd32c8806..28dbbaf4026c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +76,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -79,11 +88,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -95,11 +110,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/schemaMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/schemaMappers.ts new file mode 100644 index 000000000000..efe79db9f1ab --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/models/schemaMappers.ts @@ -0,0 +1,129 @@ +/* + * 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 { + AccessInformationContract, + AdditionalLocation, + ApiContactInformation, + ApiContract, + ApiLicenseInformation, + ApiManagementServiceIdentity, + ApiManagementServiceResource, + ApiManagementServiceSkuProperties, + ApiManagementServiceUpdateParameters, + ApimResource, + ApiReleaseContract, + ApiSchemaContract, + ApiVersionConstraint, + ApiVersionSetContract, + ApiVersionSetContractDetails, + ArmIdWrapper, + AssociationContract, + AuthenticationSettingsContract, + AuthorizationServerContract, + AuthorizationServerUpdateContract, + AzureEntityResource, + BackendAuthorizationHeaderCredentials, + BackendContract, + BackendCredentialsContract, + BackendProperties, + BackendProxyContract, + BackendReconnectContract, + BackendServiceFabricClusterProperties, + BackendTlsProperties, + BaseResource, + BodyDiagnosticSettings, + CacheContract, + CertificateConfiguration, + CertificateContract, + CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, + 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, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, + ProductContract, + ProxyResource, + RecipientEmailContract, + RecipientsContractProperties, + RecipientUserContract, + RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, + RepresentationContract, + RequestContract, + Resource, + ResourceLocationDataContract, + ResponseContract, + SamplingSettings, + SchemaCollection, + SchemaContract, + SchemaCreateOrUpdateHeaders, + SchemaGetEntityTagHeaders, + SchemaGetHeaders, + SubscriptionContract, + SubscriptionKeyParameterNamesContract, + SubscriptionsDelegationSettingsProperties, + SystemData, + TagContract, + TagDescriptionContract, + TenantConfigurationSyncStateContract, + TenantSettingsContract, + TermsOfServiceProperties, + TokenBodyParameterContract, + TrackedResource, + UserContract, + UserIdentityContract, + UserIdentityProperties, + VirtualNetworkConfiguration, + X509CertificateName +} from "../models/mappers"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts index d4e2e1b5766b..885755b489b9 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +76,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -79,11 +88,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -96,11 +111,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts index 69e7dde54352..4491028de380 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +76,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -79,11 +88,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -96,11 +111,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts index 0c0e8ce97ba9..ac6009fc7cab 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +76,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -79,11 +88,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -103,11 +118,14 @@ export { SubscriptionsDelegationSettingsProperties, SubscriptionUpdateHeaders, SubscriptionUpdateParameters, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts index 256ee374e33b..df9cf0f01965 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +76,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -79,11 +88,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -94,6 +109,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagAssignToApiHeaders, TagCollection, TagContract, @@ -109,9 +125,11 @@ export { TagGetEntityStateHeaders, TagGetHeaders, TagUpdateHeaders, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, 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..2938734a8ec2 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts @@ -13,20 +13,25 @@ export { AccessInformationSecretsContract, AccessInformationUpdateParameters, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -51,6 +56,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -74,7 +80,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -83,11 +92,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -98,6 +113,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantAccessCreateHeaders, @@ -105,9 +121,11 @@ export { TenantAccessGetHeaders, TenantAccessListSecretsHeaders, TenantAccessUpdateHeaders, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tenantConfigurationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tenantConfigurationMappers.ts index 623bc88c1291..6deca77e1bc1 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tenantConfigurationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tenantConfigurationMappers.ts @@ -7,12 +7,121 @@ */ export { + AccessInformationContract, + AdditionalLocation, + ApiContactInformation, + ApiContract, + ApiLicenseInformation, + ApiManagementServiceIdentity, + ApiManagementServiceResource, + ApiManagementServiceSkuProperties, + ApiManagementServiceUpdateParameters, + ApimResource, + ApiReleaseContract, + ApiSchemaContract, + ApiVersionConstraint, + ApiVersionSetContract, + ApiVersionSetContractDetails, + ArmIdWrapper, + AssociationContract, + AuthenticationSettingsContract, + AuthorizationServerContract, + AuthorizationServerUpdateContract, + AzureEntityResource, + 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, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, + ProductContract, + ProxyResource, + RecipientEmailContract, + RecipientsContractProperties, + RecipientUserContract, + RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, + RepresentationContract, + RequestContract, + Resource, + ResourceLocationDataContract, + ResponseContract, + SamplingSettings, SaveConfigurationParameter, - TenantConfigurationSyncStateContract + SchemaContract, + SubscriptionContract, + SubscriptionKeyParameterNamesContract, + SubscriptionsDelegationSettingsProperties, + SystemData, + TagContract, + TagDescriptionContract, + TenantConfigurationSyncStateContract, + TenantSettingsContract, + TermsOfServiceProperties, + TokenBodyParameterContract, + TrackedResource, + 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..5581c5701577 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tenantSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tenantSettingsMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +76,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -79,11 +88,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -94,13 +109,16 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsCollection, TenantSettingsContract, TenantSettingsGetHeaders, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts index 6a502aca75eb..7e110b9b687d 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -71,7 +77,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -80,11 +89,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -95,11 +110,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts index 8a4af92021e0..f265f0ded877 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -71,7 +77,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -80,11 +89,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -95,11 +110,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserCollection, UserContract, UserCreateOrUpdateHeaders, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.ts index a9943509b5ba..16235c6be648 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.ts @@ -9,20 +9,25 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +76,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -79,11 +88,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -95,11 +110,14 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, + TenantConfigurationSyncStateContract, TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, + TrackedResource, UserContract, UserIdentityContract, UserIdentityProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiSchema.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiSchema.ts index 0deae807efcb..6668493abf52 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiSchema.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiSchema.ts @@ -43,7 +43,7 @@ export class ApiSchema { * instance. Non-current revision has ;rev=n as a suffix where n is the revision number. * @param callback The callback */ - listByApi(resourceGroupName: string, serviceName: string, apiId: string, callback: msRest.ServiceCallback): void; + listByApi(resourceGroupName: string, serviceName: string, apiId: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -52,8 +52,8 @@ export class ApiSchema { * @param options The optional parameters * @param callback The callback */ - listByApi(resourceGroupName: string, serviceName: string, apiId: string, options: Models.ApiSchemaListByApiOptionalParams, callback: msRest.ServiceCallback): void; - listByApi(resourceGroupName: string, serviceName: string, apiId: string, options?: Models.ApiSchemaListByApiOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByApi(resourceGroupName: string, serviceName: string, apiId: string, options: Models.ApiSchemaListByApiOptionalParams, callback: msRest.ServiceCallback): void; + listByApi(resourceGroupName: string, serviceName: string, apiId: string, options?: Models.ApiSchemaListByApiOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -71,8 +71,8 @@ export class ApiSchema { * @param serviceName The name of the API Management service. * @param apiId API revision identifier. Must be unique in the current API Management service * instance. Non-current revision has ;rev=n as a suffix where n is the revision number. - * @param schemaId Schema identifier within an API. Must be unique in the current API Management - * service instance. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. * @param [options] The optional parameters * @returns Promise */ @@ -82,8 +82,8 @@ export class ApiSchema { * @param serviceName The name of the API Management service. * @param apiId API revision identifier. Must be unique in the current API Management service * instance. Non-current revision has ;rev=n as a suffix where n is the revision number. - * @param schemaId Schema identifier within an API. Must be unique in the current API Management - * service instance. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. * @param callback The callback */ getEntityTag(resourceGroupName: string, serviceName: string, apiId: string, schemaId: string, callback: msRest.ServiceCallback): void; @@ -92,8 +92,8 @@ export class ApiSchema { * @param serviceName The name of the API Management service. * @param apiId API revision identifier. Must be unique in the current API Management service * instance. Non-current revision has ;rev=n as a suffix where n is the revision number. - * @param schemaId Schema identifier within an API. Must be unique in the current API Management - * service instance. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. * @param options The optional parameters * @param callback The callback */ @@ -117,8 +117,8 @@ export class ApiSchema { * @param serviceName The name of the API Management service. * @param apiId API revision identifier. Must be unique in the current API Management service * instance. Non-current revision has ;rev=n as a suffix where n is the revision number. - * @param schemaId Schema identifier within an API. Must be unique in the current API Management - * service instance. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. * @param [options] The optional parameters * @returns Promise */ @@ -128,23 +128,23 @@ export class ApiSchema { * @param serviceName The name of the API Management service. * @param apiId API revision identifier. Must be unique in the current API Management service * instance. Non-current revision has ;rev=n as a suffix where n is the revision number. - * @param schemaId Schema identifier within an API. Must be unique in the current API Management - * service instance. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. * @param callback The callback */ - get(resourceGroupName: string, serviceName: string, apiId: string, schemaId: string, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, serviceName: string, apiId: string, schemaId: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param apiId API revision identifier. Must be unique in the current API Management service * instance. Non-current revision has ;rev=n as a suffix where n is the revision number. - * @param schemaId Schema identifier within an API. Must be unique in the current API Management - * service instance. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. * @param options The optional parameters * @param callback The callback */ - get(resourceGroupName: string, serviceName: string, apiId: string, schemaId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, serviceName: string, apiId: string, schemaId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, serviceName: string, apiId: string, schemaId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, serviceName: string, apiId: string, schemaId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -163,13 +163,13 @@ export class ApiSchema { * @param serviceName The name of the API Management service. * @param apiId API revision identifier. Must be unique in the current API Management service * instance. Non-current revision has ;rev=n as a suffix where n is the revision number. - * @param schemaId Schema identifier within an API. Must be unique in the current API Management - * service instance. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. * @param parameters The schema contents to apply. * @param [options] The optional parameters * @returns Promise */ - createOrUpdate(resourceGroupName: string, serviceName: string, apiId: string, schemaId: string, parameters: Models.SchemaContract, options?: Models.ApiSchemaCreateOrUpdateOptionalParams): Promise { + createOrUpdate(resourceGroupName: string, serviceName: string, apiId: string, schemaId: string, parameters: Models.ApiSchemaContract, options?: Models.ApiSchemaCreateOrUpdateOptionalParams): Promise { return this.beginCreateOrUpdate(resourceGroupName,serviceName,apiId,schemaId,parameters,options) .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } @@ -180,8 +180,8 @@ export class ApiSchema { * @param serviceName The name of the API Management service. * @param apiId API revision identifier. Must be unique in the current API Management service * instance. Non-current revision has ;rev=n as a suffix where n is the revision number. - * @param schemaId Schema identifier within an API. Must be unique in the current API Management - * service instance. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters @@ -193,8 +193,8 @@ export class ApiSchema { * @param serviceName The name of the API Management service. * @param apiId API revision identifier. Must be unique in the current API Management service * instance. Non-current revision has ;rev=n as a suffix where n is the revision number. - * @param schemaId Schema identifier within an API. Must be unique in the current API Management - * service instance. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param callback The callback @@ -205,8 +205,8 @@ export class ApiSchema { * @param serviceName The name of the API Management service. * @param apiId API revision identifier. Must be unique in the current API Management service * instance. Non-current revision has ;rev=n as a suffix where n is the revision number. - * @param schemaId Schema identifier within an API. Must be unique in the current API Management - * service instance. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param options The optional parameters @@ -233,13 +233,13 @@ export class ApiSchema { * @param serviceName The name of the API Management service. * @param apiId API revision identifier. Must be unique in the current API Management service * instance. Non-current revision has ;rev=n as a suffix where n is the revision number. - * @param schemaId Schema identifier within an API. Must be unique in the current API Management - * service instance. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. * @param parameters The schema contents to apply. * @param [options] The optional parameters * @returns Promise */ - beginCreateOrUpdate(resourceGroupName: string, serviceName: string, apiId: string, schemaId: string, parameters: Models.SchemaContract, options?: Models.ApiSchemaBeginCreateOrUpdateOptionalParams): Promise { + beginCreateOrUpdate(resourceGroupName: string, serviceName: string, apiId: string, schemaId: string, parameters: Models.ApiSchemaContract, options?: Models.ApiSchemaBeginCreateOrUpdateOptionalParams): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -264,14 +264,14 @@ export class ApiSchema { * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ - listByApiNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listByApiNext(nextPageLink: string, callback: msRest.ServiceCallback): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param options The optional parameters * @param callback The callback */ - listByApiNext(nextPageLink: string, options: Models.ApiSchemaListByApiNextOptionalParams, callback: msRest.ServiceCallback): void; - listByApiNext(nextPageLink: string, options?: Models.ApiSchemaListByApiNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByApiNext(nextPageLink: string, options: Models.ApiSchemaListByApiNextOptionalParams, callback: msRest.ServiceCallback): void; + listByApiNext(nextPageLink: string, options?: Models.ApiSchemaListByApiNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -304,7 +304,7 @@ const listByApiOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.SchemaCollection + bodyMapper: Mappers.ApiSchemaCollection }, default: { bodyMapper: Mappers.ErrorResponse @@ -359,7 +359,7 @@ const getOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.SchemaContract, + bodyMapper: Mappers.ApiSchemaContract, headersMapper: Mappers.ApiSchemaGetHeaders }, default: { @@ -418,17 +418,17 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { requestBody: { parameterPath: "parameters", mapper: { - ...Mappers.SchemaContract, + ...Mappers.ApiSchemaContract, required: true } }, responses: { 200: { - bodyMapper: Mappers.SchemaContract, + bodyMapper: Mappers.ApiSchemaContract, headersMapper: Mappers.ApiSchemaCreateOrUpdateHeaders }, 201: { - bodyMapper: Mappers.SchemaContract, + bodyMapper: Mappers.ApiSchemaContract, headersMapper: Mappers.ApiSchemaCreateOrUpdateHeaders }, 202: { @@ -460,7 +460,7 @@ const listByApiNextOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.SchemaCollection + bodyMapper: Mappers.ApiSchemaCollection }, default: { bodyMapper: Mappers.ErrorResponse 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..73aa96d37257 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"; @@ -57,6 +58,7 @@ export * from "./portalSettings"; export * from "./signInSettings"; export * from "./signUpSettings"; export * from "./delegationSettings"; +export * from "./privateEndpointConnectionOperations"; export * from "./product"; export * from "./productApi"; export * from "./productGroup"; @@ -66,6 +68,7 @@ export * from "./quotaByCounterKeys"; export * from "./quotaByPeriodKeys"; export * from "./region"; export * from "./reports"; +export * from "./schema"; export * from "./tenantSettings"; export * from "./apiManagementSkus"; export * from "./subscription"; 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 diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/privateEndpointConnectionOperations.ts b/sdk/apimanagement/arm-apimanagement/src/operations/privateEndpointConnectionOperations.ts new file mode 100644 index 000000000000..b6c18f40acbb --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/operations/privateEndpointConnectionOperations.ts @@ -0,0 +1,397 @@ +/* + * 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 msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/privateEndpointConnectionOperationsMappers"; +import * as Parameters from "../models/parameters"; +import { ApiManagementClientContext } from "../apiManagementClientContext"; + +/** Class representing a PrivateEndpointConnectionOperations. */ +export class PrivateEndpointConnectionOperations { + private readonly client: ApiManagementClientContext; + + /** + * Create a PrivateEndpointConnectionOperations. + * @param {ApiManagementClientContext} client Reference to the service client. + */ + constructor(client: ApiManagementClientContext) { + this.client = client; + } + + /** + * Lists all private endpoint connections of the API Management service instance. + * @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; + } + + /** + * Gets the details of the Private Endpoint Connection specified by its identifier. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param privateEndpointConnectionName Name of the private endpoint connection. + * @param [options] The optional parameters + * @returns Promise + */ + getByName(resourceGroupName: string, serviceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param privateEndpointConnectionName Name of the private endpoint connection. + * @param callback The callback + */ + getByName(resourceGroupName: string, serviceName: string, privateEndpointConnectionName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param privateEndpointConnectionName Name of the private endpoint connection. + * @param options The optional parameters + * @param callback The callback + */ + getByName(resourceGroupName: string, serviceName: string, privateEndpointConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getByName(resourceGroupName: string, serviceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + privateEndpointConnectionName, + options + }, + getByNameOperationSpec, + callback) as Promise; + } + + /** + * Creates a new Private Endpoint Connection or updates an existing one. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param privateEndpointConnectionName Name of the private endpoint connection. + * @param privateEndpointConnectionRequest + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, serviceName: string, privateEndpointConnectionName: string, privateEndpointConnectionRequest: Models.PrivateEndpointConnectionRequest, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,serviceName,privateEndpointConnectionName,privateEndpointConnectionRequest,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Deletes the specified Private Endpoint Connection. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param privateEndpointConnectionName Name of the private endpoint connection. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, serviceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,serviceName,privateEndpointConnectionName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Description for Gets the private link resources + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param [options] The optional parameters + * @returns Promise + */ + listPrivateLinkResources(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 + */ + listPrivateLinkResources(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 + */ + listPrivateLinkResources(resourceGroupName: string, serviceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listPrivateLinkResources(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + options + }, + listPrivateLinkResourcesOperationSpec, + callback) as Promise; + } + + /** + * Description for Gets the private link resources + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param privateLinkSubResourceName Name of the private link resource. + * @param [options] The optional parameters + * @returns Promise + */ + getPrivateLinkResource(resourceGroupName: string, serviceName: string, privateLinkSubResourceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param privateLinkSubResourceName Name of the private link resource. + * @param callback The callback + */ + getPrivateLinkResource(resourceGroupName: string, serviceName: string, privateLinkSubResourceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param privateLinkSubResourceName Name of the private link resource. + * @param options The optional parameters + * @param callback The callback + */ + getPrivateLinkResource(resourceGroupName: string, serviceName: string, privateLinkSubResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getPrivateLinkResource(resourceGroupName: string, serviceName: string, privateLinkSubResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + privateLinkSubResourceName, + options + }, + getPrivateLinkResourceOperationSpec, + callback) as Promise; + } + + /** + * Creates a new Private Endpoint Connection or updates an existing one. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param privateEndpointConnectionName Name of the private endpoint connection. + * @param privateEndpointConnectionRequest + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, serviceName: string, privateEndpointConnectionName: string, privateEndpointConnectionRequest: Models.PrivateEndpointConnectionRequest, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + serviceName, + privateEndpointConnectionName, + privateEndpointConnectionRequest, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Deletes the specified Private Endpoint Connection. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param privateEndpointConnectionName Name of the private endpoint connection. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, serviceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + serviceName, + privateEndpointConnectionName, + options + }, + beginDeleteMethodOperationSpec, + options); + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listByServiceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/privateEndpointConnections", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.serviceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnectionListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const getByNameOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/privateEndpointConnections/{privateEndpointConnectionName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.privateEndpointConnectionName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnection + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const listPrivateLinkResourcesOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/privateLinkResources", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.serviceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PrivateLinkResourceListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const getPrivateLinkResourceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/privateLinkResources/{privateLinkSubResourceName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.serviceName, + Parameters.privateLinkSubResourceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PrivateLinkResource + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/privateEndpointConnections/{privateEndpointConnectionName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.privateEndpointConnectionName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "privateEndpointConnectionRequest", + mapper: { + ...Mappers.PrivateEndpointConnectionRequest, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnection + }, + 201: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/privateEndpointConnections/{privateEndpointConnectionName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.privateEndpointConnectionName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/schema.ts b/sdk/apimanagement/arm-apimanagement/src/operations/schema.ts new file mode 100644 index 000000000000..623cb7b8493a --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/operations/schema.ts @@ -0,0 +1,431 @@ +/* + * 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 msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/schemaMappers"; +import * as Parameters from "../models/parameters"; +import { ApiManagementClientContext } from "../apiManagementClientContext"; + +/** Class representing a Schema. */ +export class Schema { + private readonly client: ApiManagementClientContext; + + /** + * Create a Schema. + * @param {ApiManagementClientContext} client Reference to the service client. + */ + constructor(client: ApiManagementClientContext) { + this.client = client; + } + + /** + * Lists a collection of schemas registered with service instance. + * @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?: Models.SchemaListByServiceOptionalParams): 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: Models.SchemaListByServiceOptionalParams, callback: msRest.ServiceCallback): void; + listByService(resourceGroupName: string, serviceName: string, options?: Models.SchemaListByServiceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + options + }, + listByServiceOperationSpec, + callback) as Promise; + } + + /** + * Gets the entity state (Etag) version of the Schema specified by its identifier. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. + * @param [options] The optional parameters + * @returns Promise + */ + getEntityTag(resourceGroupName: string, serviceName: string, schemaId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. + * @param callback The callback + */ + getEntityTag(resourceGroupName: string, serviceName: string, schemaId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. + * @param options The optional parameters + * @param callback The callback + */ + getEntityTag(resourceGroupName: string, serviceName: string, schemaId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getEntityTag(resourceGroupName: string, serviceName: string, schemaId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + schemaId, + options + }, + getEntityTagOperationSpec, + callback) as Promise; + } + + /** + * Gets the details of the Schema specified by its identifier. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, serviceName: string, schemaId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. + * @param callback The callback + */ + get(resourceGroupName: string, serviceName: string, schemaId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, serviceName: string, schemaId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, serviceName: string, schemaId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + schemaId, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates new or updates existing specified Schema of the API Management service instance. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. + * @param parameters Create or update parameters. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, serviceName: string, schemaId: string, parameters: Models.SchemaContract, options?: Models.SchemaCreateOrUpdateOptionalParams): Promise { + return this.beginCreateOrUpdate(resourceGroupName,serviceName,schemaId,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Deletes specific Schema. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. + * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header + * response of the GET request or it should be * for unconditional update. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, serviceName: string, schemaId: string, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. + * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header + * response of the GET request or it should be * for unconditional update. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, serviceName: string, schemaId: string, ifMatch: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. + * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header + * response of the GET request or it should be * for unconditional update. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, serviceName: string, schemaId: string, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, serviceName: string, schemaId: string, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + schemaId, + ifMatch, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Creates new or updates existing specified Schema of the API Management service instance. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. + * @param parameters Create or update parameters. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, serviceName: string, schemaId: string, parameters: Models.SchemaContract, options?: Models.SchemaBeginCreateOrUpdateOptionalParams): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + serviceName, + schemaId, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Lists a collection of schemas registered with service instance. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByServiceNext(nextPageLink: string, options?: Models.SchemaListByServiceNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByServiceNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByServiceNext(nextPageLink: string, options: Models.SchemaListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.SchemaListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByServiceNextOperationSpec, + 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}/schemas", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SchemaCollection + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const getEntityTagOperationSpec: msRest.OperationSpec = { + httpMethod: "HEAD", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/schemas/{schemaId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.schemaId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + headersMapper: Mappers.SchemaGetEntityTagHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.SchemaGetEntityTagHeaders + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/schemas/{schemaId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.schemaId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SchemaContract, + headersMapper: Mappers.SchemaGetHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.SchemaGetHeaders + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/schemas/{schemaId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.schemaId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.ifMatch1, + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/schemas/{schemaId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.schemaId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.ifMatch0, + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.SchemaContract, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.SchemaContract, + headersMapper: Mappers.SchemaCreateOrUpdateHeaders + }, + 201: { + bodyMapper: Mappers.SchemaContract, + headersMapper: Mappers.SchemaCreateOrUpdateHeaders + }, + 202: { + headersMapper: Mappers.SchemaCreateOrUpdateHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.SchemaCreateOrUpdateHeaders + } + }, + serializer +}; + +const listByServiceNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SchemaCollection + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +};