/* * 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 { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client"; import { SubscriptionName as SubscriptionNameMapper, AcceptOwnershipRequest as AcceptOwnershipRequestMapper, PutAliasRequest as PutAliasRequestMapper, PutTenantPolicyRequestProperties as PutTenantPolicyRequestPropertiesMapper } from "../models/mappers"; export const accept: OperationParameter = { parameterPath: "accept", mapper: { defaultValue: "application/json", isConstant: true, serializedName: "Accept", type: { name: "String" } } }; export const $host: OperationURLParameter = { parameterPath: "$host", mapper: { serializedName: "$host", required: true, type: { name: "String" } }, skipEncoding: true }; export const subscriptionId: OperationURLParameter = { parameterPath: "subscriptionId", mapper: { serializedName: "subscriptionId", required: true, type: { name: "String" } } }; export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { defaultValue: "2016-06-01", isConstant: true, serializedName: "api-version", type: { name: "String" } } }; export const nextLink: OperationURLParameter = { parameterPath: "nextLink", mapper: { serializedName: "nextLink", required: true, type: { name: "String" } }, skipEncoding: true }; export const apiVersion1: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { defaultValue: "2021-10-01", isConstant: true, serializedName: "api-version", type: { name: "String" } } }; export const contentType: OperationParameter = { parameterPath: ["options", "contentType"], mapper: { defaultValue: "application/json", isConstant: true, serializedName: "Content-Type", type: { name: "String" } } }; export const body: OperationParameter = { parameterPath: "body", mapper: SubscriptionNameMapper }; export const body1: OperationParameter = { parameterPath: "body", mapper: AcceptOwnershipRequestMapper }; export const body2: OperationParameter = { parameterPath: "body", mapper: PutAliasRequestMapper }; export const aliasName: OperationURLParameter = { parameterPath: "aliasName", mapper: { serializedName: "aliasName", required: true, type: { name: "String" } } }; export const body3: OperationParameter = { parameterPath: "body", mapper: PutTenantPolicyRequestPropertiesMapper }; export const billingAccountId: OperationURLParameter = { parameterPath: "billingAccountId", mapper: { serializedName: "billingAccountId", required: true, type: { name: "String" } } };