Initial commit

This commit is contained in:
2025-03-07 19:22:02 +01:00
commit 4a98255d83
55743 changed files with 5280367 additions and 0 deletions
+738
View File
@@ -0,0 +1,738 @@
import * as coreClient from "@azure/core-client";
/** Location list operation response. */
export interface LocationListResult {
/** An array of locations. */
value?: Location[];
}
/** Location information. */
export interface Location {
/**
* The fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly id?: string;
/**
* The subscription ID.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly subscriptionId?: string;
/**
* The location name.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly name?: string;
/**
* The display name of the location.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly displayName?: string;
/**
* The latitude of the location.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly latitude?: string;
/**
* The longitude of the location.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly longitude?: string;
}
/** Subscription information. */
export interface Subscription {
/**
* The fully qualified ID for the subscription. For example, /subscriptions/00000000-0000-0000-0000-000000000000.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly id?: string;
/**
* The subscription ID.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly subscriptionId?: string;
/**
* The subscription display name.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly displayName?: string;
/**
* The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly state?: SubscriptionState;
/**
* The tenant ID. For example, 00000000-0000-0000-0000-000000000000.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly tenantId?: string;
/** Tags for the subscription */
tags?: {
[propertyName: string]: string;
};
/** The subscription policies. */
subscriptionPolicies?: SubscriptionPolicies;
/** The authorization source of the request. Valid values are one or more combinations of Legacy, RoleBased, Bypassed, Direct and Management. For example, 'Legacy, RoleBased'. */
authorizationSource?: string;
}
/** Subscription policies. */
export interface SubscriptionPolicies {
/**
* The subscription location placement ID. The ID indicates which regions are visible for a subscription. For example, a subscription with a location placement Id of Public_2014-09-01 has access to Azure public regions.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly locationPlacementId?: string;
/**
* The subscription quota ID.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly quotaId?: string;
/**
* The subscription spending limit.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly spendingLimit?: SpendingLimit;
}
/** Subscription list operation response. */
export interface SubscriptionListResult {
/** An array of subscriptions. */
value?: Subscription[];
/** The URL to get the next set of results. */
nextLink?: string;
}
/** Tenant Ids information. */
export interface TenantListResult {
/** An array of tenants. */
value?: TenantIdDescription[];
/** The URL to use for getting the next set of results. */
nextLink: string;
}
/** Tenant Id information. */
export interface TenantIdDescription {
/**
* The fully qualified ID of the tenant. For example, /tenants/00000000-0000-0000-0000-000000000000.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly id?: string;
/**
* The tenant ID. For example, 00000000-0000-0000-0000-000000000000.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly tenantId?: string;
/**
* The category of the tenant. Possible values are TenantCategoryHome,TenantCategoryProjectedBy,TenantCategoryManagedBy
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly tenantCategory?: string;
/**
* The country/region name of the address for the tenant.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly country?: string;
/**
* The Country/region abbreviation for the tenant.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly countryCode?: string;
/**
* The display name of the tenant.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly displayName?: string;
/**
* The list of domains for the tenant.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly domains?: string;
/**
* The default domain for the tenant.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly defaultDomain?: string;
/**
* The tenant type. Only available for Home tenant category.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly tenantType?: string;
}
/** The ID of the canceled subscription */
export interface CanceledSubscriptionId {
/**
* The ID of the canceled subscription
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly subscriptionId?: string;
}
/** Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message. */
export interface ErrorResponseBody {
/** The details of the error. */
error?: ErrorResponse;
/** Error code */
code?: string;
/** Error message indicating why the operation failed. */
message?: string;
}
/** Describes the format of Error response. */
export interface ErrorResponse {
/** Error code */
code?: string;
/** Error message indicating why the operation failed. */
message?: string;
}
/** The new name of the subscription. */
export interface SubscriptionName {
/** New subscription name */
subscriptionName?: string;
}
/** The ID of the subscriptions that is being renamed */
export interface RenamedSubscriptionId {
/**
* The ID of the subscriptions that is being renamed
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly subscriptionId?: string;
}
/** The ID of the subscriptions that is being enabled */
export interface EnabledSubscriptionId {
/**
* The ID of the subscriptions that is being enabled
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly subscriptionId?: string;
}
/** Result of the request to list operations. It contains a list of operations and a URL link to get the next set of results. */
export interface OperationListResult {
/** List of operations. */
value?: Operation[];
/** URL to get the next set of operation list results if there are any. */
nextLink?: string;
}
/** REST API operation */
export interface Operation {
/** Operation name: {provider}/{resource}/{operation} */
name?: string;
/** Indicates whether the operation is a data action */
isDataAction?: boolean;
/** The object that represents the operation. */
display?: OperationDisplay;
}
/** The object that represents the operation. */
export interface OperationDisplay {
/** Service provider: Microsoft.Subscription */
provider?: string;
/** Resource on which the operation is performed: Profile, endpoint, etc. */
resource?: string;
/** Operation type: Read, write, delete, etc. */
operation?: string;
/** Localized friendly description for the operation */
description?: string;
}
/** The parameters required to create a new subscription. */
export interface PutAliasRequest {
/** Put alias request properties. */
properties?: PutAliasRequestProperties;
}
/** Put subscription properties. */
export interface PutAliasRequestProperties {
/** The friendly name of the subscription. */
displayName?: string;
/** The workload type of the subscription. It can be either Production or DevTest. */
workload?: Workload;
/**
* Billing scope of the subscription.
* For CustomerLed and FieldLed - /billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}
* For PartnerLed - /billingAccounts/{billingAccountName}/customers/{customerName}
* For Legacy EA - /billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}
*/
billingScope?: string;
/** This parameter can be used to create alias for existing subscription Id */
subscriptionId?: string;
/** Reseller Id */
resellerId?: string;
/** Put alias request additional properties. */
additionalProperties?: PutAliasRequestAdditionalProperties;
}
/** Put subscription additional properties. */
export interface PutAliasRequestAdditionalProperties {
/** Management group Id for the subscription. */
managementGroupId?: string;
/** Tenant Id of the subscription */
subscriptionTenantId?: string;
/** Owner Id of the subscription */
subscriptionOwnerId?: string;
/** Tags for the subscription */
tags?: {
[propertyName: string]: string;
};
}
/** Subscription Information with the alias. */
export interface SubscriptionAliasResponse {
/**
* Fully qualified ID for the alias resource.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly id?: string;
/**
* Alias ID.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly name?: string;
/**
* Resource type, Microsoft.Subscription/aliases.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly type?: string;
/** Subscription Alias response properties. */
properties?: SubscriptionAliasResponseProperties;
/**
* Metadata pertaining to creation and last modification of the resource.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly systemData?: SystemData;
}
/** Put subscription creation result properties. */
export interface SubscriptionAliasResponseProperties {
/**
* Newly created subscription Id.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly subscriptionId?: string;
/** The display name of the subscription. */
displayName?: string;
/** The provisioning state of the resource. */
provisioningState?: ProvisioningState;
/**
* Url to accept ownership of the subscription.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly acceptOwnershipUrl?: string;
/**
* The accept ownership state of the resource.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly acceptOwnershipState?: AcceptOwnership;
/**
* Billing scope of the subscription.
* For CustomerLed and FieldLed - /billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}
* For PartnerLed - /billingAccounts/{billingAccountName}/customers/{customerName}
* For Legacy EA - /billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}
*/
billingScope?: string;
/** The workload type of the subscription. It can be either Production or DevTest. */
workload?: Workload;
/** Reseller Id */
resellerId?: string;
/** Owner Id of the subscription */
subscriptionOwnerId?: string;
/** The Management Group Id. */
managementGroupId?: string;
/** Created Time */
createdTime?: string;
/** Tags for the subscription */
tags?: {
[propertyName: string]: string;
};
}
/** Metadata pertaining to creation and last modification of the resource. */
export interface SystemData {
/** The identity that created the resource. */
createdBy?: string;
/** The type of identity that created the resource. */
createdByType?: CreatedByType;
/** The timestamp of resource creation (UTC). */
createdAt?: Date;
/** The identity that last modified the resource. */
lastModifiedBy?: string;
/** The type of identity that last modified the resource. */
lastModifiedByType?: CreatedByType;
/** The timestamp of resource last modification (UTC) */
lastModifiedAt?: Date;
}
/** The list of aliases. */
export interface SubscriptionAliasListResult {
/**
* The list of alias.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: SubscriptionAliasResponse[];
/**
* The link (url) to the next page of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** The parameters required to accept subscription ownership. */
export interface AcceptOwnershipRequest {
/** Accept subscription ownership request properties. */
properties?: AcceptOwnershipRequestProperties;
}
/** Accept subscription ownership request properties. */
export interface AcceptOwnershipRequestProperties {
/** The friendly name of the subscription. */
displayName: string;
/** Management group Id for the subscription. */
managementGroupId?: string;
/** Tags for the subscription */
tags?: {
[propertyName: string]: string;
};
}
/** Subscription Accept Ownership Response */
export interface AcceptOwnershipStatusResponse {
/**
* Newly created subscription Id.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly subscriptionId?: string;
/**
* The accept ownership state of the resource.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly acceptOwnershipState?: AcceptOwnership;
/**
* The provisioning state of the resource.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly provisioningState?: Provisioning;
/**
* UPN of the billing owner
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly billingOwner?: string;
/** Tenant Id of the subscription */
subscriptionTenantId?: string;
/** The display name of the subscription. */
displayName?: string;
/** Tags for the subscription */
tags?: {
[propertyName: string]: string;
};
}
/** Put tenant policy request properties. */
export interface PutTenantPolicyRequestProperties {
/** Blocks the leaving of subscriptions from user's tenant. */
blockSubscriptionsLeavingTenant?: boolean;
/** Blocks the entering of subscriptions into user's tenant. */
blockSubscriptionsIntoTenant?: boolean;
/** List of user objectIds that are exempted from the set subscription tenant policies for the user's tenant. */
exemptedPrincipals?: string[];
}
/** Tenant policy Information. */
export interface GetTenantPolicyResponse {
/**
* Policy Id.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly id?: string;
/**
* Policy name.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly name?: string;
/**
* Resource type.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly type?: string;
/** Tenant policy properties. */
properties?: TenantPolicy;
/**
* Metadata pertaining to creation and last modification of the resource.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly systemData?: SystemData;
}
/** Tenant policy. */
export interface TenantPolicy {
/**
* Policy Id.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly policyId?: string;
/** Blocks the leaving of subscriptions from user's tenant. */
blockSubscriptionsLeavingTenant?: boolean;
/** Blocks the entering of subscriptions into user's tenant. */
blockSubscriptionsIntoTenant?: boolean;
/** List of user objectIds that are exempted from the set subscription tenant policies for the user's tenant. */
exemptedPrincipals?: string[];
}
/** Tenant policy information list. */
export interface GetTenantPolicyListResponse {
/**
* The list of tenant policies.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: GetTenantPolicyResponse[];
/**
* The link (url) to the next page of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** Billing account policies information. */
export interface BillingAccountPoliciesResponse {
/**
* Fully qualified ID for the policy.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly id?: string;
/**
* Policy name.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly name?: string;
/**
* Resource type.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly type?: string;
/** Billing account policies response properties. */
properties?: BillingAccountPoliciesResponseProperties;
/**
* Metadata pertaining to creation and last modification of the resource.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly systemData?: SystemData;
}
/** Put billing account policies response properties. */
export interface BillingAccountPoliciesResponseProperties {
/** Service tenant for the billing account. */
serviceTenants?: ServiceTenantResponse[];
/** Determine if the transfers are allowed for the billing account */
allowTransfers?: boolean;
}
/** Billing account service tenant. */
export interface ServiceTenantResponse {
/** Service tenant id. */
tenantId?: string;
/** Service tenant name. */
tenantName?: string;
}
/** Defines headers for Subscription_acceptOwnership operation. */
export interface SubscriptionAcceptOwnershipHeaders {
/** GET this URL to retrieve the status of the asynchronous operation. */
location?: string;
/** The amount of delay to use while the status of the operation is checked. The value is expressed in seconds. */
retryAfter?: number;
}
/** Known values of {@link Workload} that the service accepts. */
export declare enum KnownWorkload {
/** Production */
Production = "Production",
/** DevTest */
DevTest = "DevTest"
}
/**
* Defines values for Workload. \
* {@link KnownWorkload} can be used interchangeably with Workload,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **Production** \
* **DevTest**
*/
export declare type Workload = string;
/** Known values of {@link ProvisioningState} that the service accepts. */
export declare enum KnownProvisioningState {
/** Accepted */
Accepted = "Accepted",
/** Succeeded */
Succeeded = "Succeeded",
/** Failed */
Failed = "Failed"
}
/**
* Defines values for ProvisioningState. \
* {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **Accepted** \
* **Succeeded** \
* **Failed**
*/
export declare type ProvisioningState = string;
/** Known values of {@link AcceptOwnership} that the service accepts. */
export declare enum KnownAcceptOwnership {
/** Pending */
Pending = "Pending",
/** Completed */
Completed = "Completed",
/** Expired */
Expired = "Expired"
}
/**
* Defines values for AcceptOwnership. \
* {@link KnownAcceptOwnership} can be used interchangeably with AcceptOwnership,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **Pending** \
* **Completed** \
* **Expired**
*/
export declare type AcceptOwnership = string;
/** Known values of {@link CreatedByType} that the service accepts. */
export declare enum KnownCreatedByType {
/** User */
User = "User",
/** Application */
Application = "Application",
/** ManagedIdentity */
ManagedIdentity = "ManagedIdentity",
/** Key */
Key = "Key"
}
/**
* Defines values for CreatedByType. \
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **User** \
* **Application** \
* **ManagedIdentity** \
* **Key**
*/
export declare type CreatedByType = string;
/** Known values of {@link Provisioning} that the service accepts. */
export declare enum KnownProvisioning {
/** Pending */
Pending = "Pending",
/** Accepted */
Accepted = "Accepted",
/** Succeeded */
Succeeded = "Succeeded"
}
/**
* Defines values for Provisioning. \
* {@link KnownProvisioning} can be used interchangeably with Provisioning,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **Pending** \
* **Accepted** \
* **Succeeded**
*/
export declare type Provisioning = string;
/** Defines values for SubscriptionState. */
export declare type SubscriptionState = "Enabled" | "Warned" | "PastDue" | "Disabled" | "Deleted";
/** Defines values for SpendingLimit. */
export declare type SpendingLimit = "On" | "Off" | "CurrentPeriodOff";
/** Optional parameters. */
export interface SubscriptionsListLocationsOptionalParams extends coreClient.OperationOptions {
}
/** Contains response data for the listLocations operation. */
export declare type SubscriptionsListLocationsResponse = LocationListResult;
/** Optional parameters. */
export interface SubscriptionsGetOptionalParams extends coreClient.OperationOptions {
}
/** Contains response data for the get operation. */
export declare type SubscriptionsGetResponse = Subscription;
/** Optional parameters. */
export interface SubscriptionsListOptionalParams extends coreClient.OperationOptions {
}
/** Contains response data for the list operation. */
export declare type SubscriptionsListResponse = SubscriptionListResult;
/** Optional parameters. */
export interface SubscriptionsListNextOptionalParams extends coreClient.OperationOptions {
}
/** Contains response data for the listNext operation. */
export declare type SubscriptionsListNextResponse = SubscriptionListResult;
/** Optional parameters. */
export interface TenantsListOptionalParams extends coreClient.OperationOptions {
}
/** Contains response data for the list operation. */
export declare type TenantsListResponse = TenantListResult;
/** Optional parameters. */
export interface TenantsListNextOptionalParams extends coreClient.OperationOptions {
}
/** Contains response data for the listNext operation. */
export declare type TenantsListNextResponse = TenantListResult;
/** Optional parameters. */
export interface SubscriptionCancelOptionalParams extends coreClient.OperationOptions {
}
/** Contains response data for the cancel operation. */
export declare type SubscriptionCancelResponse = CanceledSubscriptionId;
/** Optional parameters. */
export interface SubscriptionRenameOptionalParams extends coreClient.OperationOptions {
}
/** Contains response data for the rename operation. */
export declare type SubscriptionRenameResponse = RenamedSubscriptionId;
/** Optional parameters. */
export interface SubscriptionEnableOptionalParams extends coreClient.OperationOptions {
}
/** Contains response data for the enable operation. */
export declare type SubscriptionEnableResponse = EnabledSubscriptionId;
/** Optional parameters. */
export interface SubscriptionAcceptOwnershipOptionalParams extends coreClient.OperationOptions {
/** Delay to wait until next poll, in milliseconds. */
updateIntervalInMs?: number;
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
resumeFrom?: string;
}
/** Contains response data for the acceptOwnership operation. */
export declare type SubscriptionAcceptOwnershipResponse = SubscriptionAcceptOwnershipHeaders;
/** Optional parameters. */
export interface SubscriptionAcceptOwnershipStatusOptionalParams extends coreClient.OperationOptions {
}
/** Contains response data for the acceptOwnershipStatus operation. */
export declare type SubscriptionAcceptOwnershipStatusResponse = AcceptOwnershipStatusResponse;
/** Optional parameters. */
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
}
/** Contains response data for the list operation. */
export declare type OperationsListResponse = OperationListResult;
/** Optional parameters. */
export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
}
/** Contains response data for the listNext operation. */
export declare type OperationsListNextResponse = OperationListResult;
/** Optional parameters. */
export interface AliasCreateOptionalParams extends coreClient.OperationOptions {
/** Delay to wait until next poll, in milliseconds. */
updateIntervalInMs?: number;
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
resumeFrom?: string;
}
/** Contains response data for the create operation. */
export declare type AliasCreateResponse = SubscriptionAliasResponse;
/** Optional parameters. */
export interface AliasGetOptionalParams extends coreClient.OperationOptions {
}
/** Contains response data for the get operation. */
export declare type AliasGetResponse = SubscriptionAliasResponse;
/** Optional parameters. */
export interface AliasDeleteOptionalParams extends coreClient.OperationOptions {
}
/** Optional parameters. */
export interface AliasListOptionalParams extends coreClient.OperationOptions {
}
/** Contains response data for the list operation. */
export declare type AliasListResponse = SubscriptionAliasListResult;
/** Optional parameters. */
export interface SubscriptionPolicyAddUpdatePolicyForTenantOptionalParams extends coreClient.OperationOptions {
}
/** Contains response data for the addUpdatePolicyForTenant operation. */
export declare type SubscriptionPolicyAddUpdatePolicyForTenantResponse = GetTenantPolicyResponse;
/** Optional parameters. */
export interface SubscriptionPolicyGetPolicyForTenantOptionalParams extends coreClient.OperationOptions {
}
/** Contains response data for the getPolicyForTenant operation. */
export declare type SubscriptionPolicyGetPolicyForTenantResponse = GetTenantPolicyResponse;
/** Optional parameters. */
export interface SubscriptionPolicyListPolicyForTenantOptionalParams extends coreClient.OperationOptions {
}
/** Contains response data for the listPolicyForTenant operation. */
export declare type SubscriptionPolicyListPolicyForTenantResponse = GetTenantPolicyListResponse;
/** Optional parameters. */
export interface SubscriptionPolicyListPolicyForTenantNextOptionalParams extends coreClient.OperationOptions {
}
/** Contains response data for the listPolicyForTenantNext operation. */
export declare type SubscriptionPolicyListPolicyForTenantNextResponse = GetTenantPolicyListResponse;
/** Optional parameters. */
export interface BillingAccountGetPolicyOptionalParams extends coreClient.OperationOptions {
}
/** Contains response data for the getPolicy operation. */
export declare type BillingAccountGetPolicyResponse = BillingAccountPoliciesResponse;
/** Optional parameters. */
export interface SubscriptionClientOptionalParams extends coreClient.ServiceClientOptions {
/** server parameter */
$host?: string;
/** Overrides client endpoint. */
endpoint?: string;
}
//# sourceMappingURL=index.d.ts.map
File diff suppressed because one or more lines are too long
+58
View File
@@ -0,0 +1,58 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
/** Known values of {@link Workload} that the service accepts. */
export var KnownWorkload;
(function (KnownWorkload) {
/** Production */
KnownWorkload["Production"] = "Production";
/** DevTest */
KnownWorkload["DevTest"] = "DevTest";
})(KnownWorkload || (KnownWorkload = {}));
/** Known values of {@link ProvisioningState} that the service accepts. */
export var KnownProvisioningState;
(function (KnownProvisioningState) {
/** Accepted */
KnownProvisioningState["Accepted"] = "Accepted";
/** Succeeded */
KnownProvisioningState["Succeeded"] = "Succeeded";
/** Failed */
KnownProvisioningState["Failed"] = "Failed";
})(KnownProvisioningState || (KnownProvisioningState = {}));
/** Known values of {@link AcceptOwnership} that the service accepts. */
export var KnownAcceptOwnership;
(function (KnownAcceptOwnership) {
/** Pending */
KnownAcceptOwnership["Pending"] = "Pending";
/** Completed */
KnownAcceptOwnership["Completed"] = "Completed";
/** Expired */
KnownAcceptOwnership["Expired"] = "Expired";
})(KnownAcceptOwnership || (KnownAcceptOwnership = {}));
/** Known values of {@link CreatedByType} that the service accepts. */
export var KnownCreatedByType;
(function (KnownCreatedByType) {
/** User */
KnownCreatedByType["User"] = "User";
/** Application */
KnownCreatedByType["Application"] = "Application";
/** ManagedIdentity */
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
/** Key */
KnownCreatedByType["Key"] = "Key";
})(KnownCreatedByType || (KnownCreatedByType = {}));
/** Known values of {@link Provisioning} that the service accepts. */
export var KnownProvisioning;
(function (KnownProvisioning) {
/** Pending */
KnownProvisioning["Pending"] = "Pending";
/** Accepted */
KnownProvisioning["Accepted"] = "Accepted";
/** Succeeded */
KnownProvisioning["Succeeded"] = "Succeeded";
})(KnownProvisioning || (KnownProvisioning = {}));
//# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AA8hBH,iEAAiE;AACjE,MAAM,CAAN,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,iBAAiB;IACjB,0CAAyB,CAAA;IACzB,cAAc;IACd,oCAAmB,CAAA;AACrB,CAAC,EALW,aAAa,KAAb,aAAa,QAKxB;AAYD,0EAA0E;AAC1E,MAAM,CAAN,IAAY,sBAOX;AAPD,WAAY,sBAAsB;IAChC,eAAe;IACf,+CAAqB,CAAA;IACrB,gBAAgB;IAChB,iDAAuB,CAAA;IACvB,aAAa;IACb,2CAAiB,CAAA;AACnB,CAAC,EAPW,sBAAsB,KAAtB,sBAAsB,QAOjC;AAaD,wEAAwE;AACxE,MAAM,CAAN,IAAY,oBAOX;AAPD,WAAY,oBAAoB;IAC9B,cAAc;IACd,2CAAmB,CAAA;IACnB,gBAAgB;IAChB,+CAAuB,CAAA;IACvB,cAAc;IACd,2CAAmB,CAAA;AACrB,CAAC,EAPW,oBAAoB,KAApB,oBAAoB,QAO/B;AAaD,sEAAsE;AACtE,MAAM,CAAN,IAAY,kBASX;AATD,WAAY,kBAAkB;IAC5B,WAAW;IACX,mCAAa,CAAA;IACb,kBAAkB;IAClB,iDAA2B,CAAA;IAC3B,sBAAsB;IACtB,yDAAmC,CAAA;IACnC,UAAU;IACV,iCAAW,CAAA;AACb,CAAC,EATW,kBAAkB,KAAlB,kBAAkB,QAS7B;AAcD,qEAAqE;AACrE,MAAM,CAAN,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IAC3B,cAAc;IACd,wCAAmB,CAAA;IACnB,eAAe;IACf,0CAAqB,CAAA;IACrB,gBAAgB;IAChB,4CAAuB,CAAA;AACzB,CAAC,EAPW,iBAAiB,KAAjB,iBAAiB,QAO5B"}
+36
View File
@@ -0,0 +1,36 @@
import * as coreClient from "@azure/core-client";
export declare const LocationListResult: coreClient.CompositeMapper;
export declare const Location: coreClient.CompositeMapper;
export declare const Subscription: coreClient.CompositeMapper;
export declare const SubscriptionPolicies: coreClient.CompositeMapper;
export declare const SubscriptionListResult: coreClient.CompositeMapper;
export declare const TenantListResult: coreClient.CompositeMapper;
export declare const TenantIdDescription: coreClient.CompositeMapper;
export declare const CanceledSubscriptionId: coreClient.CompositeMapper;
export declare const ErrorResponseBody: coreClient.CompositeMapper;
export declare const ErrorResponse: coreClient.CompositeMapper;
export declare const SubscriptionName: coreClient.CompositeMapper;
export declare const RenamedSubscriptionId: coreClient.CompositeMapper;
export declare const EnabledSubscriptionId: coreClient.CompositeMapper;
export declare const OperationListResult: coreClient.CompositeMapper;
export declare const Operation: coreClient.CompositeMapper;
export declare const OperationDisplay: coreClient.CompositeMapper;
export declare const PutAliasRequest: coreClient.CompositeMapper;
export declare const PutAliasRequestProperties: coreClient.CompositeMapper;
export declare const PutAliasRequestAdditionalProperties: coreClient.CompositeMapper;
export declare const SubscriptionAliasResponse: coreClient.CompositeMapper;
export declare const SubscriptionAliasResponseProperties: coreClient.CompositeMapper;
export declare const SystemData: coreClient.CompositeMapper;
export declare const SubscriptionAliasListResult: coreClient.CompositeMapper;
export declare const AcceptOwnershipRequest: coreClient.CompositeMapper;
export declare const AcceptOwnershipRequestProperties: coreClient.CompositeMapper;
export declare const AcceptOwnershipStatusResponse: coreClient.CompositeMapper;
export declare const PutTenantPolicyRequestProperties: coreClient.CompositeMapper;
export declare const GetTenantPolicyResponse: coreClient.CompositeMapper;
export declare const TenantPolicy: coreClient.CompositeMapper;
export declare const GetTenantPolicyListResponse: coreClient.CompositeMapper;
export declare const BillingAccountPoliciesResponse: coreClient.CompositeMapper;
export declare const BillingAccountPoliciesResponseProperties: coreClient.CompositeMapper;
export declare const ServiceTenantResponse: coreClient.CompositeMapper;
export declare const SubscriptionAcceptOwnershipHeaders: coreClient.CompositeMapper;
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E,UAAU,CAAC,eAgC5D,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,UAAU,CAAC,eA0ClD,CAAC;AAEF,eAAO,MAAM,mCAAmC,EAAE,UAAU,CAAC,eAmF5D,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,UAAU,CAAC,eA2CnC,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,UAAU,CAAC,eA2BpD,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,UAAU,CAAC,eAc/C,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,UAAU,CAAC,eA2BzD,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,UAAU,CAAC,eAsDtD,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,UAAU,CAAC,eA8BzD,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,UAAU,CAAC,eA0ChD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,UAAU,CAAC,eAqCrC,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,UAAU,CAAC,eA2BpD,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,UAAU,CAAC,eA0CvD,CAAC;AAEF,eAAO,MAAM,wCAAwC,EAAE,UAAU,CAAC,eAyBjE,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,UAAU,CAAC,eAmB9C,CAAC;AAEF,eAAO,MAAM,kCAAkC,EAAE,UAAU,CAAC,eAmB3D,CAAC"}
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
@@ -0,0 +1,15 @@
import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
export declare const accept: OperationParameter;
export declare const $host: OperationURLParameter;
export declare const subscriptionId: OperationURLParameter;
export declare const apiVersion: OperationQueryParameter;
export declare const nextLink: OperationURLParameter;
export declare const apiVersion1: OperationQueryParameter;
export declare const contentType: OperationParameter;
export declare const body: OperationParameter;
export declare const body1: OperationParameter;
export declare const body2: OperationParameter;
export declare const aliasName: OperationURLParameter;
export declare const body3: OperationParameter;
export declare const billingAccountId: OperationURLParameter;
//# sourceMappingURL=parameters.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAQ5B,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAUnB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,qBAS5B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAUtB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,uBAUzB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,kBAGlB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,kBAGnB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,kBAGnB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBASvB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,kBAGnB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,qBAS9B,CAAC"}
+121
View File
@@ -0,0 +1,121 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
import { SubscriptionName as SubscriptionNameMapper, AcceptOwnershipRequest as AcceptOwnershipRequestMapper, PutAliasRequest as PutAliasRequestMapper, PutTenantPolicyRequestProperties as PutTenantPolicyRequestPropertiesMapper } from "../models/mappers";
export const accept = {
parameterPath: "accept",
mapper: {
defaultValue: "application/json",
isConstant: true,
serializedName: "Accept",
type: {
name: "String"
}
}
};
export const $host = {
parameterPath: "$host",
mapper: {
serializedName: "$host",
required: true,
type: {
name: "String"
}
},
skipEncoding: true
};
export const subscriptionId = {
parameterPath: "subscriptionId",
mapper: {
serializedName: "subscriptionId",
required: true,
type: {
name: "String"
}
}
};
export const apiVersion = {
parameterPath: "apiVersion",
mapper: {
defaultValue: "2016-06-01",
isConstant: true,
serializedName: "api-version",
type: {
name: "String"
}
}
};
export const nextLink = {
parameterPath: "nextLink",
mapper: {
serializedName: "nextLink",
required: true,
type: {
name: "String"
}
},
skipEncoding: true
};
export const apiVersion1 = {
parameterPath: "apiVersion",
mapper: {
defaultValue: "2021-10-01",
isConstant: true,
serializedName: "api-version",
type: {
name: "String"
}
}
};
export const contentType = {
parameterPath: ["options", "contentType"],
mapper: {
defaultValue: "application/json",
isConstant: true,
serializedName: "Content-Type",
type: {
name: "String"
}
}
};
export const body = {
parameterPath: "body",
mapper: SubscriptionNameMapper
};
export const body1 = {
parameterPath: "body",
mapper: AcceptOwnershipRequestMapper
};
export const body2 = {
parameterPath: "body",
mapper: PutAliasRequestMapper
};
export const aliasName = {
parameterPath: "aliasName",
mapper: {
serializedName: "aliasName",
required: true,
type: {
name: "String"
}
}
};
export const body3 = {
parameterPath: "body",
mapper: PutTenantPolicyRequestPropertiesMapper
};
export const billingAccountId = {
parameterPath: "billingAccountId",
mapper: {
serializedName: "billingAccountId",
required: true,
type: {
name: "String"
}
}
};
//# sourceMappingURL=parameters.js.map
@@ -0,0 +1 @@
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,gBAAgB,IAAI,sBAAsB,EAC1C,sBAAsB,IAAI,4BAA4B,EACtD,eAAe,IAAI,qBAAqB,EACxC,gCAAgC,IAAI,sCAAsC,EAC3E,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBA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