@azure/arm-subscriptions 4.0.1-alpha.20220105.1 → 5.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 +48 -11
- package/LICENSE +1 -1
- package/README.md +2 -1
- package/dist/index.js +644 -86
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +149 -5
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +7 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +238 -6
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +2 -1
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +22 -11
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/alias.js +4 -4
- package/dist-esm/src/operations/alias.js.map +1 -1
- package/dist-esm/src/operations/billingAccount.js +1 -1
- package/dist-esm/src/operations/billingAccount.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +3 -1
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +3 -1
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/operations.js +2 -2
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/{subscription.d.ts → subscriptionOperations.d.ts} +5 -5
- package/dist-esm/src/operations/subscriptionOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/{subscription.js → subscriptionOperations.js} +11 -11
- package/dist-esm/src/operations/subscriptionOperations.js.map +1 -0
- package/dist-esm/src/operations/subscriptionPolicy.js +5 -5
- package/dist-esm/src/operations/subscriptionPolicy.js.map +1 -1
- package/dist-esm/src/operations/subscriptions.d.ts +54 -0
- package/dist-esm/src/operations/subscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/subscriptions.js +201 -0
- package/dist-esm/src/operations/subscriptions.js.map +1 -0
- package/dist-esm/src/operations/tenants.d.ts +32 -0
- package/dist-esm/src/operations/tenants.d.ts.map +1 -0
- package/dist-esm/src/operations/tenants.js +114 -0
- package/dist-esm/src/operations/tenants.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +3 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +3 -1
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/{subscription.d.ts → subscriptionOperations.d.ts} +3 -3
- package/dist-esm/src/operationsInterfaces/subscriptionOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/subscriptionOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/subscriptionOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/subscriptions.d.ts +24 -0
- package/dist-esm/src/operationsInterfaces/subscriptions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/subscriptions.js +9 -0
- package/dist-esm/src/operationsInterfaces/subscriptions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/tenants.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/tenants.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/{subscription.js → tenants.js} +1 -1
- package/dist-esm/src/operationsInterfaces/tenants.js.map +1 -0
- package/dist-esm/src/subscriptionClient.d.ts +4 -3
- package/dist-esm/src/subscriptionClient.d.ts.map +1 -1
- package/dist-esm/src/subscriptionClient.js +5 -4
- package/dist-esm/src/subscriptionClient.js.map +1 -1
- package/package.json +4 -14
- package/review/arm-subscriptions.api.md +126 -13
- package/src/models/index.ts +173 -5
- package/src/models/mappers.ts +245 -6
- package/src/models/parameters.ts +24 -12
- package/src/operations/alias.ts +4 -4
- package/src/operations/billingAccount.ts +1 -1
- package/src/operations/index.ts +3 -1
- package/src/operations/operations.ts +2 -2
- package/src/operations/{subscription.ts → subscriptionOperations.ts} +12 -11
- package/src/operations/subscriptionPolicy.ts +5 -5
- package/src/operations/subscriptions.ts +237 -0
- package/src/operations/tenants.ts +131 -0
- package/src/operationsInterfaces/index.ts +3 -1
- package/src/operationsInterfaces/{subscription.ts → subscriptionOperations.ts} +2 -2
- package/src/operationsInterfaces/subscriptions.ts +48 -0
- package/src/operationsInterfaces/tenants.ts +22 -0
- package/src/subscriptionClient.ts +13 -7
- package/types/arm-subscriptions.d.ts +237 -39
- package/dist-esm/src/operations/subscription.d.ts.map +0 -1
- package/dist-esm/src/operations/subscription.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/subscription.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/subscription.js.map +0 -1
|
@@ -189,7 +189,7 @@ export declare interface CanceledSubscriptionId {
|
|
|
189
189
|
* The ID of the canceled subscription
|
|
190
190
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
191
191
|
*/
|
|
192
|
-
readonly
|
|
192
|
+
readonly subscriptionId?: string;
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
/**
|
|
@@ -210,7 +210,7 @@ export declare interface EnabledSubscriptionId {
|
|
|
210
210
|
* The ID of the subscriptions that is being enabled
|
|
211
211
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
212
212
|
*/
|
|
213
|
-
readonly
|
|
213
|
+
readonly subscriptionId?: string;
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
/** Describes the format of Error response. */
|
|
@@ -299,6 +299,47 @@ export declare enum KnownWorkload {
|
|
|
299
299
|
DevTest = "DevTest"
|
|
300
300
|
}
|
|
301
301
|
|
|
302
|
+
/** Location information. */
|
|
303
|
+
declare interface Location_2 {
|
|
304
|
+
/**
|
|
305
|
+
* The fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus.
|
|
306
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
307
|
+
*/
|
|
308
|
+
readonly id?: string;
|
|
309
|
+
/**
|
|
310
|
+
* The subscription ID.
|
|
311
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
312
|
+
*/
|
|
313
|
+
readonly subscriptionId?: string;
|
|
314
|
+
/**
|
|
315
|
+
* The location name.
|
|
316
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
317
|
+
*/
|
|
318
|
+
readonly name?: string;
|
|
319
|
+
/**
|
|
320
|
+
* The display name of the location.
|
|
321
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
322
|
+
*/
|
|
323
|
+
readonly displayName?: string;
|
|
324
|
+
/**
|
|
325
|
+
* The latitude of the location.
|
|
326
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
327
|
+
*/
|
|
328
|
+
readonly latitude?: string;
|
|
329
|
+
/**
|
|
330
|
+
* The longitude of the location.
|
|
331
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
332
|
+
*/
|
|
333
|
+
readonly longitude?: string;
|
|
334
|
+
}
|
|
335
|
+
export { Location_2 as Location }
|
|
336
|
+
|
|
337
|
+
/** Location list operation response. */
|
|
338
|
+
export declare interface LocationListResult {
|
|
339
|
+
/** An array of locations. */
|
|
340
|
+
value?: Location_2[];
|
|
341
|
+
}
|
|
342
|
+
|
|
302
343
|
/** REST API operation */
|
|
303
344
|
export declare interface Operation {
|
|
304
345
|
/** Operation name: {provider}/{resource}/{operation} */
|
|
@@ -420,7 +461,7 @@ export declare interface RenamedSubscriptionId {
|
|
|
420
461
|
* The ID of the subscriptions that is being renamed
|
|
421
462
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
422
463
|
*/
|
|
423
|
-
readonly
|
|
464
|
+
readonly subscriptionId?: string;
|
|
424
465
|
}
|
|
425
466
|
|
|
426
467
|
/** Billing account service tenant. */
|
|
@@ -431,47 +472,35 @@ export declare interface ServiceTenantResponse {
|
|
|
431
472
|
tenantName?: string;
|
|
432
473
|
}
|
|
433
474
|
|
|
434
|
-
/**
|
|
475
|
+
/** Defines values for SpendingLimit. */
|
|
476
|
+
export declare type SpendingLimit = "On" | "Off" | "CurrentPeriodOff";
|
|
477
|
+
|
|
478
|
+
/** Subscription information. */
|
|
435
479
|
export declare interface Subscription {
|
|
436
480
|
/**
|
|
437
|
-
* The
|
|
438
|
-
*
|
|
439
|
-
* @param options The options parameters.
|
|
440
|
-
*/
|
|
441
|
-
cancel(subscriptionId: string, options?: SubscriptionCancelOptionalParams): Promise<SubscriptionCancelResponse>;
|
|
442
|
-
/**
|
|
443
|
-
* The operation to rename a subscription
|
|
444
|
-
* @param subscriptionId Subscription Id.
|
|
445
|
-
* @param body Subscription Name
|
|
446
|
-
* @param options The options parameters.
|
|
447
|
-
*/
|
|
448
|
-
rename(subscriptionId: string, body: SubscriptionName, options?: SubscriptionRenameOptionalParams): Promise<SubscriptionRenameResponse>;
|
|
449
|
-
/**
|
|
450
|
-
* The operation to enable a subscription
|
|
451
|
-
* @param subscriptionId Subscription Id.
|
|
452
|
-
* @param options The options parameters.
|
|
481
|
+
* The fully qualified ID for the subscription. For example, /subscriptions/00000000-0000-0000-0000-000000000000.
|
|
482
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
453
483
|
*/
|
|
454
|
-
|
|
484
|
+
readonly id?: string;
|
|
455
485
|
/**
|
|
456
|
-
*
|
|
457
|
-
*
|
|
458
|
-
* @param body The parameters required to accept subscription ownership.
|
|
459
|
-
* @param options The options parameters.
|
|
486
|
+
* The subscription ID.
|
|
487
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
460
488
|
*/
|
|
461
|
-
|
|
489
|
+
readonly subscriptionId?: string;
|
|
462
490
|
/**
|
|
463
|
-
*
|
|
464
|
-
*
|
|
465
|
-
* @param body The parameters required to accept subscription ownership.
|
|
466
|
-
* @param options The options parameters.
|
|
491
|
+
* The subscription display name.
|
|
492
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
467
493
|
*/
|
|
468
|
-
|
|
494
|
+
readonly displayName?: string;
|
|
469
495
|
/**
|
|
470
|
-
*
|
|
471
|
-
*
|
|
472
|
-
* @param options The options parameters.
|
|
496
|
+
* The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted.
|
|
497
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
473
498
|
*/
|
|
474
|
-
|
|
499
|
+
readonly state?: SubscriptionState;
|
|
500
|
+
/** The subscription policies. */
|
|
501
|
+
subscriptionPolicies?: SubscriptionPolicies;
|
|
502
|
+
/** The authorization source of the request. Valid values are one or more combinations of Legacy, RoleBased, Bypassed, Direct and Management. For example, 'Legacy, RoleBased'. */
|
|
503
|
+
authorizationSource?: string;
|
|
475
504
|
}
|
|
476
505
|
|
|
477
506
|
/** Defines headers for Subscription_acceptOwnership operation. */
|
|
@@ -576,6 +605,8 @@ export declare interface SubscriptionAliasResponseProperties {
|
|
|
576
605
|
subscriptionOwnerId?: string;
|
|
577
606
|
/** The Management Group Id. */
|
|
578
607
|
managementGroupId?: string;
|
|
608
|
+
/** Created Time */
|
|
609
|
+
createdTime?: string;
|
|
579
610
|
/** Tags for the subscription */
|
|
580
611
|
tags?: {
|
|
581
612
|
[propertyName: string]: string;
|
|
@@ -591,14 +622,15 @@ export declare type SubscriptionCancelResponse = CanceledSubscriptionId;
|
|
|
591
622
|
|
|
592
623
|
export declare class SubscriptionClient extends coreClient.ServiceClient {
|
|
593
624
|
$host: string;
|
|
594
|
-
apiVersion: string;
|
|
595
625
|
/**
|
|
596
626
|
* Initializes a new instance of the SubscriptionClient class.
|
|
597
627
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
598
628
|
* @param options The parameter options
|
|
599
629
|
*/
|
|
600
630
|
constructor(credentials: coreAuth.TokenCredential, options?: SubscriptionClientOptionalParams);
|
|
601
|
-
|
|
631
|
+
subscriptions: Subscriptions;
|
|
632
|
+
tenants: Tenants;
|
|
633
|
+
subscriptionOperations: SubscriptionOperations;
|
|
602
634
|
operations: Operations;
|
|
603
635
|
alias: Alias;
|
|
604
636
|
subscriptionPolicy: SubscriptionPolicy;
|
|
@@ -609,8 +641,6 @@ export declare class SubscriptionClient extends coreClient.ServiceClient {
|
|
|
609
641
|
export declare interface SubscriptionClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
610
642
|
/** server parameter */
|
|
611
643
|
$host?: string;
|
|
612
|
-
/** Api Version */
|
|
613
|
-
apiVersion?: string;
|
|
614
644
|
/** Overrides client endpoint. */
|
|
615
645
|
endpoint?: string;
|
|
616
646
|
}
|
|
@@ -622,12 +652,82 @@ export declare interface SubscriptionEnableOptionalParams extends coreClient.Ope
|
|
|
622
652
|
/** Contains response data for the enable operation. */
|
|
623
653
|
export declare type SubscriptionEnableResponse = EnabledSubscriptionId;
|
|
624
654
|
|
|
655
|
+
/** Subscription list operation response. */
|
|
656
|
+
export declare interface SubscriptionListResult {
|
|
657
|
+
/** An array of subscriptions. */
|
|
658
|
+
value?: Subscription[];
|
|
659
|
+
/** The URL to get the next set of results. */
|
|
660
|
+
nextLink: string;
|
|
661
|
+
}
|
|
662
|
+
|
|
625
663
|
/** The new name of the subscription. */
|
|
626
664
|
export declare interface SubscriptionName {
|
|
627
665
|
/** New subscription name */
|
|
628
666
|
subscriptionName?: string;
|
|
629
667
|
}
|
|
630
668
|
|
|
669
|
+
/** Interface representing a SubscriptionOperations. */
|
|
670
|
+
export declare interface SubscriptionOperations {
|
|
671
|
+
/**
|
|
672
|
+
* The operation to cancel a subscription
|
|
673
|
+
* @param subscriptionId Subscription Id.
|
|
674
|
+
* @param options The options parameters.
|
|
675
|
+
*/
|
|
676
|
+
cancel(subscriptionId: string, options?: SubscriptionCancelOptionalParams): Promise<SubscriptionCancelResponse>;
|
|
677
|
+
/**
|
|
678
|
+
* The operation to rename a subscription
|
|
679
|
+
* @param subscriptionId Subscription Id.
|
|
680
|
+
* @param body Subscription Name
|
|
681
|
+
* @param options The options parameters.
|
|
682
|
+
*/
|
|
683
|
+
rename(subscriptionId: string, body: SubscriptionName, options?: SubscriptionRenameOptionalParams): Promise<SubscriptionRenameResponse>;
|
|
684
|
+
/**
|
|
685
|
+
* The operation to enable a subscription
|
|
686
|
+
* @param subscriptionId Subscription Id.
|
|
687
|
+
* @param options The options parameters.
|
|
688
|
+
*/
|
|
689
|
+
enable(subscriptionId: string, options?: SubscriptionEnableOptionalParams): Promise<SubscriptionEnableResponse>;
|
|
690
|
+
/**
|
|
691
|
+
* Accept subscription ownership.
|
|
692
|
+
* @param subscriptionId Subscription Id.
|
|
693
|
+
* @param body The parameters required to accept subscription ownership.
|
|
694
|
+
* @param options The options parameters.
|
|
695
|
+
*/
|
|
696
|
+
beginAcceptOwnership(subscriptionId: string, body: AcceptOwnershipRequest, options?: SubscriptionAcceptOwnershipOptionalParams): Promise<PollerLike<PollOperationState<SubscriptionAcceptOwnershipResponse>, SubscriptionAcceptOwnershipResponse>>;
|
|
697
|
+
/**
|
|
698
|
+
* Accept subscription ownership.
|
|
699
|
+
* @param subscriptionId Subscription Id.
|
|
700
|
+
* @param body The parameters required to accept subscription ownership.
|
|
701
|
+
* @param options The options parameters.
|
|
702
|
+
*/
|
|
703
|
+
beginAcceptOwnershipAndWait(subscriptionId: string, body: AcceptOwnershipRequest, options?: SubscriptionAcceptOwnershipOptionalParams): Promise<SubscriptionAcceptOwnershipResponse>;
|
|
704
|
+
/**
|
|
705
|
+
* Accept subscription ownership status.
|
|
706
|
+
* @param subscriptionId Subscription Id.
|
|
707
|
+
* @param options The options parameters.
|
|
708
|
+
*/
|
|
709
|
+
acceptOwnershipStatus(subscriptionId: string, options?: SubscriptionAcceptOwnershipStatusOptionalParams): Promise<SubscriptionAcceptOwnershipStatusResponse>;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
/** Subscription policies. */
|
|
713
|
+
export declare interface SubscriptionPolicies {
|
|
714
|
+
/**
|
|
715
|
+
* 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.
|
|
716
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
717
|
+
*/
|
|
718
|
+
readonly locationPlacementId?: string;
|
|
719
|
+
/**
|
|
720
|
+
* The subscription quota ID.
|
|
721
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
722
|
+
*/
|
|
723
|
+
readonly quotaId?: string;
|
|
724
|
+
/**
|
|
725
|
+
* The subscription spending limit.
|
|
726
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
727
|
+
*/
|
|
728
|
+
readonly spendingLimit?: SpendingLimit;
|
|
729
|
+
}
|
|
730
|
+
|
|
631
731
|
/** Interface representing a SubscriptionPolicy. */
|
|
632
732
|
export declare interface SubscriptionPolicy {
|
|
633
733
|
/**
|
|
@@ -683,6 +783,59 @@ export declare interface SubscriptionRenameOptionalParams extends coreClient.Ope
|
|
|
683
783
|
/** Contains response data for the rename operation. */
|
|
684
784
|
export declare type SubscriptionRenameResponse = RenamedSubscriptionId;
|
|
685
785
|
|
|
786
|
+
/** Interface representing a Subscriptions. */
|
|
787
|
+
export declare interface Subscriptions {
|
|
788
|
+
/**
|
|
789
|
+
* This operation provides all the locations that are available for resource providers; however, each
|
|
790
|
+
* resource provider may support a subset of this list.
|
|
791
|
+
* @param subscriptionId The ID of the target subscription.
|
|
792
|
+
* @param options The options parameters.
|
|
793
|
+
*/
|
|
794
|
+
listLocations(subscriptionId: string, options?: SubscriptionsListLocationsOptionalParams): PagedAsyncIterableIterator<Location_2>;
|
|
795
|
+
/**
|
|
796
|
+
* Gets all subscriptions for a tenant.
|
|
797
|
+
* @param options The options parameters.
|
|
798
|
+
*/
|
|
799
|
+
list(options?: SubscriptionsListOptionalParams): PagedAsyncIterableIterator<Subscription>;
|
|
800
|
+
/**
|
|
801
|
+
* Gets details about a specified subscription.
|
|
802
|
+
* @param subscriptionId The ID of the target subscription.
|
|
803
|
+
* @param options The options parameters.
|
|
804
|
+
*/
|
|
805
|
+
get(subscriptionId: string, options?: SubscriptionsGetOptionalParams): Promise<SubscriptionsGetResponse>;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
/** Optional parameters. */
|
|
809
|
+
export declare interface SubscriptionsGetOptionalParams extends coreClient.OperationOptions {
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
/** Contains response data for the get operation. */
|
|
813
|
+
export declare type SubscriptionsGetResponse = Subscription;
|
|
814
|
+
|
|
815
|
+
/** Optional parameters. */
|
|
816
|
+
export declare interface SubscriptionsListLocationsOptionalParams extends coreClient.OperationOptions {
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
/** Contains response data for the listLocations operation. */
|
|
820
|
+
export declare type SubscriptionsListLocationsResponse = LocationListResult;
|
|
821
|
+
|
|
822
|
+
/** Optional parameters. */
|
|
823
|
+
export declare interface SubscriptionsListNextOptionalParams extends coreClient.OperationOptions {
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
/** Contains response data for the listNext operation. */
|
|
827
|
+
export declare type SubscriptionsListNextResponse = SubscriptionListResult;
|
|
828
|
+
|
|
829
|
+
/** Optional parameters. */
|
|
830
|
+
export declare interface SubscriptionsListOptionalParams extends coreClient.OperationOptions {
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
/** Contains response data for the list operation. */
|
|
834
|
+
export declare type SubscriptionsListResponse = SubscriptionListResult;
|
|
835
|
+
|
|
836
|
+
/** Defines values for SubscriptionState. */
|
|
837
|
+
export declare type SubscriptionState = "Enabled" | "Warned" | "PastDue" | "Disabled" | "Deleted";
|
|
838
|
+
|
|
686
839
|
/** Metadata pertaining to creation and last modification of the resource. */
|
|
687
840
|
export declare interface SystemData {
|
|
688
841
|
/** The identity that created the resource. */
|
|
@@ -699,6 +852,28 @@ export declare interface SystemData {
|
|
|
699
852
|
lastModifiedAt?: Date;
|
|
700
853
|
}
|
|
701
854
|
|
|
855
|
+
/** Tenant Id information. */
|
|
856
|
+
export declare interface TenantIdDescription {
|
|
857
|
+
/**
|
|
858
|
+
* The fully qualified ID of the tenant. For example, /tenants/00000000-0000-0000-0000-000000000000.
|
|
859
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
860
|
+
*/
|
|
861
|
+
readonly id?: string;
|
|
862
|
+
/**
|
|
863
|
+
* The tenant ID. For example, 00000000-0000-0000-0000-000000000000.
|
|
864
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
865
|
+
*/
|
|
866
|
+
readonly tenantId?: string;
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
/** Tenant Ids information. */
|
|
870
|
+
export declare interface TenantListResult {
|
|
871
|
+
/** An array of tenants. */
|
|
872
|
+
value?: TenantIdDescription[];
|
|
873
|
+
/** The URL to use for getting the next set of results. */
|
|
874
|
+
nextLink: string;
|
|
875
|
+
}
|
|
876
|
+
|
|
702
877
|
/** Tenant policy. */
|
|
703
878
|
export declare interface TenantPolicy {
|
|
704
879
|
/**
|
|
@@ -714,6 +889,29 @@ export declare interface TenantPolicy {
|
|
|
714
889
|
exemptedPrincipals?: string[];
|
|
715
890
|
}
|
|
716
891
|
|
|
892
|
+
/** Interface representing a Tenants. */
|
|
893
|
+
export declare interface Tenants {
|
|
894
|
+
/**
|
|
895
|
+
* Gets the tenants for your account.
|
|
896
|
+
* @param options The options parameters.
|
|
897
|
+
*/
|
|
898
|
+
list(options?: TenantsListOptionalParams): PagedAsyncIterableIterator<TenantIdDescription>;
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
/** Optional parameters. */
|
|
902
|
+
export declare interface TenantsListNextOptionalParams extends coreClient.OperationOptions {
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
/** Contains response data for the listNext operation. */
|
|
906
|
+
export declare type TenantsListNextResponse = TenantListResult;
|
|
907
|
+
|
|
908
|
+
/** Optional parameters. */
|
|
909
|
+
export declare interface TenantsListOptionalParams extends coreClient.OperationOptions {
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
/** Contains response data for the list operation. */
|
|
913
|
+
export declare type TenantsListResponse = TenantListResult;
|
|
914
|
+
|
|
717
915
|
/**
|
|
718
916
|
* Defines values for Workload. \
|
|
719
917
|
* {@link KnownWorkload} can be used interchangeably with Workload,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../../src/operations/subscription.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAIvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,gCAAgC,EAChC,0BAA0B,EAC1B,gBAAgB,EAChB,gCAAgC,EAChC,0BAA0B,EAC1B,gCAAgC,EAChC,0BAA0B,EAC1B,sBAAsB,EACtB,yCAAyC,EACzC,mCAAmC,EACnC,+CAA+C,EAC/C,yCAAyC,EAC1C,MAAM,WAAW,CAAC;AAEnB,gDAAgD;AAChD,qBAAa,gBAAiB,YAAW,YAAY;IACnD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqB;IAE5C;;;OAGG;gBACS,MAAM,EAAE,kBAAkB;IAItC;;;;OAIG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC;IAOtC;;;;;OAKG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,IAAI,EAAE,gBAAgB,EACtB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC;IAOtC;;;;OAIG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC;IAOtC;;;;;OAKG;IACG,oBAAoB,CACxB,cAAc,EAAE,MAAM,EACtB,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,mCAAmC,CAAC,EACvD,mCAAmC,CACpC,CACF;IAmDD;;;;;OAKG;IACG,2BAA2B,CAC/B,cAAc,EAAE,MAAM,EACtB,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC;IAS/C;;;;OAIG;IACH,qBAAqB,CACnB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC;CAMtD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscription.js","sourceRoot":"","sources":["../../../src/operations/subscription.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAgBrC,gDAAgD;AAChD,MAAM,OAAO,gBAAgB;IAG3B;;;OAGG;IACH,YAAY,MAA0B;QACpC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACH,MAAM,CACJ,cAAsB,EACtB,OAA0C;QAE1C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,cAAc,EAAE,OAAO,EAAE,EAC3B,mBAAmB,CACpB,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACH,MAAM,CACJ,cAAsB,EACtB,IAAsB,EACtB,OAA0C;QAE1C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,cAAc,EAAE,IAAI,EAAE,OAAO,EAAE,EACjC,mBAAmB,CACpB,CAAC;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AAa,EAAE,OAAO,CAAC,kCAAkC;SAC1D;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,KAAK;IAC7B,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,kCAAkC,GAA6B;IACnE,IAAI,EACF,0EAA0E;IAC5E,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/subscription.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,gCAAgC,EAChC,0BAA0B,EAC1B,gBAAgB,EAChB,gCAAgC,EAChC,0BAA0B,EAC1B,gCAAgC,EAChC,0BAA0B,EAC1B,sBAAsB,EACtB,yCAAyC,EACzC,mCAAmC,EACnC,+CAA+C,EAC/C,yCAAyC,EAC1C,MAAM,WAAW,CAAC;AAEnB,6CAA6C;AAC7C,MAAM,WAAW,YAAY;IAC3B;;;;OAIG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;;OAKG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,IAAI,EAAE,gBAAgB,EACtB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;OAIG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;;OAKG;IACH,oBAAoB,CAClB,cAAc,EAAE,MAAM,EACtB,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,mCAAmC,CAAC,EACvD,mCAAmC,CACpC,CACF,CAAC;IACF;;;;;OAKG;IACH,2BAA2B,CACzB,cAAc,EAAE,MAAM,EACtB,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;IAChD;;;;OAIG;IACH,qBAAqB,CACnB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC,CAAC;CACvD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscription.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/subscription.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|