diff --git a/sdk/apimanagement/arm-apimanagement/README.md b/sdk/apimanagement/arm-apimanagement/README.md index 8b269ab80915..faa16994e70d 100644 --- a/sdk/apimanagement/arm-apimanagement/README.md +++ b/sdk/apimanagement/arm-apimanagement/README.md @@ -1,11 +1,11 @@ ## Azure ApiManagementClient SDK for JavaScript -This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ApiManagementClient. +This package contains an isomorphic SDK (runs both in node.js and in browsers) for ApiManagementClient. ### Currently supported environments - [LTS versions of Node.js](https://nodejs.org/about/releases/) -- Latest versions of Safari, Chrome, Edge, and Firefox. +- Latest versions of Safari, Chrome, Edge and Firefox. ### Prerequisites @@ -21,7 +21,6 @@ Install both packages using the below command: ```bash npm install --save @azure/arm-apimanagement @azure/identity ``` - > **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. @@ -37,7 +36,6 @@ If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/ In the below samples, we pass the credential and the Azure subscription id to instantiate the client. Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. - #### nodejs - Authentication, client creation, and listByService api as an example written in JavaScript. ##### Sample code @@ -92,7 +90,7 @@ In browser applications, we recommend using the `InteractiveBrowserCredential` t const credential = new InteractiveBrowserCredential( { clientId: "", - tenantId: "" + tenant: "" }); const client = new Azure.ArmApimanagement.ApiManagementClient(creds, subscriptionId); const resourceGroupName = "testresourceGroupName"; diff --git a/sdk/apimanagement/arm-apimanagement/package.json b/sdk/apimanagement/arm-apimanagement/package.json index aa05bb40d702..1851b6fb7fac 100644 --- a/sdk/apimanagement/arm-apimanagement/package.json +++ b/sdk/apimanagement/arm-apimanagement/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/apimanagement/arm-apimanagement", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/apimanagement/arm-apimanagement", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/apimanagement/arm-apimanagement/src/apiManagementClient.ts b/sdk/apimanagement/arm-apimanagement/src/apiManagementClient.ts index 43154573785a..3b7c9975990a 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; @@ -147,6 +151,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 +159,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); @@ -177,9 +183,77 @@ class ApiManagementClient extends ApiManagementClientContext { this.userConfirmationPassword = new operations.UserConfirmationPassword(this); this.apiExport = new operations.ApiExport(this); } + + /** + * Performs a connectivity check between the API Management service and a given destination, and + * returns metrics for the connection, as well as errors encountered while trying to establish it. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param connectivityCheckRequestParams Connectivity Check request parameters. + * @param [options] The optional parameters + * @returns Promise + */ + performConnectivityCheckAsync(resourceGroupName: string, serviceName: string, connectivityCheckRequestParams: Models.ConnectivityCheckRequest, options?: msRest.RequestOptionsBase): Promise { + return this.beginPerformConnectivityCheckAsync(resourceGroupName,serviceName,connectivityCheckRequestParams,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Performs a connectivity check between the API Management service and a given destination, and + * returns metrics for the connection, as well as errors encountered while trying to establish it. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param connectivityCheckRequestParams Connectivity Check request parameters. + * @param [options] The optional parameters + * @returns Promise + */ + beginPerformConnectivityCheckAsync(resourceGroupName: string, serviceName: string, connectivityCheckRequestParams: Models.ConnectivityCheckRequest, options?: msRest.RequestOptionsBase): Promise { + return this.sendLRORequest( + { + resourceGroupName, + serviceName, + connectivityCheckRequestParams, + options + }, + beginPerformConnectivityCheckAsyncOperationSpec, + options); + } } // Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const beginPerformConnectivityCheckAsyncOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/connectivityCheck", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "connectivityCheckRequestParams", + mapper: { + ...Mappers.ConnectivityCheckRequest, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ConnectivityCheckResponse + }, + 202: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; export { ApiManagementClient, diff --git a/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts b/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts index a8eddd2f76a9..ff58f9189994 100644 --- a/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts +++ b/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts @@ -9,8 +9,8 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; -import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; +import { TokenCredential } from "@azure/core-auth"; const packageName = "@azure/arm-apimanagement"; const packageVersion = "7.1.1"; @@ -50,7 +50,7 @@ export class ApiManagementClientContext extends msRestAzure.AzureServiceClient { super(credentials, options); - this.apiVersion = '2020-12-01'; + this.apiVersion = '2021-04-01-preview'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts index 465c74000e57..af8093660ae4 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts @@ -9,11 +9,13 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, ApiDiagnosticCreateOrUpdateHeaders, ApiDiagnosticGetEntityTagHeaders, ApiDiagnosticGetHeaders, ApiDiagnosticUpdateHeaders, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -23,10 +25,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -52,6 +56,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -75,7 +80,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -84,11 +92,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -99,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/apiIssueAttachmentMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts index 20d936f50c71..537d866de65a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts @@ -9,10 +9,12 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, ApiIssueAttachmentCreateOrUpdateHeaders, ApiIssueAttachmentGetEntityTagHeaders, ApiIssueAttachmentGetHeaders, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -22,10 +24,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -50,6 +54,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -74,7 +79,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -83,11 +91,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -98,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/apiIssueCommentMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts index 52c9f25819f3..0430a685dfe6 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts @@ -9,10 +9,12 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, ApiIssueCommentCreateOrUpdateHeaders, ApiIssueCommentGetEntityTagHeaders, ApiIssueCommentGetHeaders, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -22,10 +24,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -50,6 +54,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -74,7 +79,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -83,11 +91,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -98,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/apiIssueMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts index 7bf1aef54b29..a4ea0301880f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts @@ -9,11 +9,13 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, ApiIssueCreateOrUpdateHeaders, ApiIssueGetEntityTagHeaders, ApiIssueGetHeaders, ApiIssueUpdateHeaders, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -23,10 +25,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -51,6 +55,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -76,7 +81,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -85,11 +93,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -100,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/apiManagementServiceMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceMappers.ts index 85c8bd542f4f..ba497ab88de3 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, @@ -26,10 +28,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -54,6 +58,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -77,7 +82,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -86,11 +94,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -101,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/apiMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts index 44b414b6e9fa..865338f65a81 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts @@ -10,6 +10,7 @@ export { AccessInformationContract, AdditionalLocation, ApiCollection, + ApiContactInformation, ApiContract, ApiContractProperties, ApiCreateOrUpdateHeaders, @@ -18,6 +19,7 @@ export { ApiEntityBaseContract, ApiGetEntityTagHeaders, ApiGetHeaders, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -30,10 +32,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -58,6 +62,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -81,8 +86,11 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, OperationTagResourceContractProperties, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -91,13 +99,19 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, ProductEntityBaseParameters, ProductTagResourceContractProperties, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -108,14 +122,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..1e8eb4534fc8 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, @@ -23,10 +25,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -51,6 +55,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -75,8 +80,11 @@ export { OpenidConnectProviderContract, OperationCollection, OperationContract, + OperationResultContract, + OperationResultLogItemContract, OperationUpdateContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -85,11 +93,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -100,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/apiOperationPolicyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts index 4b420d3bbab1..e75d640105c1 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, @@ -22,10 +24,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -50,6 +54,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -73,7 +78,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyCollection, PolicyContract, @@ -83,11 +91,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -98,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/apiPolicyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts index 61dcd8cf8f7b..75c6a5219260 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, @@ -22,10 +24,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -50,6 +54,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -73,7 +78,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyCollection, PolicyContract, @@ -83,11 +91,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -98,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/apiProductMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts index d6954c5a4483..427bcf9481f8 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +51,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +75,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -79,12 +87,18 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductCollection, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -95,11 +109,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..863c44d35ca0 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, @@ -24,10 +26,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -52,6 +56,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -75,7 +80,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -84,11 +92,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -99,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/apiSchemaMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts index e99de7c3157d..ab640958aa4e 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -22,10 +24,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -50,6 +54,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -73,7 +78,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -82,11 +90,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -98,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/apiTagDescriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts index 01db9a3fe3ca..61c4b64bfd7c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -22,10 +24,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -50,6 +54,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -73,7 +78,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -82,11 +90,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -97,13 +111,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..03e5c8e3f4d7 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -25,10 +27,12 @@ export { ApiVersionSetGetHeaders, ApiVersionSetUpdateHeaders, ApiVersionSetUpdateParameters, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -53,6 +57,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -76,7 +81,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -85,11 +93,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -100,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/authorizationServerMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts index 1e0e3ee93469..e39d09397244 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,6 +21,7 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerCollection, @@ -30,6 +33,7 @@ export { AuthorizationServerSecretsContract, AuthorizationServerUpdateContract, AuthorizationServerUpdateHeaders, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -54,6 +58,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -77,7 +82,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -86,11 +94,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -101,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/backendMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts index 1ee1333947e2..627e117b7f68 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendCollection, BackendContract, @@ -53,6 +57,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -76,7 +81,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -85,11 +93,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -100,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/cacheMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts index cfc012c95295..dc73fe58fc4b 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -53,6 +57,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -76,7 +81,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -85,11 +93,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -100,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/certificateMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts index c02064460b97..5c396a4f6656 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -53,6 +57,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -76,7 +81,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -85,11 +93,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -100,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/contentItemMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/contentItemMappers.ts index 17e86ef60cba..ac88513b3b3f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/contentItemMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/contentItemMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -51,6 +55,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -74,7 +79,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -83,11 +91,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -98,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/contentTypeMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts index 1c7e9cb3bcaa..bef624833668 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -50,6 +54,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -73,7 +78,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -82,11 +90,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -97,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/delegationSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts index 0d0327307ce9..5b44919f617a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -49,6 +53,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -72,7 +77,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -82,11 +90,17 @@ export { PortalSettingValidationKeyContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -97,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/deletedServicesMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/deletedServicesMappers.ts index 98aedf7918a4..b4e688a19b0d 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/deletedServicesMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/deletedServicesMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -48,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -71,7 +76,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -80,11 +88,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -95,11 +109,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..d088fc00fc5a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -52,6 +56,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -75,7 +80,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -84,11 +92,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -99,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/emailTemplateMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts index b4e6bd898568..94a7f2eed009 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -52,6 +56,7 @@ export { EmailTemplateUpdateParameters, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -75,7 +80,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -84,11 +92,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -99,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/gatewayApiMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts index bd1944ce2578..13a2bb0cbc40 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts @@ -10,7 +10,9 @@ export { AccessInformationContract, AdditionalLocation, ApiCollection, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -20,10 +22,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -48,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayApiGetEntityTagHeaders, GatewayCertificateAuthorityContract, GatewayContract, @@ -72,7 +77,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -81,11 +89,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -96,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/gatewayCertificateAuthorityMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayCertificateAuthorityMappers.ts index 69f44e9facab..7b3bce2bf943 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayCertificateAuthorityMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayCertificateAuthorityMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +51,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityCollection, GatewayCertificateAuthorityContract, GatewayCertificateAuthorityCreateOrUpdateHeaders, @@ -74,7 +79,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -83,11 +91,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -98,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/gatewayHostnameConfigurationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts index c85ccd64b9fc..39edefa88baa 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +51,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationCollection, @@ -74,7 +79,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -83,11 +91,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -98,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/gatewayMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts index 9c3cd9b80c3c..0b0dbb70ff46 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +51,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayCollection, GatewayContract, @@ -80,7 +85,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -89,11 +97,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -104,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/groupMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts index dc5016ab4502..1b8685fd93d5 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +51,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -77,7 +82,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -86,11 +94,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -101,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/groupUserMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts index 24678e06044c..be092b355a29 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +51,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +75,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -79,11 +87,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -94,11 +108,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..311fe9a974ac 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -48,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -78,7 +83,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -87,11 +95,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -102,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/index.ts b/sdk/apimanagement/arm-apimanagement/src/models/index.ts index 833ac649ae13..7ad10b988112 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. */ @@ -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 OpenAPI v2 (Swagger) schemas only, null otherwise. */ definitions?: any; + /** + * Types definitions. Used for OpenAPI 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. */ @@ -5089,9 +5600,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 +5633,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 +5658,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' @@ -5385,29 +5900,233 @@ export interface UserCreateParameters { /** * Email address. Must not be empty and must be unique within the service instance. */ - email: string; + 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 { + /** + * Header name. + */ + name: string; + /** + * Header value. + */ + value: string; +} + +/** + * Definitions about the connectivity check origin. + */ +export interface ConnectivityCheckRequestSource { + /** + * The API Management service region from where to start the connectivity check operation. + */ + region: string; + /** + * The particular VMSS instance from which to fire the request. + */ + instance?: number; +} + +/** + * The connectivity check operation destination. + */ +export interface ConnectivityCheckRequestDestination { + /** + * Destination address. Can either be an IP address or a FQDN. + */ + address: string; + /** + * Destination port. + */ + port: number; +} + +/** + * Configuration for HTTP or HTTPS requests. + */ +export interface ConnectivityCheckRequestProtocolConfigurationHTTPConfiguration { + /** + * The HTTP method to be used. Possible values include: 'GET', 'POST' + */ + method?: Method; + /** + * List of HTTP status codes considered valid for the request response. + */ + validStatusCodes?: number[]; + /** + * List of headers to be included in the request. + */ + headers?: HTTPHeader[]; +} + +/** + * Protocol-specific configuration. + */ +export interface ConnectivityCheckRequestProtocolConfiguration { + /** + * Configuration for HTTP or HTTPS requests. + */ + hTTPConfiguration?: ConnectivityCheckRequestProtocolConfigurationHTTPConfiguration; +} + +/** + * A request to perform the connectivity check operation on a API Management service. + */ +export interface ConnectivityCheckRequest { /** - * 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; } /** @@ -10260,7 +10979,7 @@ export interface UserSubscriptionGetHeaders { /** * @interface - * Paged Api list representation. + * Paged API list representation. * @extends Array */ export interface ApiCollection extends Array { @@ -10293,7 +11012,7 @@ export interface TagResourceCollection extends Array { /** * @interface - * Paged Api Revision list representation. + * Paged API Revision list representation. * @extends Array */ export interface ApiRevisionCollection extends Array { @@ -10476,7 +11195,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 +11301,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 +11534,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. @@ -10961,36 +11688,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 +11857,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 +11906,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 +11923,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 +12019,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' @@ -11274,6 +12067,63 @@ export type ApiManagementSkuRestrictionsReasonCode = 'QuotaId' | 'NotAvailableFo */ export type AsyncOperationStatus = 'Started' | 'InProgress' | 'Succeeded' | 'Failed'; +/** + * Defines values for Origin. + * Possible values include: 'Local', 'Inbound', 'Outbound' + * @readonly + * @enum {string} + */ +export type Origin = 'Local' | 'Inbound' | 'Outbound'; + +/** + * Defines values for Severity. + * Possible values include: 'Error', 'Warning' + * @readonly + * @enum {string} + */ +export type Severity = 'Error' | 'Warning'; + +/** + * Defines values for IssueType. + * Possible values include: 'Unknown', 'AgentStopped', 'GuestFirewall', 'DnsResolution', + * 'SocketBind', 'NetworkSecurityRule', 'UserDefinedRoute', 'PortThrottled', 'Platform' + * @readonly + * @enum {string} + */ +export type IssueType = 'Unknown' | 'AgentStopped' | 'GuestFirewall' | 'DnsResolution' | 'SocketBind' | 'NetworkSecurityRule' | 'UserDefinedRoute' | 'PortThrottled' | 'Platform'; + +/** + * Defines values for ConnectionStatus. + * Possible values include: 'Unknown', 'Connected', 'Disconnected', 'Degraded' + * @readonly + * @enum {string} + */ +export type ConnectionStatus = 'Unknown' | 'Connected' | 'Disconnected' | 'Degraded'; + +/** + * Defines values for PreferredIPVersion. + * Possible values include: 'IPv4' + * @readonly + * @enum {string} + */ +export type PreferredIPVersion = 'IPv4'; + +/** + * Defines values for ConnectivityCheckProtocol. + * Possible values include: 'TCP', 'HTTP', 'HTTPS' + * @readonly + * @enum {string} + */ +export type ConnectivityCheckProtocol = 'TCP' | 'HTTP' | 'HTTPS'; + +/** + * Defines values for Method. + * Possible values include: 'GET', 'POST' + * @readonly + * @enum {string} + */ +export type Method = 'GET' | 'POST'; + /** * Defines values for AccessIdName. * Possible values include: 'access', 'gitAccess' @@ -16497,6 +17347,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 +17822,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. */ @@ -18697,6 +19687,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..c8a8fdcbe128 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +51,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -72,7 +77,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -81,11 +89,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -96,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/loggerMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts index 1603929b6986..f10181eeb11a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +51,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -76,7 +81,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -85,11 +93,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -100,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/mappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts index f8ab696a66d7..2f52ebe247b3 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: { @@ -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,8 +2481,28 @@ export const ApiUpdateContract: msRest.CompositeMapper = { name: "Boolean" } }, - displayName: { - serializedName: "properties.displayName", + 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: { MaxLength: 300, MinLength: 1 @@ -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,13 +5630,32 @@ 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: { @@ -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: { @@ -8707,47 +9507,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 +9594,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 +9614,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 +9640,7 @@ export const OperationResultContract: msRest.CompositeMapper = { }, actionLog: { readOnly: true, - serializedName: "actionLog", + serializedName: "properties.actionLog", type: { name: "Sequence", element: { @@ -8952,73 +9760,475 @@ export const AccessInformationContract: msRest.CompositeMapper = { name: "String" } }, - enabled: { - serializedName: "properties.enabled", + enabled: { + serializedName: "properties.enabled", + type: { + name: "Boolean" + } + } + } + } +}; + +export const AccessInformationUpdateParameters: msRest.CompositeMapper = { + serializedName: "AccessInformationUpdateParameters", + type: { + name: "Composite", + className: "AccessInformationUpdateParameters", + modelProperties: { + enabled: { + serializedName: "properties.enabled", + type: { + name: "Boolean" + } + } + } + } +}; + +export const AccessInformationCreateParameters: msRest.CompositeMapper = { + serializedName: "AccessInformationCreateParameters", + type: { + name: "Composite", + className: "AccessInformationCreateParameters", + modelProperties: { + principalId: { + serializedName: "properties.principalId", + type: { + name: "String" + } + }, + primaryKey: { + serializedName: "properties.primaryKey", + type: { + name: "String" + } + }, + secondaryKey: { + serializedName: "properties.secondaryKey", + type: { + name: "String" + } + }, + enabled: { + serializedName: "properties.enabled", + type: { + name: "Boolean" + } + } + } + } +}; + +export const UserTokenResult: msRest.CompositeMapper = { + serializedName: "UserTokenResult", + type: { + name: "Composite", + className: "UserTokenResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "String" + } + } + } + } +}; + +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: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectivityIssue" + } + } } } } } }; -export const AccessInformationUpdateParameters: msRest.CompositeMapper = { - serializedName: "AccessInformationUpdateParameters", +export const ConnectivityCheckResponse: msRest.CompositeMapper = { + serializedName: "ConnectivityCheckResponse", type: { name: "Composite", - className: "AccessInformationUpdateParameters", + className: "ConnectivityCheckResponse", modelProperties: { - enabled: { - serializedName: "properties.enabled", + hops: { + readOnly: true, + serializedName: "hops", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectivityHop" + } + } } - } - } - } -}; - -export const AccessInformationCreateParameters: msRest.CompositeMapper = { - serializedName: "AccessInformationCreateParameters", - type: { - name: "Composite", - className: "AccessInformationCreateParameters", - modelProperties: { - principalId: { - serializedName: "properties.principalId", + }, + connectionStatus: { + readOnly: true, + serializedName: "connectionStatus", type: { name: "String" } }, - primaryKey: { - serializedName: "properties.primaryKey", + avgLatencyInMs: { + readOnly: true, + serializedName: "avgLatencyInMs", type: { - name: "String" + name: "Number" } }, - secondaryKey: { - serializedName: "properties.secondaryKey", + minLatencyInMs: { + readOnly: true, + serializedName: "minLatencyInMs", type: { - name: "String" + name: "Number" } }, - enabled: { - serializedName: "properties.enabled", + maxLatencyInMs: { + readOnly: true, + serializedName: "maxLatencyInMs", type: { - name: "Boolean" + name: "Number" + } + }, + probesSent: { + readOnly: true, + serializedName: "probesSent", + type: { + name: "Number" + } + }, + probesFailed: { + readOnly: true, + serializedName: "probesFailed", + type: { + name: "Number" } } } } }; -export const UserTokenResult: msRest.CompositeMapper = { - serializedName: "UserTokenResult", +export const HTTPHeader: msRest.CompositeMapper = { + serializedName: "HTTPHeader", type: { name: "Composite", - className: "UserTokenResult", + className: "HTTPHeader", modelProperties: { + name: { + required: true, + serializedName: "name", + type: { + name: "String" + } + }, value: { + required: true, serializedName: "value", type: { name: "String" @@ -9028,202 +10238,148 @@ export const UserTokenResult: msRest.CompositeMapper = { } }; -export const UserTokenParameters: msRest.CompositeMapper = { - serializedName: "UserTokenParameters", +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" } } } @@ -12975,6 +14131,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: { diff --git a/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts index 37c3ce050068..fda60bd61083 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +51,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -79,7 +84,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -88,11 +96,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -103,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/notificationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts index 830c2d9a8b8d..3d8aed6d21da 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +51,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -71,7 +76,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -80,11 +88,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -95,11 +109,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..60126b53d81c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +51,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +75,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -79,12 +87,18 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailCollection, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -95,11 +109,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..614032bc2946 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +51,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +75,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -79,12 +87,18 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserCollection, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -95,11 +109,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..d62f6803787c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -48,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -78,7 +83,10 @@ export { OpenidConnectProviderUpdateContract, OpenIdConnectProviderUpdateHeaders, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -87,11 +95,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -102,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/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..7b18fcb2230d 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: { diff --git a/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts index 2144d2458421..330229a340b6 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +51,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +75,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionCollection, @@ -80,11 +88,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -95,11 +109,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..75d8931aac00 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +51,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +75,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyCollection, PolicyContract, @@ -83,11 +91,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -98,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/portalRevisionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/portalRevisionMappers.ts index 02f6c4eac7c6..b5d869eae2fa 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/portalRevisionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/portalRevisionMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +51,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +75,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -84,11 +92,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -99,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/portalSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/portalSettingsMappers.ts index 6a779c200a89..961fb927e124 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/portalSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/portalSettingsMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +51,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +75,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -80,11 +88,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -95,11 +109,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..d818ffe0ed33 --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/models/privateEndpointConnectionOperationsMappers.ts @@ -0,0 +1,128 @@ +/* + * 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, + 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..e5f4622921f1 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts @@ -10,7 +10,9 @@ export { AccessInformationContract, AdditionalLocation, ApiCollection, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -20,10 +22,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -48,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -71,7 +76,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -80,11 +88,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -95,11 +109,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..44de3e143fc7 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +51,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -71,7 +76,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -80,11 +88,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -95,11 +109,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..1259ed63686b 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts @@ -9,9 +9,11 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, ApiContractProperties, ApiEntityBaseContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -22,10 +24,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -50,6 +54,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -73,8 +78,11 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, OperationTagResourceContractProperties, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -83,6 +91,10 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductCollection, ProductContract, ProductCreateOrUpdateHeaders, @@ -92,10 +104,12 @@ export { ProductTagResourceContractProperties, ProductUpdateHeaders, ProductUpdateParameters, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -106,14 +120,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..67f39fd52f64 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +51,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +75,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyCollection, PolicyContract, @@ -80,14 +88,20 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, ProductPolicyCreateOrUpdateHeaders, ProductPolicyGetEntityTagHeaders, ProductPolicyGetHeaders, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -98,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/productSubscriptionsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts index bb3cd32c8806..c83af5010b5d 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +51,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +75,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -79,11 +87,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -95,11 +109,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/signInSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts index d4e2e1b5766b..88cfd4fb9b9b 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +51,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +75,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -79,11 +87,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -96,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/signUpSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts index 69e7dde54352..7520b211e4c1 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +51,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +75,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -79,11 +87,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -96,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/subscriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts index 0c0e8ce97ba9..e402cd77e2ea 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +51,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +75,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -79,11 +87,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -103,11 +117,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..1af47c675310 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +51,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +75,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -79,11 +87,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -94,6 +108,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagAssignToApiHeaders, TagCollection, TagContract, @@ -109,9 +124,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..2016f19afd31 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts @@ -13,7 +13,9 @@ export { AccessInformationSecretsContract, AccessInformationUpdateParameters, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -23,10 +25,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -51,6 +55,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -74,7 +79,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -83,11 +91,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -98,6 +112,7 @@ export { SubscriptionContract, SubscriptionKeyParameterNamesContract, SubscriptionsDelegationSettingsProperties, + SystemData, TagContract, TagDescriptionContract, TenantAccessCreateHeaders, @@ -105,9 +120,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..ed765b737c3d 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tenantConfigurationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tenantConfigurationMappers.ts @@ -7,12 +7,120 @@ */ export { + AccessInformationContract, + AdditionalLocation, + ApiContactInformation, + ApiContract, + ApiLicenseInformation, + ApiManagementServiceIdentity, + ApiManagementServiceResource, + ApiManagementServiceSkuProperties, + ApiManagementServiceUpdateParameters, + ApimResource, + ApiReleaseContract, + 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..31d3617d870e 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tenantSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tenantSettingsMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +51,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +75,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -79,11 +87,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -94,13 +108,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..44de3e143fc7 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +51,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -71,7 +76,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -80,11 +88,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -95,11 +109,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..d5c74275a571 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +51,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -71,7 +76,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -80,11 +88,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -95,11 +109,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..54aca888fe90 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -19,10 +21,12 @@ export { ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, + ArmIdWrapper, AssociationContract, AuthenticationSettingsContract, AuthorizationServerContract, AuthorizationServerUpdateContract, + AzureEntityResource, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -47,6 +51,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,7 +75,10 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, + ParameterExampleContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, @@ -79,11 +87,17 @@ export { PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, ProductContract, + ProxyResource, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, RepresentationContract, RequestContract, Resource, @@ -95,11 +109,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/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..d9428a056155 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"; 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 +};