diff --git a/sdk/apimanagement/arm-apimanagement/package.json b/sdk/apimanagement/arm-apimanagement/package.json index ea30e927e3eb..f6eb86739b51 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/main/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 3b7c9975990a..735bd91b35fc 100644 --- a/sdk/apimanagement/arm-apimanagement/src/apiManagementClient.ts +++ b/sdk/apimanagement/arm-apimanagement/src/apiManagementClient.ts @@ -80,6 +80,7 @@ class ApiManagementClient extends ApiManagementClientContext { quotaByPeriodKeys: operations.QuotaByPeriodKeys; region: operations.Region; reports: operations.Reports; + schema: operations.Schema; tenantSettings: operations.TenantSettings; apiManagementSkus: operations.ApiManagementSkus; subscription: operations.Subscription; @@ -169,6 +170,7 @@ class ApiManagementClient extends ApiManagementClientContext { this.quotaByPeriodKeys = new operations.QuotaByPeriodKeys(this); this.region = new operations.Region(this); this.reports = new operations.Reports(this); + this.schema = new operations.Schema(this); this.tenantSettings = new operations.TenantSettings(this); this.apiManagementSkus = new operations.ApiManagementSkus(this); this.subscription = new operations.Subscription(this); diff --git a/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts b/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts index 538906ef531e..862f585b2ca7 100644 --- a/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts +++ b/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts @@ -50,7 +50,7 @@ export class ApiManagementClientContext extends msRestAzure.AzureServiceClient { super(credentials, options); - this.apiVersion = '2021-08-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 af8093660ae4..1d7cb542ece6 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts @@ -22,6 +22,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts index 537d866de65a..d0322770d7e9 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts @@ -21,6 +21,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts index 0430a685dfe6..a2c9f6030921 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts @@ -21,6 +21,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts index a4ea0301880f..15b5ed38d038 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts @@ -22,6 +22,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceMappers.ts index ba497ab88de3..d35711a522d0 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceMappers.ts @@ -25,6 +25,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts index 865338f65a81..958f0517ae50 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts @@ -26,6 +26,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiTagResourceContractProperties, ApiUpdateContract, ApiUpdateHeaders, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts index 1e8eb4534fc8..fa54f25dec6e 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts @@ -22,6 +22,7 @@ export { ApiOperationGetHeaders, ApiOperationUpdateHeaders, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts index e75d640105c1..3c5d2befd420 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts @@ -21,6 +21,7 @@ export { ApiOperationPolicyGetEntityTagHeaders, ApiOperationPolicyGetHeaders, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts index 75c6a5219260..754cbbc5caf5 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts @@ -21,6 +21,7 @@ export { ApiPolicyGetEntityTagHeaders, ApiPolicyGetHeaders, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts index 427bcf9481f8..30766c050f8a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts index 863c44d35ca0..fd392254255e 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts @@ -23,6 +23,7 @@ export { ApiReleaseGetEntityTagHeaders, ApiReleaseGetHeaders, ApiReleaseUpdateHeaders, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts index ab640958aa4e..f8c7ebc3ba10 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts @@ -18,6 +18,8 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaCollection, + ApiSchemaContract, ApiSchemaCreateOrUpdateHeaders, ApiSchemaGetEntityTagHeaders, ApiSchemaGetHeaders, @@ -107,7 +109,6 @@ export { ResourceLocationDataContract, ResponseContract, SamplingSettings, - SchemaCollection, SchemaContract, SubscriptionContract, SubscriptionKeyParameterNamesContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts index 61c4b64bfd7c..ab0ee895a6c9 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiTagDescriptionCreateOrUpdateHeaders, ApiTagDescriptionGetEntityTagHeaders, ApiTagDescriptionGetHeaders, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts index 03e5c8e3f4d7..c0e0e9e371c8 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetCollection, ApiVersionSetContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts index e39d09397244..a43bb011d934 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts index 627e117b7f68..0942d2637f7f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts index dc73fe58fc4b..e9e21c03b193 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts index 5c396a4f6656..4c2a5384357d 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/contentItemMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/contentItemMappers.ts index ac88513b3b3f..f7266563d190 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/contentItemMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/contentItemMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts index bef624833668..08dd6d18de11 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts index 5b44919f617a..652ae081b1d0 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/deletedServicesMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/deletedServicesMappers.ts index b4e688a19b0d..de3fcaea51df 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/deletedServicesMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/deletedServicesMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts index d088fc00fc5a..484556d82936 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts index 94a7f2eed009..66a0d6a95341 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts index 13a2bb0cbc40..cd14d18f8430 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts @@ -19,6 +19,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/gatewayCertificateAuthorityMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayCertificateAuthorityMappers.ts index 7b3bce2bf943..5b024da77c1f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayCertificateAuthorityMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayCertificateAuthorityMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts index 39edefa88baa..831be45aa8cb 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts index 0b0dbb70ff46..17b6849a686a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts index 1b8685fd93d5..0e45d4ab1434 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts index be092b355a29..5285d57107a4 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts index 311fe9a974ac..ce8c9d2163c1 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/index.ts b/sdk/apimanagement/arm-apimanagement/src/models/index.ts index 4623e45c0280..c503065b5289 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/index.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/index.ts @@ -882,9 +882,9 @@ export interface DiagnosticContract extends Resource { } /** - * Schema Contract details. + * API Schema Contract details. */ -export interface SchemaContract extends Resource { +export interface ApiSchemaContract extends Resource { /** * Must be a valid a media type used in a Content-Type header as defined in the RFC 2616. Media * type of the schema document (e.g. application/json, application/xml).
- `Swagger` Schema @@ -900,11 +900,11 @@ export interface SchemaContract extends Resource { */ value?: string; /** - * Types definitions. Used for OpenAPI v2 (Swagger) schemas only, null otherwise. + * Types definitions. Used for Swagger/OpenAPI v1 schemas only, null otherwise. */ definitions?: any; /** - * Types definitions. Used for OpenAPI v3 schemas only, null otherwise. + * Types definitions. Used for Swagger/OpenAPI v2/v3 schemas only, null otherwise. */ components?: any; } @@ -2321,210 +2321,6 @@ export interface CertificateCreateOrUpdateParameters { keyVault?: KeyVaultContractCreateProperties; } -/** - * Information about an issue encountered in the process of checking for connectivity. - */ -export interface ConnectivityIssue { - /** - * The origin of the issue. Possible values include: 'Local', 'Inbound', 'Outbound' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly origin?: Origin; - /** - * The severity of the issue. Possible values include: 'Error', 'Warning' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly severity?: Severity; - /** - * The type of issue. Possible values include: 'Unknown', 'AgentStopped', 'GuestFirewall', - * 'DnsResolution', 'SocketBind', 'NetworkSecurityRule', 'UserDefinedRoute', 'PortThrottled', - * 'Platform' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly type?: IssueType; - /** - * Provides additional context on the issue. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly context?: { [propertyName: string]: string }[]; -} - -/** - * Information about a hop between the source and the destination. - */ -export interface ConnectivityHop { - /** - * The type of the hop. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly type?: string; - /** - * The ID of the hop. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly id?: string; - /** - * The IP address of the hop. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly address?: string; - /** - * The ID of the resource corresponding to this hop. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly resourceId?: string; - /** - * List of next hop identifiers. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextHopIds?: string[]; - /** - * List of issues. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly issues?: ConnectivityIssue[]; -} - -/** - * Information on the connectivity status. - */ -export interface ConnectivityCheckResponse { - /** - * List of hops between the source and the destination. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly hops?: ConnectivityHop[]; - /** - * The connection status. Possible values include: 'Unknown', 'Connected', 'Disconnected', - * 'Degraded' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly connectionStatus?: ConnectionStatus; - /** - * Average latency in milliseconds. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly avgLatencyInMs?: number; - /** - * Minimum latency in milliseconds. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly minLatencyInMs?: number; - /** - * Maximum latency in milliseconds. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly maxLatencyInMs?: number; - /** - * Total number of probes sent. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly probesSent?: number; - /** - * Number of failed probes. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly probesFailed?: number; -} - -/** - * HTTP header and it's value. - */ -export interface HTTPHeader { - /** - * Header name. - */ - name: string; - /** - * Header value. - */ - value: string; -} - -/** - * Definitions about the connectivity check origin. - */ -export interface ConnectivityCheckRequestSource { - /** - * The API Management service region from where to start the connectivity check operation. - */ - region: string; - /** - * The particular VMSS instance from which to fire the request. - */ - instance?: number; -} - -/** - * The connectivity check operation destination. - */ -export interface ConnectivityCheckRequestDestination { - /** - * Destination address. Can either be an IP address or a FQDN. - */ - address: string; - /** - * Destination port. - */ - port: number; -} - -/** - * Configuration for HTTP or HTTPS requests. - */ -export interface ConnectivityCheckRequestProtocolConfigurationHTTPConfiguration { - /** - * The HTTP method to be used. Possible values include: 'GET', 'POST' - */ - method?: Method; - /** - * List of HTTP status codes considered valid for the request response. - */ - validStatusCodes?: number[]; - /** - * List of headers to be included in the request. - */ - headers?: HTTPHeader[]; -} - -/** - * Protocol-specific configuration. - */ -export interface ConnectivityCheckRequestProtocolConfiguration { - /** - * Configuration for HTTP or HTTPS requests. - */ - hTTPConfiguration?: ConnectivityCheckRequestProtocolConfigurationHTTPConfiguration; -} - -/** - * A request to perform the connectivity check operation on a API Management service. - */ -export interface ConnectivityCheckRequest { - /** - * Definitions about the connectivity check origin. - */ - source: ConnectivityCheckRequestSource; - /** - * The connectivity check operation destination. - */ - destination: ConnectivityCheckRequestDestination; - /** - * The IP version to be used. Only IPv4 is supported for now. Possible values include: 'IPv4' - */ - preferredIPVersion?: PreferredIPVersion; - /** - * The request's protocol. Specific protocol configuration can be available based on this - * selection. The specified destination address must be coherent with this value. Possible values - * include: 'TCP', 'HTTP', 'HTTPS' - */ - protocol?: ConnectivityCheckProtocol; - /** - * Protocol-specific configuration. - */ - protocolConfiguration?: ConnectivityCheckRequestProtocolConfiguration; -} - /** * Content type contract details. */ @@ -5458,6 +5254,28 @@ export interface ReportRecordContract { serviceTimeMax?: number; } +/** + * Schema Contract details. + */ +export interface SchemaContract extends Resource { + /** + * Schema Type. Immutable. Possible values include: 'Xml', 'Json' + */ + schemaType: SchemaType; + /** + * Free-form schema entity description. + */ + description?: string; + /** + * Json-encoded string for non json-based schema. + */ + value?: string; + /** + * Schema document object for json-based schema formats(e.g. json schema). + */ + document?: any; +} + /** * Tenant Settings. */ @@ -6062,71 +5880,275 @@ export interface UserUpdateParameters { */ note?: string; /** - * Collection of user identities. + * Collection of user identities. + */ + identities?: UserIdentityContract[]; + /** + * Email address. Must not be empty and must be unique within the service instance. + */ + email?: string; + /** + * User Password. + */ + password?: string; + /** + * First name. + */ + firstName?: string; + /** + * Last name. + */ + lastName?: string; +} + +/** + * User create details. + */ +export interface UserCreateParameters { + /** + * Account state. Specifies whether the user is active or not. Blocked users are unable to sign + * into the developer portal or call any APIs of subscribed products. Default state is Active. + * Possible values include: 'active', 'blocked', 'pending', 'deleted'. Default value: 'active'. + */ + state?: UserState; + /** + * Optional note about a user set by the administrator. + */ + note?: string; + /** + * Collection of user identities. + */ + identities?: UserIdentityContract[]; + /** + * Email address. Must not be empty and must be unique within the service instance. + */ + email: string; + /** + * First name. + */ + firstName: string; + /** + * Last name. + */ + lastName: string; + /** + * User Password. If no value is provided, a default password is generated. + */ + password?: string; + /** + * Determines the type of application which send the create user request. Default is legacy + * portal. Possible values include: 'portal', 'developerPortal' + */ + appType?: AppType; + /** + * Determines the type of confirmation e-mail that will be sent to the newly created user. + * Possible values include: 'signup', 'invite' + */ + confirmation?: Confirmation; +} + +/** + * Information about an issue encountered in the process of checking for connectivity. + */ +export interface ConnectivityIssue { + /** + * The origin of the issue. Possible values include: 'Local', 'Inbound', 'Outbound' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly origin?: Origin; + /** + * The severity of the issue. Possible values include: 'Error', 'Warning' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly severity?: Severity; + /** + * The type of issue. Possible values include: 'Unknown', 'AgentStopped', 'GuestFirewall', + * 'DnsResolution', 'SocketBind', 'NetworkSecurityRule', 'UserDefinedRoute', 'PortThrottled', + * 'Platform' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: IssueType; + /** + * Provides additional context on the issue. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly context?: { [propertyName: string]: string }[]; +} + +/** + * Information about a hop between the source and the destination. + */ +export interface ConnectivityHop { + /** + * The type of the hop. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; + /** + * The ID of the hop. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; + /** + * The IP address of the hop. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly address?: string; + /** + * The ID of the resource corresponding to this hop. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly resourceId?: string; + /** + * List of next hop identifiers. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextHopIds?: string[]; + /** + * List of issues. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly issues?: ConnectivityIssue[]; +} + +/** + * Information on the connectivity status. + */ +export interface ConnectivityCheckResponse { + /** + * List of hops between the source and the destination. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly hops?: ConnectivityHop[]; + /** + * The connection status. Possible values include: 'Unknown', 'Connected', 'Disconnected', + * 'Degraded' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly connectionStatus?: ConnectionStatus; + /** + * Average latency in milliseconds. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly avgLatencyInMs?: number; + /** + * Minimum latency in milliseconds. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly minLatencyInMs?: number; + /** + * Maximum latency in milliseconds. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly maxLatencyInMs?: number; + /** + * Total number of probes sent. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly probesSent?: number; + /** + * Number of failed probes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly probesFailed?: number; +} + +/** + * HTTP header and it's value. + */ +export interface HTTPHeader { + /** + * Header name. + */ + name: string; + /** + * Header value. */ - identities?: UserIdentityContract[]; + value: string; +} + +/** + * Definitions about the connectivity check origin. + */ +export interface ConnectivityCheckRequestSource { /** - * Email address. Must not be empty and must be unique within the service instance. + * The API Management service region from where to start the connectivity check operation. */ - email?: string; + region: string; /** - * User Password. + * The particular VMSS instance from which to fire the request. */ - password?: string; + instance?: number; +} + +/** + * The connectivity check operation destination. + */ +export interface ConnectivityCheckRequestDestination { /** - * First name. + * Destination address. Can either be an IP address or a FQDN. */ - firstName?: string; + address: string; /** - * Last name. + * Destination port. */ - lastName?: string; + port: number; } /** - * User create details. + * Configuration for HTTP or HTTPS requests. */ -export interface UserCreateParameters { +export interface ConnectivityCheckRequestProtocolConfigurationHTTPConfiguration { /** - * Account state. Specifies whether the user is active or not. Blocked users are unable to sign - * into the developer portal or call any APIs of subscribed products. Default state is Active. - * Possible values include: 'active', 'blocked', 'pending', 'deleted'. Default value: 'active'. + * The HTTP method to be used. Possible values include: 'GET', 'POST' */ - state?: UserState; + method?: Method; /** - * Optional note about a user set by the administrator. + * List of HTTP status codes considered valid for the request response. */ - note?: string; + validStatusCodes?: number[]; /** - * Collection of user identities. + * List of headers to be included in the request. */ - identities?: UserIdentityContract[]; + headers?: HTTPHeader[]; +} + +/** + * Protocol-specific configuration. + */ +export interface ConnectivityCheckRequestProtocolConfiguration { /** - * Email address. Must not be empty and must be unique within the service instance. + * Configuration for HTTP or HTTPS requests. */ - email: string; + hTTPConfiguration?: ConnectivityCheckRequestProtocolConfigurationHTTPConfiguration; +} + +/** + * A request to perform the connectivity check operation on a API Management service. + */ +export interface ConnectivityCheckRequest { /** - * First name. + * Definitions about the connectivity check origin. */ - firstName: string; + source: ConnectivityCheckRequestSource; /** - * Last name. + * The connectivity check operation destination. */ - lastName: string; + destination: ConnectivityCheckRequestDestination; /** - * User Password. If no value is provided, a default password is generated. + * The IP version to be used. Only IPv4 is supported for now. Possible values include: 'IPv4' */ - password?: string; + preferredIPVersion?: PreferredIPVersion; /** - * Determines the type of application which send the create user request. Default is legacy - * portal. Possible values include: 'portal', 'developerPortal' + * The request's protocol. Specific protocol configuration can be available based on this + * selection. The specified destination address must be coherent with this value. Possible values + * include: 'TCP', 'HTTP', 'HTTPS' */ - appType?: AppType; + protocol?: ConnectivityCheckProtocol; /** - * Determines the type of confirmation e-mail that will be sent to the newly created user. - * Possible values include: 'signup', 'invite' + * Protocol-specific configuration. */ - confirmation?: Confirmation; + protocolConfiguration?: ConnectivityCheckRequestProtocolConfiguration; } /** @@ -8859,6 +8881,68 @@ export interface ReportsListByTimeNextOptionalParams extends msRest.RequestOptio orderby?: string; } +/** + * Optional Parameters. + */ +export interface SchemaListByServiceOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ */ + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; +} + +/** + * Optional Parameters. + */ +export interface SchemaCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. + */ + ifMatch?: string; +} + +/** + * Optional Parameters. + */ +export interface SchemaBeginCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. + */ + ifMatch?: string; +} + +/** + * Optional Parameters. + */ +export interface SchemaListByServiceNextOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ */ + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; +} + /** * Optional Parameters. */ @@ -10757,6 +10841,39 @@ export interface TagGetByProductHeaders { eTag: string; } +/** + * Defines headers for GetEntityTag operation. + */ +export interface SchemaGetEntityTagHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for Get operation. + */ +export interface SchemaGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for CreateOrUpdate operation. + */ +export interface SchemaCreateOrUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + /** * Defines headers for Get operation. */ @@ -11096,9 +11213,9 @@ export interface ProductCollection extends Array { /** * @interface * The response of the list schema operation. - * @extends Array + * @extends Array */ -export interface SchemaCollection extends Array { +export interface ApiSchemaCollection extends Array { /** * Total record count number. */ @@ -11602,6 +11719,23 @@ export interface RequestReportCollection extends Array + */ +export interface SchemaCollection extends Array { + /** + * Total record count number. + */ + count?: number; + /** + * Next page link if any. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + /** * @interface * Paged AccessInformation list representation. @@ -11815,80 +11949,23 @@ export type AuthorizationMethod = 'HEAD' | 'OPTIONS' | 'TRACE' | 'GET' | 'POST' * @readonly * @enum {string} */ -export type ClientAuthenticationMethod = 'Basic' | 'Body'; - -/** - * Defines values for BearerTokenSendingMethod. - * Possible values include: 'authorizationHeader', 'query' - * @readonly - * @enum {string} - */ -export type BearerTokenSendingMethod = 'authorizationHeader' | 'query'; - -/** - * Defines values for BackendProtocol. - * Possible values include: 'http', 'soap' - * @readonly - * @enum {string} - */ -export type BackendProtocol = 'http' | 'soap'; - -/** - * 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'; +export type ClientAuthenticationMethod = 'Basic' | 'Body'; /** - * Defines values for ConnectivityCheckProtocol. - * Possible values include: 'TCP', 'HTTP', 'HTTPS' + * Defines values for BearerTokenSendingMethod. + * Possible values include: 'authorizationHeader', 'query' * @readonly * @enum {string} */ -export type ConnectivityCheckProtocol = 'TCP' | 'HTTP' | 'HTTPS'; +export type BearerTokenSendingMethod = 'authorizationHeader' | 'query'; /** - * Defines values for Method. - * Possible values include: 'GET', 'POST' + * Defines values for BackendProtocol. + * Possible values include: 'http', 'soap' * @readonly * @enum {string} */ -export type Method = 'GET' | 'POST'; +export type BackendProtocol = 'http' | 'soap'; /** * Defines values for SkuType. @@ -12092,6 +12169,14 @@ export type PrivateEndpointConnectionProvisioningState = 'Succeeded' | 'Creating */ export type SubscriptionState = 'suspended' | 'active' | 'expired' | 'submitted' | 'rejected' | 'cancelled'; +/** + * Defines values for SchemaType. + * Possible values include: 'Xml', 'Json' + * @readonly + * @enum {string} + */ +export type SchemaType = 'xml' | 'json'; + /** * Defines values for ApiManagementSkuCapacityScaleType. * Possible values include: 'Automatic', 'Manual', 'None' @@ -12124,6 +12209,63 @@ export type ApiManagementSkuRestrictionsReasonCode = 'QuotaId' | 'NotAvailableFo */ export type AsyncOperationStatus = 'Started' | 'InProgress' | 'Succeeded' | 'Failed'; +/** + * Defines values for Origin. + * Possible values include: 'Local', 'Inbound', 'Outbound' + * @readonly + * @enum {string} + */ +export type Origin = 'Local' | 'Inbound' | 'Outbound'; + +/** + * Defines values for Severity. + * Possible values include: 'Error', 'Warning' + * @readonly + * @enum {string} + */ +export type Severity = 'Error' | 'Warning'; + +/** + * Defines values for IssueType. + * Possible values include: 'Unknown', 'AgentStopped', 'GuestFirewall', 'DnsResolution', + * 'SocketBind', 'NetworkSecurityRule', 'UserDefinedRoute', 'PortThrottled', 'Platform' + * @readonly + * @enum {string} + */ +export type IssueType = 'Unknown' | 'AgentStopped' | 'GuestFirewall' | 'DnsResolution' | 'SocketBind' | 'NetworkSecurityRule' | 'UserDefinedRoute' | 'PortThrottled' | 'Platform'; + +/** + * Defines values for ConnectionStatus. + * Possible values include: 'Unknown', 'Connected', 'Disconnected', 'Degraded' + * @readonly + * @enum {string} + */ +export type ConnectionStatus = 'Unknown' | 'Connected' | 'Disconnected' | 'Degraded'; + +/** + * Defines values for PreferredIPVersion. + * Possible values include: 'IPv4' + * @readonly + * @enum {string} + */ +export type PreferredIPVersion = 'IPv4'; + +/** + * Defines values for ConnectivityCheckProtocol. + * Possible values include: 'TCP', 'HTTP', 'HTTPS' + * @readonly + * @enum {string} + */ +export type ConnectivityCheckProtocol = 'TCP' | 'HTTP' | 'HTTPS'; + +/** + * Defines values for Method. + * Possible values include: 'GET', 'POST' + * @readonly + * @enum {string} + */ +export type Method = 'GET' | 'POST'; + /** * Defines values for AccessIdName. * Possible values include: 'access', 'gitAccess' @@ -13315,7 +13457,7 @@ export type ApiPolicyCreateOrUpdateResponse = PolicyContract & ApiPolicyCreateOr /** * Contains response data for the listByApi operation. */ -export type ApiSchemaListByApiResponse = SchemaCollection & { +export type ApiSchemaListByApiResponse = ApiSchemaCollection & { /** * The underlying HTTP response. */ @@ -13328,7 +13470,7 @@ export type ApiSchemaListByApiResponse = SchemaCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: SchemaCollection; + parsedBody: ApiSchemaCollection; }; }; @@ -13350,7 +13492,7 @@ export type ApiSchemaGetEntityTagResponse = ApiSchemaGetEntityTagHeaders & { /** * Contains response data for the get operation. */ -export type ApiSchemaGetResponse = SchemaContract & ApiSchemaGetHeaders & { +export type ApiSchemaGetResponse = ApiSchemaContract & ApiSchemaGetHeaders & { /** * The underlying HTTP response. */ @@ -13368,14 +13510,14 @@ export type ApiSchemaGetResponse = SchemaContract & ApiSchemaGetHeaders & { /** * The response body as parsed JSON or XML */ - parsedBody: SchemaContract; + parsedBody: ApiSchemaContract; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ApiSchemaCreateOrUpdateResponse = SchemaContract & ApiSchemaCreateOrUpdateHeaders & { +export type ApiSchemaCreateOrUpdateResponse = ApiSchemaContract & ApiSchemaCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -13393,14 +13535,14 @@ export type ApiSchemaCreateOrUpdateResponse = SchemaContract & ApiSchemaCreateOr /** * The response body as parsed JSON or XML */ - parsedBody: SchemaContract; + parsedBody: ApiSchemaContract; }; }; /** * Contains response data for the listByApiNext operation. */ -export type ApiSchemaListByApiNextResponse = SchemaCollection & { +export type ApiSchemaListByApiNextResponse = ApiSchemaCollection & { /** * The underlying HTTP response. */ @@ -13413,7 +13555,7 @@ export type ApiSchemaListByApiNextResponse = SchemaCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: SchemaCollection; + parsedBody: ApiSchemaCollection; }; }; @@ -14707,46 +14849,6 @@ export type CertificateListByServiceNextResponse = CertificateCollection & { }; }; -/** - * 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 listByService operation. */ @@ -18817,6 +18919,111 @@ export type ReportsListByTimeNextResponse = ReportCollection & { }; }; +/** + * Contains response data for the listByService operation. + */ +export type SchemaListByServiceResponse = SchemaCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SchemaCollection; + }; +}; + +/** + * Contains response data for the getEntityTag operation. + */ +export type SchemaGetEntityTagResponse = SchemaGetEntityTagHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: SchemaGetEntityTagHeaders; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type SchemaGetResponse = SchemaContract & SchemaGetHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: SchemaGetHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SchemaContract; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type SchemaCreateOrUpdateResponse = SchemaContract & SchemaCreateOrUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: SchemaCreateOrUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SchemaContract; + }; +}; + +/** + * Contains response data for the listByServiceNext operation. + */ +export type SchemaListByServiceNextResponse = SchemaCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SchemaCollection; + }; +}; + /** * Contains response data for the listByService operation. */ @@ -19727,6 +19934,46 @@ export type UserIdentitiesListNextResponse = UserIdentityCollection & { }; }; +/** + * Contains response data for the performConnectivityCheckAsync operation. + */ +export type PerformConnectivityCheckAsyncResponse = ConnectivityCheckResponse & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ConnectivityCheckResponse; + }; +}; + +/** + * Contains response data for the beginPerformConnectivityCheckAsync operation. + */ +export type BeginPerformConnectivityCheckAsyncResponse = ConnectivityCheckResponse & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ConnectivityCheckResponse; + }; +}; + /** * Contains response data for the get operation. */ diff --git a/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.ts index c8a8fdcbe128..c7c2fd9214b0 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts index f10181eeb11a..0230146527f3 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts index 9ec9d159fed9..bf86c1c9d1c1 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts @@ -1455,11 +1455,11 @@ export const DiagnosticContract: msRest.CompositeMapper = { } }; -export const SchemaContract: msRest.CompositeMapper = { - serializedName: "SchemaContract", +export const ApiSchemaContract: msRest.CompositeMapper = { + serializedName: "ApiSchemaContract", type: { name: "Composite", - className: "SchemaContract", + className: "ApiSchemaContract", modelProperties: { ...Resource.type.modelProperties, contentType: { @@ -4094,198 +4094,215 @@ export const CertificateCreateOrUpdateParameters: msRest.CompositeMapper = { } }; -export const ConnectivityIssue: msRest.CompositeMapper = { - serializedName: "ConnectivityIssue", +export const ContentItemContract: msRest.CompositeMapper = { + serializedName: "ContentItemContract", type: { name: "Composite", - className: "ConnectivityIssue", + className: "ContentItemContract", modelProperties: { - origin: { - readOnly: true, - serializedName: "origin", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Dictionary", + value: { + type: { + name: "Object" + } + } + } + } + } + } +}; + +export const ContentTypeContract: msRest.CompositeMapper = { + serializedName: "ContentTypeContract", + type: { + name: "Composite", + className: "ContentTypeContract", + modelProperties: { + ...Resource.type.modelProperties, + contentTypeContractId: { + serializedName: "properties.id", type: { name: "String" } }, - severity: { - readOnly: true, - serializedName: "severity", + contentTypeContractName: { + serializedName: "properties.name", type: { name: "String" } }, - type: { - readOnly: true, - serializedName: "type", + description: { + serializedName: "properties.description", type: { name: "String" } }, - context: { - readOnly: true, - serializedName: "context", + schema: { + serializedName: "properties.schema", type: { - name: "Sequence", - element: { - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - } + name: "Object" + } + }, + version: { + serializedName: "properties.version", + type: { + name: "String" } } } } }; -export const ConnectivityHop: msRest.CompositeMapper = { - serializedName: "ConnectivityHop", +export const DeletedServiceContract: msRest.CompositeMapper = { + serializedName: "DeletedServiceContract", type: { name: "Composite", - className: "ConnectivityHop", + className: "DeletedServiceContract", modelProperties: { - type: { - readOnly: true, - serializedName: "type", + ...Resource.type.modelProperties, + serviceId: { + serializedName: "properties.serviceId", type: { name: "String" } }, - id: { - readOnly: true, - serializedName: "id", + scheduledPurgeDate: { + serializedName: "properties.scheduledPurgeDate", type: { - name: "String" + name: "DateTime" } }, - address: { - readOnly: true, - serializedName: "address", + deletionDate: { + serializedName: "properties.deletionDate", type: { - name: "String" + name: "DateTime" } }, - resourceId: { + location: { readOnly: true, - serializedName: "resourceId", + serializedName: "location", type: { name: "String" } - }, - nextHopIds: { - readOnly: true, - serializedName: "nextHopIds", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - issues: { - readOnly: true, - serializedName: "issues", + } + } + } +}; + +export const ResourceSku: msRest.CompositeMapper = { + serializedName: "ResourceSku", + type: { + name: "Composite", + className: "ResourceSku", + modelProperties: { + name: { + serializedName: "name", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ConnectivityIssue" - } - } + name: "String" } } } } }; -export const ConnectivityCheckResponse: msRest.CompositeMapper = { - serializedName: "ConnectivityCheckResponse", +export const ResourceSkuCapacity: msRest.CompositeMapper = { + serializedName: "ResourceSkuCapacity", type: { name: "Composite", - className: "ConnectivityCheckResponse", + className: "ResourceSkuCapacity", modelProperties: { - hops: { + minimum: { readOnly: true, - serializedName: "hops", + serializedName: "minimum", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ConnectivityHop" - } - } + name: "Number" } }, - connectionStatus: { + maximum: { readOnly: true, - serializedName: "connectionStatus", + serializedName: "maximum", type: { - name: "String" + name: "Number" } }, - avgLatencyInMs: { + default: { readOnly: true, - serializedName: "avgLatencyInMs", + serializedName: "default", type: { name: "Number" } }, - minLatencyInMs: { + scaleType: { readOnly: true, - serializedName: "minLatencyInMs", + serializedName: "scaleType", type: { - name: "Number" + name: "String" } - }, - maxLatencyInMs: { + } + } + } +}; + +export const ResourceSkuResult: msRest.CompositeMapper = { + serializedName: "ResourceSkuResult", + type: { + name: "Composite", + className: "ResourceSkuResult", + modelProperties: { + resourceType: { readOnly: true, - serializedName: "maxLatencyInMs", + serializedName: "resourceType", type: { - name: "Number" + name: "String" } }, - probesSent: { + sku: { readOnly: true, - serializedName: "probesSent", + serializedName: "sku", type: { - name: "Number" + name: "Composite", + className: "ResourceSku" } }, - probesFailed: { + capacity: { readOnly: true, - serializedName: "probesFailed", + serializedName: "capacity", type: { - name: "Number" + name: "Composite", + className: "ResourceSkuCapacity" } } } } }; -export const HTTPHeader: msRest.CompositeMapper = { - serializedName: "HTTPHeader", +export const CertificateInformation: msRest.CompositeMapper = { + serializedName: "CertificateInformation", type: { name: "Composite", - className: "HTTPHeader", + className: "CertificateInformation", modelProperties: { - name: { + expiry: { required: true, - serializedName: "name", + serializedName: "expiry", + type: { + name: "DateTime" + } + }, + thumbprint: { + required: true, + serializedName: "thumbprint", type: { name: "String" } }, - value: { + subject: { required: true, - serializedName: "value", + serializedName: "subject", type: { name: "String" } @@ -4294,209 +4311,266 @@ export const HTTPHeader: msRest.CompositeMapper = { } }; -export const ConnectivityCheckRequestSource: msRest.CompositeMapper = { - serializedName: "ConnectivityCheckRequest_source", +export const CertificateConfiguration: msRest.CompositeMapper = { + serializedName: "CertificateConfiguration", type: { name: "Composite", - className: "ConnectivityCheckRequestSource", + className: "CertificateConfiguration", modelProperties: { - region: { + encodedCertificate: { + serializedName: "encodedCertificate", + type: { + name: "String" + } + }, + certificatePassword: { + serializedName: "certificatePassword", + type: { + name: "String" + } + }, + storeName: { required: true, - serializedName: "region", + serializedName: "storeName", type: { name: "String" } }, - instance: { - serializedName: "instance", + certificate: { + serializedName: "certificate", type: { - name: "Number" + name: "Composite", + className: "CertificateInformation" } } } } }; -export const ConnectivityCheckRequestDestination: msRest.CompositeMapper = { - serializedName: "ConnectivityCheckRequest_destination", - type: { +export const HostnameConfiguration: msRest.CompositeMapper = { + serializedName: "HostnameConfiguration", + type: { name: "Composite", - className: "ConnectivityCheckRequestDestination", + className: "HostnameConfiguration", modelProperties: { - address: { + type: { required: true, - serializedName: "address", + serializedName: "type", type: { name: "String" } }, - port: { + hostName: { required: true, - serializedName: "port", + serializedName: "hostName", type: { - name: "Number" + name: "String" + } + }, + keyVaultId: { + serializedName: "keyVaultId", + type: { + name: "String" + } + }, + identityClientId: { + serializedName: "identityClientId", + type: { + name: "String" + } + }, + encodedCertificate: { + serializedName: "encodedCertificate", + type: { + name: "String" + } + }, + certificatePassword: { + serializedName: "certificatePassword", + type: { + name: "String" + } + }, + defaultSslBinding: { + serializedName: "defaultSslBinding", + defaultValue: false, + type: { + name: "Boolean" + } + }, + negotiateClientCertificate: { + serializedName: "negotiateClientCertificate", + defaultValue: false, + type: { + name: "Boolean" + } + }, + certificate: { + serializedName: "certificate", + type: { + name: "Composite", + className: "CertificateInformation" + } + }, + certificateSource: { + serializedName: "certificateSource", + type: { + name: "String" + } + }, + certificateStatus: { + serializedName: "certificateStatus", + type: { + name: "String" } } } } }; -export const ConnectivityCheckRequestProtocolConfigurationHTTPConfiguration: msRest.CompositeMapper = { - serializedName: "ConnectivityCheckRequest_protocolConfiguration_HTTPConfiguration", +export const VirtualNetworkConfiguration: msRest.CompositeMapper = { + serializedName: "VirtualNetworkConfiguration", type: { name: "Composite", - className: "ConnectivityCheckRequestProtocolConfigurationHTTPConfiguration", + className: "VirtualNetworkConfiguration", modelProperties: { - method: { - serializedName: "method", + vnetid: { + readOnly: true, + serializedName: "vnetid", type: { name: "String" } }, - validStatusCodes: { - serializedName: "validStatusCodes", + subnetname: { + readOnly: true, + serializedName: "subnetname", type: { - name: "Sequence", - element: { - type: { - name: "Number" - } - } + name: "String" } }, - headers: { - serializedName: "headers", + subnetResourceId: { + serializedName: "subnetResourceId", + constraints: { + Pattern: /^\/subscriptions\/[^\/]*\/resourceGroups\/[^\/]*\/providers\/Microsoft.(ClassicNetwork|Network)\/virtualNetworks\/[^\/]*\/subnets\/[^\/]*$/ + }, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HTTPHeader" - } - } + name: "String" } } } } }; -export const ConnectivityCheckRequestProtocolConfiguration: msRest.CompositeMapper = { - serializedName: "ConnectivityCheckRequest_protocolConfiguration", +export const ApiManagementServiceSkuProperties: msRest.CompositeMapper = { + serializedName: "ApiManagementServiceSkuProperties", type: { name: "Composite", - className: "ConnectivityCheckRequestProtocolConfiguration", + className: "ApiManagementServiceSkuProperties", modelProperties: { - hTTPConfiguration: { - serializedName: "HTTPConfiguration", + name: { + required: true, + serializedName: "name", type: { - name: "Composite", - className: "ConnectivityCheckRequestProtocolConfigurationHTTPConfiguration" + name: "String" + } + }, + capacity: { + required: true, + serializedName: "capacity", + type: { + name: "Number" } } } } }; -export const ConnectivityCheckRequest: msRest.CompositeMapper = { - serializedName: "ConnectivityCheckRequest", +export const AdditionalLocation: msRest.CompositeMapper = { + serializedName: "AdditionalLocation", type: { name: "Composite", - className: "ConnectivityCheckRequest", + className: "AdditionalLocation", modelProperties: { - source: { + location: { required: true, - serializedName: "source", + serializedName: "location", type: { - name: "Composite", - className: "ConnectivityCheckRequestSource" + name: "String" } }, - destination: { + sku: { required: true, - serializedName: "destination", + serializedName: "sku", type: { name: "Composite", - className: "ConnectivityCheckRequestDestination" + className: "ApiManagementServiceSkuProperties" } }, - preferredIPVersion: { - serializedName: "preferredIPVersion", + zones: { + serializedName: "zones", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - protocol: { - serializedName: "protocol", + publicIPAddresses: { + readOnly: true, + serializedName: "publicIPAddresses", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - protocolConfiguration: { - serializedName: "protocolConfiguration", - type: { - name: "Composite", - className: "ConnectivityCheckRequestProtocolConfiguration" - } - } - } - } -}; - -export const ContentItemContract: msRest.CompositeMapper = { - serializedName: "ContentItemContract", - type: { - name: "Composite", - className: "ContentItemContract", - modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + privateIPAddresses: { + readOnly: true, + serializedName: "privateIPAddresses", type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { - name: "Object" + name: "String" } } } - } - } - } -}; - -export const ContentTypeContract: msRest.CompositeMapper = { - serializedName: "ContentTypeContract", - type: { - name: "Composite", - className: "ContentTypeContract", - modelProperties: { - ...Resource.type.modelProperties, - contentTypeContractId: { - serializedName: "properties.id", + }, + publicIpAddressId: { + serializedName: "publicIpAddressId", type: { name: "String" } }, - contentTypeContractName: { - serializedName: "properties.name", + virtualNetworkConfiguration: { + serializedName: "virtualNetworkConfiguration", type: { - name: "String" + name: "Composite", + className: "VirtualNetworkConfiguration" } }, - description: { - serializedName: "properties.description", + gatewayRegionalUrl: { + readOnly: true, + serializedName: "gatewayRegionalUrl", type: { name: "String" } }, - schema: { - serializedName: "properties.schema", + disableGateway: { + serializedName: "disableGateway", + defaultValue: false, type: { - name: "Object" + name: "Boolean" } }, - version: { - serializedName: "properties.version", + platformVersion: { + readOnly: true, + serializedName: "platformVersion", type: { name: "String" } @@ -4505,34 +4579,48 @@ export const ContentTypeContract: msRest.CompositeMapper = { } }; -export const DeletedServiceContract: msRest.CompositeMapper = { - serializedName: "DeletedServiceContract", +export const ApiManagementServiceBackupRestoreParameters: msRest.CompositeMapper = { + serializedName: "ApiManagementServiceBackupRestoreParameters", type: { name: "Composite", - className: "DeletedServiceContract", + className: "ApiManagementServiceBackupRestoreParameters", modelProperties: { - ...Resource.type.modelProperties, - serviceId: { - serializedName: "properties.serviceId", + storageAccount: { + required: true, + serializedName: "storageAccount", type: { name: "String" } }, - scheduledPurgeDate: { - serializedName: "properties.scheduledPurgeDate", + containerName: { + required: true, + serializedName: "containerName", type: { - name: "DateTime" + name: "String" } }, - deletionDate: { - serializedName: "properties.deletionDate", + backupName: { + required: true, + serializedName: "backupName", type: { - name: "DateTime" + name: "String" } }, - location: { - readOnly: true, - serializedName: "location", + accessType: { + serializedName: "accessType", + defaultValue: 'AccessKey', + type: { + name: "String" + } + }, + accessKey: { + serializedName: "accessKey", + type: { + name: "String" + } + }, + clientId: { + serializedName: "clientId", type: { name: "String" } @@ -4541,14 +4629,14 @@ export const DeletedServiceContract: msRest.CompositeMapper = { } }; -export const ResourceSku: msRest.CompositeMapper = { - serializedName: "ResourceSku", +export const ApiVersionConstraint: msRest.CompositeMapper = { + serializedName: "ApiVersionConstraint", type: { name: "Composite", - className: "ResourceSku", + className: "ApiVersionConstraint", modelProperties: { - name: { - serializedName: "name", + minApiVersion: { + serializedName: "minApiVersion", type: { name: "String" } @@ -4557,36 +4645,15 @@ export const ResourceSku: msRest.CompositeMapper = { } }; -export const ResourceSkuCapacity: msRest.CompositeMapper = { - serializedName: "ResourceSkuCapacity", +export const ArmIdWrapper: msRest.CompositeMapper = { + serializedName: "ArmIdWrapper", type: { name: "Composite", - className: "ResourceSkuCapacity", + className: "ArmIdWrapper", modelProperties: { - minimum: { - readOnly: true, - serializedName: "minimum", - type: { - name: "Number" - } - }, - maximum: { - readOnly: true, - serializedName: "maximum", - type: { - name: "Number" - } - }, - default: { - readOnly: true, - serializedName: "default", - type: { - name: "Number" - } - }, - scaleType: { + id: { readOnly: true, - serializedName: "scaleType", + serializedName: "id", type: { name: "String" } @@ -4595,327 +4662,311 @@ export const ResourceSkuCapacity: msRest.CompositeMapper = { } }; -export const ResourceSkuResult: msRest.CompositeMapper = { - serializedName: "ResourceSkuResult", +export const PrivateLinkServiceConnectionState: msRest.CompositeMapper = { + serializedName: "PrivateLinkServiceConnectionState", type: { name: "Composite", - className: "ResourceSkuResult", + className: "PrivateLinkServiceConnectionState", modelProperties: { - resourceType: { - readOnly: true, - serializedName: "resourceType", + status: { + serializedName: "status", type: { name: "String" } }, - sku: { - readOnly: true, - serializedName: "sku", + description: { + serializedName: "description", type: { - name: "Composite", - className: "ResourceSku" + name: "String" } }, - capacity: { - readOnly: true, - serializedName: "capacity", + actionsRequired: { + serializedName: "actionsRequired", type: { - name: "Composite", - className: "ResourceSkuCapacity" + name: "String" } } } } }; -export const CertificateInformation: msRest.CompositeMapper = { - serializedName: "CertificateInformation", +export const RemotePrivateEndpointConnectionWrapper: msRest.CompositeMapper = { + serializedName: "RemotePrivateEndpointConnectionWrapper", type: { name: "Composite", - className: "CertificateInformation", + className: "RemotePrivateEndpointConnectionWrapper", modelProperties: { - expiry: { - required: true, - serializedName: "expiry", + id: { + serializedName: "id", type: { - name: "DateTime" + name: "String" } }, - thumbprint: { - required: true, - serializedName: "thumbprint", + name: { + serializedName: "name", type: { name: "String" } }, - subject: { - required: true, - serializedName: "subject", + type: { + serializedName: "type", type: { name: "String" } - } - } - } -}; - -export const CertificateConfiguration: msRest.CompositeMapper = { - serializedName: "CertificateConfiguration", - type: { - name: "Composite", - className: "CertificateConfiguration", - modelProperties: { - encodedCertificate: { - serializedName: "encodedCertificate", + }, + privateEndpoint: { + serializedName: "properties.privateEndpoint", type: { - name: "String" + name: "Composite", + className: "ArmIdWrapper" } }, - certificatePassword: { - serializedName: "certificatePassword", + privateLinkServiceConnectionState: { + required: true, + serializedName: "properties.privateLinkServiceConnectionState", type: { - name: "String" + name: "Composite", + className: "PrivateLinkServiceConnectionState" } }, - storeName: { - required: true, - serializedName: "storeName", + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", type: { name: "String" } }, - certificate: { - serializedName: "certificate", + groupIds: { + readOnly: true, + serializedName: "properties.groupIds", type: { - name: "Composite", - className: "CertificateInformation" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const HostnameConfiguration: msRest.CompositeMapper = { - serializedName: "HostnameConfiguration", +export const ApiManagementServiceBaseProperties: msRest.CompositeMapper = { + serializedName: "ApiManagementServiceBaseProperties", type: { name: "Composite", - className: "HostnameConfiguration", + className: "ApiManagementServiceBaseProperties", modelProperties: { - type: { - required: true, - serializedName: "type", + notificationSenderEmail: { + serializedName: "notificationSenderEmail", + constraints: { + MaxLength: 100 + }, type: { name: "String" } }, - hostName: { - required: true, - serializedName: "hostName", + provisioningState: { + readOnly: true, + serializedName: "provisioningState", type: { name: "String" } }, - keyVaultId: { - serializedName: "keyVaultId", + targetProvisioningState: { + readOnly: true, + serializedName: "targetProvisioningState", type: { name: "String" } }, - identityClientId: { - serializedName: "identityClientId", + createdAtUtc: { + readOnly: true, + serializedName: "createdAtUtc", type: { - name: "String" + name: "DateTime" } }, - encodedCertificate: { - serializedName: "encodedCertificate", + gatewayUrl: { + readOnly: true, + serializedName: "gatewayUrl", type: { name: "String" } }, - certificatePassword: { - serializedName: "certificatePassword", + gatewayRegionalUrl: { + readOnly: true, + serializedName: "gatewayRegionalUrl", type: { name: "String" } }, - defaultSslBinding: { - serializedName: "defaultSslBinding", - defaultValue: false, + portalUrl: { + readOnly: true, + serializedName: "portalUrl", type: { - name: "Boolean" + name: "String" } }, - negotiateClientCertificate: { - serializedName: "negotiateClientCertificate", - defaultValue: false, + managementApiUrl: { + readOnly: true, + serializedName: "managementApiUrl", type: { - name: "Boolean" + name: "String" } }, - certificate: { - serializedName: "certificate", + scmUrl: { + readOnly: true, + serializedName: "scmUrl", type: { - name: "Composite", - className: "CertificateInformation" + name: "String" } }, - certificateSource: { - serializedName: "certificateSource", + developerPortalUrl: { + readOnly: true, + serializedName: "developerPortalUrl", type: { name: "String" } }, - certificateStatus: { - serializedName: "certificateStatus", + hostnameConfigurations: { + serializedName: "hostnameConfigurations", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HostnameConfiguration" + } + } } - } - } - } -}; - -export const VirtualNetworkConfiguration: msRest.CompositeMapper = { - serializedName: "VirtualNetworkConfiguration", - type: { - name: "Composite", - className: "VirtualNetworkConfiguration", - modelProperties: { - vnetid: { + }, + publicIPAddresses: { readOnly: true, - serializedName: "vnetid", + serializedName: "publicIPAddresses", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - subnetname: { + privateIPAddresses: { readOnly: true, - serializedName: "subnetname", + serializedName: "privateIPAddresses", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - subnetResourceId: { - serializedName: "subnetResourceId", - constraints: { - Pattern: /^\/subscriptions\/[^\/]*\/resourceGroups\/[^\/]*\/providers\/Microsoft.(ClassicNetwork|Network)\/virtualNetworks\/[^\/]*\/subnets\/[^\/]*$/ - }, - type: { - name: "String" - } - } - } - } -}; - -export const ApiManagementServiceSkuProperties: msRest.CompositeMapper = { - serializedName: "ApiManagementServiceSkuProperties", - type: { - name: "Composite", - className: "ApiManagementServiceSkuProperties", - modelProperties: { - name: { - required: true, - serializedName: "name", + publicIpAddressId: { + serializedName: "publicIpAddressId", type: { name: "String" } }, - capacity: { - required: true, - serializedName: "capacity", - type: { - name: "Number" - } - } - } - } -}; - -export const AdditionalLocation: msRest.CompositeMapper = { - serializedName: "AdditionalLocation", - type: { - name: "Composite", - className: "AdditionalLocation", - modelProperties: { - location: { - required: true, - serializedName: "location", + publicNetworkAccess: { + serializedName: "publicNetworkAccess", type: { name: "String" } }, - sku: { - required: true, - serializedName: "sku", + virtualNetworkConfiguration: { + serializedName: "virtualNetworkConfiguration", type: { name: "Composite", - className: "ApiManagementServiceSkuProperties" + className: "VirtualNetworkConfiguration" } }, - zones: { - serializedName: "zones", + additionalLocations: { + serializedName: "additionalLocations", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "AdditionalLocation" } } } }, - publicIPAddresses: { - readOnly: true, - serializedName: "publicIPAddresses", + customProperties: { + serializedName: "customProperties", type: { - name: "Sequence", - element: { + name: "Dictionary", + value: { type: { name: "String" } } } }, - privateIPAddresses: { - readOnly: true, - serializedName: "privateIPAddresses", + certificates: { + serializedName: "certificates", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "CertificateConfiguration" } } } }, - publicIpAddressId: { - serializedName: "publicIpAddressId", + enableClientCertificate: { + serializedName: "enableClientCertificate", + defaultValue: false, type: { - name: "String" + name: "Boolean" } }, - virtualNetworkConfiguration: { - serializedName: "virtualNetworkConfiguration", + disableGateway: { + serializedName: "disableGateway", + defaultValue: false, type: { - name: "Composite", - className: "VirtualNetworkConfiguration" + name: "Boolean" } }, - gatewayRegionalUrl: { - readOnly: true, - serializedName: "gatewayRegionalUrl", + virtualNetworkType: { + serializedName: "virtualNetworkType", + defaultValue: 'None', type: { name: "String" } }, - disableGateway: { - serializedName: "disableGateway", + apiVersionConstraint: { + serializedName: "apiVersionConstraint", + type: { + name: "Composite", + className: "ApiVersionConstraint" + } + }, + restore: { + serializedName: "restore", defaultValue: false, type: { name: "Boolean" } }, + privateEndpointConnections: { + serializedName: "privateEndpointConnections", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RemotePrivateEndpointConnectionWrapper" + } + } + } + }, platformVersion: { readOnly: true, serializedName: "platformVersion", @@ -4927,77 +4978,122 @@ export const AdditionalLocation: msRest.CompositeMapper = { } }; -export const ApiManagementServiceBackupRestoreParameters: msRest.CompositeMapper = { - serializedName: "ApiManagementServiceBackupRestoreParameters", +export const UserIdentityProperties: msRest.CompositeMapper = { + serializedName: "UserIdentityProperties", type: { name: "Composite", - className: "ApiManagementServiceBackupRestoreParameters", + className: "UserIdentityProperties", modelProperties: { - storageAccount: { - required: true, - serializedName: "storageAccount", + principalId: { + serializedName: "principalId", type: { name: "String" } }, - containerName: { - required: true, - serializedName: "containerName", + clientId: { + serializedName: "clientId", type: { name: "String" } - }, - backupName: { + } + } + } +}; + +export const ApiManagementServiceIdentity: msRest.CompositeMapper = { + serializedName: "ApiManagementServiceIdentity", + type: { + name: "Composite", + className: "ApiManagementServiceIdentity", + modelProperties: { + type: { required: true, - serializedName: "backupName", + serializedName: "type", type: { name: "String" } }, - accessType: { - serializedName: "accessType", - defaultValue: 'AccessKey', + principalId: { + readOnly: true, + serializedName: "principalId", type: { - name: "String" + name: "Uuid" } }, - accessKey: { - serializedName: "accessKey", + tenantId: { + readOnly: true, + serializedName: "tenantId", type: { - name: "String" + name: "Uuid" } }, - clientId: { - serializedName: "clientId", + userAssignedIdentities: { + serializedName: "userAssignedIdentities", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "UserIdentityProperties" + } + } } } } } }; -export const ApiVersionConstraint: msRest.CompositeMapper = { - serializedName: "ApiVersionConstraint", +export const SystemData: msRest.CompositeMapper = { + serializedName: "systemData", type: { name: "Composite", - className: "ApiVersionConstraint", + className: "SystemData", modelProperties: { - minApiVersion: { - serializedName: "minApiVersion", + 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 ArmIdWrapper: msRest.CompositeMapper = { - serializedName: "ArmIdWrapper", +export const ApimResource: msRest.CompositeMapper = { + serializedName: "ApimResource", type: { name: "Composite", - className: "ArmIdWrapper", + className: "ApimResource", modelProperties: { id: { readOnly: true, @@ -5005,91 +5101,26 @@ export const ArmIdWrapper: msRest.CompositeMapper = { 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: { + readOnly: true, 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", + serializedName: "type", type: { name: "String" } }, - groupIds: { - readOnly: true, - serializedName: "properties.groupIds", + tags: { + serializedName: "tags", type: { - name: "Sequence", - element: { + name: "Dictionary", + value: { type: { name: "String" } @@ -5100,14 +5131,15 @@ export const RemotePrivateEndpointConnectionWrapper: msRest.CompositeMapper = { } }; -export const ApiManagementServiceBaseProperties: msRest.CompositeMapper = { - serializedName: "ApiManagementServiceBaseProperties", +export const ApiManagementServiceResource: msRest.CompositeMapper = { + serializedName: "ApiManagementServiceResource", type: { name: "Composite", - className: "ApiManagementServiceBaseProperties", + className: "ApiManagementServiceResource", modelProperties: { + ...ApimResource.type.modelProperties, notificationSenderEmail: { - serializedName: "notificationSenderEmail", + serializedName: "properties.notificationSenderEmail", constraints: { MaxLength: 100 }, @@ -5117,69 +5149,69 @@ export const ApiManagementServiceBaseProperties: msRest.CompositeMapper = { }, provisioningState: { readOnly: true, - serializedName: "provisioningState", + serializedName: "properties.provisioningState", type: { name: "String" } }, targetProvisioningState: { readOnly: true, - serializedName: "targetProvisioningState", + serializedName: "properties.targetProvisioningState", type: { name: "String" } }, createdAtUtc: { readOnly: true, - serializedName: "createdAtUtc", + serializedName: "properties.createdAtUtc", type: { name: "DateTime" } }, gatewayUrl: { readOnly: true, - serializedName: "gatewayUrl", + serializedName: "properties.gatewayUrl", type: { name: "String" } }, gatewayRegionalUrl: { readOnly: true, - serializedName: "gatewayRegionalUrl", + serializedName: "properties.gatewayRegionalUrl", type: { name: "String" } }, portalUrl: { readOnly: true, - serializedName: "portalUrl", + serializedName: "properties.portalUrl", type: { name: "String" } }, managementApiUrl: { readOnly: true, - serializedName: "managementApiUrl", + serializedName: "properties.managementApiUrl", type: { name: "String" } }, scmUrl: { readOnly: true, - serializedName: "scmUrl", + serializedName: "properties.scmUrl", type: { name: "String" } }, developerPortalUrl: { readOnly: true, - serializedName: "developerPortalUrl", + serializedName: "properties.developerPortalUrl", type: { name: "String" } }, hostnameConfigurations: { - serializedName: "hostnameConfigurations", + serializedName: "properties.hostnameConfigurations", type: { name: "Sequence", element: { @@ -5192,7 +5224,7 @@ export const ApiManagementServiceBaseProperties: msRest.CompositeMapper = { }, publicIPAddresses: { readOnly: true, - serializedName: "publicIPAddresses", + serializedName: "properties.publicIPAddresses", type: { name: "Sequence", element: { @@ -5204,7 +5236,7 @@ export const ApiManagementServiceBaseProperties: msRest.CompositeMapper = { }, privateIPAddresses: { readOnly: true, - serializedName: "privateIPAddresses", + serializedName: "properties.privateIPAddresses", type: { name: "Sequence", element: { @@ -5215,26 +5247,26 @@ export const ApiManagementServiceBaseProperties: msRest.CompositeMapper = { } }, publicIpAddressId: { - serializedName: "publicIpAddressId", + serializedName: "properties.publicIpAddressId", type: { name: "String" } }, publicNetworkAccess: { - serializedName: "publicNetworkAccess", + serializedName: "properties.publicNetworkAccess", type: { name: "String" } }, virtualNetworkConfiguration: { - serializedName: "virtualNetworkConfiguration", + serializedName: "properties.virtualNetworkConfiguration", type: { name: "Composite", className: "VirtualNetworkConfiguration" } }, additionalLocations: { - serializedName: "additionalLocations", + serializedName: "properties.additionalLocations", type: { name: "Sequence", element: { @@ -5246,7 +5278,7 @@ export const ApiManagementServiceBaseProperties: msRest.CompositeMapper = { } }, customProperties: { - serializedName: "customProperties", + serializedName: "properties.customProperties", type: { name: "Dictionary", value: { @@ -5257,7 +5289,7 @@ export const ApiManagementServiceBaseProperties: msRest.CompositeMapper = { } }, certificates: { - serializedName: "certificates", + serializedName: "properties.certificates", type: { name: "Sequence", element: { @@ -5269,42 +5301,42 @@ export const ApiManagementServiceBaseProperties: msRest.CompositeMapper = { } }, enableClientCertificate: { - serializedName: "enableClientCertificate", + serializedName: "properties.enableClientCertificate", defaultValue: false, type: { name: "Boolean" } }, disableGateway: { - serializedName: "disableGateway", + serializedName: "properties.disableGateway", defaultValue: false, type: { name: "Boolean" } }, virtualNetworkType: { - serializedName: "virtualNetworkType", + serializedName: "properties.virtualNetworkType", defaultValue: 'None', type: { name: "String" } }, apiVersionConstraint: { - serializedName: "apiVersionConstraint", + serializedName: "properties.apiVersionConstraint", type: { name: "Composite", className: "ApiVersionConstraint" } }, restore: { - serializedName: "restore", + serializedName: "properties.restore", defaultValue: false, type: { name: "Boolean" } }, privateEndpointConnections: { - serializedName: "privateEndpointConnections", + serializedName: "properties.privateEndpointConnections", type: { name: "Sequence", element: { @@ -5317,72 +5349,75 @@ export const ApiManagementServiceBaseProperties: msRest.CompositeMapper = { }, platformVersion: { readOnly: true, - serializedName: "platformVersion", + serializedName: "properties.platformVersion", type: { name: "String" } - } - } - } -}; - -export const UserIdentityProperties: msRest.CompositeMapper = { - serializedName: "UserIdentityProperties", - type: { - name: "Composite", - className: "UserIdentityProperties", - modelProperties: { - principalId: { - serializedName: "principalId", + }, + publisherEmail: { + required: true, + serializedName: "properties.publisherEmail", + constraints: { + MaxLength: 100 + }, type: { name: "String" } }, - clientId: { - serializedName: "clientId", + publisherName: { + required: true, + serializedName: "properties.publisherName", + constraints: { + MaxLength: 100 + }, type: { name: "String" } - } - } - } -}; - -export const ApiManagementServiceIdentity: msRest.CompositeMapper = { - serializedName: "ApiManagementServiceIdentity", - type: { - name: "Composite", - className: "ApiManagementServiceIdentity", - modelProperties: { - type: { + }, + sku: { required: true, - serializedName: "type", + serializedName: "sku", type: { - name: "String" + name: "Composite", + className: "ApiManagementServiceSkuProperties" } }, - principalId: { + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ApiManagementServiceIdentity" + } + }, + systemData: { readOnly: true, - serializedName: "principalId", + serializedName: "systemData", type: { - name: "Uuid" + name: "Composite", + className: "SystemData" } }, - tenantId: { + location: { + required: true, + serializedName: "location", + type: { + name: "String" + } + }, + etag: { readOnly: true, - serializedName: "tenantId", + serializedName: "etag", type: { - name: "Uuid" + name: "String" } }, - userAssignedIdentities: { - serializedName: "userAssignedIdentities", + zones: { + serializedName: "zones", type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { - name: "Composite", - className: "UserIdentityProperties" + name: "String" } } } @@ -5391,134 +5426,46 @@ export const ApiManagementServiceIdentity: msRest.CompositeMapper = { } }; -export const SystemData: msRest.CompositeMapper = { - serializedName: "systemData", +export const ApiManagementServiceUpdateParameters: msRest.CompositeMapper = { + serializedName: "ApiManagementServiceUpdateParameters", type: { name: "Composite", - className: "SystemData", + className: "ApiManagementServiceUpdateParameters", modelProperties: { - createdBy: { - serializedName: "createdBy", + ...ApimResource.type.modelProperties, + notificationSenderEmail: { + serializedName: "properties.notificationSenderEmail", + constraints: { + MaxLength: 100 + }, type: { name: "String" } }, - createdByType: { - serializedName: "createdByType", + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", type: { name: "String" } }, - createdAt: { - serializedName: "createdAt", + targetProvisioningState: { + readOnly: true, + serializedName: "properties.targetProvisioningState", + type: { + name: "String" + } + }, + createdAtUtc: { + readOnly: true, + serializedName: "properties.createdAtUtc", 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: { - name: "Composite", - className: "ApimResource", - 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" - } - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const ApiManagementServiceResource: msRest.CompositeMapper = { - serializedName: "ApiManagementServiceResource", - type: { - name: "Composite", - className: "ApiManagementServiceResource", - modelProperties: { - ...ApimResource.type.modelProperties, - notificationSenderEmail: { - serializedName: "properties.notificationSenderEmail", - constraints: { - MaxLength: 100 - }, - type: { - name: "String" - } - }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", - type: { - name: "String" - } - }, - targetProvisioningState: { - readOnly: true, - serializedName: "properties.targetProvisioningState", - type: { - name: "String" - } - }, - createdAtUtc: { - readOnly: true, - serializedName: "properties.createdAtUtc", - type: { - name: "DateTime" - } - }, - gatewayUrl: { - readOnly: true, - serializedName: "properties.gatewayUrl", + gatewayUrl: { + readOnly: true, + serializedName: "properties.gatewayUrl", type: { name: "String" } @@ -5703,7 +5650,6 @@ export const ApiManagementServiceResource: msRest.CompositeMapper = { } }, publisherEmail: { - required: true, serializedName: "properties.publisherEmail", constraints: { MaxLength: 100 @@ -5713,7 +5659,6 @@ export const ApiManagementServiceResource: msRest.CompositeMapper = { } }, publisherName: { - required: true, serializedName: "properties.publisherName", constraints: { MaxLength: 100 @@ -5723,7 +5668,6 @@ export const ApiManagementServiceResource: msRest.CompositeMapper = { } }, sku: { - required: true, serializedName: "sku", type: { name: "Composite", @@ -5737,21 +5681,6 @@ export const ApiManagementServiceResource: msRest.CompositeMapper = { className: "ApiManagementServiceIdentity" } }, - systemData: { - readOnly: true, - serializedName: "systemData", - type: { - name: "Composite", - className: "SystemData" - } - }, - location: { - required: true, - serializedName: "location", - type: { - name: "String" - } - }, etag: { readOnly: true, serializedName: "etag", @@ -5774,275 +5703,326 @@ export const ApiManagementServiceResource: msRest.CompositeMapper = { } }; -export const ApiManagementServiceUpdateParameters: msRest.CompositeMapper = { - serializedName: "ApiManagementServiceUpdateParameters", +export const ApiManagementServiceGetSsoTokenResult: msRest.CompositeMapper = { + serializedName: "ApiManagementServiceGetSsoTokenResult", type: { name: "Composite", - className: "ApiManagementServiceUpdateParameters", + className: "ApiManagementServiceGetSsoTokenResult", modelProperties: { - ...ApimResource.type.modelProperties, - notificationSenderEmail: { - serializedName: "properties.notificationSenderEmail", - constraints: { - MaxLength: 100 - }, + redirectUri: { + serializedName: "redirectUri", type: { name: "String" } - }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", + } + } + } +}; + +export const ApiManagementServiceCheckNameAvailabilityParameters: msRest.CompositeMapper = { + serializedName: "ApiManagementServiceCheckNameAvailabilityParameters", + type: { + name: "Composite", + className: "ApiManagementServiceCheckNameAvailabilityParameters", + modelProperties: { + name: { + required: true, + serializedName: "name", type: { name: "String" } - }, - targetProvisioningState: { + } + } + } +}; + +export const ApiManagementServiceNameAvailabilityResult: msRest.CompositeMapper = { + serializedName: "ApiManagementServiceNameAvailabilityResult", + type: { + name: "Composite", + className: "ApiManagementServiceNameAvailabilityResult", + modelProperties: { + nameAvailable: { readOnly: true, - serializedName: "properties.targetProvisioningState", + serializedName: "nameAvailable", type: { - name: "String" + name: "Boolean" } }, - createdAtUtc: { + message: { readOnly: true, - serializedName: "properties.createdAtUtc", + serializedName: "message", type: { - name: "DateTime" + name: "String" } }, - gatewayUrl: { - readOnly: true, - serializedName: "properties.gatewayUrl", + reason: { + serializedName: "reason", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Valid", + "Invalid", + "AlreadyExists" + ] } - }, - gatewayRegionalUrl: { + } + } + } +}; + +export const ApiManagementServiceGetDomainOwnershipIdentifierResult: msRest.CompositeMapper = { + serializedName: "ApiManagementServiceGetDomainOwnershipIdentifierResult", + type: { + name: "Composite", + className: "ApiManagementServiceGetDomainOwnershipIdentifierResult", + modelProperties: { + domainOwnershipIdentifier: { readOnly: true, - serializedName: "properties.gatewayRegionalUrl", + serializedName: "domainOwnershipIdentifier", type: { name: "String" } - }, - portalUrl: { - readOnly: true, - serializedName: "properties.portalUrl", + } + } + } +}; + +export const ApiManagementServiceApplyNetworkConfigurationParameters: msRest.CompositeMapper = { + serializedName: "ApiManagementServiceApplyNetworkConfigurationParameters", + type: { + name: "Composite", + className: "ApiManagementServiceApplyNetworkConfigurationParameters", + modelProperties: { + location: { + serializedName: "location", type: { name: "String" } - }, - managementApiUrl: { - readOnly: true, - serializedName: "properties.managementApiUrl", + } + } + } +}; + +export const OperationDisplay: msRest.CompositeMapper = { + serializedName: "Operation_display", + type: { + name: "Composite", + className: "OperationDisplay", + modelProperties: { + provider: { + serializedName: "provider", type: { name: "String" } }, - scmUrl: { - readOnly: true, - serializedName: "properties.scmUrl", + operation: { + serializedName: "operation", type: { name: "String" } }, - developerPortalUrl: { - readOnly: true, - serializedName: "properties.developerPortalUrl", + resource: { + serializedName: "resource", type: { name: "String" } }, - hostnameConfigurations: { - serializedName: "properties.hostnameConfigurations", + description: { + serializedName: "description", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HostnameConfiguration" - } - } - } - }, - publicIPAddresses: { - readOnly: true, - serializedName: "properties.publicIPAddresses", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } - }, - privateIPAddresses: { - readOnly: true, - serializedName: "properties.privateIPAddresses", + } + } + } +}; + +export const Operation: msRest.CompositeMapper = { + serializedName: "Operation", + type: { + name: "Composite", + className: "Operation", + modelProperties: { + name: { + serializedName: "name", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - publicIpAddressId: { - serializedName: "properties.publicIpAddressId", + display: { + serializedName: "display", type: { - name: "String" + name: "Composite", + className: "OperationDisplay" } }, - publicNetworkAccess: { - serializedName: "properties.publicNetworkAccess", + origin: { + serializedName: "origin", type: { name: "String" } }, - virtualNetworkConfiguration: { - serializedName: "properties.virtualNetworkConfiguration", + properties: { + serializedName: "properties", type: { - name: "Composite", - className: "VirtualNetworkConfiguration" + name: "Object" } - }, - additionalLocations: { - serializedName: "properties.additionalLocations", + } + } + } +}; + +export const EmailTemplateParametersContractProperties: msRest.CompositeMapper = { + serializedName: "EmailTemplateParametersContractProperties", + type: { + name: "Composite", + className: "EmailTemplateParametersContractProperties", + modelProperties: { + name: { + serializedName: "name", + constraints: { + MaxLength: 256, + MinLength: 1, + Pattern: /^[A-Za-z0-9-._]+$/ + }, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalLocation" - } - } + name: "String" } }, - customProperties: { - serializedName: "properties.customProperties", + title: { + serializedName: "title", + constraints: { + MaxLength: 4096, + MinLength: 1 + }, type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "String" } }, - certificates: { - serializedName: "properties.certificates", + description: { + serializedName: "description", + constraints: { + MaxLength: 256, + MinLength: 1, + Pattern: /^[A-Za-z0-9-._]+$/ + }, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CertificateConfiguration" - } - } + name: "String" } - }, - enableClientCertificate: { - serializedName: "properties.enableClientCertificate", - defaultValue: false, + } + } + } +}; + +export const EmailTemplateContract: msRest.CompositeMapper = { + serializedName: "EmailTemplateContract", + type: { + name: "Composite", + className: "EmailTemplateContract", + modelProperties: { + ...Resource.type.modelProperties, + subject: { + required: true, + serializedName: "properties.subject", + constraints: { + MaxLength: 1000, + MinLength: 1 + }, type: { - name: "Boolean" + name: "String" } }, - disableGateway: { - serializedName: "properties.disableGateway", - defaultValue: false, + body: { + required: true, + serializedName: "properties.body", + constraints: { + MinLength: 1 + }, type: { - name: "Boolean" + name: "String" } }, - virtualNetworkType: { - serializedName: "properties.virtualNetworkType", - defaultValue: 'None', + title: { + serializedName: "properties.title", type: { name: "String" } }, - apiVersionConstraint: { - serializedName: "properties.apiVersionConstraint", + description: { + serializedName: "properties.description", type: { - name: "Composite", - className: "ApiVersionConstraint" + name: "String" } }, - restore: { - serializedName: "properties.restore", - defaultValue: false, + isDefault: { + readOnly: true, + serializedName: "properties.isDefault", type: { name: "Boolean" } }, - privateEndpointConnections: { - serializedName: "properties.privateEndpointConnections", + parameters: { + serializedName: "properties.parameters", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RemotePrivateEndpointConnectionWrapper" + className: "EmailTemplateParametersContractProperties" } } } - }, - platformVersion: { - readOnly: true, - serializedName: "properties.platformVersion", - type: { - name: "String" - } - }, - publisherEmail: { - serializedName: "properties.publisherEmail", + } + } + } +}; + +export const EmailTemplateUpdateParameters: msRest.CompositeMapper = { + serializedName: "EmailTemplateUpdateParameters", + type: { + name: "Composite", + className: "EmailTemplateUpdateParameters", + modelProperties: { + subject: { + serializedName: "properties.subject", constraints: { - MaxLength: 100 + MaxLength: 1000, + MinLength: 1 }, type: { name: "String" } }, - publisherName: { - serializedName: "properties.publisherName", - constraints: { - MaxLength: 100 - }, + title: { + serializedName: "properties.title", type: { name: "String" } }, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "ApiManagementServiceSkuProperties" - } - }, - identity: { - serializedName: "identity", + description: { + serializedName: "properties.description", type: { - name: "Composite", - className: "ApiManagementServiceIdentity" + name: "String" } }, - etag: { - readOnly: true, - serializedName: "etag", + body: { + serializedName: "properties.body", + constraints: { + MinLength: 1 + }, type: { name: "String" } }, - zones: { - serializedName: "zones", + parameters: { + serializedName: "properties.parameters", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "EmailTemplateParametersContractProperties" } } } @@ -6051,83 +6031,98 @@ export const ApiManagementServiceUpdateParameters: msRest.CompositeMapper = { } }; -export const ApiManagementServiceGetSsoTokenResult: msRest.CompositeMapper = { - serializedName: "ApiManagementServiceGetSsoTokenResult", +export const GatewayCertificateAuthorityContract: msRest.CompositeMapper = { + serializedName: "GatewayCertificateAuthorityContract", type: { name: "Composite", - className: "ApiManagementServiceGetSsoTokenResult", + className: "GatewayCertificateAuthorityContract", modelProperties: { - redirectUri: { - serializedName: "redirectUri", + ...Resource.type.modelProperties, + isTrusted: { + serializedName: "properties.isTrusted", type: { - name: "String" + name: "Boolean" } } } } }; -export const ApiManagementServiceCheckNameAvailabilityParameters: msRest.CompositeMapper = { - serializedName: "ApiManagementServiceCheckNameAvailabilityParameters", +export const AssociationContract: msRest.CompositeMapper = { + serializedName: "AssociationContract", type: { name: "Composite", - className: "ApiManagementServiceCheckNameAvailabilityParameters", + className: "AssociationContract", modelProperties: { - name: { - required: true, - serializedName: "name", + ...Resource.type.modelProperties, + provisioningState: { + serializedName: "properties.provisioningState", type: { - name: "String" + name: "Enum", + allowedValues: [ + "created" + ] } } } } }; -export const ApiManagementServiceNameAvailabilityResult: msRest.CompositeMapper = { - serializedName: "ApiManagementServiceNameAvailabilityResult", +export const GatewayHostnameConfigurationContract: msRest.CompositeMapper = { + serializedName: "GatewayHostnameConfigurationContract", type: { name: "Composite", - className: "ApiManagementServiceNameAvailabilityResult", + className: "GatewayHostnameConfigurationContract", modelProperties: { - nameAvailable: { - readOnly: true, - serializedName: "nameAvailable", + ...Resource.type.modelProperties, + hostname: { + serializedName: "properties.hostname", type: { - name: "Boolean" + name: "String" } }, - message: { - readOnly: true, - serializedName: "message", + certificateId: { + serializedName: "properties.certificateId", type: { name: "String" } }, - reason: { - serializedName: "reason", + negotiateClientCertificate: { + serializedName: "properties.negotiateClientCertificate", type: { - name: "Enum", - allowedValues: [ - "Valid", - "Invalid", - "AlreadyExists" - ] + name: "Boolean" + } + }, + tls10Enabled: { + serializedName: "properties.tls10Enabled", + type: { + name: "Boolean" + } + }, + tls11Enabled: { + serializedName: "properties.tls11Enabled", + type: { + name: "Boolean" + } + }, + http2Enabled: { + serializedName: "properties.http2Enabled", + type: { + name: "Boolean" } } } } }; -export const ApiManagementServiceGetDomainOwnershipIdentifierResult: msRest.CompositeMapper = { - serializedName: "ApiManagementServiceGetDomainOwnershipIdentifierResult", +export const GatewayTokenContract: msRest.CompositeMapper = { + serializedName: "GatewayTokenContract", type: { name: "Composite", - className: "ApiManagementServiceGetDomainOwnershipIdentifierResult", + className: "GatewayTokenContract", modelProperties: { - domainOwnershipIdentifier: { - readOnly: true, - serializedName: "domainOwnershipIdentifier", + value: { + serializedName: "value", type: { name: "String" } @@ -6136,124 +6131,116 @@ export const ApiManagementServiceGetDomainOwnershipIdentifierResult: msRest.Comp } }; -export const ApiManagementServiceApplyNetworkConfigurationParameters: msRest.CompositeMapper = { - serializedName: "ApiManagementServiceApplyNetworkConfigurationParameters", +export const GatewayTokenRequestContract: msRest.CompositeMapper = { + serializedName: "GatewayTokenRequestContract", type: { name: "Composite", - className: "ApiManagementServiceApplyNetworkConfigurationParameters", + className: "GatewayTokenRequestContract", modelProperties: { - location: { - serializedName: "location", + keyType: { + required: true, + serializedName: "keyType", + defaultValue: 'primary', type: { - name: "String" + name: "Enum", + allowedValues: [ + "primary", + "secondary" + ] + } + }, + expiry: { + required: true, + serializedName: "expiry", + type: { + name: "DateTime" } } } } }; -export const OperationDisplay: msRest.CompositeMapper = { - serializedName: "Operation_display", +export const GatewayKeyRegenerationRequestContract: msRest.CompositeMapper = { + serializedName: "GatewayKeyRegenerationRequestContract", type: { name: "Composite", - className: "OperationDisplay", + className: "GatewayKeyRegenerationRequestContract", modelProperties: { - provider: { - serializedName: "provider", - type: { - name: "String" - } - }, - operation: { - serializedName: "operation", - type: { - name: "String" - } - }, - resource: { - serializedName: "resource", - type: { - name: "String" - } - }, - description: { - serializedName: "description", + keyType: { + required: true, + serializedName: "keyType", type: { - name: "String" + name: "Enum", + allowedValues: [ + "primary", + "secondary" + ] } } } } }; -export const Operation: msRest.CompositeMapper = { - serializedName: "Operation", +export const GatewayKeysContract: msRest.CompositeMapper = { + serializedName: "GatewayKeysContract", type: { name: "Composite", - className: "Operation", + className: "GatewayKeysContract", modelProperties: { - name: { - serializedName: "name", + primary: { + serializedName: "primary", type: { name: "String" } }, - display: { - serializedName: "display", - type: { - name: "Composite", - className: "OperationDisplay" - } - }, - origin: { - serializedName: "origin", + secondary: { + serializedName: "secondary", type: { name: "String" } - }, - properties: { - serializedName: "properties", - type: { - name: "Object" - } } } } }; -export const EmailTemplateParametersContractProperties: msRest.CompositeMapper = { - serializedName: "EmailTemplateParametersContractProperties", +export const ResourceLocationDataContract: msRest.CompositeMapper = { + serializedName: "ResourceLocationDataContract", type: { name: "Composite", - className: "EmailTemplateParametersContractProperties", + className: "ResourceLocationDataContract", modelProperties: { name: { + required: true, serializedName: "name", constraints: { - MaxLength: 256, - MinLength: 1, - Pattern: /^[A-Za-z0-9-._]+$/ + MaxLength: 256 }, type: { name: "String" } }, - title: { - serializedName: "title", + city: { + serializedName: "city", constraints: { - MaxLength: 4096, - MinLength: 1 + MaxLength: 256 }, type: { name: "String" } }, - description: { - serializedName: "description", + district: { + serializedName: "district", constraints: { - MaxLength: 256, - MinLength: 1, - Pattern: /^[A-Za-z0-9-._]+$/ + MaxLength: 256 + }, + type: { + name: "String" + } + }, + countryOrRegion: { + serializedName: "countryOrRegion", + constraints: { + MaxLength: 256 }, type: { name: "String" @@ -6263,114 +6250,82 @@ export const EmailTemplateParametersContractProperties: msRest.CompositeMapper = } }; -export const EmailTemplateContract: msRest.CompositeMapper = { - serializedName: "EmailTemplateContract", +export const GatewayContract: msRest.CompositeMapper = { + serializedName: "GatewayContract", type: { name: "Composite", - className: "EmailTemplateContract", + className: "GatewayContract", modelProperties: { ...Resource.type.modelProperties, - subject: { - required: true, - serializedName: "properties.subject", - constraints: { - MaxLength: 1000, - MinLength: 1 - }, - type: { - name: "String" - } - }, - body: { - required: true, - serializedName: "properties.body", - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - }, - title: { - serializedName: "properties.title", + locationData: { + serializedName: "properties.locationData", type: { - name: "String" + name: "Composite", + className: "ResourceLocationDataContract" } }, description: { serializedName: "properties.description", + constraints: { + MaxLength: 1000 + }, type: { name: "String" } - }, - isDefault: { - readOnly: true, - serializedName: "properties.isDefault", - type: { - name: "Boolean" - } - }, - parameters: { - serializedName: "properties.parameters", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EmailTemplateParametersContractProperties" - } - } - } } } } }; -export const EmailTemplateUpdateParameters: msRest.CompositeMapper = { - serializedName: "EmailTemplateUpdateParameters", +export const UserIdentityContract: msRest.CompositeMapper = { + serializedName: "UserIdentityContract", type: { name: "Composite", - className: "EmailTemplateUpdateParameters", + className: "UserIdentityContract", modelProperties: { - subject: { - serializedName: "properties.subject", - constraints: { - MaxLength: 1000, - MinLength: 1 - }, + provider: { + serializedName: "provider", type: { name: "String" } }, - title: { - serializedName: "properties.title", + id: { + serializedName: "id", type: { name: "String" } - }, - description: { - serializedName: "properties.description", + } + } + } +}; + +export const UserEntityBaseParameters: msRest.CompositeMapper = { + serializedName: "UserEntityBaseParameters", + type: { + name: "Composite", + className: "UserEntityBaseParameters", + modelProperties: { + state: { + serializedName: "state", + defaultValue: 'active', type: { name: "String" } }, - body: { - serializedName: "properties.body", - constraints: { - MinLength: 1 - }, + note: { + serializedName: "note", type: { name: "String" } }, - parameters: { - serializedName: "properties.parameters", + identities: { + serializedName: "identities", type: { name: "Sequence", element: { type: { name: "Composite", - className: "EmailTemplateParametersContractProperties" + className: "UserIdentityContract" } } } @@ -6379,98 +6334,180 @@ export const EmailTemplateUpdateParameters: msRest.CompositeMapper = { } }; -export const GatewayCertificateAuthorityContract: msRest.CompositeMapper = { - serializedName: "GatewayCertificateAuthorityContract", +export const GroupContractProperties: msRest.CompositeMapper = { + serializedName: "GroupContractProperties", type: { name: "Composite", - className: "GatewayCertificateAuthorityContract", + className: "GroupContractProperties", modelProperties: { - ...Resource.type.modelProperties, - isTrusted: { - serializedName: "properties.isTrusted", + displayName: { + required: true, + serializedName: "displayName", + constraints: { + MaxLength: 300, + MinLength: 1 + }, + type: { + name: "String" + } + }, + description: { + serializedName: "description", + constraints: { + MaxLength: 1000 + }, + type: { + name: "String" + } + }, + builtIn: { + readOnly: true, + serializedName: "builtIn", type: { name: "Boolean" } - } - } - } -}; - -export const AssociationContract: msRest.CompositeMapper = { - serializedName: "AssociationContract", - type: { - name: "Composite", - className: "AssociationContract", - modelProperties: { - ...Resource.type.modelProperties, - provisioningState: { - serializedName: "properties.provisioningState", + }, + type: { + serializedName: "type", type: { name: "Enum", allowedValues: [ - "created" + "custom", + "system", + "external" ] } + }, + externalId: { + serializedName: "externalId", + type: { + name: "String" + } } } } }; -export const GatewayHostnameConfigurationContract: msRest.CompositeMapper = { - serializedName: "GatewayHostnameConfigurationContract", +export const UserContract: msRest.CompositeMapper = { + serializedName: "UserContract", type: { name: "Composite", - className: "GatewayHostnameConfigurationContract", + className: "UserContract", modelProperties: { ...Resource.type.modelProperties, - hostname: { - serializedName: "properties.hostname", + state: { + serializedName: "properties.state", + defaultValue: 'active', type: { name: "String" } }, - certificateId: { - serializedName: "properties.certificateId", + note: { + serializedName: "properties.note", type: { name: "String" } }, - negotiateClientCertificate: { - serializedName: "properties.negotiateClientCertificate", + identities: { + serializedName: "properties.identities", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "UserIdentityContract" + } + } } }, - tls10Enabled: { - serializedName: "properties.tls10Enabled", + firstName: { + serializedName: "properties.firstName", type: { - name: "Boolean" + name: "String" } }, - tls11Enabled: { - serializedName: "properties.tls11Enabled", + lastName: { + serializedName: "properties.lastName", type: { - name: "Boolean" + name: "String" } }, - http2Enabled: { - serializedName: "properties.http2Enabled", + email: { + serializedName: "properties.email", type: { - name: "Boolean" + name: "String" + } + }, + registrationDate: { + serializedName: "properties.registrationDate", + type: { + name: "DateTime" + } + }, + groups: { + readOnly: true, + serializedName: "properties.groups", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GroupContractProperties" + } + } } } } } }; -export const GatewayTokenContract: msRest.CompositeMapper = { - serializedName: "GatewayTokenContract", +export const GroupContract: msRest.CompositeMapper = { + serializedName: "GroupContract", type: { name: "Composite", - className: "GatewayTokenContract", + className: "GroupContract", modelProperties: { - value: { - serializedName: "value", + ...Resource.type.modelProperties, + displayName: { + required: true, + serializedName: "properties.displayName", + constraints: { + MaxLength: 300, + MinLength: 1 + }, + type: { + name: "String" + } + }, + description: { + serializedName: "properties.description", + constraints: { + MaxLength: 1000 + }, + type: { + name: "String" + } + }, + builtIn: { + readOnly: true, + serializedName: "properties.builtIn", + type: { + name: "Boolean" + } + }, + groupContractType: { + serializedName: "properties.type", + type: { + name: "Enum", + allowedValues: [ + "custom", + "system", + "external" + ] + } + }, + externalId: { + serializedName: "properties.externalId", type: { name: "String" } @@ -6479,70 +6516,101 @@ export const GatewayTokenContract: msRest.CompositeMapper = { } }; -export const GatewayTokenRequestContract: msRest.CompositeMapper = { - serializedName: "GatewayTokenRequestContract", +export const GroupUpdateParameters: msRest.CompositeMapper = { + serializedName: "GroupUpdateParameters", type: { name: "Composite", - className: "GatewayTokenRequestContract", + className: "GroupUpdateParameters", modelProperties: { - keyType: { - required: true, - serializedName: "keyType", - defaultValue: 'primary', + displayName: { + serializedName: "properties.displayName", + constraints: { + MaxLength: 300, + MinLength: 1 + }, + type: { + name: "String" + } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" + } + }, + type: { + serializedName: "properties.type", type: { name: "Enum", allowedValues: [ - "primary", - "secondary" + "custom", + "system", + "external" ] } }, - expiry: { - required: true, - serializedName: "expiry", + externalId: { + serializedName: "properties.externalId", type: { - name: "DateTime" + name: "String" } } } } }; -export const GatewayKeyRegenerationRequestContract: msRest.CompositeMapper = { - serializedName: "GatewayKeyRegenerationRequestContract", +export const GroupCreateParameters: msRest.CompositeMapper = { + serializedName: "GroupCreateParameters", type: { name: "Composite", - className: "GatewayKeyRegenerationRequestContract", + className: "GroupCreateParameters", modelProperties: { - keyType: { + displayName: { required: true, - serializedName: "keyType", + serializedName: "properties.displayName", + constraints: { + MaxLength: 300, + MinLength: 1 + }, + type: { + name: "String" + } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" + } + }, + type: { + serializedName: "properties.type", type: { name: "Enum", allowedValues: [ - "primary", - "secondary" + "custom", + "system", + "external" ] } + }, + externalId: { + serializedName: "properties.externalId", + type: { + name: "String" + } } } } }; -export const GatewayKeysContract: msRest.CompositeMapper = { - serializedName: "GatewayKeysContract", +export const ClientSecretContract: msRest.CompositeMapper = { + serializedName: "ClientSecretContract", type: { name: "Composite", - className: "GatewayKeysContract", + className: "ClientSecretContract", modelProperties: { - primary: { - serializedName: "primary", - type: { - name: "String" - } - }, - secondary: { - serializedName: "secondary", + clientSecret: { + serializedName: "clientSecret", type: { name: "String" } @@ -6551,94 +6619,76 @@ export const GatewayKeysContract: msRest.CompositeMapper = { } }; -export const ResourceLocationDataContract: msRest.CompositeMapper = { - serializedName: "ResourceLocationDataContract", +export const IdentityProviderBaseParameters: msRest.CompositeMapper = { + serializedName: "IdentityProviderBaseParameters", type: { name: "Composite", - className: "ResourceLocationDataContract", + className: "IdentityProviderBaseParameters", modelProperties: { - name: { - required: true, - serializedName: "name", - constraints: { - MaxLength: 256 - }, + type: { + serializedName: "type", type: { name: "String" } }, - city: { - serializedName: "city", - constraints: { - MaxLength: 256 - }, + signinTenant: { + serializedName: "signinTenant", type: { name: "String" } }, - district: { - serializedName: "district", + allowedTenants: { + serializedName: "allowedTenants", constraints: { - MaxLength: 256 + MaxItems: 32 }, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + authority: { + serializedName: "authority", type: { name: "String" } }, - countryOrRegion: { - serializedName: "countryOrRegion", + signupPolicyName: { + serializedName: "signupPolicyName", constraints: { - MaxLength: 256 + MinLength: 1 }, type: { name: "String" } - } - } - } -}; - -export const GatewayContract: msRest.CompositeMapper = { - serializedName: "GatewayContract", - type: { - name: "Composite", - className: "GatewayContract", - modelProperties: { - ...Resource.type.modelProperties, - locationData: { - serializedName: "properties.locationData", - type: { - name: "Composite", - className: "ResourceLocationDataContract" - } }, - description: { - serializedName: "properties.description", + signinPolicyName: { + serializedName: "signinPolicyName", constraints: { - MaxLength: 1000 + MinLength: 1 }, type: { name: "String" } - } - } - } -}; - -export const UserIdentityContract: msRest.CompositeMapper = { - serializedName: "UserIdentityContract", - type: { - name: "Composite", - className: "UserIdentityContract", - modelProperties: { - provider: { - serializedName: "provider", + }, + profileEditingPolicyName: { + serializedName: "profileEditingPolicyName", + constraints: { + MinLength: 1 + }, type: { name: "String" } }, - id: { - serializedName: "id", + passwordResetPolicyName: { + serializedName: "passwordResetPolicyName", + constraints: { + MinLength: 1 + }, type: { name: "String" } @@ -6647,87 +6697,96 @@ export const UserIdentityContract: msRest.CompositeMapper = { } }; -export const UserEntityBaseParameters: msRest.CompositeMapper = { - serializedName: "UserEntityBaseParameters", +export const IdentityProviderContract: msRest.CompositeMapper = { + serializedName: "IdentityProviderContract", type: { name: "Composite", - className: "UserEntityBaseParameters", + className: "IdentityProviderContract", modelProperties: { - state: { - serializedName: "state", - defaultValue: 'active', + ...Resource.type.modelProperties, + identityProviderContractType: { + serializedName: "properties.type", type: { name: "String" } }, - note: { - serializedName: "note", + signinTenant: { + serializedName: "properties.signinTenant", type: { name: "String" } }, - identities: { - serializedName: "identities", + allowedTenants: { + serializedName: "properties.allowedTenants", + constraints: { + MaxItems: 32 + }, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "UserIdentityContract" + name: "String" } } } - } - } - } -}; - -export const GroupContractProperties: msRest.CompositeMapper = { - serializedName: "GroupContractProperties", - type: { - name: "Composite", - className: "GroupContractProperties", - modelProperties: { - displayName: { - required: true, - serializedName: "displayName", + }, + authority: { + serializedName: "properties.authority", + type: { + name: "String" + } + }, + signupPolicyName: { + serializedName: "properties.signupPolicyName", constraints: { - MaxLength: 300, MinLength: 1 }, type: { name: "String" } }, - description: { - serializedName: "description", + signinPolicyName: { + serializedName: "properties.signinPolicyName", constraints: { - MaxLength: 1000 + MinLength: 1 }, type: { name: "String" } }, - builtIn: { - readOnly: true, - serializedName: "builtIn", + profileEditingPolicyName: { + serializedName: "properties.profileEditingPolicyName", + constraints: { + MinLength: 1 + }, type: { - name: "Boolean" + name: "String" } }, - type: { - serializedName: "type", + passwordResetPolicyName: { + serializedName: "properties.passwordResetPolicyName", + constraints: { + MinLength: 1 + }, type: { - name: "Enum", - allowedValues: [ - "custom", - "system", - "external" - ] + name: "String" } }, - externalId: { - serializedName: "externalId", + clientId: { + required: true, + serializedName: "properties.clientId", + constraints: { + MinLength: 1 + }, + type: { + name: "String" + } + }, + clientSecret: { + serializedName: "properties.clientSecret", + constraints: { + MinLength: 1 + }, type: { name: "String" } @@ -6736,229 +6795,94 @@ export const GroupContractProperties: msRest.CompositeMapper = { } }; -export const UserContract: msRest.CompositeMapper = { - serializedName: "UserContract", +export const IdentityProviderUpdateParameters: msRest.CompositeMapper = { + serializedName: "IdentityProviderUpdateParameters", type: { name: "Composite", - className: "UserContract", + className: "IdentityProviderUpdateParameters", modelProperties: { - ...Resource.type.modelProperties, - state: { - serializedName: "properties.state", - defaultValue: 'active', + type: { + serializedName: "properties.type", type: { name: "String" } }, - note: { - serializedName: "properties.note", + signinTenant: { + serializedName: "properties.signinTenant", type: { name: "String" } }, - identities: { - serializedName: "properties.identities", + allowedTenants: { + serializedName: "properties.allowedTenants", + constraints: { + MaxItems: 32 + }, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "UserIdentityContract" + name: "String" } } } }, - firstName: { - serializedName: "properties.firstName", - type: { - name: "String" - } - }, - lastName: { - serializedName: "properties.lastName", - type: { - name: "String" - } - }, - email: { - serializedName: "properties.email", + authority: { + serializedName: "properties.authority", type: { name: "String" } }, - registrationDate: { - serializedName: "properties.registrationDate", - type: { - name: "DateTime" - } - }, - groups: { - readOnly: true, - serializedName: "properties.groups", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "GroupContractProperties" - } - } - } - } - } - } -}; - -export const GroupContract: msRest.CompositeMapper = { - serializedName: "GroupContract", - type: { - name: "Composite", - className: "GroupContract", - modelProperties: { - ...Resource.type.modelProperties, - displayName: { - required: true, - serializedName: "properties.displayName", + signupPolicyName: { + serializedName: "properties.signupPolicyName", constraints: { - MaxLength: 300, MinLength: 1 }, type: { name: "String" } }, - description: { - serializedName: "properties.description", + signinPolicyName: { + serializedName: "properties.signinPolicyName", constraints: { - MaxLength: 1000 + MinLength: 1 }, type: { name: "String" } }, - builtIn: { - readOnly: true, - serializedName: "properties.builtIn", - type: { - name: "Boolean" - } - }, - groupContractType: { - serializedName: "properties.type", - type: { - name: "Enum", - allowedValues: [ - "custom", - "system", - "external" - ] - } - }, - externalId: { - serializedName: "properties.externalId", - type: { - name: "String" - } - } - } - } -}; - -export const GroupUpdateParameters: msRest.CompositeMapper = { - serializedName: "GroupUpdateParameters", - type: { - name: "Composite", - className: "GroupUpdateParameters", - modelProperties: { - displayName: { - serializedName: "properties.displayName", + profileEditingPolicyName: { + serializedName: "properties.profileEditingPolicyName", constraints: { - MaxLength: 300, MinLength: 1 }, type: { name: "String" } }, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, - type: { - serializedName: "properties.type", - type: { - name: "Enum", - allowedValues: [ - "custom", - "system", - "external" - ] - } - }, - externalId: { - serializedName: "properties.externalId", - type: { - name: "String" - } - } - } - } -}; - -export const GroupCreateParameters: msRest.CompositeMapper = { - serializedName: "GroupCreateParameters", - type: { - name: "Composite", - className: "GroupCreateParameters", - modelProperties: { - displayName: { - required: true, - serializedName: "properties.displayName", + passwordResetPolicyName: { + serializedName: "properties.passwordResetPolicyName", constraints: { - MaxLength: 300, MinLength: 1 }, type: { name: "String" } }, - description: { - serializedName: "properties.description", + clientId: { + serializedName: "properties.clientId", + constraints: { + MinLength: 1 + }, type: { name: "String" } }, - type: { - serializedName: "properties.type", - type: { - name: "Enum", - allowedValues: [ - "custom", - "system", - "external" - ] - } - }, - externalId: { - serializedName: "properties.externalId", - type: { - name: "String" - } - } - } - } -}; - -export const ClientSecretContract: msRest.CompositeMapper = { - serializedName: "ClientSecretContract", - type: { - name: "Composite", - className: "ClientSecretContract", - modelProperties: { clientSecret: { - serializedName: "clientSecret", + serializedName: "properties.clientSecret", + constraints: { + MinLength: 1 + }, type: { name: "String" } @@ -6967,26 +6891,27 @@ export const ClientSecretContract: msRest.CompositeMapper = { } }; -export const IdentityProviderBaseParameters: msRest.CompositeMapper = { - serializedName: "IdentityProviderBaseParameters", +export const IdentityProviderCreateContract: msRest.CompositeMapper = { + serializedName: "IdentityProviderCreateContract", type: { name: "Composite", - className: "IdentityProviderBaseParameters", + className: "IdentityProviderCreateContract", modelProperties: { - type: { - serializedName: "type", + ...Resource.type.modelProperties, + identityProviderCreateContractType: { + serializedName: "properties.type", type: { name: "String" } }, signinTenant: { - serializedName: "signinTenant", + serializedName: "properties.signinTenant", type: { name: "String" } }, allowedTenants: { - serializedName: "allowedTenants", + serializedName: "properties.allowedTenants", constraints: { MaxItems: 32 }, @@ -7000,13 +6925,13 @@ export const IdentityProviderBaseParameters: msRest.CompositeMapper = { } }, authority: { - serializedName: "authority", + serializedName: "properties.authority", type: { name: "String" } }, signupPolicyName: { - serializedName: "signupPolicyName", + serializedName: "properties.signupPolicyName", constraints: { MinLength: 1 }, @@ -7015,7 +6940,7 @@ export const IdentityProviderBaseParameters: msRest.CompositeMapper = { } }, signinPolicyName: { - serializedName: "signinPolicyName", + serializedName: "properties.signinPolicyName", constraints: { MinLength: 1 }, @@ -7024,7 +6949,7 @@ export const IdentityProviderBaseParameters: msRest.CompositeMapper = { } }, profileEditingPolicyName: { - serializedName: "profileEditingPolicyName", + serializedName: "properties.profileEditingPolicyName", constraints: { MinLength: 1 }, @@ -7033,7 +6958,27 @@ export const IdentityProviderBaseParameters: msRest.CompositeMapper = { } }, passwordResetPolicyName: { - serializedName: "passwordResetPolicyName", + serializedName: "properties.passwordResetPolicyName", + constraints: { + MinLength: 1 + }, + type: { + name: "String" + } + }, + clientId: { + required: true, + serializedName: "properties.clientId", + constraints: { + MinLength: 1 + }, + type: { + name: "String" + } + }, + clientSecret: { + required: true, + serializedName: "properties.clientSecret", constraints: { MinLength: 1 }, @@ -7045,124 +6990,134 @@ export const IdentityProviderBaseParameters: msRest.CompositeMapper = { } }; -export const IdentityProviderContract: msRest.CompositeMapper = { - serializedName: "IdentityProviderContract", +export const LoggerContract: msRest.CompositeMapper = { + serializedName: "LoggerContract", type: { name: "Composite", - className: "IdentityProviderContract", + className: "LoggerContract", modelProperties: { ...Resource.type.modelProperties, - identityProviderContractType: { - serializedName: "properties.type", + loggerType: { + required: true, + serializedName: "properties.loggerType", type: { name: "String" } }, - signinTenant: { - serializedName: "properties.signinTenant", + description: { + serializedName: "properties.description", + constraints: { + MaxLength: 256 + }, type: { name: "String" } }, - allowedTenants: { - serializedName: "properties.allowedTenants", - constraints: { - MaxItems: 32 - }, + credentials: { + serializedName: "properties.credentials", type: { - name: "Sequence", - element: { + name: "Dictionary", + value: { type: { name: "String" } } } }, - authority: { - serializedName: "properties.authority", - type: { - name: "String" - } - }, - signupPolicyName: { - serializedName: "properties.signupPolicyName", - constraints: { - MinLength: 1 - }, + isBuffered: { + serializedName: "properties.isBuffered", type: { - name: "String" + name: "Boolean" } }, - signinPolicyName: { - serializedName: "properties.signinPolicyName", - constraints: { - MinLength: 1 - }, + resourceId: { + serializedName: "properties.resourceId", type: { name: "String" } - }, - profileEditingPolicyName: { - serializedName: "properties.profileEditingPolicyName", - constraints: { - MinLength: 1 - }, + } + } + } +}; + +export const LoggerUpdateContract: msRest.CompositeMapper = { + serializedName: "LoggerUpdateContract", + type: { + name: "Composite", + className: "LoggerUpdateContract", + modelProperties: { + loggerType: { + serializedName: "properties.loggerType", type: { name: "String" } }, - passwordResetPolicyName: { - serializedName: "properties.passwordResetPolicyName", - constraints: { - MinLength: 1 - }, + description: { + serializedName: "properties.description", type: { name: "String" } }, - clientId: { - required: true, - serializedName: "properties.clientId", - constraints: { - MinLength: 1 - }, + credentials: { + serializedName: "properties.credentials", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } }, - clientSecret: { - serializedName: "properties.clientSecret", - constraints: { - MinLength: 1 - }, + isBuffered: { + serializedName: "properties.isBuffered", type: { - name: "String" + name: "Boolean" } } } } }; -export const IdentityProviderUpdateParameters: msRest.CompositeMapper = { - serializedName: "IdentityProviderUpdateParameters", +export const NamedValueEntityBaseParameters: msRest.CompositeMapper = { + serializedName: "NamedValueEntityBaseParameters", type: { name: "Composite", - className: "IdentityProviderUpdateParameters", + className: "NamedValueEntityBaseParameters", modelProperties: { - type: { - serializedName: "properties.type", + tags: { + serializedName: "tags", + constraints: { + MaxItems: 32 + }, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - signinTenant: { - serializedName: "properties.signinTenant", + secret: { + serializedName: "secret", type: { - name: "String" + name: "Boolean" } - }, - allowedTenants: { - serializedName: "properties.allowedTenants", + } + } + } +}; + +export const NamedValueContract: msRest.CompositeMapper = { + serializedName: "NamedValueContract", + type: { + name: "Composite", + className: "NamedValueContract", + modelProperties: { + ...Resource.type.modelProperties, + tags: { + serializedName: "properties.tags", constraints: { MaxItems: 32 }, @@ -7175,91 +7130,127 @@ export const IdentityProviderUpdateParameters: msRest.CompositeMapper = { } } }, - authority: { - serializedName: "properties.authority", + secret: { + serializedName: "properties.secret", type: { - name: "String" + name: "Boolean" } }, - signupPolicyName: { - serializedName: "properties.signupPolicyName", + displayName: { + required: true, + serializedName: "properties.displayName", constraints: { - MinLength: 1 + MaxLength: 256, + MinLength: 1, + Pattern: /^[A-Za-z0-9-._]+$/ }, type: { name: "String" } }, - signinPolicyName: { - serializedName: "properties.signinPolicyName", + value: { + serializedName: "properties.value", constraints: { - MinLength: 1 + MaxLength: 4096 }, type: { name: "String" } }, - profileEditingPolicyName: { - serializedName: "properties.profileEditingPolicyName", - constraints: { - MinLength: 1 - }, + keyVault: { + serializedName: "properties.keyVault", + type: { + name: "Composite", + className: "KeyVaultContractProperties" + } + } + } + } +}; + +export const NamedValueSecretContract: msRest.CompositeMapper = { + serializedName: "NamedValueSecretContract", + type: { + name: "Composite", + className: "NamedValueSecretContract", + modelProperties: { + value: { + serializedName: "value", type: { name: "String" } - }, - passwordResetPolicyName: { - serializedName: "properties.passwordResetPolicyName", + } + } + } +}; + +export const NamedValueUpdateParameters: msRest.CompositeMapper = { + serializedName: "NamedValueUpdateParameters", + type: { + name: "Composite", + className: "NamedValueUpdateParameters", + modelProperties: { + tags: { + serializedName: "properties.tags", constraints: { - MinLength: 1 + MaxItems: 32 }, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - clientId: { - serializedName: "properties.clientId", + secret: { + serializedName: "properties.secret", + type: { + name: "Boolean" + } + }, + displayName: { + serializedName: "properties.displayName", constraints: { - MinLength: 1 + MaxLength: 256, + MinLength: 1, + Pattern: /^[A-Za-z0-9-._]+$/ }, type: { name: "String" } }, - clientSecret: { - serializedName: "properties.clientSecret", + value: { + serializedName: "properties.value", constraints: { + MaxLength: 4096, MinLength: 1 }, type: { name: "String" } + }, + keyVault: { + serializedName: "properties.keyVault", + type: { + name: "Composite", + className: "KeyVaultContractCreateProperties" + } } } } }; -export const IdentityProviderCreateContract: msRest.CompositeMapper = { - serializedName: "IdentityProviderCreateContract", +export const NamedValueCreateContract: msRest.CompositeMapper = { + serializedName: "NamedValueCreateContract", type: { name: "Composite", - className: "IdentityProviderCreateContract", + className: "NamedValueCreateContract", modelProperties: { ...Resource.type.modelProperties, - identityProviderCreateContractType: { - serializedName: "properties.type", - type: { - name: "String" - } - }, - signinTenant: { - serializedName: "properties.signinTenant", - type: { - name: "String" - } - }, - allowedTenants: { - serializedName: "properties.allowedTenants", + tags: { + serializedName: "properties.tags", constraints: { MaxItems: 32 }, @@ -7272,41 +7263,53 @@ export const IdentityProviderCreateContract: msRest.CompositeMapper = { } } }, - authority: { - serializedName: "properties.authority", + secret: { + serializedName: "properties.secret", type: { - name: "String" + name: "Boolean" } }, - signupPolicyName: { - serializedName: "properties.signupPolicyName", + displayName: { + required: true, + serializedName: "properties.displayName", constraints: { - MinLength: 1 + MaxLength: 256, + MinLength: 1, + Pattern: /^[A-Za-z0-9-._]+$/ }, type: { name: "String" } }, - signinPolicyName: { - serializedName: "properties.signinPolicyName", + value: { + serializedName: "properties.value", constraints: { - MinLength: 1 + MaxLength: 4096 }, type: { name: "String" } }, - profileEditingPolicyName: { - serializedName: "properties.profileEditingPolicyName", - constraints: { - MinLength: 1 - }, + keyVault: { + serializedName: "properties.keyVault", type: { - name: "String" + name: "Composite", + className: "KeyVaultContractCreateProperties" } - }, - passwordResetPolicyName: { - serializedName: "properties.passwordResetPolicyName", + } + } + } +}; + +export const ConnectivityStatusContract: msRest.CompositeMapper = { + serializedName: "ConnectivityStatusContract", + type: { + name: "Composite", + className: "ConnectivityStatusContract", + modelProperties: { + name: { + required: true, + serializedName: "name", constraints: { MinLength: 1 }, @@ -7314,216 +7317,172 @@ export const IdentityProviderCreateContract: msRest.CompositeMapper = { name: "String" } }, - clientId: { + status: { required: true, - serializedName: "properties.clientId", - constraints: { - MinLength: 1 - }, + serializedName: "status", type: { name: "String" } }, - clientSecret: { - required: true, - serializedName: "properties.clientSecret", - constraints: { - MinLength: 1 - }, + error: { + serializedName: "error", type: { name: "String" } - } - } - } -}; - -export const LoggerContract: msRest.CompositeMapper = { - serializedName: "LoggerContract", - type: { - name: "Composite", - className: "LoggerContract", - modelProperties: { - ...Resource.type.modelProperties, - loggerType: { + }, + lastUpdated: { required: true, - serializedName: "properties.loggerType", + serializedName: "lastUpdated", type: { - name: "String" + name: "DateTime" } }, - description: { - serializedName: "properties.description", - constraints: { - MaxLength: 256 - }, + lastStatusChange: { + required: true, + serializedName: "lastStatusChange", type: { - name: "String" + name: "DateTime" } }, - credentials: { - serializedName: "properties.credentials", + resourceType: { + required: true, + serializedName: "resourceType", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "String" } }, - isBuffered: { - serializedName: "properties.isBuffered", + isOptional: { + required: true, + serializedName: "isOptional", type: { name: "Boolean" } - }, - resourceId: { - serializedName: "properties.resourceId", - type: { - name: "String" - } } } } }; -export const LoggerUpdateContract: msRest.CompositeMapper = { - serializedName: "LoggerUpdateContract", +export const NetworkStatusContract: msRest.CompositeMapper = { + serializedName: "NetworkStatusContract", type: { name: "Composite", - className: "LoggerUpdateContract", + className: "NetworkStatusContract", modelProperties: { - loggerType: { - serializedName: "properties.loggerType", - type: { - name: "String" - } - }, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, - credentials: { - serializedName: "properties.credentials", + dnsServers: { + required: true, + serializedName: "dnsServers", type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { name: "String" } } } }, - isBuffered: { - serializedName: "properties.isBuffered", + connectivityStatus: { + required: true, + serializedName: "connectivityStatus", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectivityStatusContract" + } + } } } } } }; -export const NamedValueEntityBaseParameters: msRest.CompositeMapper = { - serializedName: "NamedValueEntityBaseParameters", +export const NetworkStatusContractByLocation: msRest.CompositeMapper = { + serializedName: "NetworkStatusContractByLocation", type: { name: "Composite", - className: "NamedValueEntityBaseParameters", + className: "NetworkStatusContractByLocation", modelProperties: { - tags: { - serializedName: "tags", + location: { + serializedName: "location", constraints: { - MaxItems: 32 + MinLength: 1 }, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - secret: { - serializedName: "secret", + networkStatus: { + serializedName: "networkStatus", type: { - name: "Boolean" + name: "Composite", + className: "NetworkStatusContract" } } } } }; -export const NamedValueContract: msRest.CompositeMapper = { - serializedName: "NamedValueContract", +export const RecipientEmailContract: msRest.CompositeMapper = { + serializedName: "RecipientEmailContract", type: { name: "Composite", - className: "NamedValueContract", + className: "RecipientEmailContract", modelProperties: { ...Resource.type.modelProperties, - tags: { - serializedName: "properties.tags", - constraints: { - MaxItems: 32 - }, + email: { + serializedName: "properties.email", + type: { + name: "String" + } + } + } + } +}; + +export const RecipientEmailCollection: msRest.CompositeMapper = { + serializedName: "RecipientEmailCollection", + type: { + name: "Composite", + className: "RecipientEmailCollection", + modelProperties: { + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "RecipientEmailContract" } } } }, - secret: { - serializedName: "properties.secret", - type: { - name: "Boolean" - } - }, - displayName: { - required: true, - serializedName: "properties.displayName", - constraints: { - MaxLength: 256, - MinLength: 1, - Pattern: /^[A-Za-z0-9-._]+$/ - }, + count: { + serializedName: "count", type: { - name: "String" + name: "Number" } }, - value: { - serializedName: "properties.value", - constraints: { - MaxLength: 4096 - }, + nextLink: { + serializedName: "nextLink", type: { name: "String" } - }, - keyVault: { - serializedName: "properties.keyVault", - type: { - name: "Composite", - className: "KeyVaultContractProperties" - } } } } }; -export const NamedValueSecretContract: msRest.CompositeMapper = { - serializedName: "NamedValueSecretContract", +export const RecipientUserContract: msRest.CompositeMapper = { + serializedName: "RecipientUserContract", type: { name: "Composite", - className: "NamedValueSecretContract", + className: "RecipientUserContract", modelProperties: { - value: { - serializedName: "value", + ...Resource.type.modelProperties, + userId: { + serializedName: "properties.userId", type: { name: "String" } @@ -7532,76 +7491,48 @@ export const NamedValueSecretContract: msRest.CompositeMapper = { } }; -export const NamedValueUpdateParameters: msRest.CompositeMapper = { - serializedName: "NamedValueUpdateParameters", +export const RecipientUserCollection: msRest.CompositeMapper = { + serializedName: "RecipientUserCollection", type: { name: "Composite", - className: "NamedValueUpdateParameters", + className: "RecipientUserCollection", modelProperties: { - tags: { - serializedName: "properties.tags", - constraints: { - MaxItems: 32 - }, + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "RecipientUserContract" } } } }, - secret: { - serializedName: "properties.secret", - type: { - name: "Boolean" - } - }, - displayName: { - serializedName: "properties.displayName", - constraints: { - MaxLength: 256, - MinLength: 1, - Pattern: /^[A-Za-z0-9-._]+$/ - }, + count: { + serializedName: "count", type: { - name: "String" + name: "Number" } }, - value: { - serializedName: "properties.value", - constraints: { - MaxLength: 4096, - MinLength: 1 - }, + nextLink: { + serializedName: "nextLink", type: { name: "String" } - }, - keyVault: { - serializedName: "properties.keyVault", - type: { - name: "Composite", - className: "KeyVaultContractCreateProperties" - } } } } }; -export const NamedValueCreateContract: msRest.CompositeMapper = { - serializedName: "NamedValueCreateContract", +export const RecipientsContractProperties: msRest.CompositeMapper = { + serializedName: "RecipientsContractProperties", type: { name: "Composite", - className: "NamedValueCreateContract", + className: "RecipientsContractProperties", modelProperties: { - ...Resource.type.modelProperties, - tags: { - serializedName: "properties.tags", - constraints: { - MaxItems: 32 - }, + emails: { + serializedName: "emails", type: { name: "Sequence", element: { @@ -7611,259 +7542,245 @@ export const NamedValueCreateContract: msRest.CompositeMapper = { } } }, - secret: { - serializedName: "properties.secret", + users: { + serializedName: "users", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "String" + } + } } - }, - displayName: { + } + } + } +}; + +export const NotificationContract: msRest.CompositeMapper = { + serializedName: "NotificationContract", + type: { + name: "Composite", + className: "NotificationContract", + modelProperties: { + ...Resource.type.modelProperties, + title: { required: true, - serializedName: "properties.displayName", + serializedName: "properties.title", constraints: { - MaxLength: 256, - MinLength: 1, - Pattern: /^[A-Za-z0-9-._]+$/ + MaxLength: 1000, + MinLength: 1 }, type: { name: "String" } }, - value: { - serializedName: "properties.value", - constraints: { - MaxLength: 4096 - }, + description: { + serializedName: "properties.description", type: { name: "String" } }, - keyVault: { - serializedName: "properties.keyVault", + recipients: { + serializedName: "properties.recipients", type: { name: "Composite", - className: "KeyVaultContractCreateProperties" + className: "RecipientsContractProperties" } } } } }; -export const ConnectivityStatusContract: msRest.CompositeMapper = { - serializedName: "ConnectivityStatusContract", +export const OpenidConnectProviderContract: msRest.CompositeMapper = { + serializedName: "OpenidConnectProviderContract", type: { name: "Composite", - className: "ConnectivityStatusContract", + className: "OpenidConnectProviderContract", modelProperties: { - name: { + ...Resource.type.modelProperties, + displayName: { required: true, - serializedName: "name", + serializedName: "properties.displayName", constraints: { - MinLength: 1 + MaxLength: 50 }, type: { name: "String" } }, - status: { - required: true, - serializedName: "status", - type: { - name: "String" - } - }, - error: { - serializedName: "error", + description: { + serializedName: "properties.description", type: { name: "String" } }, - lastUpdated: { - required: true, - serializedName: "lastUpdated", - type: { - name: "DateTime" - } - }, - lastStatusChange: { + metadataEndpoint: { required: true, - serializedName: "lastStatusChange", + serializedName: "properties.metadataEndpoint", type: { - name: "DateTime" + name: "String" } }, - resourceType: { + clientId: { required: true, - serializedName: "resourceType", + serializedName: "properties.clientId", type: { name: "String" } }, - isOptional: { - required: true, - serializedName: "isOptional", + clientSecret: { + serializedName: "properties.clientSecret", type: { - name: "Boolean" + name: "String" } } } } }; -export const NetworkStatusContract: msRest.CompositeMapper = { - serializedName: "NetworkStatusContract", +export const OpenidConnectProviderUpdateContract: msRest.CompositeMapper = { + serializedName: "OpenidConnectProviderUpdateContract", type: { name: "Composite", - className: "NetworkStatusContract", + className: "OpenidConnectProviderUpdateContract", modelProperties: { - dnsServers: { - required: true, - serializedName: "dnsServers", + displayName: { + serializedName: "properties.displayName", + constraints: { + MaxLength: 50 + }, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - connectivityStatus: { - required: true, - serializedName: "connectivityStatus", + description: { + serializedName: "properties.description", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ConnectivityStatusContract" - } - } + name: "String" + } + }, + metadataEndpoint: { + serializedName: "properties.metadataEndpoint", + type: { + name: "String" + } + }, + clientId: { + serializedName: "properties.clientId", + type: { + name: "String" + } + }, + clientSecret: { + serializedName: "properties.clientSecret", + type: { + name: "String" } } } } }; -export const NetworkStatusContractByLocation: msRest.CompositeMapper = { - serializedName: "NetworkStatusContractByLocation", +export const EndpointDetail: msRest.CompositeMapper = { + serializedName: "EndpointDetail", type: { name: "Composite", - className: "NetworkStatusContractByLocation", + className: "EndpointDetail", modelProperties: { - location: { - serializedName: "location", - constraints: { - MinLength: 1 - }, + port: { + serializedName: "port", type: { - name: "String" + name: "Number" } }, - networkStatus: { - serializedName: "networkStatus", + region: { + serializedName: "region", type: { - name: "Composite", - className: "NetworkStatusContract" + name: "String" } } } } }; -export const RecipientEmailContract: msRest.CompositeMapper = { - serializedName: "RecipientEmailContract", +export const EndpointDependency: msRest.CompositeMapper = { + serializedName: "EndpointDependency", type: { name: "Composite", - className: "RecipientEmailContract", + className: "EndpointDependency", modelProperties: { - ...Resource.type.modelProperties, - email: { - serializedName: "properties.email", + domainName: { + serializedName: "domainName", type: { name: "String" } + }, + endpointDetails: { + serializedName: "endpointDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointDetail" + } + } + } } } } }; -export const RecipientEmailCollection: msRest.CompositeMapper = { - serializedName: "RecipientEmailCollection", +export const OutboundEnvironmentEndpoint: msRest.CompositeMapper = { + serializedName: "OutboundEnvironmentEndpoint", type: { name: "Composite", - className: "RecipientEmailCollection", + className: "OutboundEnvironmentEndpoint", modelProperties: { - value: { - serializedName: "value", + category: { + serializedName: "category", + type: { + name: "String" + } + }, + endpoints: { + serializedName: "endpoints", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RecipientEmailContract" + className: "EndpointDependency" } } } - }, - count: { - serializedName: "count", - type: { - name: "Number" - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const RecipientUserContract: msRest.CompositeMapper = { - serializedName: "RecipientUserContract", - type: { - name: "Composite", - className: "RecipientUserContract", - modelProperties: { - ...Resource.type.modelProperties, - userId: { - serializedName: "properties.userId", - type: { - name: "String" - } } } } }; -export const RecipientUserCollection: msRest.CompositeMapper = { - serializedName: "RecipientUserCollection", +export const OutboundEnvironmentEndpointList: msRest.CompositeMapper = { + serializedName: "OutboundEnvironmentEndpointList", type: { name: "Composite", - className: "RecipientUserCollection", + className: "OutboundEnvironmentEndpointList", modelProperties: { value: { + required: true, serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RecipientUserContract" + className: "OutboundEnvironmentEndpoint" } } } }, - count: { - serializedName: "count", - type: { - name: "Number" - } - }, nextLink: { + readOnly: true, serializedName: "nextLink", type: { name: "String" @@ -7873,155 +7790,124 @@ export const RecipientUserCollection: msRest.CompositeMapper = { } }; -export const RecipientsContractProperties: msRest.CompositeMapper = { - serializedName: "RecipientsContractProperties", +export const PolicyDescriptionContract: msRest.CompositeMapper = { + serializedName: "PolicyDescriptionContract", type: { name: "Composite", - className: "RecipientsContractProperties", + className: "PolicyDescriptionContract", modelProperties: { - emails: { - serializedName: "emails", + ...Resource.type.modelProperties, + description: { + readOnly: true, + serializedName: "properties.description", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - users: { - serializedName: "users", + scope: { + readOnly: true, + serializedName: "properties.scope", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Number" } } } } }; -export const NotificationContract: msRest.CompositeMapper = { - serializedName: "NotificationContract", +export const PolicyDescriptionCollection: msRest.CompositeMapper = { + serializedName: "PolicyDescriptionCollection", type: { name: "Composite", - className: "NotificationContract", + className: "PolicyDescriptionCollection", modelProperties: { - ...Resource.type.modelProperties, - title: { - required: true, - serializedName: "properties.title", - constraints: { - MaxLength: 1000, - MinLength: 1 - }, - type: { - name: "String" - } - }, - description: { - serializedName: "properties.description", + value: { + serializedName: "value", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PolicyDescriptionContract" + } + } } }, - recipients: { - serializedName: "properties.recipients", + count: { + serializedName: "count", type: { - name: "Composite", - className: "RecipientsContractProperties" + name: "Number" } } } } }; -export const OpenidConnectProviderContract: msRest.CompositeMapper = { - serializedName: "OpenidConnectProviderContract", +export const PortalRevisionContract: msRest.CompositeMapper = { + serializedName: "PortalRevisionContract", type: { name: "Composite", - className: "OpenidConnectProviderContract", + className: "PortalRevisionContract", modelProperties: { ...Resource.type.modelProperties, - displayName: { - required: true, - serializedName: "properties.displayName", + description: { + serializedName: "properties.description", constraints: { - MaxLength: 50 + MaxLength: 2000 }, type: { name: "String" } }, - description: { - serializedName: "properties.description", + statusDetails: { + readOnly: true, + serializedName: "properties.statusDetails", + constraints: { + MaxLength: 2000 + }, type: { name: "String" } }, - metadataEndpoint: { - required: true, - serializedName: "properties.metadataEndpoint", + status: { + readOnly: true, + serializedName: "properties.status", type: { name: "String" } }, - clientId: { - required: true, - serializedName: "properties.clientId", + isCurrent: { + serializedName: "properties.isCurrent", type: { - name: "String" + name: "Boolean" } }, - clientSecret: { - serializedName: "properties.clientSecret", + createdDateTime: { + readOnly: true, + serializedName: "properties.createdDateTime", type: { - name: "String" + name: "DateTime" + } + }, + updatedDateTime: { + readOnly: true, + serializedName: "properties.updatedDateTime", + type: { + name: "DateTime" } } } } }; -export const OpenidConnectProviderUpdateContract: msRest.CompositeMapper = { - serializedName: "OpenidConnectProviderUpdateContract", +export const PortalSettingValidationKeyContract: msRest.CompositeMapper = { + serializedName: "PortalSettingValidationKeyContract", type: { name: "Composite", - className: "OpenidConnectProviderUpdateContract", + className: "PortalSettingValidationKeyContract", modelProperties: { - displayName: { - serializedName: "properties.displayName", - constraints: { - MaxLength: 50 - }, - type: { - name: "String" - } - }, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, - metadataEndpoint: { - serializedName: "properties.metadataEndpoint", - type: { - name: "String" - } - }, - clientId: { - serializedName: "properties.clientId", - type: { - name: "String" - } - }, - clientSecret: { - serializedName: "properties.clientSecret", + validationKey: { + serializedName: "validationKey", type: { name: "String" } @@ -8030,287 +7916,53 @@ export const OpenidConnectProviderUpdateContract: msRest.CompositeMapper = { } }; -export const EndpointDetail: msRest.CompositeMapper = { - serializedName: "EndpointDetail", +export const RegistrationDelegationSettingsProperties: msRest.CompositeMapper = { + serializedName: "RegistrationDelegationSettingsProperties", type: { name: "Composite", - className: "EndpointDetail", + className: "RegistrationDelegationSettingsProperties", modelProperties: { - port: { - serializedName: "port", - type: { - name: "Number" - } - }, - region: { - serializedName: "region", + enabled: { + serializedName: "enabled", type: { - name: "String" + name: "Boolean" } } } } }; -export const EndpointDependency: msRest.CompositeMapper = { - serializedName: "EndpointDependency", +export const SubscriptionsDelegationSettingsProperties: msRest.CompositeMapper = { + serializedName: "SubscriptionsDelegationSettingsProperties", type: { name: "Composite", - className: "EndpointDependency", + className: "SubscriptionsDelegationSettingsProperties", modelProperties: { - domainName: { - serializedName: "domainName", - type: { - name: "String" - } - }, - endpointDetails: { - serializedName: "endpointDetails", + enabled: { + serializedName: "enabled", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EndpointDetail" - } - } + name: "Boolean" } } } } }; -export const OutboundEnvironmentEndpoint: msRest.CompositeMapper = { - serializedName: "OutboundEnvironmentEndpoint", +export const PortalDelegationSettings: msRest.CompositeMapper = { + serializedName: "PortalDelegationSettings", type: { name: "Composite", - className: "OutboundEnvironmentEndpoint", + className: "PortalDelegationSettings", modelProperties: { - category: { - serializedName: "category", + ...Resource.type.modelProperties, + url: { + serializedName: "properties.url", 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: { - name: "Composite", - className: "PolicyDescriptionContract", - modelProperties: { - ...Resource.type.modelProperties, - description: { - readOnly: true, - serializedName: "properties.description", - type: { - name: "String" - } - }, - scope: { - readOnly: true, - serializedName: "properties.scope", - type: { - name: "Number" - } - } - } - } -}; - -export const PolicyDescriptionCollection: msRest.CompositeMapper = { - serializedName: "PolicyDescriptionCollection", - type: { - name: "Composite", - className: "PolicyDescriptionCollection", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PolicyDescriptionContract" - } - } - } - }, - count: { - serializedName: "count", - type: { - name: "Number" - } - } - } - } -}; - -export const PortalRevisionContract: msRest.CompositeMapper = { - serializedName: "PortalRevisionContract", - type: { - name: "Composite", - className: "PortalRevisionContract", - modelProperties: { - ...Resource.type.modelProperties, - description: { - serializedName: "properties.description", - constraints: { - MaxLength: 2000 - }, - type: { - name: "String" - } - }, - statusDetails: { - readOnly: true, - serializedName: "properties.statusDetails", - constraints: { - MaxLength: 2000 - }, - type: { - name: "String" - } - }, - status: { - readOnly: true, - serializedName: "properties.status", - type: { - name: "String" - } - }, - isCurrent: { - serializedName: "properties.isCurrent", - type: { - name: "Boolean" - } - }, - createdDateTime: { - readOnly: true, - serializedName: "properties.createdDateTime", - type: { - name: "DateTime" - } - }, - updatedDateTime: { - readOnly: true, - serializedName: "properties.updatedDateTime", - type: { - name: "DateTime" - } - } - } - } -}; - -export const PortalSettingValidationKeyContract: msRest.CompositeMapper = { - serializedName: "PortalSettingValidationKeyContract", - type: { - name: "Composite", - className: "PortalSettingValidationKeyContract", - modelProperties: { - validationKey: { - serializedName: "validationKey", - type: { - name: "String" - } - } - } - } -}; - -export const RegistrationDelegationSettingsProperties: msRest.CompositeMapper = { - serializedName: "RegistrationDelegationSettingsProperties", - type: { - name: "Composite", - className: "RegistrationDelegationSettingsProperties", - modelProperties: { - enabled: { - serializedName: "enabled", - type: { - name: "Boolean" - } - } - } - } -}; - -export const SubscriptionsDelegationSettingsProperties: msRest.CompositeMapper = { - serializedName: "SubscriptionsDelegationSettingsProperties", - type: { - name: "Composite", - className: "SubscriptionsDelegationSettingsProperties", - modelProperties: { - enabled: { - serializedName: "enabled", - type: { - name: "Boolean" - } - } - } - } -}; - -export const PortalDelegationSettings: msRest.CompositeMapper = { - serializedName: "PortalDelegationSettings", - type: { - name: "Composite", - className: "PortalDelegationSettings", - modelProperties: { - ...Resource.type.modelProperties, - url: { - serializedName: "properties.url", - type: { - name: "String" - } - }, - validationKey: { - serializedName: "properties.validationKey", + validationKey: { + serializedName: "properties.validationKey", type: { name: "String" } @@ -9225,6 +8877,42 @@ export const ReportRecordContract: msRest.CompositeMapper = { } }; +export const SchemaContract: msRest.CompositeMapper = { + serializedName: "SchemaContract", + type: { + name: "Composite", + className: "SchemaContract", + modelProperties: { + ...Resource.type.modelProperties, + schemaType: { + required: true, + serializedName: "properties.schemaType", + type: { + name: "String" + } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" + } + }, + value: { + serializedName: "properties.value", + type: { + name: "String" + } + }, + document: { + serializedName: "properties\\.document", + type: { + name: "Object" + } + } + } + } +}; + export const TenantSettingsContract: msRest.CompositeMapper = { serializedName: "TenantSettingsContract", type: { @@ -9525,117 +9213,476 @@ export const ApiManagementSku: msRest.CompositeMapper = { readOnly: true, serializedName: "name", type: { - name: "String" + name: "String" + } + }, + tier: { + readOnly: true, + serializedName: "tier", + type: { + name: "String" + } + }, + size: { + readOnly: true, + serializedName: "size", + type: { + name: "String" + } + }, + family: { + readOnly: true, + serializedName: "family", + type: { + name: "String" + } + }, + kind: { + readOnly: true, + serializedName: "kind", + type: { + name: "String" + } + }, + capacity: { + readOnly: true, + serializedName: "capacity", + type: { + name: "Composite", + className: "ApiManagementSkuCapacity" + } + }, + locations: { + readOnly: true, + serializedName: "locations", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + locationInfo: { + readOnly: true, + serializedName: "locationInfo", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApiManagementSkuLocationInfo" + } + } + } + }, + apiVersions: { + readOnly: true, + serializedName: "apiVersions", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + costs: { + readOnly: true, + serializedName: "costs", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApiManagementSkuCosts" + } + } + } + }, + capabilities: { + readOnly: true, + serializedName: "capabilities", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApiManagementSkuCapabilities" + } + } + } + }, + restrictions: { + readOnly: true, + serializedName: "restrictions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApiManagementSkuRestrictions" + } + } + } + } + } + } +}; + +export const SubscriptionKeysContract: msRest.CompositeMapper = { + serializedName: "SubscriptionKeysContract", + type: { + name: "Composite", + className: "SubscriptionKeysContract", + modelProperties: { + primaryKey: { + serializedName: "primaryKey", + constraints: { + MaxLength: 256, + MinLength: 1 + }, + type: { + name: "String" + } + }, + secondaryKey: { + serializedName: "secondaryKey", + constraints: { + MaxLength: 256, + MinLength: 1 + }, + type: { + name: "String" + } + } + } + } +}; + +export const SubscriptionUpdateParameters: msRest.CompositeMapper = { + serializedName: "SubscriptionUpdateParameters", + type: { + name: "Composite", + className: "SubscriptionUpdateParameters", + modelProperties: { + ownerId: { + serializedName: "properties.ownerId", + type: { + name: "String" + } + }, + scope: { + serializedName: "properties.scope", + type: { + name: "String" + } + }, + expirationDate: { + serializedName: "properties.expirationDate", + type: { + name: "DateTime" + } + }, + displayName: { + serializedName: "properties.displayName", + type: { + name: "String" + } + }, + primaryKey: { + serializedName: "properties.primaryKey", + constraints: { + MaxLength: 256, + MinLength: 1 + }, + type: { + name: "String" + } + }, + secondaryKey: { + serializedName: "properties.secondaryKey", + constraints: { + MaxLength: 256, + MinLength: 1 + }, + type: { + name: "String" + } + }, + state: { + serializedName: "properties.state", + type: { + name: "Enum", + allowedValues: [ + "suspended", + "active", + "expired", + "submitted", + "rejected", + "cancelled" + ] + } + }, + stateComment: { + serializedName: "properties.stateComment", + type: { + name: "String" + } + }, + allowTracing: { + serializedName: "properties.allowTracing", + type: { + name: "Boolean" + } + } + } + } +}; + +export const SubscriptionCreateParameters: msRest.CompositeMapper = { + serializedName: "SubscriptionCreateParameters", + type: { + name: "Composite", + className: "SubscriptionCreateParameters", + modelProperties: { + ownerId: { + serializedName: "properties.ownerId", + type: { + name: "String" + } + }, + scope: { + required: true, + serializedName: "properties.scope", + type: { + name: "String" + } + }, + displayName: { + required: true, + serializedName: "properties.displayName", + constraints: { + MaxLength: 100, + MinLength: 1 + }, + type: { + name: "String" + } + }, + primaryKey: { + serializedName: "properties.primaryKey", + constraints: { + MaxLength: 256, + MinLength: 1 + }, + type: { + name: "String" + } + }, + secondaryKey: { + serializedName: "properties.secondaryKey", + constraints: { + MaxLength: 256, + MinLength: 1 + }, + type: { + name: "String" + } + }, + state: { + serializedName: "properties.state", + type: { + name: "Enum", + allowedValues: [ + "suspended", + "active", + "expired", + "submitted", + "rejected", + "cancelled" + ] + } + }, + allowTracing: { + serializedName: "properties.allowTracing", + type: { + name: "Boolean" + } + } + } + } +}; + +export const TagCreateUpdateParameters: msRest.CompositeMapper = { + serializedName: "TagCreateUpdateParameters", + type: { + name: "Composite", + className: "TagCreateUpdateParameters", + modelProperties: { + displayName: { + required: true, + serializedName: "properties.displayName", + constraints: { + MaxLength: 160, + MinLength: 1 + }, + type: { + name: "String" + } + } + } + } +}; + +export const TenantConfigurationSyncStateContract: msRest.CompositeMapper = { + serializedName: "TenantConfigurationSyncStateContract", + type: { + name: "Composite", + className: "TenantConfigurationSyncStateContract", + modelProperties: { + ...Resource.type.modelProperties, + branch: { + serializedName: "properties.branch", + type: { + name: "String" + } + }, + commitId: { + serializedName: "properties.commitId", + type: { + name: "String" + } + }, + isExport: { + serializedName: "properties.isExport", + type: { + name: "Boolean" + } + }, + isSynced: { + serializedName: "properties.isSynced", + type: { + name: "Boolean" + } + }, + isGitEnabled: { + serializedName: "properties.isGitEnabled", + type: { + name: "Boolean" + } + }, + syncDate: { + serializedName: "properties.syncDate", + type: { + name: "DateTime" + } + }, + configurationChangeDate: { + serializedName: "properties.configurationChangeDate", + type: { + name: "DateTime" } }, - tier: { - readOnly: true, - serializedName: "tier", + lastOperationId: { + serializedName: "properties.lastOperationId", type: { name: "String" } - }, - size: { - readOnly: true, - serializedName: "size", + } + } + } +}; + +export const OperationResultLogItemContract: msRest.CompositeMapper = { + serializedName: "OperationResultLogItemContract", + type: { + name: "Composite", + className: "OperationResultLogItemContract", + modelProperties: { + objectType: { + serializedName: "objectType", type: { name: "String" } }, - family: { - readOnly: true, - serializedName: "family", + action: { + serializedName: "action", type: { name: "String" } }, - kind: { - readOnly: true, - serializedName: "kind", + objectKey: { + serializedName: "objectKey", type: { name: "String" } - }, - capacity: { - readOnly: true, - serializedName: "capacity", + } + } + } +}; + +export const OperationResultContract: msRest.CompositeMapper = { + serializedName: "OperationResultContract", + type: { + name: "Composite", + className: "OperationResultContract", + modelProperties: { + ...Resource.type.modelProperties, + operationResultContractId: { + serializedName: "properties.id", type: { - name: "Composite", - className: "ApiManagementSkuCapacity" + name: "String" } }, - locations: { - readOnly: true, - serializedName: "locations", + status: { + serializedName: "properties.status", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Enum", + allowedValues: [ + "Started", + "InProgress", + "Succeeded", + "Failed" + ] } }, - locationInfo: { - readOnly: true, - serializedName: "locationInfo", + started: { + serializedName: "properties.started", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ApiManagementSkuLocationInfo" - } - } + name: "DateTime" } }, - apiVersions: { - readOnly: true, - serializedName: "apiVersions", + updated: { + serializedName: "properties.updated", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "DateTime" } }, - costs: { - readOnly: true, - serializedName: "costs", + resultInfo: { + serializedName: "properties.resultInfo", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ApiManagementSkuCosts" - } - } + name: "String" } }, - capabilities: { - readOnly: true, - serializedName: "capabilities", + error: { + serializedName: "properties.error", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ApiManagementSkuCapabilities" - } - } + name: "Composite", + className: "ErrorResponseBody" } }, - restrictions: { + actionLog: { readOnly: true, - serializedName: "restrictions", + serializedName: "properties.actionLog", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ApiManagementSkuRestrictions" + className: "OperationResultLogItemContract" } } } @@ -9644,108 +9691,129 @@ export const ApiManagementSku: msRest.CompositeMapper = { } }; -export const SubscriptionKeysContract: msRest.CompositeMapper = { - serializedName: "SubscriptionKeysContract", +export const DeployConfigurationParameters: msRest.CompositeMapper = { + serializedName: "DeployConfigurationParameters", type: { name: "Composite", - className: "SubscriptionKeysContract", + className: "DeployConfigurationParameters", modelProperties: { - primaryKey: { - serializedName: "primaryKey", - constraints: { - MaxLength: 256, - MinLength: 1 - }, + branch: { + required: true, + serializedName: "properties.branch", type: { name: "String" } }, - secondaryKey: { - serializedName: "secondaryKey", - constraints: { - MaxLength: 256, - MinLength: 1 - }, + force: { + serializedName: "properties.force", type: { - name: "String" + name: "Boolean" } } } } }; -export const SubscriptionUpdateParameters: msRest.CompositeMapper = { - serializedName: "SubscriptionUpdateParameters", +export const SaveConfigurationParameter: msRest.CompositeMapper = { + serializedName: "SaveConfigurationParameter", type: { name: "Composite", - className: "SubscriptionUpdateParameters", + className: "SaveConfigurationParameter", modelProperties: { - ownerId: { - serializedName: "properties.ownerId", + branch: { + required: true, + serializedName: "properties.branch", type: { name: "String" } }, - scope: { - serializedName: "properties.scope", + force: { + serializedName: "properties.force", type: { - name: "String" + name: "Boolean" } - }, - expirationDate: { - serializedName: "properties.expirationDate", + } + } + } +}; + +export const AccessInformationSecretsContract: msRest.CompositeMapper = { + serializedName: "AccessInformationSecretsContract", + type: { + name: "Composite", + className: "AccessInformationSecretsContract", + modelProperties: { + id: { + serializedName: "id", type: { - name: "DateTime" + name: "String" } }, - displayName: { - serializedName: "properties.displayName", + principalId: { + serializedName: "principalId", type: { name: "String" } }, primaryKey: { - serializedName: "properties.primaryKey", - constraints: { - MaxLength: 256, - MinLength: 1 - }, + serializedName: "primaryKey", type: { name: "String" } }, secondaryKey: { - serializedName: "properties.secondaryKey", - constraints: { - MaxLength: 256, - MinLength: 1 - }, + serializedName: "secondaryKey", type: { name: "String" } }, - state: { - serializedName: "properties.state", + enabled: { + serializedName: "enabled", type: { - name: "Enum", - allowedValues: [ - "suspended", - "active", - "expired", - "submitted", - "rejected", - "cancelled" - ] + name: "Boolean" + } + } + } + } +}; + +export const AccessInformationContract: msRest.CompositeMapper = { + serializedName: "AccessInformationContract", + type: { + name: "Composite", + className: "AccessInformationContract", + modelProperties: { + ...Resource.type.modelProperties, + accessInformationContractId: { + serializedName: "properties.id", + type: { + name: "String" } }, - stateComment: { - serializedName: "properties.stateComment", + principalId: { + serializedName: "properties.principalId", type: { name: "String" } }, - allowTracing: { - serializedName: "properties.allowTracing", + 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" } @@ -9754,93 +9822,93 @@ export const SubscriptionUpdateParameters: msRest.CompositeMapper = { } }; -export const SubscriptionCreateParameters: msRest.CompositeMapper = { - serializedName: "SubscriptionCreateParameters", +export const AccessInformationCreateParameters: msRest.CompositeMapper = { + serializedName: "AccessInformationCreateParameters", type: { name: "Composite", - className: "SubscriptionCreateParameters", + className: "AccessInformationCreateParameters", modelProperties: { - ownerId: { - serializedName: "properties.ownerId", + principalId: { + serializedName: "properties.principalId", type: { name: "String" } }, - scope: { - required: true, - serializedName: "properties.scope", + primaryKey: { + serializedName: "properties.primaryKey", type: { name: "String" } }, - displayName: { - required: true, - serializedName: "properties.displayName", - constraints: { - MaxLength: 100, - MinLength: 1 - }, + secondaryKey: { + serializedName: "properties.secondaryKey", type: { name: "String" } }, - primaryKey: { - serializedName: "properties.primaryKey", - constraints: { - MaxLength: 256, - MinLength: 1 - }, + enabled: { + serializedName: "properties.enabled", type: { - name: "String" + name: "Boolean" } - }, - secondaryKey: { - serializedName: "properties.secondaryKey", - constraints: { - MaxLength: 256, - MinLength: 1 - }, + } + } + } +}; + +export const UserTokenResult: msRest.CompositeMapper = { + serializedName: "UserTokenResult", + type: { + name: "Composite", + className: "UserTokenResult", + modelProperties: { + value: { + serializedName: "value", type: { name: "String" } - }, - state: { - serializedName: "properties.state", + } + } + } +}; + +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: [ - "suspended", - "active", - "expired", - "submitted", - "rejected", - "cancelled" + "primary", + "secondary" ] } }, - allowTracing: { - serializedName: "properties.allowTracing", + expiry: { + required: true, + serializedName: "properties.expiry", type: { - name: "Boolean" + name: "DateTime" } } } } }; -export const TagCreateUpdateParameters: msRest.CompositeMapper = { - serializedName: "TagCreateUpdateParameters", +export const GenerateSsoUrlResult: msRest.CompositeMapper = { + serializedName: "GenerateSsoUrlResult", type: { name: "Composite", - className: "TagCreateUpdateParameters", + className: "GenerateSsoUrlResult", modelProperties: { - displayName: { - required: true, - serializedName: "properties.displayName", - constraints: { - MaxLength: 160, - MinLength: 1 - }, + value: { + serializedName: "value", type: { name: "String" } @@ -9849,57 +9917,69 @@ export const TagCreateUpdateParameters: msRest.CompositeMapper = { } }; -export const TenantConfigurationSyncStateContract: msRest.CompositeMapper = { - serializedName: "TenantConfigurationSyncStateContract", +export const UserUpdateParameters: msRest.CompositeMapper = { + serializedName: "UserUpdateParameters", type: { name: "Composite", - className: "TenantConfigurationSyncStateContract", + className: "UserUpdateParameters", modelProperties: { - ...Resource.type.modelProperties, - branch: { - serializedName: "properties.branch", + state: { + serializedName: "properties.state", + defaultValue: 'active', type: { name: "String" } }, - commitId: { - serializedName: "properties.commitId", + note: { + serializedName: "properties.note", type: { name: "String" } }, - isExport: { - serializedName: "properties.isExport", - type: { - name: "Boolean" - } - }, - isSynced: { - serializedName: "properties.isSynced", + identities: { + serializedName: "properties.identities", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "UserIdentityContract" + } + } } }, - isGitEnabled: { - serializedName: "properties.isGitEnabled", + email: { + serializedName: "properties.email", + constraints: { + MaxLength: 254, + MinLength: 1 + }, type: { - name: "Boolean" + name: "String" } }, - syncDate: { - serializedName: "properties.syncDate", + password: { + serializedName: "properties.password", type: { - name: "DateTime" + name: "String" } }, - configurationChangeDate: { - serializedName: "properties.configurationChangeDate", + firstName: { + serializedName: "properties.firstName", + constraints: { + MaxLength: 100, + MinLength: 1 + }, type: { - name: "DateTime" + name: "String" } }, - lastOperationId: { - serializedName: "properties.lastOperationId", + lastName: { + serializedName: "properties.lastName", + constraints: { + MaxLength: 100, + MinLength: 1 + }, type: { name: "String" } @@ -9908,273 +9988,283 @@ export const TenantConfigurationSyncStateContract: msRest.CompositeMapper = { } }; -export const OperationResultLogItemContract: msRest.CompositeMapper = { - serializedName: "OperationResultLogItemContract", +export const UserCreateParameters: msRest.CompositeMapper = { + serializedName: "UserCreateParameters", type: { name: "Composite", - className: "OperationResultLogItemContract", + className: "UserCreateParameters", modelProperties: { - objectType: { - serializedName: "objectType", + state: { + serializedName: "properties.state", + defaultValue: 'active', type: { name: "String" } }, - action: { - serializedName: "action", + note: { + serializedName: "properties.note", type: { name: "String" } }, - objectKey: { - serializedName: "objectKey", - type: { - name: "String" - } - } - } - } -}; - -export const OperationResultContract: msRest.CompositeMapper = { - serializedName: "OperationResultContract", - type: { - name: "Composite", - className: "OperationResultContract", - modelProperties: { - ...Resource.type.modelProperties, - operationResultContractId: { - serializedName: "properties.id", + identities: { + serializedName: "properties.identities", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "UserIdentityContract" + } + } } }, - status: { - serializedName: "properties.status", + email: { + required: true, + serializedName: "properties.email", + constraints: { + MaxLength: 254, + MinLength: 1 + }, type: { - name: "Enum", - allowedValues: [ - "Started", - "InProgress", - "Succeeded", - "Failed" - ] + name: "String" } }, - started: { - serializedName: "properties.started", + firstName: { + required: true, + serializedName: "properties.firstName", + constraints: { + MaxLength: 100, + MinLength: 1 + }, type: { - name: "DateTime" + name: "String" } }, - updated: { - serializedName: "properties.updated", + lastName: { + required: true, + serializedName: "properties.lastName", + constraints: { + MaxLength: 100, + MinLength: 1 + }, type: { - name: "DateTime" + name: "String" } }, - resultInfo: { - serializedName: "properties.resultInfo", + password: { + serializedName: "properties.password", type: { name: "String" } }, - error: { - serializedName: "properties.error", + appType: { + serializedName: "properties.appType", type: { - name: "Composite", - className: "ErrorResponseBody" + name: "String" } }, - actionLog: { - readOnly: true, - serializedName: "properties.actionLog", + confirmation: { + serializedName: "properties.confirmation", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OperationResultLogItemContract" - } - } + name: "String" } } } } }; -export const DeployConfigurationParameters: msRest.CompositeMapper = { - serializedName: "DeployConfigurationParameters", +export const ConnectivityIssue: msRest.CompositeMapper = { + serializedName: "ConnectivityIssue", type: { name: "Composite", - className: "DeployConfigurationParameters", + className: "ConnectivityIssue", modelProperties: { - branch: { - required: true, - serializedName: "properties.branch", + origin: { + readOnly: true, + serializedName: "origin", type: { name: "String" } }, - force: { - serializedName: "properties.force", + severity: { + readOnly: true, + serializedName: "severity", type: { - name: "Boolean" + name: "String" } - } - } - } -}; - -export const SaveConfigurationParameter: msRest.CompositeMapper = { - serializedName: "SaveConfigurationParameter", - type: { - name: "Composite", - className: "SaveConfigurationParameter", - modelProperties: { - branch: { - required: true, - serializedName: "properties.branch", + }, + type: { + readOnly: true, + serializedName: "type", type: { name: "String" } }, - force: { - serializedName: "properties.force", + context: { + readOnly: true, + serializedName: "context", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } } } } } }; -export const AccessInformationSecretsContract: msRest.CompositeMapper = { - serializedName: "AccessInformationSecretsContract", +export const ConnectivityHop: msRest.CompositeMapper = { + serializedName: "ConnectivityHop", type: { name: "Composite", - className: "AccessInformationSecretsContract", + className: "ConnectivityHop", modelProperties: { + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, id: { + readOnly: true, serializedName: "id", type: { name: "String" } }, - principalId: { - serializedName: "principalId", + address: { + readOnly: true, + serializedName: "address", type: { name: "String" } }, - primaryKey: { - serializedName: "primaryKey", + resourceId: { + readOnly: true, + serializedName: "resourceId", type: { name: "String" } }, - secondaryKey: { - serializedName: "secondaryKey", + nextHopIds: { + readOnly: true, + serializedName: "nextHopIds", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - enabled: { - serializedName: "enabled", + issues: { + readOnly: true, + serializedName: "issues", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectivityIssue" + } + } } } } } }; -export const AccessInformationContract: msRest.CompositeMapper = { - serializedName: "AccessInformationContract", +export const ConnectivityCheckResponse: msRest.CompositeMapper = { + serializedName: "ConnectivityCheckResponse", type: { name: "Composite", - className: "AccessInformationContract", + className: "ConnectivityCheckResponse", modelProperties: { - ...Resource.type.modelProperties, - accessInformationContractId: { - serializedName: "properties.id", + hops: { + readOnly: true, + serializedName: "hops", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectivityHop" + } + } } }, - principalId: { - serializedName: "properties.principalId", + connectionStatus: { + readOnly: true, + serializedName: "connectionStatus", type: { name: "String" } }, - enabled: { - serializedName: "properties.enabled", - type: { - name: "Boolean" - } - } - } - } -}; - -export const AccessInformationUpdateParameters: msRest.CompositeMapper = { - serializedName: "AccessInformationUpdateParameters", - type: { - name: "Composite", - className: "AccessInformationUpdateParameters", - modelProperties: { - enabled: { - serializedName: "properties.enabled", + avgLatencyInMs: { + readOnly: true, + serializedName: "avgLatencyInMs", type: { - name: "Boolean" + name: "Number" } - } - } - } -}; - -export const AccessInformationCreateParameters: msRest.CompositeMapper = { - serializedName: "AccessInformationCreateParameters", - type: { - name: "Composite", - className: "AccessInformationCreateParameters", - modelProperties: { - principalId: { - serializedName: "properties.principalId", + }, + minLatencyInMs: { + readOnly: true, + serializedName: "minLatencyInMs", type: { - name: "String" + name: "Number" } }, - primaryKey: { - serializedName: "properties.primaryKey", + maxLatencyInMs: { + readOnly: true, + serializedName: "maxLatencyInMs", type: { - name: "String" + name: "Number" } }, - secondaryKey: { - serializedName: "properties.secondaryKey", + probesSent: { + readOnly: true, + serializedName: "probesSent", type: { - name: "String" + name: "Number" } }, - enabled: { - serializedName: "properties.enabled", + probesFailed: { + readOnly: true, + serializedName: "probesFailed", type: { - name: "Boolean" + 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" @@ -10184,202 +10274,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" } } } @@ -12609,6 +12645,54 @@ export const TagGetByProductHeaders: msRest.CompositeMapper = { } }; +export const SchemaGetEntityTagHeaders: msRest.CompositeMapper = { + serializedName: "schema-getentitytag-headers", + type: { + name: "Composite", + className: "SchemaGetEntityTagHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const SchemaGetHeaders: msRest.CompositeMapper = { + serializedName: "schema-get-headers", + type: { + name: "Composite", + className: "SchemaGetHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const SchemaCreateOrUpdateHeaders: msRest.CompositeMapper = { + serializedName: "schema-createorupdate-headers", + type: { + name: "Composite", + className: "SchemaCreateOrUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const TenantSettingsGetHeaders: msRest.CompositeMapper = { serializedName: "tenantsettings-get-headers", type: { @@ -13175,11 +13259,11 @@ export const ProductCollection: msRest.CompositeMapper = { } }; -export const SchemaCollection: msRest.CompositeMapper = { - serializedName: "SchemaCollection", +export const ApiSchemaCollection: msRest.CompositeMapper = { + serializedName: "ApiSchemaCollection", type: { name: "Composite", - className: "SchemaCollection", + className: "ApiSchemaCollection", modelProperties: { value: { readOnly: true, @@ -13189,7 +13273,7 @@ export const SchemaCollection: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SchemaContract" + className: "ApiSchemaContract" } } } @@ -14283,6 +14367,42 @@ export const RequestReportCollection: msRest.CompositeMapper = { } }; +export const SchemaCollection: msRest.CompositeMapper = { + serializedName: "SchemaCollection", + type: { + name: "Composite", + className: "SchemaCollection", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SchemaContract" + } + } + } + }, + count: { + serializedName: "count", + type: { + name: "Number" + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const TenantSettingsCollection: msRest.CompositeMapper = { serializedName: "TenantSettingsCollection", type: { diff --git a/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts index fda60bd61083..a52114812b02 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts index 3d8aed6d21da..4b3e641c71df 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts index 60126b53d81c..f0c770b33879 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts index 614032bc2946..87c3231f3379 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts index d62f6803787c..df4ae15029b2 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/parameters.ts b/sdk/apimanagement/arm-apimanagement/src/models/parameters.ts index 7b18fcb2230d..c0ff9517378e 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/parameters.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/parameters.ts @@ -747,8 +747,7 @@ export const schemaId: msRest.OperationURLParameter = { serializedName: "schemaId", constraints: { MaxLength: 80, - MinLength: 1, - Pattern: /^[^*#&+:<>?]+$/ + MinLength: 1 }, type: { name: "String" diff --git a/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts index 330229a340b6..db3b5e6e8f51 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts index 75d8931aac00..eb19114fa27a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/portalRevisionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/portalRevisionMappers.ts index b5d869eae2fa..dce90bc32b92 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/portalRevisionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/portalRevisionMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/portalSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/portalSettingsMappers.ts index 961fb927e124..2e0e2e94ea4b 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/portalSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/portalSettingsMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/privateEndpointConnectionOperationsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/privateEndpointConnectionOperationsMappers.ts index d818ffe0ed33..697c13a35d63 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/privateEndpointConnectionOperationsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/privateEndpointConnectionOperationsMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts index e5f4622921f1..e6e6c0e80d32 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts @@ -19,6 +19,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts index 44de3e143fc7..7e110b9b687d 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts index 1259ed63686b..591fc6a70d5b 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts @@ -20,6 +20,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiTagResourceContractProperties, ApiVersionConstraint, ApiVersionSetContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts index 67f39fd52f64..0c179087702d 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts index c83af5010b5d..28dbbaf4026c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/schemaMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/schemaMappers.ts new file mode 100644 index 000000000000..efe79db9f1ab --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/models/schemaMappers.ts @@ -0,0 +1,129 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AccessInformationContract, + AdditionalLocation, + ApiContactInformation, + ApiContract, + ApiLicenseInformation, + ApiManagementServiceIdentity, + ApiManagementServiceResource, + ApiManagementServiceSkuProperties, + ApiManagementServiceUpdateParameters, + ApimResource, + ApiReleaseContract, + ApiSchemaContract, + ApiVersionConstraint, + ApiVersionSetContract, + ApiVersionSetContractDetails, + ArmIdWrapper, + AssociationContract, + AuthenticationSettingsContract, + AuthorizationServerContract, + AuthorizationServerUpdateContract, + AzureEntityResource, + BackendAuthorizationHeaderCredentials, + BackendContract, + BackendCredentialsContract, + BackendProperties, + BackendProxyContract, + BackendReconnectContract, + BackendServiceFabricClusterProperties, + BackendTlsProperties, + BaseResource, + BodyDiagnosticSettings, + CacheContract, + CertificateConfiguration, + CertificateContract, + CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, + DiagnosticContract, + EmailTemplateContract, + EmailTemplateParametersContractProperties, + ErrorFieldContract, + ErrorResponse, + ErrorResponseBody, + GatewayCertificateAuthorityContract, + GatewayContract, + GatewayHostnameConfigurationContract, + GroupContract, + GroupContractProperties, + HostnameConfiguration, + HttpMessageDiagnostic, + IdentityProviderContract, + IdentityProviderCreateContract, + IssueAttachmentContract, + IssueCommentContract, + IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, + LoggerContract, + NamedValueContract, + NamedValueCreateContract, + NotificationContract, + OAuth2AuthenticationSettingsContract, + OpenIdAuthenticationSettingsContract, + OpenidConnectProviderContract, + OperationContract, + OperationResultContract, + OperationResultLogItemContract, + ParameterContract, + ParameterExampleContract, + PipelineDiagnosticSettings, + PolicyContract, + PolicyDescriptionContract, + PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, + PortalSigninSettings, + PortalSignupSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkResource, + PrivateLinkServiceConnectionState, + ProductContract, + ProxyResource, + RecipientEmailContract, + RecipientsContractProperties, + RecipientUserContract, + RegistrationDelegationSettingsProperties, + RemotePrivateEndpointConnectionWrapper, + RepresentationContract, + RequestContract, + Resource, + ResourceLocationDataContract, + ResponseContract, + SamplingSettings, + SchemaCollection, + SchemaContract, + SchemaCreateOrUpdateHeaders, + SchemaGetEntityTagHeaders, + SchemaGetHeaders, + SubscriptionContract, + SubscriptionKeyParameterNamesContract, + SubscriptionsDelegationSettingsProperties, + SystemData, + TagContract, + TagDescriptionContract, + TenantConfigurationSyncStateContract, + TenantSettingsContract, + TermsOfServiceProperties, + TokenBodyParameterContract, + TrackedResource, + UserContract, + UserIdentityContract, + UserIdentityProperties, + VirtualNetworkConfiguration, + X509CertificateName +} from "../models/mappers"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts index 88cfd4fb9b9b..885755b489b9 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts index 7520b211e4c1..4491028de380 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts index e402cd77e2ea..ac6009fc7cab 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts index 1af47c675310..df9cf0f01965 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts index 2016f19afd31..2938734a8ec2 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts @@ -22,6 +22,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tenantConfigurationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tenantConfigurationMappers.ts index ed765b737c3d..6deca77e1bc1 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tenantConfigurationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tenantConfigurationMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tenantSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tenantSettingsMappers.ts index 31d3617d870e..5581c5701577 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tenantSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tenantSettingsMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts index 44de3e143fc7..7e110b9b687d 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts index d5c74275a571..f265f0ded877 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.ts index 54aca888fe90..16235c6be648 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.ts @@ -18,6 +18,7 @@ export { ApiManagementServiceUpdateParameters, ApimResource, ApiReleaseContract, + ApiSchemaContract, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiSchema.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiSchema.ts index 0deae807efcb..6668493abf52 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiSchema.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiSchema.ts @@ -43,7 +43,7 @@ export class ApiSchema { * instance. Non-current revision has ;rev=n as a suffix where n is the revision number. * @param callback The callback */ - listByApi(resourceGroupName: string, serviceName: string, apiId: string, callback: msRest.ServiceCallback): void; + listByApi(resourceGroupName: string, serviceName: string, apiId: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -52,8 +52,8 @@ export class ApiSchema { * @param options The optional parameters * @param callback The callback */ - listByApi(resourceGroupName: string, serviceName: string, apiId: string, options: Models.ApiSchemaListByApiOptionalParams, callback: msRest.ServiceCallback): void; - listByApi(resourceGroupName: string, serviceName: string, apiId: string, options?: Models.ApiSchemaListByApiOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByApi(resourceGroupName: string, serviceName: string, apiId: string, options: Models.ApiSchemaListByApiOptionalParams, callback: msRest.ServiceCallback): void; + listByApi(resourceGroupName: string, serviceName: string, apiId: string, options?: Models.ApiSchemaListByApiOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -71,8 +71,8 @@ export class ApiSchema { * @param serviceName The name of the API Management service. * @param apiId API revision identifier. Must be unique in the current API Management service * instance. Non-current revision has ;rev=n as a suffix where n is the revision number. - * @param schemaId Schema identifier within an API. Must be unique in the current API Management - * service instance. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. * @param [options] The optional parameters * @returns Promise */ @@ -82,8 +82,8 @@ export class ApiSchema { * @param serviceName The name of the API Management service. * @param apiId API revision identifier. Must be unique in the current API Management service * instance. Non-current revision has ;rev=n as a suffix where n is the revision number. - * @param schemaId Schema identifier within an API. Must be unique in the current API Management - * service instance. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. * @param callback The callback */ getEntityTag(resourceGroupName: string, serviceName: string, apiId: string, schemaId: string, callback: msRest.ServiceCallback): void; @@ -92,8 +92,8 @@ export class ApiSchema { * @param serviceName The name of the API Management service. * @param apiId API revision identifier. Must be unique in the current API Management service * instance. Non-current revision has ;rev=n as a suffix where n is the revision number. - * @param schemaId Schema identifier within an API. Must be unique in the current API Management - * service instance. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. * @param options The optional parameters * @param callback The callback */ @@ -117,8 +117,8 @@ export class ApiSchema { * @param serviceName The name of the API Management service. * @param apiId API revision identifier. Must be unique in the current API Management service * instance. Non-current revision has ;rev=n as a suffix where n is the revision number. - * @param schemaId Schema identifier within an API. Must be unique in the current API Management - * service instance. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. * @param [options] The optional parameters * @returns Promise */ @@ -128,23 +128,23 @@ export class ApiSchema { * @param serviceName The name of the API Management service. * @param apiId API revision identifier. Must be unique in the current API Management service * instance. Non-current revision has ;rev=n as a suffix where n is the revision number. - * @param schemaId Schema identifier within an API. Must be unique in the current API Management - * service instance. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. * @param callback The callback */ - get(resourceGroupName: string, serviceName: string, apiId: string, schemaId: string, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, serviceName: string, apiId: string, schemaId: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param apiId API revision identifier. Must be unique in the current API Management service * instance. Non-current revision has ;rev=n as a suffix where n is the revision number. - * @param schemaId Schema identifier within an API. Must be unique in the current API Management - * service instance. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. * @param options The optional parameters * @param callback The callback */ - get(resourceGroupName: string, serviceName: string, apiId: string, schemaId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, serviceName: string, apiId: string, schemaId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, serviceName: string, apiId: string, schemaId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, serviceName: string, apiId: string, schemaId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -163,13 +163,13 @@ export class ApiSchema { * @param serviceName The name of the API Management service. * @param apiId API revision identifier. Must be unique in the current API Management service * instance. Non-current revision has ;rev=n as a suffix where n is the revision number. - * @param schemaId Schema identifier within an API. Must be unique in the current API Management - * service instance. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. * @param parameters The schema contents to apply. * @param [options] The optional parameters * @returns Promise */ - createOrUpdate(resourceGroupName: string, serviceName: string, apiId: string, schemaId: string, parameters: Models.SchemaContract, options?: Models.ApiSchemaCreateOrUpdateOptionalParams): Promise { + createOrUpdate(resourceGroupName: string, serviceName: string, apiId: string, schemaId: string, parameters: Models.ApiSchemaContract, options?: Models.ApiSchemaCreateOrUpdateOptionalParams): Promise { return this.beginCreateOrUpdate(resourceGroupName,serviceName,apiId,schemaId,parameters,options) .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } @@ -180,8 +180,8 @@ export class ApiSchema { * @param serviceName The name of the API Management service. * @param apiId API revision identifier. Must be unique in the current API Management service * instance. Non-current revision has ;rev=n as a suffix where n is the revision number. - * @param schemaId Schema identifier within an API. Must be unique in the current API Management - * service instance. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters @@ -193,8 +193,8 @@ export class ApiSchema { * @param serviceName The name of the API Management service. * @param apiId API revision identifier. Must be unique in the current API Management service * instance. Non-current revision has ;rev=n as a suffix where n is the revision number. - * @param schemaId Schema identifier within an API. Must be unique in the current API Management - * service instance. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param callback The callback @@ -205,8 +205,8 @@ export class ApiSchema { * @param serviceName The name of the API Management service. * @param apiId API revision identifier. Must be unique in the current API Management service * instance. Non-current revision has ;rev=n as a suffix where n is the revision number. - * @param schemaId Schema identifier within an API. Must be unique in the current API Management - * service instance. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param options The optional parameters @@ -233,13 +233,13 @@ export class ApiSchema { * @param serviceName The name of the API Management service. * @param apiId API revision identifier. Must be unique in the current API Management service * instance. Non-current revision has ;rev=n as a suffix where n is the revision number. - * @param schemaId Schema identifier within an API. Must be unique in the current API Management - * service instance. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. * @param parameters The schema contents to apply. * @param [options] The optional parameters * @returns Promise */ - beginCreateOrUpdate(resourceGroupName: string, serviceName: string, apiId: string, schemaId: string, parameters: Models.SchemaContract, options?: Models.ApiSchemaBeginCreateOrUpdateOptionalParams): Promise { + beginCreateOrUpdate(resourceGroupName: string, serviceName: string, apiId: string, schemaId: string, parameters: Models.ApiSchemaContract, options?: Models.ApiSchemaBeginCreateOrUpdateOptionalParams): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -264,14 +264,14 @@ export class ApiSchema { * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ - listByApiNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listByApiNext(nextPageLink: string, callback: msRest.ServiceCallback): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param options The optional parameters * @param callback The callback */ - listByApiNext(nextPageLink: string, options: Models.ApiSchemaListByApiNextOptionalParams, callback: msRest.ServiceCallback): void; - listByApiNext(nextPageLink: string, options?: Models.ApiSchemaListByApiNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByApiNext(nextPageLink: string, options: Models.ApiSchemaListByApiNextOptionalParams, callback: msRest.ServiceCallback): void; + listByApiNext(nextPageLink: string, options?: Models.ApiSchemaListByApiNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -304,7 +304,7 @@ const listByApiOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.SchemaCollection + bodyMapper: Mappers.ApiSchemaCollection }, default: { bodyMapper: Mappers.ErrorResponse @@ -359,7 +359,7 @@ const getOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.SchemaContract, + bodyMapper: Mappers.ApiSchemaContract, headersMapper: Mappers.ApiSchemaGetHeaders }, default: { @@ -418,17 +418,17 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { requestBody: { parameterPath: "parameters", mapper: { - ...Mappers.SchemaContract, + ...Mappers.ApiSchemaContract, required: true } }, responses: { 200: { - bodyMapper: Mappers.SchemaContract, + bodyMapper: Mappers.ApiSchemaContract, headersMapper: Mappers.ApiSchemaCreateOrUpdateHeaders }, 201: { - bodyMapper: Mappers.SchemaContract, + bodyMapper: Mappers.ApiSchemaContract, headersMapper: Mappers.ApiSchemaCreateOrUpdateHeaders }, 202: { @@ -460,7 +460,7 @@ const listByApiNextOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.SchemaCollection + bodyMapper: Mappers.ApiSchemaCollection }, default: { bodyMapper: Mappers.ErrorResponse diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/index.ts b/sdk/apimanagement/arm-apimanagement/src/operations/index.ts index d9428a056155..73aa96d37257 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/index.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/index.ts @@ -68,6 +68,7 @@ export * from "./quotaByCounterKeys"; export * from "./quotaByPeriodKeys"; export * from "./region"; export * from "./reports"; +export * from "./schema"; export * from "./tenantSettings"; export * from "./apiManagementSkus"; export * from "./subscription"; diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/schema.ts b/sdk/apimanagement/arm-apimanagement/src/operations/schema.ts new file mode 100644 index 000000000000..623cb7b8493a --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/operations/schema.ts @@ -0,0 +1,431 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/schemaMappers"; +import * as Parameters from "../models/parameters"; +import { ApiManagementClientContext } from "../apiManagementClientContext"; + +/** Class representing a Schema. */ +export class Schema { + private readonly client: ApiManagementClientContext; + + /** + * Create a Schema. + * @param {ApiManagementClientContext} client Reference to the service client. + */ + constructor(client: ApiManagementClientContext) { + this.client = client; + } + + /** + * Lists a collection of schemas registered with service instance. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param [options] The optional parameters + * @returns Promise + */ + listByService(resourceGroupName: string, serviceName: string, options?: Models.SchemaListByServiceOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param callback The callback + */ + listByService(resourceGroupName: string, serviceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param options The optional parameters + * @param callback The callback + */ + listByService(resourceGroupName: string, serviceName: string, options: Models.SchemaListByServiceOptionalParams, callback: msRest.ServiceCallback): void; + listByService(resourceGroupName: string, serviceName: string, options?: Models.SchemaListByServiceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + options + }, + listByServiceOperationSpec, + callback) as Promise; + } + + /** + * Gets the entity state (Etag) version of the Schema specified by its identifier. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. + * @param [options] The optional parameters + * @returns Promise + */ + getEntityTag(resourceGroupName: string, serviceName: string, schemaId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. + * @param callback The callback + */ + getEntityTag(resourceGroupName: string, serviceName: string, schemaId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. + * @param options The optional parameters + * @param callback The callback + */ + getEntityTag(resourceGroupName: string, serviceName: string, schemaId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getEntityTag(resourceGroupName: string, serviceName: string, schemaId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + schemaId, + options + }, + getEntityTagOperationSpec, + callback) as Promise; + } + + /** + * Gets the details of the Schema specified by its identifier. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, serviceName: string, schemaId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. + * @param callback The callback + */ + get(resourceGroupName: string, serviceName: string, schemaId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, serviceName: string, schemaId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, serviceName: string, schemaId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + schemaId, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates new or updates existing specified Schema of the API Management service instance. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. + * @param parameters Create or update parameters. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, serviceName: string, schemaId: string, parameters: Models.SchemaContract, options?: Models.SchemaCreateOrUpdateOptionalParams): Promise { + return this.beginCreateOrUpdate(resourceGroupName,serviceName,schemaId,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Deletes specific Schema. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. + * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header + * response of the GET request or it should be * for unconditional update. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, serviceName: string, schemaId: string, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. + * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header + * response of the GET request or it should be * for unconditional update. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, serviceName: string, schemaId: string, ifMatch: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. + * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header + * response of the GET request or it should be * for unconditional update. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, serviceName: string, schemaId: string, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, serviceName: string, schemaId: string, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + schemaId, + ifMatch, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Creates new or updates existing specified Schema of the API Management service instance. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param schemaId Schema id identifier. Must be unique in the current API Management service + * instance. + * @param parameters Create or update parameters. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, serviceName: string, schemaId: string, parameters: Models.SchemaContract, options?: Models.SchemaBeginCreateOrUpdateOptionalParams): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + serviceName, + schemaId, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Lists a collection of schemas registered with service instance. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByServiceNext(nextPageLink: string, options?: Models.SchemaListByServiceNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByServiceNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByServiceNext(nextPageLink: string, options: Models.SchemaListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.SchemaListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByServiceNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listByServiceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/schemas", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SchemaCollection + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const getEntityTagOperationSpec: msRest.OperationSpec = { + httpMethod: "HEAD", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/schemas/{schemaId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.schemaId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + headersMapper: Mappers.SchemaGetEntityTagHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.SchemaGetEntityTagHeaders + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/schemas/{schemaId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.schemaId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SchemaContract, + headersMapper: Mappers.SchemaGetHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.SchemaGetHeaders + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/schemas/{schemaId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.schemaId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.ifMatch1, + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/schemas/{schemaId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.schemaId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.ifMatch0, + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.SchemaContract, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.SchemaContract, + headersMapper: Mappers.SchemaCreateOrUpdateHeaders + }, + 201: { + bodyMapper: Mappers.SchemaContract, + headersMapper: Mappers.SchemaCreateOrUpdateHeaders + }, + 202: { + headersMapper: Mappers.SchemaCreateOrUpdateHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.SchemaCreateOrUpdateHeaders + } + }, + serializer +}; + +const listByServiceNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SchemaCollection + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +};