@azure/arm-subscriptions 3.1.2 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +68 -79
- package/dist/index.js +1772 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +514 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +36 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +29 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +825 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +14 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +110 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/alias.d.ts +53 -0
- package/dist-esm/src/operations/alias.d.ts.map +1 -0
- package/dist-esm/src/operations/alias.js +180 -0
- package/dist-esm/src/operations/alias.js.map +1 -0
- package/dist-esm/src/operations/billingAccount.d.ts +19 -0
- package/dist-esm/src/operations/billingAccount.d.ts.map +1 -0
- package/dist-esm/src/operations/billingAccount.js +47 -0
- package/dist-esm/src/operations/billingAccount.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +6 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +13 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/subscription.d.ts +53 -0
- package/dist-esm/src/operations/subscription.d.ts.map +1 -0
- package/dist-esm/src/operations/subscription.js +201 -0
- package/dist-esm/src/operations/subscription.js.map +1 -0
- package/dist-esm/src/operations/subscriptionPolicy.d.ts +43 -0
- package/dist-esm/src/operations/subscriptionPolicy.d.ts.map +1 -0
- package/dist-esm/src/operations/subscriptionPolicy.js +169 -0
- package/dist-esm/src/operations/subscriptionPolicy.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/alias.d.ts +45 -0
- package/dist-esm/src/operationsInterfaces/alias.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/alias.js +9 -0
- package/dist-esm/src/operationsInterfaces/alias.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingAccount.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/billingAccount.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingAccount.js +9 -0
- package/dist-esm/src/operationsInterfaces/billingAccount.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +13 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/subscription.d.ts +45 -0
- package/dist-esm/src/operationsInterfaces/subscription.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/subscription.js +9 -0
- package/dist-esm/src/operationsInterfaces/subscription.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/subscriptionPolicy.d.ts +22 -0
- package/dist-esm/src/operationsInterfaces/subscriptionPolicy.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/subscriptionPolicy.js +9 -0
- package/dist-esm/src/operationsInterfaces/subscriptionPolicy.js.map +1 -0
- package/dist-esm/src/subscriptionClient.d.ts +20 -0
- package/dist-esm/src/subscriptionClient.d.ts.map +1 -0
- package/dist-esm/src/subscriptionClient.js +49 -0
- package/dist-esm/src/subscriptionClient.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +65 -32
- package/review/arm-subscriptions.api.md +446 -0
- package/rollup.config.js +181 -30
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +449 -555
- package/src/models/mappers.ts +506 -250
- package/src/models/parameters.ts +82 -27
- package/src/operations/alias.ts +170 -170
- package/src/operations/billingAccount.ts +65 -0
- package/src/operations/index.ts +6 -8
- package/src/operations/operations.ts +103 -40
- package/src/operations/subscription.ts +289 -0
- package/src/operations/subscriptionPolicy.ts +207 -0
- package/src/operationsInterfaces/alias.ts +75 -0
- package/src/operationsInterfaces/billingAccount.ts +25 -0
- package/src/operationsInterfaces/index.ts +13 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/subscription.ts +92 -0
- package/src/operationsInterfaces/subscriptionPolicy.ts +46 -0
- package/src/subscriptionClient.ts +75 -43
- package/tsconfig.json +3 -3
- package/types/arm-subscriptions.d.ts +727 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-subscriptions.js +0 -1442
- package/dist/arm-subscriptions.js.map +0 -1
- package/dist/arm-subscriptions.min.js +0 -1
- package/dist/arm-subscriptions.min.js.map +0 -1
- package/esm/models/aliasMappers.d.ts +0 -2
- package/esm/models/aliasMappers.d.ts.map +0 -1
- package/esm/models/aliasMappers.js +0 -9
- package/esm/models/aliasMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -624
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -25
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js +0 -574
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -8
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -75
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/subscriptionOperationsMappers.d.ts +0 -2
- package/esm/models/subscriptionOperationsMappers.d.ts.map +0 -1
- package/esm/models/subscriptionOperationsMappers.js +0 -9
- package/esm/models/subscriptionOperationsMappers.js.map +0 -1
- package/esm/models/subscriptionsMappers.d.ts +0 -2
- package/esm/models/subscriptionsMappers.d.ts.map +0 -1
- package/esm/models/subscriptionsMappers.js +0 -9
- package/esm/models/subscriptionsMappers.js.map +0 -1
- package/esm/models/tenantsMappers.d.ts +0 -2
- package/esm/models/tenantsMappers.d.ts.map +0 -1
- package/esm/models/tenantsMappers.js +0 -9
- package/esm/models/tenantsMappers.js.map +0 -1
- package/esm/operations/alias.d.ts +0 -81
- package/esm/operations/alias.d.ts.map +0 -1
- package/esm/operations/alias.js +0 -161
- package/esm/operations/alias.js.map +0 -1
- package/esm/operations/index.d.ts +0 -6
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js +0 -15
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -28
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -51
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/subscriptionOperations.d.ts +0 -70
- package/esm/operations/subscriptionOperations.d.ts.map +0 -1
- package/esm/operations/subscriptionOperations.js +0 -117
- package/esm/operations/subscriptionOperations.js.map +0 -1
- package/esm/operations/subscriptions.d.ts +0 -84
- package/esm/operations/subscriptions.d.ts.map +0 -1
- package/esm/operations/subscriptions.js +0 -133
- package/esm/operations/subscriptions.js.map +0 -1
- package/esm/operations/tenants.d.ts +0 -46
- package/esm/operations/tenants.d.ts.map +0 -1
- package/esm/operations/tenants.js +0 -77
- package/esm/operations/tenants.js.map +0 -1
- package/esm/subscriptionClient.d.ts +0 -27
- package/esm/subscriptionClient.d.ts.map +0 -1
- package/esm/subscriptionClient.js +0 -41
- package/esm/subscriptionClient.js.map +0 -1
- package/esm/subscriptionClientContext.d.ts +0 -19
- package/esm/subscriptionClientContext.d.ts.map +0 -1
- package/esm/subscriptionClientContext.js +0 -55
- package/esm/subscriptionClientContext.js.map +0 -1
- package/src/models/aliasMappers.ts +0 -18
- package/src/models/operationsMappers.ts +0 -14
- package/src/models/subscriptionOperationsMappers.ts +0 -15
- package/src/models/subscriptionsMappers.ts +0 -16
- package/src/models/tenantsMappers.ts +0 -13
- package/src/operations/subscriptionOperations.ts +0 -194
- package/src/operations/subscriptions.ts +0 -227
- package/src/operations/tenants.ts +0 -123
- package/src/subscriptionClientContext.ts +0 -60
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/lroImpl.ts","../src/operations/subscription.ts","../src/operations/operations.ts","../src/operations/alias.ts","../src/operations/subscriptionPolicy.ts","../src/operations/billingAccount.ts","../src/subscriptionClient.ts"],"sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** The ID of the canceled subscription */\nexport interface CanceledSubscriptionId {\n /**\n * The ID of the canceled subscription\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: string;\n}\n\n/** Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message. */\nexport interface ErrorResponseBody {\n /** The details of the error. */\n error?: ErrorResponse;\n /** Error code */\n code?: string;\n /** Error message indicating why the operation failed. */\n message?: string;\n}\n\n/** Describes the format of Error response. */\nexport interface ErrorResponse {\n /** Error code */\n code?: string;\n /** Error message indicating why the operation failed. */\n message?: string;\n}\n\n/** The new name of the subscription. */\nexport interface SubscriptionName {\n /** New subscription name */\n subscriptionName?: string;\n}\n\n/** The ID of the subscriptions that is being renamed */\nexport interface RenamedSubscriptionId {\n /**\n * The ID of the subscriptions that is being renamed\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: string;\n}\n\n/** The ID of the subscriptions that is being enabled */\nexport interface EnabledSubscriptionId {\n /**\n * The ID of the subscriptions that is being enabled\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: string;\n}\n\n/** Result of the request to list operations. It contains a list of operations and a URL link to get the next set of results. */\nexport interface OperationListResult {\n /** List of operations. */\n value?: Operation[];\n /** URL to get the next set of operation list results if there are any. */\n nextLink?: string;\n}\n\n/** REST API operation */\nexport interface Operation {\n /** Operation name: {provider}/{resource}/{operation} */\n name?: string;\n /** Indicates whether the operation is a data action */\n isDataAction?: boolean;\n /** The object that represents the operation. */\n display?: OperationDisplay;\n}\n\n/** The object that represents the operation. */\nexport interface OperationDisplay {\n /** Service provider: Microsoft.Subscription */\n provider?: string;\n /** Resource on which the operation is performed: Profile, endpoint, etc. */\n resource?: string;\n /** Operation type: Read, write, delete, etc. */\n operation?: string;\n /** Localized friendly description for the operation */\n description?: string;\n}\n\n/** The parameters required to create a new subscription. */\nexport interface PutAliasRequest {\n /** Put alias request properties. */\n properties?: PutAliasRequestProperties;\n}\n\n/** Put subscription properties. */\nexport interface PutAliasRequestProperties {\n /** The friendly name of the subscription. */\n displayName?: string;\n /** The workload type of the subscription. It can be either Production or DevTest. */\n workload?: Workload;\n /**\n * Billing scope of the subscription.\n * For CustomerLed and FieldLed - /billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}\n * For PartnerLed - /billingAccounts/{billingAccountName}/customers/{customerName}\n * For Legacy EA - /billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}\n */\n billingScope?: string;\n /** This parameter can be used to create alias for existing subscription Id */\n subscriptionId?: string;\n /** Reseller Id */\n resellerId?: string;\n /** Put alias request additional properties. */\n additionalProperties?: PutAliasRequestAdditionalProperties;\n}\n\n/** Put subscription additional properties. */\nexport interface PutAliasRequestAdditionalProperties {\n /** Management group Id for the subscription. */\n managementGroupId?: string;\n /** Tenant Id of the subscription */\n subscriptionTenantId?: string;\n /** Owner Id of the subscription */\n subscriptionOwnerId?: string;\n /** Tags for the subscription */\n tags?: { [propertyName: string]: string };\n}\n\n/** Subscription Information with the alias. */\nexport interface SubscriptionAliasResponse {\n /**\n * Fully qualified ID for the alias resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * Alias ID.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * Resource type, Microsoft.Subscription/aliases.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /** Subscription Alias response properties. */\n properties?: SubscriptionAliasResponseProperties;\n /**\n * Metadata pertaining to creation and last modification of the resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\n}\n\n/** Put subscription creation result properties. */\nexport interface SubscriptionAliasResponseProperties {\n /**\n * Newly created subscription Id.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly subscriptionId?: string;\n /** The display name of the subscription. */\n displayName?: string;\n /** The provisioning state of the resource. */\n provisioningState?: ProvisioningState;\n /**\n * Url to accept ownership of the subscription.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly acceptOwnershipUrl?: string;\n /**\n * The accept ownership state of the resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly acceptOwnershipState?: AcceptOwnership;\n /**\n * Billing scope of the subscription.\n * For CustomerLed and FieldLed - /billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}\n * For PartnerLed - /billingAccounts/{billingAccountName}/customers/{customerName}\n * For Legacy EA - /billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}\n */\n billingScope?: string;\n /** The workload type of the subscription. It can be either Production or DevTest. */\n workload?: Workload;\n /** Reseller Id */\n resellerId?: string;\n /** Owner Id of the subscription */\n subscriptionOwnerId?: string;\n /** The Management Group Id. */\n managementGroupId?: string;\n /** Tags for the subscription */\n tags?: { [propertyName: string]: string };\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\n/** The list of aliases. */\nexport interface SubscriptionAliasListResult {\n /**\n * The list of alias.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: SubscriptionAliasResponse[];\n /**\n * The link (url) to the next page of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** The parameters required to accept subscription ownership. */\nexport interface AcceptOwnershipRequest {\n /** Accept subscription ownership request properties. */\n properties?: AcceptOwnershipRequestProperties;\n}\n\n/** Accept subscription ownership request properties. */\nexport interface AcceptOwnershipRequestProperties {\n /** The friendly name of the subscription. */\n displayName: string;\n /** Management group Id for the subscription. */\n managementGroupId?: string;\n /** Tags for the subscription */\n tags?: { [propertyName: string]: string };\n}\n\n/** Subscription Accept Ownership Response */\nexport interface AcceptOwnershipStatusResponse {\n /**\n * Newly created subscription Id.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly subscriptionId?: string;\n /**\n * The accept ownership state of the resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly acceptOwnershipState?: AcceptOwnership;\n /**\n * UPN of the billing owner\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly billingOwner?: string;\n /** Tenant Id of the subscription */\n subscriptionTenantId?: string;\n /** The display name of the subscription. */\n displayName?: string;\n /** Tags for the subscription */\n tags?: { [propertyName: string]: string };\n}\n\n/** Put tenant policy request properties. */\nexport interface PutTenantPolicyRequestProperties {\n /** Blocks the leaving of subscriptions from user's tenant. */\n blockSubscriptionsLeavingTenant?: boolean;\n /** Blocks the entering of subscriptions into user's tenant. */\n blockSubscriptionsIntoTenant?: boolean;\n /** List of user objectIds that are exempted from the set subscription tenant policies for the user's tenant. */\n exemptedPrincipals?: string[];\n}\n\n/** Tenant policy Information. */\nexport interface GetTenantPolicyResponse {\n /**\n * Policy Id.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * Policy name.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * Resource type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /** Tenant policy properties. */\n properties?: TenantPolicy;\n /**\n * Metadata pertaining to creation and last modification of the resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\n}\n\n/** Tenant policy. */\nexport interface TenantPolicy {\n /**\n * Policy Id.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly policyId?: string;\n /** Blocks the leaving of subscriptions from user's tenant. */\n blockSubscriptionsLeavingTenant?: boolean;\n /** Blocks the entering of subscriptions into user's tenant. */\n blockSubscriptionsIntoTenant?: boolean;\n /** List of user objectIds that are exempted from the set subscription tenant policies for the user's tenant. */\n exemptedPrincipals?: string[];\n}\n\n/** Tenant policy information list. */\nexport interface GetTenantPolicyListResponse {\n /**\n * The list of tenant policies.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: GetTenantPolicyResponse[];\n /**\n * The link (url) to the next page of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** Billing account policies information. */\nexport interface BillingAccountPoliciesResponse {\n /**\n * Fully qualified ID for the policy.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * Policy name.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * Resource type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /** Billing account policies response properties. */\n properties?: BillingAccountPoliciesResponseProperties;\n /**\n * Metadata pertaining to creation and last modification of the resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\n}\n\n/** Put billing account policies response properties. */\nexport interface BillingAccountPoliciesResponseProperties {\n /** Service tenant for the billing account. */\n serviceTenants?: ServiceTenantResponse[];\n /** Determine if the transfers are allowed for the billing account */\n allowTransfers?: boolean;\n}\n\n/** Billing account service tenant. */\nexport interface ServiceTenantResponse {\n /** Service tenant id. */\n tenantId?: string;\n /** Service tenant name. */\n tenantName?: string;\n}\n\n/** Defines headers for Subscription_acceptOwnership operation. */\nexport interface SubscriptionAcceptOwnershipHeaders {\n /** GET this URL to retrieve the status of the asynchronous operation. */\n location?: string;\n /** The amount of delay to use while the status of the operation is checked. The value is expressed in seconds. */\n retryAfter?: number;\n}\n\n/** Known values of {@link Workload} that the service accepts. */\nexport enum KnownWorkload {\n Production = \"Production\",\n DevTest = \"DevTest\"\n}\n\n/**\n * Defines values for Workload. \\\n * {@link KnownWorkload} can be used interchangeably with Workload,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Production** \\\n * **DevTest**\n */\nexport type Workload = string;\n\n/** Known values of {@link ProvisioningState} that the service accepts. */\nexport enum KnownProvisioningState {\n Accepted = \"Accepted\",\n Succeeded = \"Succeeded\",\n Failed = \"Failed\"\n}\n\n/**\n * Defines values for ProvisioningState. \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Accepted** \\\n * **Succeeded** \\\n * **Failed**\n */\nexport type ProvisioningState = string;\n\n/** Known values of {@link AcceptOwnership} that the service accepts. */\nexport enum KnownAcceptOwnership {\n Pending = \"Pending\",\n Completed = \"Completed\",\n Expired = \"Expired\"\n}\n\n/**\n * Defines values for AcceptOwnership. \\\n * {@link KnownAcceptOwnership} can be used interchangeably with AcceptOwnership,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Pending** \\\n * **Completed** \\\n * **Expired**\n */\nexport type AcceptOwnership = string;\n\n/** Known values of {@link CreatedByType} that the service accepts. */\nexport enum KnownCreatedByType {\n User = \"User\",\n Application = \"Application\",\n ManagedIdentity = \"ManagedIdentity\",\n Key = \"Key\"\n}\n\n/**\n * Defines values for CreatedByType. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type CreatedByType = string;\n\n/** Optional parameters. */\nexport interface SubscriptionCancelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the cancel operation. */\nexport type SubscriptionCancelResponse = CanceledSubscriptionId;\n\n/** Optional parameters. */\nexport interface SubscriptionRenameOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the rename operation. */\nexport type SubscriptionRenameResponse = RenamedSubscriptionId;\n\n/** Optional parameters. */\nexport interface SubscriptionEnableOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the enable operation. */\nexport type SubscriptionEnableResponse = EnabledSubscriptionId;\n\n/** Optional parameters. */\nexport interface SubscriptionAcceptOwnershipOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the acceptOwnership operation. */\nexport type SubscriptionAcceptOwnershipResponse = SubscriptionAcceptOwnershipHeaders;\n\n/** Optional parameters. */\nexport interface SubscriptionAcceptOwnershipStatusOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the acceptOwnershipStatus operation. */\nexport type SubscriptionAcceptOwnershipStatusResponse = AcceptOwnershipStatusResponse;\n\n/** Optional parameters. */\nexport interface OperationsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type OperationsListResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface OperationsListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type OperationsListNextResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface AliasCreateOptionalParams extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the create operation. */\nexport type AliasCreateResponse = SubscriptionAliasResponse;\n\n/** Optional parameters. */\nexport interface AliasGetOptionalParams extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type AliasGetResponse = SubscriptionAliasResponse;\n\n/** Optional parameters. */\nexport interface AliasDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface AliasListOptionalParams extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type AliasListResponse = SubscriptionAliasListResult;\n\n/** Optional parameters. */\nexport interface SubscriptionPolicyAddUpdatePolicyForTenantOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the addUpdatePolicyForTenant operation. */\nexport type SubscriptionPolicyAddUpdatePolicyForTenantResponse = GetTenantPolicyResponse;\n\n/** Optional parameters. */\nexport interface SubscriptionPolicyGetPolicyForTenantOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getPolicyForTenant operation. */\nexport type SubscriptionPolicyGetPolicyForTenantResponse = GetTenantPolicyResponse;\n\n/** Optional parameters. */\nexport interface SubscriptionPolicyListPolicyForTenantOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listPolicyForTenant operation. */\nexport type SubscriptionPolicyListPolicyForTenantResponse = GetTenantPolicyListResponse;\n\n/** Optional parameters. */\nexport interface SubscriptionPolicyListPolicyForTenantNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listPolicyForTenantNext operation. */\nexport type SubscriptionPolicyListPolicyForTenantNextResponse = GetTenantPolicyListResponse;\n\n/** Optional parameters. */\nexport interface BillingAccountGetPolicyOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getPolicy operation. */\nexport type BillingAccountGetPolicyResponse = BillingAccountPoliciesResponse;\n\n/** Optional parameters. */\nexport interface SubscriptionClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const CanceledSubscriptionId: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CanceledSubscriptionId\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ErrorResponseBody: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponseBody\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\"\n }\n },\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SubscriptionName: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SubscriptionName\",\n modelProperties: {\n subscriptionName: {\n serializedName: \"subscriptionName\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const RenamedSubscriptionId: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RenamedSubscriptionId\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const EnabledSubscriptionId: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EnabledSubscriptionId\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n isDataAction: {\n serializedName: \"isDataAction\",\n type: {\n name: \"Boolean\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\"\n }\n }\n }\n }\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PutAliasRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PutAliasRequest\",\n modelProperties: {\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"PutAliasRequestProperties\"\n }\n }\n }\n }\n};\n\nexport const PutAliasRequestProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PutAliasRequestProperties\",\n modelProperties: {\n displayName: {\n serializedName: \"displayName\",\n type: {\n name: \"String\"\n }\n },\n workload: {\n serializedName: \"workload\",\n type: {\n name: \"String\"\n }\n },\n billingScope: {\n serializedName: \"billingScope\",\n type: {\n name: \"String\"\n }\n },\n subscriptionId: {\n serializedName: \"subscriptionId\",\n type: {\n name: \"String\"\n }\n },\n resellerId: {\n serializedName: \"resellerId\",\n type: {\n name: \"String\"\n }\n },\n additionalProperties: {\n serializedName: \"additionalProperties\",\n type: {\n name: \"Composite\",\n className: \"PutAliasRequestAdditionalProperties\"\n }\n }\n }\n }\n};\n\nexport const PutAliasRequestAdditionalProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PutAliasRequestAdditionalProperties\",\n modelProperties: {\n managementGroupId: {\n serializedName: \"managementGroupId\",\n type: {\n name: \"String\"\n }\n },\n subscriptionTenantId: {\n serializedName: \"subscriptionTenantId\",\n type: {\n name: \"String\"\n }\n },\n subscriptionOwnerId: {\n serializedName: \"subscriptionOwnerId\",\n type: {\n name: \"String\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const SubscriptionAliasResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SubscriptionAliasResponse\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"SubscriptionAliasResponseProperties\"\n }\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n }\n }\n }\n};\n\nexport const SubscriptionAliasResponseProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SubscriptionAliasResponseProperties\",\n modelProperties: {\n subscriptionId: {\n serializedName: \"subscriptionId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n displayName: {\n serializedName: \"displayName\",\n type: {\n name: \"String\"\n }\n },\n provisioningState: {\n serializedName: \"provisioningState\",\n type: {\n name: \"String\"\n }\n },\n acceptOwnershipUrl: {\n serializedName: \"acceptOwnershipUrl\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n acceptOwnershipState: {\n serializedName: \"acceptOwnershipState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n billingScope: {\n serializedName: \"billingScope\",\n type: {\n name: \"String\"\n }\n },\n workload: {\n serializedName: \"workload\",\n type: {\n name: \"String\"\n }\n },\n resellerId: {\n serializedName: \"resellerId\",\n type: {\n name: \"String\"\n }\n },\n subscriptionOwnerId: {\n serializedName: \"subscriptionOwnerId\",\n type: {\n name: \"String\"\n }\n },\n managementGroupId: {\n serializedName: \"managementGroupId\",\n type: {\n name: \"String\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\"\n }\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\"\n }\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\"\n }\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const SubscriptionAliasListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SubscriptionAliasListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SubscriptionAliasResponse\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AcceptOwnershipRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AcceptOwnershipRequest\",\n modelProperties: {\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"AcceptOwnershipRequestProperties\"\n }\n }\n }\n }\n};\n\nexport const AcceptOwnershipRequestProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AcceptOwnershipRequestProperties\",\n modelProperties: {\n displayName: {\n serializedName: \"displayName\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n managementGroupId: {\n serializedName: \"managementGroupId\",\n type: {\n name: \"String\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const AcceptOwnershipStatusResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AcceptOwnershipStatusResponse\",\n modelProperties: {\n subscriptionId: {\n serializedName: \"subscriptionId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n acceptOwnershipState: {\n serializedName: \"acceptOwnershipState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n billingOwner: {\n serializedName: \"billingOwner\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n subscriptionTenantId: {\n serializedName: \"subscriptionTenantId\",\n type: {\n name: \"String\"\n }\n },\n displayName: {\n serializedName: \"displayName\",\n type: {\n name: \"String\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const PutTenantPolicyRequestProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PutTenantPolicyRequestProperties\",\n modelProperties: {\n blockSubscriptionsLeavingTenant: {\n serializedName: \"blockSubscriptionsLeavingTenant\",\n type: {\n name: \"Boolean\"\n }\n },\n blockSubscriptionsIntoTenant: {\n serializedName: \"blockSubscriptionsIntoTenant\",\n type: {\n name: \"Boolean\"\n }\n },\n exemptedPrincipals: {\n serializedName: \"exemptedPrincipals\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Uuid\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const GetTenantPolicyResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GetTenantPolicyResponse\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"TenantPolicy\"\n }\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n }\n }\n }\n};\n\nexport const TenantPolicy: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TenantPolicy\",\n modelProperties: {\n policyId: {\n serializedName: \"policyId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n blockSubscriptionsLeavingTenant: {\n serializedName: \"blockSubscriptionsLeavingTenant\",\n type: {\n name: \"Boolean\"\n }\n },\n blockSubscriptionsIntoTenant: {\n serializedName: \"blockSubscriptionsIntoTenant\",\n type: {\n name: \"Boolean\"\n }\n },\n exemptedPrincipals: {\n serializedName: \"exemptedPrincipals\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Uuid\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const GetTenantPolicyListResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GetTenantPolicyListResponse\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"GetTenantPolicyResponse\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BillingAccountPoliciesResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"BillingAccountPoliciesResponse\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"BillingAccountPoliciesResponseProperties\"\n }\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n }\n }\n }\n};\n\nexport const BillingAccountPoliciesResponseProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"BillingAccountPoliciesResponseProperties\",\n modelProperties: {\n serviceTenants: {\n serializedName: \"serviceTenants\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ServiceTenantResponse\"\n }\n }\n }\n },\n allowTransfers: {\n serializedName: \"allowTransfers\",\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const ServiceTenantResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ServiceTenantResponse\",\n modelProperties: {\n tenantId: {\n serializedName: \"tenantId\",\n type: {\n name: \"String\"\n }\n },\n tenantName: {\n serializedName: \"tenantName\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SubscriptionAcceptOwnershipHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SubscriptionAcceptOwnershipHeaders\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n },\n retryAfter: {\n serializedName: \"retry-after\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n SubscriptionName as SubscriptionNameMapper,\n AcceptOwnershipRequest as AcceptOwnershipRequestMapper,\n PutAliasRequest as PutAliasRequestMapper,\n PutTenantPolicyRequestProperties as PutTenantPolicyRequestPropertiesMapper\n} from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2021-10-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const body: OperationParameter = {\n parameterPath: \"body\",\n mapper: SubscriptionNameMapper\n};\n\nexport const body1: OperationParameter = {\n parameterPath: \"body\",\n mapper: AcceptOwnershipRequestMapper\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const body2: OperationParameter = {\n parameterPath: \"body\",\n mapper: PutAliasRequestMapper\n};\n\nexport const aliasName: OperationURLParameter = {\n parameterPath: \"aliasName\",\n mapper: {\n serializedName: \"aliasName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const body3: OperationParameter = {\n parameterPath: \"body\",\n mapper: PutTenantPolicyRequestPropertiesMapper\n};\n\nexport const billingAccountId: OperationURLParameter = {\n parameterPath: \"billingAccountId\",\n mapper: {\n serializedName: \"billingAccountId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport class LroImpl<T> implements LongRunningOperation<T> {\n constructor(\n private sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>,\n private args: Record<string, unknown>,\n private spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>,\n public requestPath: string = spec.path!,\n public requestMethod: string = spec.httpMethod\n ) {}\n public async sendInitialRequest(): Promise<LroResponse<T>> {\n return this.sendOperationFn(this.args, this.spec);\n }\n public async sendPollRequest(path: string): Promise<LroResponse<T>> {\n const { requestBody, ...restSpec } = this.spec;\n return this.sendOperationFn(this.args, {\n ...restSpec,\n path,\n httpMethod: \"GET\"\n });\n }\n}\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { Subscription } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { SubscriptionClient } from \"../subscriptionClient\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl\";\nimport {\n SubscriptionCancelOptionalParams,\n SubscriptionCancelResponse,\n SubscriptionName,\n SubscriptionRenameOptionalParams,\n SubscriptionRenameResponse,\n SubscriptionEnableOptionalParams,\n SubscriptionEnableResponse,\n AcceptOwnershipRequest,\n SubscriptionAcceptOwnershipOptionalParams,\n SubscriptionAcceptOwnershipResponse,\n SubscriptionAcceptOwnershipStatusOptionalParams,\n SubscriptionAcceptOwnershipStatusResponse\n} from \"../models\";\n\n/** Class containing Subscription operations. */\nexport class SubscriptionImpl implements Subscription {\n private readonly client: SubscriptionClient;\n\n /**\n * Initialize a new instance of the class Subscription class.\n * @param client Reference to the service client\n */\n constructor(client: SubscriptionClient) {\n this.client = client;\n }\n\n /**\n * The operation to cancel a subscription\n * @param subscriptionId Subscription Id.\n * @param options The options parameters.\n */\n cancel(\n subscriptionId: string,\n options?: SubscriptionCancelOptionalParams\n ): Promise<SubscriptionCancelResponse> {\n return this.client.sendOperationRequest(\n { subscriptionId, options },\n cancelOperationSpec\n );\n }\n\n /**\n * The operation to rename a subscription\n * @param subscriptionId Subscription Id.\n * @param body Subscription Name\n * @param options The options parameters.\n */\n rename(\n subscriptionId: string,\n body: SubscriptionName,\n options?: SubscriptionRenameOptionalParams\n ): Promise<SubscriptionRenameResponse> {\n return this.client.sendOperationRequest(\n { subscriptionId, body, options },\n renameOperationSpec\n );\n }\n\n /**\n * The operation to enable a subscription\n * @param subscriptionId Subscription Id.\n * @param options The options parameters.\n */\n enable(\n subscriptionId: string,\n options?: SubscriptionEnableOptionalParams\n ): Promise<SubscriptionEnableResponse> {\n return this.client.sendOperationRequest(\n { subscriptionId, options },\n enableOperationSpec\n );\n }\n\n /**\n * Accept subscription ownership.\n * @param subscriptionId Subscription Id.\n * @param body The parameters required to accept subscription ownership.\n * @param options The options parameters.\n */\n async beginAcceptOwnership(\n subscriptionId: string,\n body: AcceptOwnershipRequest,\n options?: SubscriptionAcceptOwnershipOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<SubscriptionAcceptOwnershipResponse>,\n SubscriptionAcceptOwnershipResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<SubscriptionAcceptOwnershipResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { subscriptionId, body, options },\n acceptOwnershipOperationSpec\n );\n return new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n }\n\n /**\n * Accept subscription ownership.\n * @param subscriptionId Subscription Id.\n * @param body The parameters required to accept subscription ownership.\n * @param options The options parameters.\n */\n async beginAcceptOwnershipAndWait(\n subscriptionId: string,\n body: AcceptOwnershipRequest,\n options?: SubscriptionAcceptOwnershipOptionalParams\n ): Promise<SubscriptionAcceptOwnershipResponse> {\n const poller = await this.beginAcceptOwnership(\n subscriptionId,\n body,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Accept subscription ownership status.\n * @param subscriptionId Subscription Id.\n * @param options The options parameters.\n */\n acceptOwnershipStatus(\n subscriptionId: string,\n options?: SubscriptionAcceptOwnershipStatusOptionalParams\n ): Promise<SubscriptionAcceptOwnershipStatusResponse> {\n return this.client.sendOperationRequest(\n { subscriptionId, options },\n acceptOwnershipStatusOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst cancelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Subscription/cancel\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CanceledSubscriptionId\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst renameOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Subscription/rename\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.RenamedSubscriptionId\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n requestBody: Parameters.body,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst enableOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Subscription/enable\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnabledSubscriptionId\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst acceptOwnershipOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Subscription/{subscriptionId}/acceptOwnership\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper: Mappers.SubscriptionAcceptOwnershipHeaders\n },\n 201: {\n headersMapper: Mappers.SubscriptionAcceptOwnershipHeaders\n },\n 202: {\n headersMapper: Mappers.SubscriptionAcceptOwnershipHeaders\n },\n 204: {\n headersMapper: Mappers.SubscriptionAcceptOwnershipHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n requestBody: Parameters.body1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst acceptOwnershipStatusOperationSpec: coreClient.OperationSpec = {\n path:\n \"/providers/Microsoft.Subscription/{subscriptionId}/acceptOwnershipStatus\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AcceptOwnershipStatusResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { Operations } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { SubscriptionClient } from \"../subscriptionClient\";\nimport {\n Operation,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: SubscriptionClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: SubscriptionClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the available Microsoft.Subscription API operations.\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listPagingPage(options);\n }\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<Operation[]> {\n let result = await this._list(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available Microsoft.Subscription API operations.\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: OperationsListNextOptionalParams\n ): Promise<OperationsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Subscription/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { Alias } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { SubscriptionClient } from \"../subscriptionClient\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl\";\nimport {\n PutAliasRequest,\n AliasCreateOptionalParams,\n AliasCreateResponse,\n AliasGetOptionalParams,\n AliasGetResponse,\n AliasDeleteOptionalParams,\n AliasListOptionalParams,\n AliasListResponse\n} from \"../models\";\n\n/** Class containing Alias operations. */\nexport class AliasImpl implements Alias {\n private readonly client: SubscriptionClient;\n\n /**\n * Initialize a new instance of the class Alias class.\n * @param client Reference to the service client\n */\n constructor(client: SubscriptionClient) {\n this.client = client;\n }\n\n /**\n * Create Alias Subscription.\n * @param aliasName AliasName is the name for the subscription creation request. Note that this is not\n * the same as subscription name and this doesn’t have any other lifecycle need beyond the request for\n * subscription creation.\n * @param body The parameters required to create a new subscription.\n * @param options The options parameters.\n */\n async beginCreate(\n aliasName: string,\n body: PutAliasRequest,\n options?: AliasCreateOptionalParams\n ): Promise<\n PollerLike<PollOperationState<AliasCreateResponse>, AliasCreateResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<AliasCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { aliasName, body, options },\n createOperationSpec\n );\n return new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n }\n\n /**\n * Create Alias Subscription.\n * @param aliasName AliasName is the name for the subscription creation request. Note that this is not\n * the same as subscription name and this doesn’t have any other lifecycle need beyond the request for\n * subscription creation.\n * @param body The parameters required to create a new subscription.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n aliasName: string,\n body: PutAliasRequest,\n options?: AliasCreateOptionalParams\n ): Promise<AliasCreateResponse> {\n const poller = await this.beginCreate(aliasName, body, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Get Alias Subscription.\n * @param aliasName AliasName is the name for the subscription creation request. Note that this is not\n * the same as subscription name and this doesn’t have any other lifecycle need beyond the request for\n * subscription creation.\n * @param options The options parameters.\n */\n get(\n aliasName: string,\n options?: AliasGetOptionalParams\n ): Promise<AliasGetResponse> {\n return this.client.sendOperationRequest(\n { aliasName, options },\n getOperationSpec\n );\n }\n\n /**\n * Delete Alias.\n * @param aliasName AliasName is the name for the subscription creation request. Note that this is not\n * the same as subscription name and this doesn’t have any other lifecycle need beyond the request for\n * subscription creation.\n * @param options The options parameters.\n */\n delete(\n aliasName: string,\n options?: AliasDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { aliasName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * List Alias Subscription.\n * @param options The options parameters.\n */\n list(options?: AliasListOptionalParams): Promise<AliasListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Subscription/aliases/{aliasName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.SubscriptionAliasResponse\n },\n 201: {\n bodyMapper: Mappers.SubscriptionAliasResponse\n },\n 202: {\n bodyMapper: Mappers.SubscriptionAliasResponse\n },\n 204: {\n bodyMapper: Mappers.SubscriptionAliasResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n requestBody: Parameters.body2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.aliasName],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Subscription/aliases/{aliasName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SubscriptionAliasResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.aliasName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Subscription/aliases/{aliasName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.aliasName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Subscription/aliases\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SubscriptionAliasListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SubscriptionPolicy } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { SubscriptionClient } from \"../subscriptionClient\";\nimport {\n GetTenantPolicyResponse,\n SubscriptionPolicyListPolicyForTenantNextOptionalParams,\n SubscriptionPolicyListPolicyForTenantOptionalParams,\n PutTenantPolicyRequestProperties,\n SubscriptionPolicyAddUpdatePolicyForTenantOptionalParams,\n SubscriptionPolicyAddUpdatePolicyForTenantResponse,\n SubscriptionPolicyGetPolicyForTenantOptionalParams,\n SubscriptionPolicyGetPolicyForTenantResponse,\n SubscriptionPolicyListPolicyForTenantResponse,\n SubscriptionPolicyListPolicyForTenantNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing SubscriptionPolicy operations. */\nexport class SubscriptionPolicyImpl implements SubscriptionPolicy {\n private readonly client: SubscriptionClient;\n\n /**\n * Initialize a new instance of the class SubscriptionPolicy class.\n * @param client Reference to the service client\n */\n constructor(client: SubscriptionClient) {\n this.client = client;\n }\n\n /**\n * Get the subscription tenant policy for the user's tenant.\n * @param options The options parameters.\n */\n public listPolicyForTenant(\n options?: SubscriptionPolicyListPolicyForTenantOptionalParams\n ): PagedAsyncIterableIterator<GetTenantPolicyResponse> {\n const iter = this.listPolicyForTenantPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listPolicyForTenantPagingPage(options);\n }\n };\n }\n\n private async *listPolicyForTenantPagingPage(\n options?: SubscriptionPolicyListPolicyForTenantOptionalParams\n ): AsyncIterableIterator<GetTenantPolicyResponse[]> {\n let result = await this._listPolicyForTenant(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listPolicyForTenantNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listPolicyForTenantPagingAll(\n options?: SubscriptionPolicyListPolicyForTenantOptionalParams\n ): AsyncIterableIterator<GetTenantPolicyResponse> {\n for await (const page of this.listPolicyForTenantPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Create or Update Subscription tenant policy for user's tenant.\n * @param body Put tenant policy request properties.\n * @param options The options parameters.\n */\n addUpdatePolicyForTenant(\n body: PutTenantPolicyRequestProperties,\n options?: SubscriptionPolicyAddUpdatePolicyForTenantOptionalParams\n ): Promise<SubscriptionPolicyAddUpdatePolicyForTenantResponse> {\n return this.client.sendOperationRequest(\n { body, options },\n addUpdatePolicyForTenantOperationSpec\n );\n }\n\n /**\n * Get the subscription tenant policy for the user's tenant.\n * @param options The options parameters.\n */\n getPolicyForTenant(\n options?: SubscriptionPolicyGetPolicyForTenantOptionalParams\n ): Promise<SubscriptionPolicyGetPolicyForTenantResponse> {\n return this.client.sendOperationRequest(\n { options },\n getPolicyForTenantOperationSpec\n );\n }\n\n /**\n * Get the subscription tenant policy for the user's tenant.\n * @param options The options parameters.\n */\n private _listPolicyForTenant(\n options?: SubscriptionPolicyListPolicyForTenantOptionalParams\n ): Promise<SubscriptionPolicyListPolicyForTenantResponse> {\n return this.client.sendOperationRequest(\n { options },\n listPolicyForTenantOperationSpec\n );\n }\n\n /**\n * ListPolicyForTenantNext\n * @param nextLink The nextLink from the previous successful call to the ListPolicyForTenant method.\n * @param options The options parameters.\n */\n private _listPolicyForTenantNext(\n nextLink: string,\n options?: SubscriptionPolicyListPolicyForTenantNextOptionalParams\n ): Promise<SubscriptionPolicyListPolicyForTenantNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listPolicyForTenantNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst addUpdatePolicyForTenantOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Subscription/policies/default\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n bodyMapper: Mappers.GetTenantPolicyResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n requestBody: Parameters.body3,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getPolicyForTenantOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Subscription/policies/default\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetTenantPolicyResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listPolicyForTenantOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Subscription/policies\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetTenantPolicyListResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listPolicyForTenantNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetTenantPolicyListResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { BillingAccount } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { SubscriptionClient } from \"../subscriptionClient\";\nimport {\n BillingAccountGetPolicyOptionalParams,\n BillingAccountGetPolicyResponse\n} from \"../models\";\n\n/** Class containing BillingAccount operations. */\nexport class BillingAccountImpl implements BillingAccount {\n private readonly client: SubscriptionClient;\n\n /**\n * Initialize a new instance of the class BillingAccount class.\n * @param client Reference to the service client\n */\n constructor(client: SubscriptionClient) {\n this.client = client;\n }\n\n /**\n * Get Billing Account Policy.\n * @param billingAccountId Billing Account Id.\n * @param options The options parameters.\n */\n getPolicy(\n billingAccountId: string,\n options?: BillingAccountGetPolicyOptionalParams\n ): Promise<BillingAccountGetPolicyResponse> {\n return this.client.sendOperationRequest(\n { billingAccountId, options },\n getPolicyOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getPolicyOperationSpec: coreClient.OperationSpec = {\n path:\n \"/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Subscription/policies/default\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingAccountPoliciesResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.billingAccountId],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n SubscriptionImpl,\n OperationsImpl,\n AliasImpl,\n SubscriptionPolicyImpl,\n BillingAccountImpl\n} from \"./operations\";\nimport {\n Subscription,\n Operations,\n Alias,\n SubscriptionPolicy,\n BillingAccount\n} from \"./operationsInterfaces\";\nimport { SubscriptionClientOptionalParams } from \"./models\";\n\nexport class SubscriptionClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the SubscriptionClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: SubscriptionClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: SubscriptionClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-subscriptions/4.0.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n if (!options.credentialScopes) {\n options.credentialScopes = [\"https://management.azure.com/.default\"];\n }\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri: options.endpoint || \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2021-10-01\";\n this.subscription = new SubscriptionImpl(this);\n this.operations = new OperationsImpl(this);\n this.alias = new AliasImpl(this);\n this.subscriptionPolicy = new SubscriptionPolicyImpl(this);\n this.billingAccount = new BillingAccountImpl(this);\n }\n\n subscription: Subscription;\n operations: Operations;\n alias: Alias;\n subscriptionPolicy: SubscriptionPolicy;\n billingAccount: BillingAccount;\n}\n"],"names":["KnownWorkload","KnownProvisioningState","KnownAcceptOwnership","KnownCreatedByType","SubscriptionNameMapper","AcceptOwnershipRequestMapper","PutAliasRequestMapper","PutTenantPolicyRequestPropertiesMapper","LroEngine","coreClient.createSerializer","Mappers.CanceledSubscriptionId","Mappers.ErrorResponseBody","Parameters.apiVersion","Parameters.$host","Parameters.subscriptionId","Parameters.accept","Mappers.RenamedSubscriptionId","Parameters.body","Parameters.contentType","Mappers.EnabledSubscriptionId","Mappers.SubscriptionAcceptOwnershipHeaders","Parameters.body1","Mappers.AcceptOwnershipStatusResponse","__asyncValues","__asyncDelegator","serializer","Mappers.OperationListResult","Parameters.nextLink","listOperationSpec","Mappers.SubscriptionAliasResponse","Parameters.body2","Parameters.aliasName","Mappers.SubscriptionAliasListResult","Mappers.GetTenantPolicyResponse","Parameters.body3","Mappers.GetTenantPolicyListResponse","Mappers.BillingAccountPoliciesResponse","Parameters.billingAccountId","coreClient.ServiceClient"],"mappings":";;;;;;;;AAAA;;;;;;;AA+XA,WAAY,aAAa;IACvB,0CAAyB,CAAA;IACzB,oCAAmB,CAAA;AACrB,CAAC,EAHWA,qBAAa,KAAbA,qBAAa,QAGxB;AAaD,WAAY,sBAAsB;IAChC,+CAAqB,CAAA;IACrB,iDAAuB,CAAA;IACvB,2CAAiB,CAAA;AACnB,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azure/core-client"),tslib=require("tslib"),coreLro=require("@azure/core-lro");!function(e){e.Production="Production",e.DevTest="DevTest"}(exports.KnownWorkload||(exports.KnownWorkload={})),function(e){e.Accepted="Accepted",e.Succeeded="Succeeded",e.Failed="Failed"}(exports.KnownProvisioningState||(exports.KnownProvisioningState={})),function(e){e.Pending="Pending",e.Completed="Completed",e.Expired="Expired"}(exports.KnownAcceptOwnership||(exports.KnownAcceptOwnership={})),function(e){e.User="User",e.Application="Application",e.ManagedIdentity="ManagedIdentity",e.Key="Key"}(exports.KnownCreatedByType||(exports.KnownCreatedByType={}));const CanceledSubscriptionId={type:{name:"Composite",className:"CanceledSubscriptionId",modelProperties:{value:{serializedName:"value",readOnly:!0,type:{name:"String"}}}}},ErrorResponseBody={type:{name:"Composite",className:"ErrorResponseBody",modelProperties:{error:{serializedName:"error",type:{name:"Composite",className:"ErrorResponse"}},code:{serializedName:"code",type:{name:"String"}},message:{serializedName:"message",type:{name:"String"}}}}},ErrorResponse={type:{name:"Composite",className:"ErrorResponse",modelProperties:{code:{serializedName:"code",type:{name:"String"}},message:{serializedName:"message",type:{name:"String"}}}}},SubscriptionName={type:{name:"Composite",className:"SubscriptionName",modelProperties:{subscriptionName:{serializedName:"subscriptionName",type:{name:"String"}}}}},RenamedSubscriptionId={type:{name:"Composite",className:"RenamedSubscriptionId",modelProperties:{value:{serializedName:"value",readOnly:!0,type:{name:"String"}}}}},EnabledSubscriptionId={type:{name:"Composite",className:"EnabledSubscriptionId",modelProperties:{value:{serializedName:"value",readOnly:!0,type:{name:"String"}}}}},OperationListResult={type:{name:"Composite",className:"OperationListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Operation"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},Operation={type:{name:"Composite",className:"Operation",modelProperties:{name:{serializedName:"name",type:{name:"String"}},isDataAction:{serializedName:"isDataAction",type:{name:"Boolean"}},display:{serializedName:"display",type:{name:"Composite",className:"OperationDisplay"}}}}},OperationDisplay={type:{name:"Composite",className:"OperationDisplay",modelProperties:{provider:{serializedName:"provider",type:{name:"String"}},resource:{serializedName:"resource",type:{name:"String"}},operation:{serializedName:"operation",type:{name:"String"}},description:{serializedName:"description",type:{name:"String"}}}}},PutAliasRequest={type:{name:"Composite",className:"PutAliasRequest",modelProperties:{properties:{serializedName:"properties",type:{name:"Composite",className:"PutAliasRequestProperties"}}}}},PutAliasRequestProperties={type:{name:"Composite",className:"PutAliasRequestProperties",modelProperties:{displayName:{serializedName:"displayName",type:{name:"String"}},workload:{serializedName:"workload",type:{name:"String"}},billingScope:{serializedName:"billingScope",type:{name:"String"}},subscriptionId:{serializedName:"subscriptionId",type:{name:"String"}},resellerId:{serializedName:"resellerId",type:{name:"String"}},additionalProperties:{serializedName:"additionalProperties",type:{name:"Composite",className:"PutAliasRequestAdditionalProperties"}}}}},PutAliasRequestAdditionalProperties={type:{name:"Composite",className:"PutAliasRequestAdditionalProperties",modelProperties:{managementGroupId:{serializedName:"managementGroupId",type:{name:"String"}},subscriptionTenantId:{serializedName:"subscriptionTenantId",type:{name:"String"}},subscriptionOwnerId:{serializedName:"subscriptionOwnerId",type:{name:"String"}},tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},SubscriptionAliasResponse={type:{name:"Composite",className:"SubscriptionAliasResponse",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}},properties:{serializedName:"properties",type:{name:"Composite",className:"SubscriptionAliasResponseProperties"}},systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}}}}},SubscriptionAliasResponseProperties={type:{name:"Composite",className:"SubscriptionAliasResponseProperties",modelProperties:{subscriptionId:{serializedName:"subscriptionId",readOnly:!0,type:{name:"String"}},displayName:{serializedName:"displayName",type:{name:"String"}},provisioningState:{serializedName:"provisioningState",type:{name:"String"}},acceptOwnershipUrl:{serializedName:"acceptOwnershipUrl",readOnly:!0,type:{name:"String"}},acceptOwnershipState:{serializedName:"acceptOwnershipState",readOnly:!0,type:{name:"String"}},billingScope:{serializedName:"billingScope",type:{name:"String"}},workload:{serializedName:"workload",type:{name:"String"}},resellerId:{serializedName:"resellerId",type:{name:"String"}},subscriptionOwnerId:{serializedName:"subscriptionOwnerId",type:{name:"String"}},managementGroupId:{serializedName:"managementGroupId",type:{name:"String"}},tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},SystemData={type:{name:"Composite",className:"SystemData",modelProperties:{createdBy:{serializedName:"createdBy",type:{name:"String"}},createdByType:{serializedName:"createdByType",type:{name:"String"}},createdAt:{serializedName:"createdAt",type:{name:"DateTime"}},lastModifiedBy:{serializedName:"lastModifiedBy",type:{name:"String"}},lastModifiedByType:{serializedName:"lastModifiedByType",type:{name:"String"}},lastModifiedAt:{serializedName:"lastModifiedAt",type:{name:"DateTime"}}}}},SubscriptionAliasListResult={type:{name:"Composite",className:"SubscriptionAliasListResult",modelProperties:{value:{serializedName:"value",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"SubscriptionAliasResponse"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},AcceptOwnershipRequest={type:{name:"Composite",className:"AcceptOwnershipRequest",modelProperties:{properties:{serializedName:"properties",type:{name:"Composite",className:"AcceptOwnershipRequestProperties"}}}}},AcceptOwnershipRequestProperties={type:{name:"Composite",className:"AcceptOwnershipRequestProperties",modelProperties:{displayName:{serializedName:"displayName",required:!0,type:{name:"String"}},managementGroupId:{serializedName:"managementGroupId",type:{name:"String"}},tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},AcceptOwnershipStatusResponse={type:{name:"Composite",className:"AcceptOwnershipStatusResponse",modelProperties:{subscriptionId:{serializedName:"subscriptionId",readOnly:!0,type:{name:"String"}},acceptOwnershipState:{serializedName:"acceptOwnershipState",readOnly:!0,type:{name:"String"}},billingOwner:{serializedName:"billingOwner",readOnly:!0,type:{name:"String"}},subscriptionTenantId:{serializedName:"subscriptionTenantId",type:{name:"String"}},displayName:{serializedName:"displayName",type:{name:"String"}},tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},PutTenantPolicyRequestProperties={type:{name:"Composite",className:"PutTenantPolicyRequestProperties",modelProperties:{blockSubscriptionsLeavingTenant:{serializedName:"blockSubscriptionsLeavingTenant",type:{name:"Boolean"}},blockSubscriptionsIntoTenant:{serializedName:"blockSubscriptionsIntoTenant",type:{name:"Boolean"}},exemptedPrincipals:{serializedName:"exemptedPrincipals",type:{name:"Sequence",element:{type:{name:"Uuid"}}}}}}},GetTenantPolicyResponse={type:{name:"Composite",className:"GetTenantPolicyResponse",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}},properties:{serializedName:"properties",type:{name:"Composite",className:"TenantPolicy"}},systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}}}}},TenantPolicy={type:{name:"Composite",className:"TenantPolicy",modelProperties:{policyId:{serializedName:"policyId",readOnly:!0,type:{name:"String"}},blockSubscriptionsLeavingTenant:{serializedName:"blockSubscriptionsLeavingTenant",type:{name:"Boolean"}},blockSubscriptionsIntoTenant:{serializedName:"blockSubscriptionsIntoTenant",type:{name:"Boolean"}},exemptedPrincipals:{serializedName:"exemptedPrincipals",type:{name:"Sequence",element:{type:{name:"Uuid"}}}}}}},GetTenantPolicyListResponse={type:{name:"Composite",className:"GetTenantPolicyListResponse",modelProperties:{value:{serializedName:"value",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"GetTenantPolicyResponse"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},BillingAccountPoliciesResponse={type:{name:"Composite",className:"BillingAccountPoliciesResponse",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}},properties:{serializedName:"properties",type:{name:"Composite",className:"BillingAccountPoliciesResponseProperties"}},systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}}}}},BillingAccountPoliciesResponseProperties={type:{name:"Composite",className:"BillingAccountPoliciesResponseProperties",modelProperties:{serviceTenants:{serializedName:"serviceTenants",type:{name:"Sequence",element:{type:{name:"Composite",className:"ServiceTenantResponse"}}}},allowTransfers:{serializedName:"allowTransfers",type:{name:"Boolean"}}}}},ServiceTenantResponse={type:{name:"Composite",className:"ServiceTenantResponse",modelProperties:{tenantId:{serializedName:"tenantId",type:{name:"String"}},tenantName:{serializedName:"tenantName",type:{name:"String"}}}}},SubscriptionAcceptOwnershipHeaders={type:{name:"Composite",className:"SubscriptionAcceptOwnershipHeaders",modelProperties:{location:{serializedName:"location",type:{name:"String"}},retryAfter:{serializedName:"retry-after",type:{name:"Number"}}}}};var Mappers=Object.freeze({__proto__:null,CanceledSubscriptionId:CanceledSubscriptionId,ErrorResponseBody:ErrorResponseBody,ErrorResponse:ErrorResponse,SubscriptionName:SubscriptionName,RenamedSubscriptionId:RenamedSubscriptionId,EnabledSubscriptionId:EnabledSubscriptionId,OperationListResult:OperationListResult,Operation:Operation,OperationDisplay:OperationDisplay,PutAliasRequest:PutAliasRequest,PutAliasRequestProperties:PutAliasRequestProperties,PutAliasRequestAdditionalProperties:PutAliasRequestAdditionalProperties,SubscriptionAliasResponse:SubscriptionAliasResponse,SubscriptionAliasResponseProperties:SubscriptionAliasResponseProperties,SystemData:SystemData,SubscriptionAliasListResult:SubscriptionAliasListResult,AcceptOwnershipRequest:AcceptOwnershipRequest,AcceptOwnershipRequestProperties:AcceptOwnershipRequestProperties,AcceptOwnershipStatusResponse:AcceptOwnershipStatusResponse,PutTenantPolicyRequestProperties:PutTenantPolicyRequestProperties,GetTenantPolicyResponse:GetTenantPolicyResponse,TenantPolicy:TenantPolicy,GetTenantPolicyListResponse:GetTenantPolicyListResponse,BillingAccountPoliciesResponse:BillingAccountPoliciesResponse,BillingAccountPoliciesResponseProperties:BillingAccountPoliciesResponseProperties,ServiceTenantResponse:ServiceTenantResponse,SubscriptionAcceptOwnershipHeaders:SubscriptionAcceptOwnershipHeaders});const accept={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},$host={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},subscriptionId={parameterPath:"subscriptionId",mapper:{serializedName:"subscriptionId",required:!0,type:{name:"String"}}},apiVersion={parameterPath:"apiVersion",mapper:{defaultValue:"2021-10-01",isConstant:!0,serializedName:"api-version",type:{name:"String"}}},contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},body={parameterPath:"body",mapper:SubscriptionName},body1={parameterPath:"body",mapper:AcceptOwnershipRequest},nextLink={parameterPath:"nextLink",mapper:{serializedName:"nextLink",required:!0,type:{name:"String"}},skipEncoding:!0},body2={parameterPath:"body",mapper:PutAliasRequest},aliasName={parameterPath:"aliasName",mapper:{serializedName:"aliasName",required:!0,type:{name:"String"}}},body3={parameterPath:"body",mapper:PutTenantPolicyRequestProperties},billingAccountId={parameterPath:"billingAccountId",mapper:{serializedName:"billingAccountId",required:!0,type:{name:"String"}}};class LroImpl{constructor(e,t,i,s=i.path,a=i.httpMethod){this.sendOperationFn=e,this.args=t,this.spec=i,this.requestPath=s,this.requestMethod=a}sendInitialRequest(){return tslib.__awaiter(this,void 0,void 0,function*(){return this.sendOperationFn(this.args,this.spec)})}sendPollRequest(t){return tslib.__awaiter(this,void 0,void 0,function*(){var e=this.spec,e=tslib.__rest(e,["requestBody"]);return this.sendOperationFn(this.args,Object.assign(Object.assign({},e),{path:t,httpMethod:"GET"}))})}}class SubscriptionImpl{constructor(e){this.client=e}cancel(e,t){return this.client.sendOperationRequest({subscriptionId:e,options:t},cancelOperationSpec)}rename(e,t,i){return this.client.sendOperationRequest({subscriptionId:e,body:t,options:i},renameOperationSpec)}enable(e,t){return this.client.sendOperationRequest({subscriptionId:e,options:t},enableOperationSpec)}beginAcceptOwnership(t,i,s){return tslib.__awaiter(this,void 0,void 0,function*(){const r=(e,t)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,t)});var e=new LroImpl((t,a)=>tslib.__awaiter(this,void 0,void 0,function*(){let i=void 0;const s=null===(e=t.options)||void 0===e?void 0:e.onResponse;var e=Object.assign(Object.assign({},t),{options:Object.assign(Object.assign({},t.options),{onResponse:(e,t)=>{i=e,null!==s&&void 0!==s&&s(e,t)}})});return{flatResponse:yield r(e,a),rawResponse:{statusCode:i.status,body:i.parsedBody,headers:i.headers.toJSON()}}}),{subscriptionId:t,body:i,options:s},acceptOwnershipOperationSpec);return new coreLro.LroEngine(e,{resumeFrom:null==s?void 0:s.resumeFrom,intervalInMs:null==s?void 0:s.updateIntervalInMs})})}beginAcceptOwnershipAndWait(t,i,s){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginAcceptOwnership(t,i,s);return e.pollUntilDone()})}acceptOwnershipStatus(e,t){return this.client.sendOperationRequest({subscriptionId:e,options:t},acceptOwnershipStatusOperationSpec)}}const serializer=coreClient.createSerializer(Mappers,!1),cancelOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Subscription/cancel",httpMethod:"POST",responses:{200:{bodyMapper:CanceledSubscriptionId},default:{bodyMapper:ErrorResponseBody}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer},renameOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Subscription/rename",httpMethod:"POST",responses:{200:{bodyMapper:RenamedSubscriptionId},default:{bodyMapper:ErrorResponseBody}},requestBody:body,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer},enableOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Subscription/enable",httpMethod:"POST",responses:{200:{bodyMapper:EnabledSubscriptionId},default:{bodyMapper:ErrorResponseBody}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer},acceptOwnershipOperationSpec={path:"/providers/Microsoft.Subscription/{subscriptionId}/acceptOwnership",httpMethod:"POST",responses:{200:{headersMapper:SubscriptionAcceptOwnershipHeaders},201:{headersMapper:SubscriptionAcceptOwnershipHeaders},202:{headersMapper:SubscriptionAcceptOwnershipHeaders},204:{headersMapper:SubscriptionAcceptOwnershipHeaders},default:{bodyMapper:ErrorResponseBody}},requestBody:body1,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer},acceptOwnershipStatusOperationSpec={path:"/providers/Microsoft.Subscription/{subscriptionId}/acceptOwnershipStatus",httpMethod:"GET",responses:{200:{bodyMapper:AcceptOwnershipStatusResponse},default:{bodyMapper:ErrorResponseBody}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer};class OperationsImpl{constructor(e){this.client=e}list(e){const t=this.listPagingAll(e);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e)}}listPagingPage(i){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(i));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listNext(t,i)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(r){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var i,s=tslib.__asyncValues(this.listPagingPage(r));!(i=yield tslib.__await(s.next())).done;){var a=i.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(a)))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=s.return)&&(yield tslib.__await(e.call(s)))}finally{if(t)throw t.error}}})}_list(e){return this.client.sendOperationRequest({options:e},listOperationSpec)}_listNext(e,t){return this.client.sendOperationRequest({nextLink:e,options:t},listNextOperationSpec)}}const serializer$1=coreClient.createSerializer(Mappers,!1),listOperationSpec={path:"/providers/Microsoft.Subscription/operations",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult},default:{bodyMapper:ErrorResponseBody}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer$1},listNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult},default:{bodyMapper:ErrorResponseBody}},queryParameters:[apiVersion],urlParameters:[$host,nextLink],headerParameters:[accept],serializer:serializer$1};class AliasImpl{constructor(e){this.client=e}beginCreate(t,i,s){return tslib.__awaiter(this,void 0,void 0,function*(){const r=(e,t)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,t)});var e=new LroImpl((t,a)=>tslib.__awaiter(this,void 0,void 0,function*(){let i=void 0;const s=null===(e=t.options)||void 0===e?void 0:e.onResponse;var e=Object.assign(Object.assign({},t),{options:Object.assign(Object.assign({},t.options),{onResponse:(e,t)=>{i=e,null!==s&&void 0!==s&&s(e,t)}})});return{flatResponse:yield r(e,a),rawResponse:{statusCode:i.status,body:i.parsedBody,headers:i.headers.toJSON()}}}),{aliasName:t,body:i,options:s},createOperationSpec);return new coreLro.LroEngine(e,{resumeFrom:null==s?void 0:s.resumeFrom,intervalInMs:null==s?void 0:s.updateIntervalInMs})})}beginCreateAndWait(t,i,s){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginCreate(t,i,s);return e.pollUntilDone()})}get(e,t){return this.client.sendOperationRequest({aliasName:e,options:t},getOperationSpec)}delete(e,t){return this.client.sendOperationRequest({aliasName:e,options:t},deleteOperationSpec)}list(e){return this.client.sendOperationRequest({options:e},listOperationSpec$1)}}const serializer$2=coreClient.createSerializer(Mappers,!1),createOperationSpec={path:"/providers/Microsoft.Subscription/aliases/{aliasName}",httpMethod:"PUT",responses:{200:{bodyMapper:SubscriptionAliasResponse},201:{bodyMapper:SubscriptionAliasResponse},202:{bodyMapper:SubscriptionAliasResponse},204:{bodyMapper:SubscriptionAliasResponse},default:{bodyMapper:ErrorResponseBody}},requestBody:body2,queryParameters:[apiVersion],urlParameters:[$host,aliasName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$2},getOperationSpec={path:"/providers/Microsoft.Subscription/aliases/{aliasName}",httpMethod:"GET",responses:{200:{bodyMapper:SubscriptionAliasResponse},default:{bodyMapper:ErrorResponseBody}},queryParameters:[apiVersion],urlParameters:[$host,aliasName],headerParameters:[accept],serializer:serializer$2},deleteOperationSpec={path:"/providers/Microsoft.Subscription/aliases/{aliasName}",httpMethod:"DELETE",responses:{200:{},204:{},default:{bodyMapper:ErrorResponseBody}},queryParameters:[apiVersion],urlParameters:[$host,aliasName],headerParameters:[accept],serializer:serializer$2},listOperationSpec$1={path:"/providers/Microsoft.Subscription/aliases",httpMethod:"GET",responses:{200:{bodyMapper:SubscriptionAliasListResult},default:{bodyMapper:ErrorResponseBody}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer$2};class SubscriptionPolicyImpl{constructor(e){this.client=e}listPolicyForTenant(e){const t=this.listPolicyForTenantPagingAll(e);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPolicyForTenantPagingPage(e)}}listPolicyForTenantPagingPage(i){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listPolicyForTenant(i));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listPolicyForTenantNext(t,i)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listPolicyForTenantPagingAll(r){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var i,s=tslib.__asyncValues(this.listPolicyForTenantPagingPage(r));!(i=yield tslib.__await(s.next())).done;){var a=i.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(a)))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=s.return)&&(yield tslib.__await(e.call(s)))}finally{if(t)throw t.error}}})}addUpdatePolicyForTenant(e,t){return this.client.sendOperationRequest({body:e,options:t},addUpdatePolicyForTenantOperationSpec)}getPolicyForTenant(e){return this.client.sendOperationRequest({options:e},getPolicyForTenantOperationSpec)}_listPolicyForTenant(e){return this.client.sendOperationRequest({options:e},listPolicyForTenantOperationSpec)}_listPolicyForTenantNext(e,t){return this.client.sendOperationRequest({nextLink:e,options:t},listPolicyForTenantNextOperationSpec)}}const serializer$3=coreClient.createSerializer(Mappers,!1),addUpdatePolicyForTenantOperationSpec={path:"/providers/Microsoft.Subscription/policies/default",httpMethod:"PUT",responses:{201:{bodyMapper:GetTenantPolicyResponse},default:{bodyMapper:ErrorResponseBody}},requestBody:body3,queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$3},getPolicyForTenantOperationSpec={path:"/providers/Microsoft.Subscription/policies/default",httpMethod:"GET",responses:{200:{bodyMapper:GetTenantPolicyResponse},default:{bodyMapper:ErrorResponseBody}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer$3},listPolicyForTenantOperationSpec={path:"/providers/Microsoft.Subscription/policies",httpMethod:"GET",responses:{200:{bodyMapper:GetTenantPolicyListResponse},default:{bodyMapper:ErrorResponseBody}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer$3},listPolicyForTenantNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:GetTenantPolicyListResponse},default:{bodyMapper:ErrorResponseBody}},queryParameters:[apiVersion],urlParameters:[$host,nextLink],headerParameters:[accept],serializer:serializer$3};class BillingAccountImpl{constructor(e){this.client=e}getPolicy(e,t){return this.client.sendOperationRequest({billingAccountId:e,options:t},getPolicyOperationSpec)}}const serializer$4=coreClient.createSerializer(Mappers,!1),getPolicyOperationSpec={path:"/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Subscription/policies/default",httpMethod:"GET",responses:{200:{bodyMapper:BillingAccountPoliciesResponse},default:{bodyMapper:ErrorResponseBody}},queryParameters:[apiVersion],urlParameters:[$host,billingAccountId],headerParameters:[accept],serializer:serializer$4};class SubscriptionClient extends coreClient.ServiceClient{constructor(e,t){if(void 0===e)throw new Error("'credentials' cannot be null");var i={requestContentType:"application/json; charset=utf-8",credential:e},e="azsdk-js-arm-subscriptions/4.0.0",e=(t=t||{}).userAgentOptions&&t.userAgentOptions.userAgentPrefix?t.userAgentOptions.userAgentPrefix+" "+e:e;t.credentialScopes||(t.credentialScopes=["https://management.azure.com/.default"]),super(Object.assign(Object.assign(Object.assign({},i),t),{userAgentOptions:{userAgentPrefix:e},baseUri:t.endpoint||"https://management.azure.com"})),this.$host=t.$host||"https://management.azure.com",this.apiVersion=t.apiVersion||"2021-10-01",this.subscription=new SubscriptionImpl(this),this.operations=new OperationsImpl(this),this.alias=new AliasImpl(this),this.subscriptionPolicy=new SubscriptionPolicyImpl(this),this.billingAccount=new BillingAccountImpl(this)}}exports.SubscriptionClient=SubscriptionClient;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/lroImpl.ts","../src/operations/subscription.ts","../src/operations/operations.ts","../src/operations/alias.ts","../src/operations/subscriptionPolicy.ts","../src/operations/billingAccount.ts","../src/subscriptionClient.ts"],"names":["KnownWorkload","KnownProvisioningState","KnownAcceptOwnership","KnownCreatedByType","CanceledSubscriptionId","type","name","className","modelProperties","value","serializedName","readOnly","ErrorResponseBody","error","code","message","ErrorResponse","SubscriptionName","subscriptionName","RenamedSubscriptionId","EnabledSubscriptionId","OperationListResult","element","nextLink","Operation","isDataAction","display","OperationDisplay","provider","resource","operation","description","PutAliasRequest","properties","PutAliasRequestProperties","displayName","workload","billingScope","subscriptionId","resellerId","additionalProperties","PutAliasRequestAdditionalProperties","managementGroupId","subscriptionTenantId","subscriptionOwnerId","tags","SubscriptionAliasResponse","id","systemData","SubscriptionAliasResponseProperties","provisioningState","acceptOwnershipUrl","acceptOwnershipState","SystemData","createdBy","createdByType","createdAt","lastModifiedBy","lastModifiedByType","lastModifiedAt","SubscriptionAliasListResult","AcceptOwnershipRequest","AcceptOwnershipRequestProperties","required","AcceptOwnershipStatusResponse","billingOwner","PutTenantPolicyRequestProperties","blockSubscriptionsLeavingTenant","blockSubscriptionsIntoTenant","exemptedPrincipals","GetTenantPolicyResponse","TenantPolicy","policyId","GetTenantPolicyListResponse","BillingAccountPoliciesResponse","BillingAccountPoliciesResponseProperties","serviceTenants","allowTransfers","ServiceTenantResponse","tenantId","tenantName","SubscriptionAcceptOwnershipHeaders","location","retryAfter","accept","parameterPath","mapper","defaultValue","isConstant","$host","skipEncoding","apiVersion","contentType","body","SubscriptionNameMapper","body1","AcceptOwnershipRequestMapper","body2","PutAliasRequestMapper","aliasName","body3","PutTenantPolicyRequestPropertiesMapper","billingAccountId","LroImpl","constructor","sendOperationFn","args","spec","requestPath","path","requestMethod","httpMethod","this","sendInitialRequest","sendPollRequest","_a","restSpec","tslib","__rest","Object","assign","SubscriptionImpl","client","cancel","options","sendOperationRequest","cancelOperationSpec","rename","renameOperationSpec","enable","enableOperationSpec","beginAcceptOwnership","directSendOperation","__awaiter","lro","let","currentRawResponse","undefined","providedCallback","onResponse","updatedArgs","rawResponse","flatResponse","statusCode","status","parsedBody","headers","toJSON","acceptOwnershipOperationSpec","LroEngine","resumeFrom","intervalInMs","updateIntervalInMs","beginAcceptOwnershipAndWait","poller","pollUntilDone","acceptOwnershipStatus","acceptOwnershipStatusOperationSpec","serializer","coreClient.createSerializer","Mappers","responses","200","bodyMapper","Mappers.CanceledSubscriptionId","default","Mappers.ErrorResponseBody","queryParameters","Parameters.apiVersion","urlParameters","Parameters.$host","Parameters.subscriptionId","headerParameters","Parameters.accept","Mappers.RenamedSubscriptionId","requestBody","Parameters.body","Parameters.contentType","mediaType","Mappers.EnabledSubscriptionId","headersMapper","Mappers.SubscriptionAcceptOwnershipHeaders","201","202","204","Parameters.body1","Mappers.AcceptOwnershipStatusResponse","OperationsImpl","list","iter","listPagingAll","next","Symbol","asyncIterator","byPage","listPagingPage","result","__await","_list","continuationToken","_listNext","_c","_b","__asyncValues","done","page","__asyncDelegator","listOperationSpec","listNextOperationSpec","Mappers.OperationListResult","Parameters.nextLink","AliasImpl","beginCreate","createOperationSpec","beginCreateAndWait","get","getOperationSpec","delete","deleteOperationSpec","Mappers.SubscriptionAliasResponse","Parameters.body2","Parameters.aliasName","Mappers.SubscriptionAliasListResult","SubscriptionPolicyImpl","listPolicyForTenant","listPolicyForTenantPagingAll","listPolicyForTenantPagingPage","_listPolicyForTenant","_listPolicyForTenantNext","addUpdatePolicyForTenant","addUpdatePolicyForTenantOperationSpec","getPolicyForTenant","getPolicyForTenantOperationSpec","listPolicyForTenantOperationSpec","listPolicyForTenantNextOperationSpec","Mappers.GetTenantPolicyResponse","Parameters.body3","Mappers.GetTenantPolicyListResponse","BillingAccountImpl","getPolicy","getPolicyOperationSpec","Mappers.BillingAccountPoliciesResponse","Parameters.billingAccountId","SubscriptionClient","coreClient.ServiceClient","credentials","Error","defaults","requestContentType","credential","packageDetails","userAgentPrefix","userAgentOptions","credentialScopes","super","baseUri","endpoint","subscription","operations","alias","subscriptionPolicy","billingAccount"],"mappings":"4KA+XA,SAAYA,GACVA,EAAA,WAAA,aACAA,EAAA,QAAA,UAFF,CAAYA,QAAAA,gBAAAA,QAAAA,cAAa,KAgBzB,SAAYC,GACVA,EAAA,SAAA,WACAA,EAAA,UAAA,YACAA,EAAA,OAAA,SAHF,CAAYA,QAAAA,yBAAAA,QAAAA,uBAAsB,KAkBlC,SAAYC,GACVA,EAAA,QAAA,UACAA,EAAA,UAAA,YACAA,EAAA,QAAA,UAHF,CAAYA,QAAAA,uBAAAA,QAAAA,qBAAoB,KAkBhC,SAAYC,GACVA,EAAA,KAAA,OACAA,EAAA,YA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A,KAAKkJ,WAAa,IAAIvE,eAAe3E,MACrCA,KAAKmJ,MAAQ,IAAIhD,UAAUnG,MAC3BA,KAAKoJ,mBAAqB,IAAIrC,uBAAuB/G,MACrDA,KAAKqJ,eAAiB,IAAIvB,mBAAmB9H,O"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AASA,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
/// <reference lib="esnext.asynciterable" />
|
|
9
|
+
export * from "./models";
|
|
10
|
+
export { SubscriptionClient } from "./subscriptionClient";
|
|
11
|
+
export * from "./operationsInterfaces";
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LongRunningOperation, LroResponse } from "@azure/core-lro";
|
|
2
|
+
export declare class LroImpl<T> implements LongRunningOperation<T> {
|
|
3
|
+
private sendOperationFn;
|
|
4
|
+
private args;
|
|
5
|
+
private spec;
|
|
6
|
+
requestPath: string;
|
|
7
|
+
requestMethod: string;
|
|
8
|
+
constructor(sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>, args: Record<string, unknown>, spec: {
|
|
9
|
+
readonly requestBody?: unknown;
|
|
10
|
+
readonly path?: string;
|
|
11
|
+
readonly httpMethod: string;
|
|
12
|
+
} & Record<string, any>, requestPath?: string, requestMethod?: string);
|
|
13
|
+
sendInitialRequest(): Promise<LroResponse<T>>;
|
|
14
|
+
sendPollRequest(path: string): Promise<LroResponse<T>>;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=lroImpl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,qBAAa,OAAO,CAAC,CAAC,CAAE,YAAW,oBAAoB,CAAC,CAAC,CAAC;IAEtD,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,IAAI;IACZ,OAAO,CAAC,IAAI;IAKL,WAAW,EAAE,MAAM;IACnB,aAAa,EAAE,MAAM;gBARpB,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAClE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,IAAI,EAAE;QACZ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAChB,WAAW,GAAE,MAAmB,EAChC,aAAa,GAAE,MAAwB;IAEnC,kBAAkB,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAG7C,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;CAQpE"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter, __rest } from "tslib";
|
|
9
|
+
export class LroImpl {
|
|
10
|
+
constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
|
|
11
|
+
this.sendOperationFn = sendOperationFn;
|
|
12
|
+
this.args = args;
|
|
13
|
+
this.spec = spec;
|
|
14
|
+
this.requestPath = requestPath;
|
|
15
|
+
this.requestMethod = requestMethod;
|
|
16
|
+
}
|
|
17
|
+
sendInitialRequest() {
|
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
return this.sendOperationFn(this.args, this.spec);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
sendPollRequest(path) {
|
|
23
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
+
const _a = this.spec, { requestBody } = _a, restSpec = __rest(_a, ["requestBody"]);
|
|
25
|
+
return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=lroImpl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,MAAM,OAAO,OAAO;IAClB,YACU,eAAkE,EAClE,IAA6B,EAC7B,IAIe,EAChB,cAAsB,IAAI,CAAC,IAAK,EAChC,gBAAwB,IAAI,CAAC,UAAU;QARtC,oBAAe,GAAf,eAAe,CAAmD;QAClE,SAAI,GAAJ,IAAI,CAAyB;QAC7B,SAAI,GAAJ,IAAI,CAIW;QAChB,gBAAW,GAAX,WAAW,CAAqB;QAChC,kBAAa,GAAb,aAAa,CAA0B;IAC7C,CAAC;IACS,kBAAkB;;YAC7B,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QACpD,CAAC;KAAA;IACY,eAAe,CAAC,IAAY;;YACvC,MAAM,KAA+B,IAAI,CAAC,IAAI,EAAxC,EAAE,WAAW,OAA2B,EAAtB,QAAQ,cAA1B,eAA4B,CAAY,CAAC;YAC/C,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,kCAChC,QAAQ,KACX,IAAI,EACJ,UAAU,EAAE,KAAK,IACjB,CAAC;QACL,CAAC;KAAA;CACF"}
|