@azure/arm-features 3.0.1-alpha.20220118.1 → 3.0.1-alpha.20220128.2

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/dist/index.js CHANGED
@@ -5,6 +5,26 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var tslib = require('tslib');
6
6
  var coreClient = require('@azure/core-client');
7
7
 
8
+ function _interopNamespace(e) {
9
+ if (e && e.__esModule) return e;
10
+ var n = Object.create(null);
11
+ if (e) {
12
+ Object.keys(e).forEach(function (k) {
13
+ if (k !== 'default') {
14
+ var d = Object.getOwnPropertyDescriptor(e, k);
15
+ Object.defineProperty(n, k, d.get ? d : {
16
+ enumerable: true,
17
+ get: function () { return e[k]; }
18
+ });
19
+ }
20
+ });
21
+ }
22
+ n["default"] = e;
23
+ return Object.freeze(n);
24
+ }
25
+
26
+ var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
27
+
8
28
  /*
9
29
  * Copyright (c) Microsoft Corporation.
10
30
  * Licensed under the MIT License.
@@ -12,6 +32,8 @@ var coreClient = require('@azure/core-client');
12
32
  * Code generated by Microsoft (R) AutoRest Code Generator.
13
33
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
14
34
  */
35
+ /** Known values of {@link SubscriptionFeatureRegistrationState} that the service accepts. */
36
+ exports.KnownSubscriptionFeatureRegistrationState = void 0;
15
37
  (function (KnownSubscriptionFeatureRegistrationState) {
16
38
  KnownSubscriptionFeatureRegistrationState["NotSpecified"] = "NotSpecified";
17
39
  KnownSubscriptionFeatureRegistrationState["NotRegistered"] = "NotRegistered";
@@ -21,6 +43,8 @@ var coreClient = require('@azure/core-client');
21
43
  KnownSubscriptionFeatureRegistrationState["Unregistering"] = "Unregistering";
22
44
  KnownSubscriptionFeatureRegistrationState["Unregistered"] = "Unregistered";
23
45
  })(exports.KnownSubscriptionFeatureRegistrationState || (exports.KnownSubscriptionFeatureRegistrationState = {}));
46
+ /** Known values of {@link SubscriptionFeatureRegistrationApprovalType} that the service accepts. */
47
+ exports.KnownSubscriptionFeatureRegistrationApprovalType = void 0;
24
48
  (function (KnownSubscriptionFeatureRegistrationApprovalType) {
25
49
  KnownSubscriptionFeatureRegistrationApprovalType["NotSpecified"] = "NotSpecified";
26
50
  KnownSubscriptionFeatureRegistrationApprovalType["ApprovalRequired"] = "ApprovalRequired";
@@ -724,7 +748,7 @@ class FeaturesImpl {
724
748
  * @param options The options parameters.
725
749
  */
726
750
  get(resourceProviderNamespace, featureName, options) {
727
- return this.client.sendOperationRequest({ resourceProviderNamespace, featureName, options }, getOperationSpec);
751
+ return this.client.sendOperationRequest({ resourceProviderNamespace, featureName, options }, getOperationSpec$1);
728
752
  }
729
753
  /**
730
754
  * Registers the preview feature for the subscription.
@@ -763,7 +787,7 @@ class FeaturesImpl {
763
787
  }
764
788
  }
765
789
  // Operation Specifications
766
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
790
+ const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
767
791
  const listAllOperationSpec = {
768
792
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.Features/features",
769
793
  httpMethod: "GET",
@@ -778,7 +802,7 @@ const listAllOperationSpec = {
778
802
  queryParameters: [apiVersion],
779
803
  urlParameters: [$host, subscriptionId],
780
804
  headerParameters: [accept],
781
- serializer
805
+ serializer: serializer$2
782
806
  };
783
807
  const listOperationSpec = {
784
808
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features",
@@ -798,9 +822,9 @@ const listOperationSpec = {
798
822
  resourceProviderNamespace
799
823
  ],
800
824
  headerParameters: [accept],
801
- serializer
825
+ serializer: serializer$2
802
826
  };
803
- const getOperationSpec = {
827
+ const getOperationSpec$1 = {
804
828
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}",
805
829
  httpMethod: "GET",
806
830
  responses: {
@@ -819,7 +843,7 @@ const getOperationSpec = {
819
843
  featureName
820
844
  ],
821
845
  headerParameters: [accept],
822
- serializer
846
+ serializer: serializer$2
823
847
  };
824
848
  const registerOperationSpec = {
825
849
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}/register",
@@ -840,7 +864,7 @@ const registerOperationSpec = {
840
864
  featureName
841
865
  ],
842
866
  headerParameters: [accept],
843
- serializer
867
+ serializer: serializer$2
844
868
  };
845
869
  const unregisterOperationSpec = {
846
870
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}/unregister",
@@ -861,7 +885,7 @@ const unregisterOperationSpec = {
861
885
  featureName
862
886
  ],
863
887
  headerParameters: [accept],
864
- serializer
888
+ serializer: serializer$2
865
889
  };
866
890
  const listAllNextOperationSpec = {
867
891
  path: "{nextLink}",
@@ -881,7 +905,7 @@ const listAllNextOperationSpec = {
881
905
  subscriptionId
882
906
  ],
883
907
  headerParameters: [accept],
884
- serializer
908
+ serializer: serializer$2
885
909
  };
886
910
  const listNextOperationSpec = {
887
911
  path: "{nextLink}",
@@ -902,7 +926,7 @@ const listNextOperationSpec = {
902
926
  resourceProviderNamespace
903
927
  ],
904
928
  headerParameters: [accept],
905
- serializer
929
+ serializer: serializer$2
906
930
  };
907
931
 
908
932
  /*
@@ -1026,7 +1050,7 @@ class SubscriptionFeatureRegistrationsImpl {
1026
1050
  * @param options The options parameters.
1027
1051
  */
1028
1052
  get(providerNamespace, featureName, options) {
1029
- return this.client.sendOperationRequest({ providerNamespace, featureName, options }, getOperationSpec$1);
1053
+ return this.client.sendOperationRequest({ providerNamespace, featureName, options }, getOperationSpec);
1030
1054
  }
1031
1055
  /**
1032
1056
  * Create or update a feature registration.
@@ -1080,8 +1104,8 @@ class SubscriptionFeatureRegistrationsImpl {
1080
1104
  }
1081
1105
  }
1082
1106
  // Operation Specifications
1083
- const serializer$1 = coreClient.createSerializer(Mappers, /* isXml */ false);
1084
- const getOperationSpec$1 = {
1107
+ const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
1108
+ const getOperationSpec = {
1085
1109
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.Features/featureProviders/{providerNamespace}/subscriptionFeatureRegistrations/{featureName}",
1086
1110
  httpMethod: "GET",
1087
1111
  responses: {
@@ -1231,7 +1255,7 @@ const listAllBySubscriptionNextOperationSpec = {
1231
1255
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1232
1256
  */
1233
1257
  /// <reference lib="esnext.asynciterable" />
1234
- class FeatureClient extends coreClient.ServiceClient {
1258
+ class FeatureClient extends coreClient__namespace.ServiceClient {
1235
1259
  /**
1236
1260
  * Initializes a new instance of the FeatureClient class.
1237
1261
  * @param credentials Subscription credentials which uniquely identify client subscription.
@@ -1337,7 +1361,7 @@ class FeatureClient extends coreClient.ServiceClient {
1337
1361
  }
1338
1362
  }
1339
1363
  // Operation Specifications
1340
- const serializer$2 = coreClient.createSerializer(Mappers, /* isXml */ false);
1364
+ const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
1341
1365
  const listOperationsOperationSpec = {
1342
1366
  path: "/providers/Microsoft.Features/operations",
1343
1367
  httpMethod: "GET",
@@ -1352,7 +1376,7 @@ const listOperationsOperationSpec = {
1352
1376
  queryParameters: [apiVersion],
1353
1377
  urlParameters: [$host],
1354
1378
  headerParameters: [accept],
1355
- serializer: serializer$2
1379
+ serializer
1356
1380
  };
1357
1381
  const listOperationsNextOperationSpec = {
1358
1382
  path: "{nextLink}",
@@ -1368,7 +1392,7 @@ const listOperationsNextOperationSpec = {
1368
1392
  queryParameters: [apiVersion],
1369
1393
  urlParameters: [$host, nextLink],
1370
1394
  headerParameters: [accept],
1371
- serializer: serializer$2
1395
+ serializer
1372
1396
  };
1373
1397
 
1374
1398
  exports.FeatureClient = FeatureClient;
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/features.ts","../src/operations/subscriptionFeatureRegistrations.ts","../src/featureClient.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/** Result of the request to list Microsoft.Features operations. It contains a list of operations and a URL link to get the next set of results. */\nexport interface OperationListResult {\n /** List of Microsoft.Features 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/** Microsoft.Features operation */\nexport interface Operation {\n /** Operation name: {provider}/{resource}/{operation} */\n name?: string;\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.Features */\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}\n\n/** Error response indicates that the service is not able to process the incoming request. */\nexport interface ErrorResponse {\n /** The error details. */\n error?: ErrorDefinition;\n}\n\n/** Error definition. */\nexport interface ErrorDefinition {\n /**\n * Service specific error code which serves as the substatus for the HTTP error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * Description of the error.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /** Internal error details. */\n details?: ErrorDefinition[];\n}\n\n/** List of previewed features. */\nexport interface FeatureOperationsListResult {\n /** The array of features. */\n value?: FeatureResult[];\n /** The URL to use for getting the next set of results. */\n nextLink?: string;\n}\n\n/** Previewed feature information. */\nexport interface FeatureResult {\n /** The name of the feature. */\n name?: string;\n /** Properties of the previewed feature. */\n properties?: FeatureProperties;\n /** The resource ID of the feature. */\n id?: string;\n /** The resource type of the feature. */\n type?: string;\n}\n\n/** Information about feature. */\nexport interface FeatureProperties {\n /** The registration state of the feature for the subscription. */\n state?: string;\n}\n\nexport interface SubscriptionFeatureRegistrationProperties {\n /**\n * The tenantId.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantId?: string;\n /**\n * The subscriptionId.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly subscriptionId?: string;\n /**\n * The featureName.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly featureName?: string;\n /**\n * The featureDisplayName.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly displayName?: string;\n /**\n * The providerNamespace.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly providerNamespace?: string;\n /** The state. */\n state?: SubscriptionFeatureRegistrationState;\n /** Authorization Profile */\n authorizationProfile?: AuthorizationProfile;\n /** Key-value pairs for meta data. */\n metadata?: { [propertyName: string]: string };\n /**\n * The feature release date.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly releaseDate?: Date;\n /**\n * The feature registration date.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly registrationDate?: Date;\n /**\n * The feature documentation link.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly documentationLink?: string;\n /**\n * The feature approval type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly approvalType?: SubscriptionFeatureRegistrationApprovalType;\n /** Indicates whether feature should be displayed in Portal. */\n shouldFeatureDisplayInPortal?: boolean;\n /** The feature description. */\n description?: string;\n}\n\n/** Authorization Profile */\nexport interface AuthorizationProfile {\n /**\n * The requested time\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly requestedTime?: Date;\n /**\n * The requester\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly requester?: string;\n /**\n * The requester object id\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly requesterObjectId?: string;\n /**\n * The approved time\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly approvedTime?: Date;\n /**\n * The approver\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly approver?: string;\n}\n\n/** An Azure proxy resource. */\nexport interface ProxyResource {\n /**\n * Azure resource Id.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * Azure resource name.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * Azure resource type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n}\n\n/** The list of subscription feature registrations. */\nexport interface SubscriptionFeatureRegistrationList {\n /** The link used to get the next page of subscription feature registrations list. */\n nextLink?: string;\n /** The list of subscription feature registrations. */\n value?: SubscriptionFeatureRegistration[];\n}\n\n/** Subscription feature registration details */\nexport type SubscriptionFeatureRegistration = ProxyResource & {\n properties?: SubscriptionFeatureRegistrationProperties;\n};\n\n/** Known values of {@link SubscriptionFeatureRegistrationState} that the service accepts. */\nexport enum KnownSubscriptionFeatureRegistrationState {\n NotSpecified = \"NotSpecified\",\n NotRegistered = \"NotRegistered\",\n Pending = \"Pending\",\n Registering = \"Registering\",\n Registered = \"Registered\",\n Unregistering = \"Unregistering\",\n Unregistered = \"Unregistered\"\n}\n\n/**\n * Defines values for SubscriptionFeatureRegistrationState. \\\n * {@link KnownSubscriptionFeatureRegistrationState} can be used interchangeably with SubscriptionFeatureRegistrationState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **NotSpecified** \\\n * **NotRegistered** \\\n * **Pending** \\\n * **Registering** \\\n * **Registered** \\\n * **Unregistering** \\\n * **Unregistered**\n */\nexport type SubscriptionFeatureRegistrationState = string;\n\n/** Known values of {@link SubscriptionFeatureRegistrationApprovalType} that the service accepts. */\nexport enum KnownSubscriptionFeatureRegistrationApprovalType {\n NotSpecified = \"NotSpecified\",\n ApprovalRequired = \"ApprovalRequired\",\n AutoApproval = \"AutoApproval\"\n}\n\n/**\n * Defines values for SubscriptionFeatureRegistrationApprovalType. \\\n * {@link KnownSubscriptionFeatureRegistrationApprovalType} can be used interchangeably with SubscriptionFeatureRegistrationApprovalType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **NotSpecified** \\\n * **ApprovalRequired** \\\n * **AutoApproval**\n */\nexport type SubscriptionFeatureRegistrationApprovalType = string;\n\n/** Optional parameters. */\nexport interface ListOperationsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listOperations operation. */\nexport type ListOperationsResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface ListOperationsNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listOperationsNext operation. */\nexport type ListOperationsNextResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface FeaturesListAllOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listAll operation. */\nexport type FeaturesListAllResponse = FeatureOperationsListResult;\n\n/** Optional parameters. */\nexport interface FeaturesListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type FeaturesListResponse = FeatureOperationsListResult;\n\n/** Optional parameters. */\nexport interface FeaturesGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type FeaturesGetResponse = FeatureResult;\n\n/** Optional parameters. */\nexport interface FeaturesRegisterOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the register operation. */\nexport type FeaturesRegisterResponse = FeatureResult;\n\n/** Optional parameters. */\nexport interface FeaturesUnregisterOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the unregister operation. */\nexport type FeaturesUnregisterResponse = FeatureResult;\n\n/** Optional parameters. */\nexport interface FeaturesListAllNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listAllNext operation. */\nexport type FeaturesListAllNextResponse = FeatureOperationsListResult;\n\n/** Optional parameters. */\nexport interface FeaturesListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type FeaturesListNextResponse = FeatureOperationsListResult;\n\n/** Optional parameters. */\nexport interface SubscriptionFeatureRegistrationsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type SubscriptionFeatureRegistrationsGetResponse = SubscriptionFeatureRegistration;\n\n/** Optional parameters. */\nexport interface SubscriptionFeatureRegistrationsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Subscription Feature Registration Type details. */\n subscriptionFeatureRegistrationType?: SubscriptionFeatureRegistration;\n}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type SubscriptionFeatureRegistrationsCreateOrUpdateResponse = SubscriptionFeatureRegistration;\n\n/** Optional parameters. */\nexport interface SubscriptionFeatureRegistrationsDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface SubscriptionFeatureRegistrationsListBySubscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscription operation. */\nexport type SubscriptionFeatureRegistrationsListBySubscriptionResponse = SubscriptionFeatureRegistrationList;\n\n/** Optional parameters. */\nexport interface SubscriptionFeatureRegistrationsListAllBySubscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listAllBySubscription operation. */\nexport type SubscriptionFeatureRegistrationsListAllBySubscriptionResponse = SubscriptionFeatureRegistrationList;\n\n/** Optional parameters. */\nexport interface SubscriptionFeatureRegistrationsListBySubscriptionNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscriptionNext operation. */\nexport type SubscriptionFeatureRegistrationsListBySubscriptionNextResponse = SubscriptionFeatureRegistrationList;\n\n/** Optional parameters. */\nexport interface SubscriptionFeatureRegistrationsListAllBySubscriptionNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listAllBySubscriptionNext operation. */\nexport type SubscriptionFeatureRegistrationsListAllBySubscriptionNextResponse = SubscriptionFeatureRegistrationList;\n\n/** Optional parameters. */\nexport interface FeatureClientOptionalParams\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 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 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 }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDefinition\"\n }\n }\n }\n }\n};\n\nexport const ErrorDefinition: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDefinition\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorDefinition\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const FeatureOperationsListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"FeatureOperationsListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"FeatureResult\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const FeatureResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"FeatureResult\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"FeatureProperties\"\n }\n },\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const FeatureProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"FeatureProperties\",\n modelProperties: {\n state: {\n serializedName: \"state\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SubscriptionFeatureRegistrationProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SubscriptionFeatureRegistrationProperties\",\n modelProperties: {\n tenantId: {\n serializedName: \"tenantId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n subscriptionId: {\n serializedName: \"subscriptionId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n featureName: {\n serializedName: \"featureName\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n displayName: {\n serializedName: \"displayName\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n providerNamespace: {\n serializedName: \"providerNamespace\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n state: {\n serializedName: \"state\",\n type: {\n name: \"String\"\n }\n },\n authorizationProfile: {\n serializedName: \"authorizationProfile\",\n type: {\n name: \"Composite\",\n className: \"AuthorizationProfile\"\n }\n },\n metadata: {\n serializedName: \"metadata\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" }, constraints: { MaxLength: 1000 } }\n }\n },\n releaseDate: {\n serializedName: \"releaseDate\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n registrationDate: {\n serializedName: \"registrationDate\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n documentationLink: {\n constraints: {\n MaxLength: 1000\n },\n serializedName: \"documentationLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n approvalType: {\n serializedName: \"approvalType\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n shouldFeatureDisplayInPortal: {\n defaultValue: false,\n serializedName: \"shouldFeatureDisplayInPortal\",\n type: {\n name: \"Boolean\"\n }\n },\n description: {\n constraints: {\n MaxLength: 1000\n },\n serializedName: \"description\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AuthorizationProfile: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AuthorizationProfile\",\n modelProperties: {\n requestedTime: {\n serializedName: \"requestedTime\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n requester: {\n serializedName: \"requester\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n requesterObjectId: {\n serializedName: \"requesterObjectId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n approvedTime: {\n serializedName: \"approvedTime\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n approver: {\n serializedName: \"approver\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ProxyResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProxyResource\",\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 }\n }\n};\n\nexport const SubscriptionFeatureRegistrationList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SubscriptionFeatureRegistrationList\",\n modelProperties: {\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SubscriptionFeatureRegistration\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const SubscriptionFeatureRegistration: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SubscriptionFeatureRegistration\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"SubscriptionFeatureRegistrationProperties\"\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 { SubscriptionFeatureRegistration as SubscriptionFeatureRegistrationMapper } from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json, text/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 apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2021-07-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\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 subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceProviderNamespace: OperationURLParameter = {\n parameterPath: \"resourceProviderNamespace\",\n mapper: {\n serializedName: \"resourceProviderNamespace\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const featureName: OperationURLParameter = {\n parameterPath: \"featureName\",\n mapper: {\n serializedName: \"featureName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const accept1: 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 providerNamespace: OperationURLParameter = {\n parameterPath: \"providerNamespace\",\n mapper: {\n serializedName: \"providerNamespace\",\n required: true,\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 subscriptionFeatureRegistrationType: OperationParameter = {\n parameterPath: [\"options\", \"subscriptionFeatureRegistrationType\"],\n mapper: SubscriptionFeatureRegistrationMapper\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 { Features } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { FeatureClient } from \"../featureClient\";\nimport {\n FeatureResult,\n FeaturesListAllNextOptionalParams,\n FeaturesListAllOptionalParams,\n FeaturesListNextOptionalParams,\n FeaturesListOptionalParams,\n FeaturesListAllResponse,\n FeaturesListResponse,\n FeaturesGetOptionalParams,\n FeaturesGetResponse,\n FeaturesRegisterOptionalParams,\n FeaturesRegisterResponse,\n FeaturesUnregisterOptionalParams,\n FeaturesUnregisterResponse,\n FeaturesListAllNextResponse,\n FeaturesListNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Features operations. */\nexport class FeaturesImpl implements Features {\n private readonly client: FeatureClient;\n\n /**\n * Initialize a new instance of the class Features class.\n * @param client Reference to the service client\n */\n constructor(client: FeatureClient) {\n this.client = client;\n }\n\n /**\n * Gets all the preview features that are available through AFEC for the subscription.\n * @param options The options parameters.\n */\n public listAll(\n options?: FeaturesListAllOptionalParams\n ): PagedAsyncIterableIterator<FeatureResult> {\n const iter = this.listAllPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listAllPagingPage(options);\n }\n };\n }\n\n private async *listAllPagingPage(\n options?: FeaturesListAllOptionalParams\n ): AsyncIterableIterator<FeatureResult[]> {\n let result = await this._listAll(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listAllNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listAllPagingAll(\n options?: FeaturesListAllOptionalParams\n ): AsyncIterableIterator<FeatureResult> {\n for await (const page of this.listAllPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets all the preview features in a provider namespace that are available through AFEC for the\n * subscription.\n * @param resourceProviderNamespace The namespace of the resource provider for getting features.\n * @param options The options parameters.\n */\n public list(\n resourceProviderNamespace: string,\n options?: FeaturesListOptionalParams\n ): PagedAsyncIterableIterator<FeatureResult> {\n const iter = this.listPagingAll(resourceProviderNamespace, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listPagingPage(resourceProviderNamespace, options);\n }\n };\n }\n\n private async *listPagingPage(\n resourceProviderNamespace: string,\n options?: FeaturesListOptionalParams\n ): AsyncIterableIterator<FeatureResult[]> {\n let result = await this._list(resourceProviderNamespace, options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listNext(\n resourceProviderNamespace,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listPagingAll(\n resourceProviderNamespace: string,\n options?: FeaturesListOptionalParams\n ): AsyncIterableIterator<FeatureResult> {\n for await (const page of this.listPagingPage(\n resourceProviderNamespace,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets all the preview features that are available through AFEC for the subscription.\n * @param options The options parameters.\n */\n private _listAll(\n options?: FeaturesListAllOptionalParams\n ): Promise<FeaturesListAllResponse> {\n return this.client.sendOperationRequest({ options }, listAllOperationSpec);\n }\n\n /**\n * Gets all the preview features in a provider namespace that are available through AFEC for the\n * subscription.\n * @param resourceProviderNamespace The namespace of the resource provider for getting features.\n * @param options The options parameters.\n */\n private _list(\n resourceProviderNamespace: string,\n options?: FeaturesListOptionalParams\n ): Promise<FeaturesListResponse> {\n return this.client.sendOperationRequest(\n { resourceProviderNamespace, options },\n listOperationSpec\n );\n }\n\n /**\n * Gets the preview feature with the specified name.\n * @param resourceProviderNamespace The resource provider namespace for the feature.\n * @param featureName The name of the feature to get.\n * @param options The options parameters.\n */\n get(\n resourceProviderNamespace: string,\n featureName: string,\n options?: FeaturesGetOptionalParams\n ): Promise<FeaturesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceProviderNamespace, featureName, options },\n getOperationSpec\n );\n }\n\n /**\n * Registers the preview feature for the subscription.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param featureName The name of the feature to register.\n * @param options The options parameters.\n */\n register(\n resourceProviderNamespace: string,\n featureName: string,\n options?: FeaturesRegisterOptionalParams\n ): Promise<FeaturesRegisterResponse> {\n return this.client.sendOperationRequest(\n { resourceProviderNamespace, featureName, options },\n registerOperationSpec\n );\n }\n\n /**\n * Unregisters the preview feature for the subscription.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param featureName The name of the feature to unregister.\n * @param options The options parameters.\n */\n unregister(\n resourceProviderNamespace: string,\n featureName: string,\n options?: FeaturesUnregisterOptionalParams\n ): Promise<FeaturesUnregisterResponse> {\n return this.client.sendOperationRequest(\n { resourceProviderNamespace, featureName, options },\n unregisterOperationSpec\n );\n }\n\n /**\n * ListAllNext\n * @param nextLink The nextLink from the previous successful call to the ListAll method.\n * @param options The options parameters.\n */\n private _listAllNext(\n nextLink: string,\n options?: FeaturesListAllNextOptionalParams\n ): Promise<FeaturesListAllNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listAllNextOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param resourceProviderNamespace The namespace of the resource provider for getting features.\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 resourceProviderNamespace: string,\n nextLink: string,\n options?: FeaturesListNextOptionalParams\n ): Promise<FeaturesListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceProviderNamespace, nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listAllOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Features/features\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FeatureOperationsListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FeatureOperationsListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FeatureResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n Parameters.featureName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst registerOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}/register\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.FeatureResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n Parameters.featureName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst unregisterOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}/unregister\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.FeatureResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n Parameters.featureName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAllNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FeatureOperationsListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FeatureOperationsListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace\n ],\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 { SubscriptionFeatureRegistrations } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { FeatureClient } from \"../featureClient\";\nimport {\n SubscriptionFeatureRegistration,\n SubscriptionFeatureRegistrationsListBySubscriptionNextOptionalParams,\n SubscriptionFeatureRegistrationsListBySubscriptionOptionalParams,\n SubscriptionFeatureRegistrationsListAllBySubscriptionNextOptionalParams,\n SubscriptionFeatureRegistrationsListAllBySubscriptionOptionalParams,\n SubscriptionFeatureRegistrationsGetOptionalParams,\n SubscriptionFeatureRegistrationsGetResponse,\n SubscriptionFeatureRegistrationsCreateOrUpdateOptionalParams,\n SubscriptionFeatureRegistrationsCreateOrUpdateResponse,\n SubscriptionFeatureRegistrationsDeleteOptionalParams,\n SubscriptionFeatureRegistrationsListBySubscriptionResponse,\n SubscriptionFeatureRegistrationsListAllBySubscriptionResponse,\n SubscriptionFeatureRegistrationsListBySubscriptionNextResponse,\n SubscriptionFeatureRegistrationsListAllBySubscriptionNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing SubscriptionFeatureRegistrations operations. */\nexport class SubscriptionFeatureRegistrationsImpl\n implements SubscriptionFeatureRegistrations {\n private readonly client: FeatureClient;\n\n /**\n * Initialize a new instance of the class SubscriptionFeatureRegistrations class.\n * @param client Reference to the service client\n */\n constructor(client: FeatureClient) {\n this.client = client;\n }\n\n /**\n * Returns subscription feature registrations for given subscription and provider namespace.\n * @param providerNamespace The provider namespace.\n * @param options The options parameters.\n */\n public listBySubscription(\n providerNamespace: string,\n options?: SubscriptionFeatureRegistrationsListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<SubscriptionFeatureRegistration> {\n const iter = this.listBySubscriptionPagingAll(providerNamespace, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listBySubscriptionPagingPage(providerNamespace, options);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n providerNamespace: string,\n options?: SubscriptionFeatureRegistrationsListBySubscriptionOptionalParams\n ): AsyncIterableIterator<SubscriptionFeatureRegistration[]> {\n let result = await this._listBySubscription(providerNamespace, options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listBySubscriptionNext(\n providerNamespace,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listBySubscriptionPagingAll(\n providerNamespace: string,\n options?: SubscriptionFeatureRegistrationsListBySubscriptionOptionalParams\n ): AsyncIterableIterator<SubscriptionFeatureRegistration> {\n for await (const page of this.listBySubscriptionPagingPage(\n providerNamespace,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Returns subscription feature registrations for given subscription.\n * @param options The options parameters.\n */\n public listAllBySubscription(\n options?: SubscriptionFeatureRegistrationsListAllBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<SubscriptionFeatureRegistration> {\n const iter = this.listAllBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listAllBySubscriptionPagingPage(options);\n }\n };\n }\n\n private async *listAllBySubscriptionPagingPage(\n options?: SubscriptionFeatureRegistrationsListAllBySubscriptionOptionalParams\n ): AsyncIterableIterator<SubscriptionFeatureRegistration[]> {\n let result = await this._listAllBySubscription(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listAllBySubscriptionNext(\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listAllBySubscriptionPagingAll(\n options?: SubscriptionFeatureRegistrationsListAllBySubscriptionOptionalParams\n ): AsyncIterableIterator<SubscriptionFeatureRegistration> {\n for await (const page of this.listAllBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Returns a feature registration\n * @param providerNamespace The provider namespace.\n * @param featureName The feature name.\n * @param options The options parameters.\n */\n get(\n providerNamespace: string,\n featureName: string,\n options?: SubscriptionFeatureRegistrationsGetOptionalParams\n ): Promise<SubscriptionFeatureRegistrationsGetResponse> {\n return this.client.sendOperationRequest(\n { providerNamespace, featureName, options },\n getOperationSpec\n );\n }\n\n /**\n * Create or update a feature registration.\n * @param providerNamespace The provider namespace.\n * @param featureName The feature name.\n * @param options The options parameters.\n */\n createOrUpdate(\n providerNamespace: string,\n featureName: string,\n options?: SubscriptionFeatureRegistrationsCreateOrUpdateOptionalParams\n ): Promise<SubscriptionFeatureRegistrationsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { providerNamespace, featureName, options },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Deletes a feature registration\n * @param providerNamespace The provider namespace.\n * @param featureName The feature name.\n * @param options The options parameters.\n */\n delete(\n providerNamespace: string,\n featureName: string,\n options?: SubscriptionFeatureRegistrationsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { providerNamespace, featureName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Returns subscription feature registrations for given subscription and provider namespace.\n * @param providerNamespace The provider namespace.\n * @param options The options parameters.\n */\n private _listBySubscription(\n providerNamespace: string,\n options?: SubscriptionFeatureRegistrationsListBySubscriptionOptionalParams\n ): Promise<SubscriptionFeatureRegistrationsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { providerNamespace, options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * Returns subscription feature registrations for given subscription.\n * @param options The options parameters.\n */\n private _listAllBySubscription(\n options?: SubscriptionFeatureRegistrationsListAllBySubscriptionOptionalParams\n ): Promise<SubscriptionFeatureRegistrationsListAllBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listAllBySubscriptionOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param providerNamespace The provider namespace.\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n providerNamespace: string,\n nextLink: string,\n options?: SubscriptionFeatureRegistrationsListBySubscriptionNextOptionalParams\n ): Promise<SubscriptionFeatureRegistrationsListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { providerNamespace, nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n\n /**\n * ListAllBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListAllBySubscription method.\n * @param options The options parameters.\n */\n private _listAllBySubscriptionNext(\n nextLink: string,\n options?: SubscriptionFeatureRegistrationsListAllBySubscriptionNextOptionalParams\n ): Promise<\n SubscriptionFeatureRegistrationsListAllBySubscriptionNextResponse\n > {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listAllBySubscriptionNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Features/featureProviders/{providerNamespace}/subscriptionFeatureRegistrations/{featureName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SubscriptionFeatureRegistration\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.featureName,\n Parameters.providerNamespace\n ],\n headerParameters: [Parameters.accept1],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Features/featureProviders/{providerNamespace}/subscriptionFeatureRegistrations/{featureName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.SubscriptionFeatureRegistration\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.subscriptionFeatureRegistrationType,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.featureName,\n Parameters.providerNamespace\n ],\n headerParameters: [Parameters.accept1, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Features/featureProviders/{providerNamespace}/subscriptionFeatureRegistrations/{featureName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.featureName,\n Parameters.providerNamespace\n ],\n headerParameters: [Parameters.accept1],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Features/featureProviders/{providerNamespace}/subscriptionFeatureRegistrations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SubscriptionFeatureRegistrationList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.providerNamespace\n ],\n headerParameters: [Parameters.accept1],\n serializer\n};\nconst listAllBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Features/subscriptionFeatureRegistrations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SubscriptionFeatureRegistrationList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept1],\n serializer\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SubscriptionFeatureRegistrationList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.providerNamespace\n ],\n headerParameters: [Parameters.accept1],\n serializer\n};\nconst listAllBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SubscriptionFeatureRegistrationList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept1],\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 { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n FeaturesImpl,\n SubscriptionFeatureRegistrationsImpl\n} from \"./operations\";\nimport {\n Features,\n SubscriptionFeatureRegistrations\n} from \"./operationsInterfaces\";\nimport * as Parameters from \"./models/parameters\";\nimport * as Mappers from \"./models/mappers\";\nimport {\n FeatureClientOptionalParams,\n Operation,\n ListOperationsNextOptionalParams,\n ListOperationsOptionalParams,\n ListOperationsResponse,\n ListOperationsNextResponse\n} from \"./models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\nexport class FeatureClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the FeatureClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The Azure subscription ID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: FeatureClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: FeatureClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-features/3.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 // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2021-07-01\";\n this.features = new FeaturesImpl(this);\n this.subscriptionFeatureRegistrations = new SubscriptionFeatureRegistrationsImpl(\n this\n );\n }\n\n /**\n * Lists all of the available Microsoft.Features REST API operations.\n * @param options The options parameters.\n */\n public listOperations(\n options?: ListOperationsOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listOperationsPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listOperationsPagingPage(options);\n }\n };\n }\n\n private async *listOperationsPagingPage(\n options?: ListOperationsOptionalParams\n ): AsyncIterableIterator<Operation[]> {\n let result = await this._listOperations(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listOperationsNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listOperationsPagingAll(\n options?: ListOperationsOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listOperationsPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available Microsoft.Features REST API operations.\n * @param options The options parameters.\n */\n private _listOperations(\n options?: ListOperationsOptionalParams\n ): Promise<ListOperationsResponse> {\n return this.sendOperationRequest({ options }, listOperationsOperationSpec);\n }\n\n /**\n * ListOperationsNext\n * @param nextLink The nextLink from the previous successful call to the ListOperations method.\n * @param options The options parameters.\n */\n private _listOperationsNext(\n nextLink: string,\n options?: ListOperationsNextOptionalParams\n ): Promise<ListOperationsNextResponse> {\n return this.sendOperationRequest(\n { nextLink, options },\n listOperationsNextOperationSpec\n );\n }\n\n features: Features;\n subscriptionFeatureRegistrations: SubscriptionFeatureRegistrations;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationsOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Features/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"],"names":["KnownSubscriptionFeatureRegistrationState","KnownSubscriptionFeatureRegistrationApprovalType","SubscriptionFeatureRegistrationMapper","__asyncValues","__asyncDelegator","coreClient.createSerializer","Mappers.FeatureOperationsListResult","Mappers.ErrorResponse","Parameters.apiVersion","Parameters.$host","Parameters.subscriptionId","Parameters.accept","Parameters.resourceProviderNamespace","Mappers.FeatureResult","Parameters.featureName","Parameters.nextLink","getOperationSpec","serializer","Mappers.SubscriptionFeatureRegistration","Parameters.providerNamespace","Parameters.accept1","Parameters.subscriptionFeatureRegistrationType","Parameters.contentType","Mappers.SubscriptionFeatureRegistrationList","coreClient.ServiceClient","Mappers.OperationListResult"],"mappings":";;;;;;;AAAA;;;;;;;AA4MA,WAAY,yCAAyC;IACnD,0EAA6B,CAAA;IAC7B,4EAA+B,CAAA;IAC/B,gEAAmB,CAAA;IACnB,wEAA2B,CAAA;IAC3B,sEAAyB,CAAA;IACzB,4EAA+B,CAAA;IAC/B,0EAA6B,CAAA;AAC/B,CAAC,EARWA,iDAAyC,KAAzCA,iDAAyC,QAQpD;AAkBD,WAAY,gDAAgD;IAC1D,iFAA6B,CAAA;IAC7B,yFAAqC,CAAA;IACrC,iFAA6B,CAAA;AAC/B,CAAC,EAJWC,wDAAgD,KAAhDA,wDAAgD;;ACtO5D;;;;;;;AAUA,AAAO,MAAM,mBAAmB,GAA+B;IAC7D,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BAA2B,CAAC,OAAO,cAAc,KAAK,CAAC,CAAC;AAE3E,MAAM,2BAA2B,GAA6B;IAC5D,IAAI,EAAE,0CAA0C;IAChD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAEoB,mBAA2B;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAElB,aAAqB;SAClC;KACF;IACD,eAAe,EAAE,CAACC,UAAqB,CAAC;IACxC,aAAa,EAAE,CAACC,KAAgB,CAAC;IACjC,gBAAgB,EAAE,CAACE,MAAiB,CAAC;gBACrCM,YAAU;CACX,CAAC;AACF,MAAM,+BAA+B,GAA6B;IAChE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAEQ,mBAA2B;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAElB,aAAqB;SAClC;KACF;IACD,eAAe,EAAE,CAACC,UAAqB,CAAC;IACxC,aAAa,EAAE,CAACC,KAAgB,EAAEM,QAAmB,CAAC;IACtD,gBAAgB,EAAE,CAACJ,MAAiB,CAAC;gBACrCM,YAAU;CACX,CAAC;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/features.ts","../src/operations/subscriptionFeatureRegistrations.ts","../src/featureClient.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/** Result of the request to list Microsoft.Features operations. It contains a list of operations and a URL link to get the next set of results. */\nexport interface OperationListResult {\n /** List of Microsoft.Features 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/** Microsoft.Features operation */\nexport interface Operation {\n /** Operation name: {provider}/{resource}/{operation} */\n name?: string;\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.Features */\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}\n\n/** Error response indicates that the service is not able to process the incoming request. */\nexport interface ErrorResponse {\n /** The error details. */\n error?: ErrorDefinition;\n}\n\n/** Error definition. */\nexport interface ErrorDefinition {\n /**\n * Service specific error code which serves as the substatus for the HTTP error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * Description of the error.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /** Internal error details. */\n details?: ErrorDefinition[];\n}\n\n/** List of previewed features. */\nexport interface FeatureOperationsListResult {\n /** The array of features. */\n value?: FeatureResult[];\n /** The URL to use for getting the next set of results. */\n nextLink?: string;\n}\n\n/** Previewed feature information. */\nexport interface FeatureResult {\n /** The name of the feature. */\n name?: string;\n /** Properties of the previewed feature. */\n properties?: FeatureProperties;\n /** The resource ID of the feature. */\n id?: string;\n /** The resource type of the feature. */\n type?: string;\n}\n\n/** Information about feature. */\nexport interface FeatureProperties {\n /** The registration state of the feature for the subscription. */\n state?: string;\n}\n\nexport interface SubscriptionFeatureRegistrationProperties {\n /**\n * The tenantId.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantId?: string;\n /**\n * The subscriptionId.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly subscriptionId?: string;\n /**\n * The featureName.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly featureName?: string;\n /**\n * The featureDisplayName.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly displayName?: string;\n /**\n * The providerNamespace.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly providerNamespace?: string;\n /** The state. */\n state?: SubscriptionFeatureRegistrationState;\n /** Authorization Profile */\n authorizationProfile?: AuthorizationProfile;\n /** Key-value pairs for meta data. */\n metadata?: { [propertyName: string]: string };\n /**\n * The feature release date.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly releaseDate?: Date;\n /**\n * The feature registration date.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly registrationDate?: Date;\n /**\n * The feature documentation link.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly documentationLink?: string;\n /**\n * The feature approval type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly approvalType?: SubscriptionFeatureRegistrationApprovalType;\n /** Indicates whether feature should be displayed in Portal. */\n shouldFeatureDisplayInPortal?: boolean;\n /** The feature description. */\n description?: string;\n}\n\n/** Authorization Profile */\nexport interface AuthorizationProfile {\n /**\n * The requested time\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly requestedTime?: Date;\n /**\n * The requester\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly requester?: string;\n /**\n * The requester object id\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly requesterObjectId?: string;\n /**\n * The approved time\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly approvedTime?: Date;\n /**\n * The approver\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly approver?: string;\n}\n\n/** An Azure proxy resource. */\nexport interface ProxyResource {\n /**\n * Azure resource Id.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * Azure resource name.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * Azure resource type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n}\n\n/** The list of subscription feature registrations. */\nexport interface SubscriptionFeatureRegistrationList {\n /** The link used to get the next page of subscription feature registrations list. */\n nextLink?: string;\n /** The list of subscription feature registrations. */\n value?: SubscriptionFeatureRegistration[];\n}\n\n/** Subscription feature registration details */\nexport type SubscriptionFeatureRegistration = ProxyResource & {\n properties?: SubscriptionFeatureRegistrationProperties;\n};\n\n/** Known values of {@link SubscriptionFeatureRegistrationState} that the service accepts. */\nexport enum KnownSubscriptionFeatureRegistrationState {\n NotSpecified = \"NotSpecified\",\n NotRegistered = \"NotRegistered\",\n Pending = \"Pending\",\n Registering = \"Registering\",\n Registered = \"Registered\",\n Unregistering = \"Unregistering\",\n Unregistered = \"Unregistered\"\n}\n\n/**\n * Defines values for SubscriptionFeatureRegistrationState. \\\n * {@link KnownSubscriptionFeatureRegistrationState} can be used interchangeably with SubscriptionFeatureRegistrationState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **NotSpecified** \\\n * **NotRegistered** \\\n * **Pending** \\\n * **Registering** \\\n * **Registered** \\\n * **Unregistering** \\\n * **Unregistered**\n */\nexport type SubscriptionFeatureRegistrationState = string;\n\n/** Known values of {@link SubscriptionFeatureRegistrationApprovalType} that the service accepts. */\nexport enum KnownSubscriptionFeatureRegistrationApprovalType {\n NotSpecified = \"NotSpecified\",\n ApprovalRequired = \"ApprovalRequired\",\n AutoApproval = \"AutoApproval\"\n}\n\n/**\n * Defines values for SubscriptionFeatureRegistrationApprovalType. \\\n * {@link KnownSubscriptionFeatureRegistrationApprovalType} can be used interchangeably with SubscriptionFeatureRegistrationApprovalType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **NotSpecified** \\\n * **ApprovalRequired** \\\n * **AutoApproval**\n */\nexport type SubscriptionFeatureRegistrationApprovalType = string;\n\n/** Optional parameters. */\nexport interface ListOperationsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listOperations operation. */\nexport type ListOperationsResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface ListOperationsNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listOperationsNext operation. */\nexport type ListOperationsNextResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface FeaturesListAllOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listAll operation. */\nexport type FeaturesListAllResponse = FeatureOperationsListResult;\n\n/** Optional parameters. */\nexport interface FeaturesListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type FeaturesListResponse = FeatureOperationsListResult;\n\n/** Optional parameters. */\nexport interface FeaturesGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type FeaturesGetResponse = FeatureResult;\n\n/** Optional parameters. */\nexport interface FeaturesRegisterOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the register operation. */\nexport type FeaturesRegisterResponse = FeatureResult;\n\n/** Optional parameters. */\nexport interface FeaturesUnregisterOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the unregister operation. */\nexport type FeaturesUnregisterResponse = FeatureResult;\n\n/** Optional parameters. */\nexport interface FeaturesListAllNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listAllNext operation. */\nexport type FeaturesListAllNextResponse = FeatureOperationsListResult;\n\n/** Optional parameters. */\nexport interface FeaturesListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type FeaturesListNextResponse = FeatureOperationsListResult;\n\n/** Optional parameters. */\nexport interface SubscriptionFeatureRegistrationsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type SubscriptionFeatureRegistrationsGetResponse = SubscriptionFeatureRegistration;\n\n/** Optional parameters. */\nexport interface SubscriptionFeatureRegistrationsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Subscription Feature Registration Type details. */\n subscriptionFeatureRegistrationType?: SubscriptionFeatureRegistration;\n}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type SubscriptionFeatureRegistrationsCreateOrUpdateResponse = SubscriptionFeatureRegistration;\n\n/** Optional parameters. */\nexport interface SubscriptionFeatureRegistrationsDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface SubscriptionFeatureRegistrationsListBySubscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscription operation. */\nexport type SubscriptionFeatureRegistrationsListBySubscriptionResponse = SubscriptionFeatureRegistrationList;\n\n/** Optional parameters. */\nexport interface SubscriptionFeatureRegistrationsListAllBySubscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listAllBySubscription operation. */\nexport type SubscriptionFeatureRegistrationsListAllBySubscriptionResponse = SubscriptionFeatureRegistrationList;\n\n/** Optional parameters. */\nexport interface SubscriptionFeatureRegistrationsListBySubscriptionNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscriptionNext operation. */\nexport type SubscriptionFeatureRegistrationsListBySubscriptionNextResponse = SubscriptionFeatureRegistrationList;\n\n/** Optional parameters. */\nexport interface SubscriptionFeatureRegistrationsListAllBySubscriptionNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listAllBySubscriptionNext operation. */\nexport type SubscriptionFeatureRegistrationsListAllBySubscriptionNextResponse = SubscriptionFeatureRegistrationList;\n\n/** Optional parameters. */\nexport interface FeatureClientOptionalParams\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 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 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 }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDefinition\"\n }\n }\n }\n }\n};\n\nexport const ErrorDefinition: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDefinition\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorDefinition\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const FeatureOperationsListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"FeatureOperationsListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"FeatureResult\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const FeatureResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"FeatureResult\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"FeatureProperties\"\n }\n },\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const FeatureProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"FeatureProperties\",\n modelProperties: {\n state: {\n serializedName: \"state\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SubscriptionFeatureRegistrationProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SubscriptionFeatureRegistrationProperties\",\n modelProperties: {\n tenantId: {\n serializedName: \"tenantId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n subscriptionId: {\n serializedName: \"subscriptionId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n featureName: {\n serializedName: \"featureName\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n displayName: {\n serializedName: \"displayName\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n providerNamespace: {\n serializedName: \"providerNamespace\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n state: {\n serializedName: \"state\",\n type: {\n name: \"String\"\n }\n },\n authorizationProfile: {\n serializedName: \"authorizationProfile\",\n type: {\n name: \"Composite\",\n className: \"AuthorizationProfile\"\n }\n },\n metadata: {\n serializedName: \"metadata\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" }, constraints: { MaxLength: 1000 } }\n }\n },\n releaseDate: {\n serializedName: \"releaseDate\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n registrationDate: {\n serializedName: \"registrationDate\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n documentationLink: {\n constraints: {\n MaxLength: 1000\n },\n serializedName: \"documentationLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n approvalType: {\n serializedName: \"approvalType\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n shouldFeatureDisplayInPortal: {\n defaultValue: false,\n serializedName: \"shouldFeatureDisplayInPortal\",\n type: {\n name: \"Boolean\"\n }\n },\n description: {\n constraints: {\n MaxLength: 1000\n },\n serializedName: \"description\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AuthorizationProfile: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AuthorizationProfile\",\n modelProperties: {\n requestedTime: {\n serializedName: \"requestedTime\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n requester: {\n serializedName: \"requester\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n requesterObjectId: {\n serializedName: \"requesterObjectId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n approvedTime: {\n serializedName: \"approvedTime\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n approver: {\n serializedName: \"approver\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ProxyResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProxyResource\",\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 }\n }\n};\n\nexport const SubscriptionFeatureRegistrationList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SubscriptionFeatureRegistrationList\",\n modelProperties: {\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SubscriptionFeatureRegistration\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const SubscriptionFeatureRegistration: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SubscriptionFeatureRegistration\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"SubscriptionFeatureRegistrationProperties\"\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 { SubscriptionFeatureRegistration as SubscriptionFeatureRegistrationMapper } from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json, text/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 apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2021-07-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\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 subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceProviderNamespace: OperationURLParameter = {\n parameterPath: \"resourceProviderNamespace\",\n mapper: {\n serializedName: \"resourceProviderNamespace\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const featureName: OperationURLParameter = {\n parameterPath: \"featureName\",\n mapper: {\n serializedName: \"featureName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const accept1: 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 providerNamespace: OperationURLParameter = {\n parameterPath: \"providerNamespace\",\n mapper: {\n serializedName: \"providerNamespace\",\n required: true,\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 subscriptionFeatureRegistrationType: OperationParameter = {\n parameterPath: [\"options\", \"subscriptionFeatureRegistrationType\"],\n mapper: SubscriptionFeatureRegistrationMapper\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 { Features } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { FeatureClient } from \"../featureClient\";\nimport {\n FeatureResult,\n FeaturesListAllNextOptionalParams,\n FeaturesListAllOptionalParams,\n FeaturesListNextOptionalParams,\n FeaturesListOptionalParams,\n FeaturesListAllResponse,\n FeaturesListResponse,\n FeaturesGetOptionalParams,\n FeaturesGetResponse,\n FeaturesRegisterOptionalParams,\n FeaturesRegisterResponse,\n FeaturesUnregisterOptionalParams,\n FeaturesUnregisterResponse,\n FeaturesListAllNextResponse,\n FeaturesListNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Features operations. */\nexport class FeaturesImpl implements Features {\n private readonly client: FeatureClient;\n\n /**\n * Initialize a new instance of the class Features class.\n * @param client Reference to the service client\n */\n constructor(client: FeatureClient) {\n this.client = client;\n }\n\n /**\n * Gets all the preview features that are available through AFEC for the subscription.\n * @param options The options parameters.\n */\n public listAll(\n options?: FeaturesListAllOptionalParams\n ): PagedAsyncIterableIterator<FeatureResult> {\n const iter = this.listAllPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listAllPagingPage(options);\n }\n };\n }\n\n private async *listAllPagingPage(\n options?: FeaturesListAllOptionalParams\n ): AsyncIterableIterator<FeatureResult[]> {\n let result = await this._listAll(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listAllNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listAllPagingAll(\n options?: FeaturesListAllOptionalParams\n ): AsyncIterableIterator<FeatureResult> {\n for await (const page of this.listAllPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets all the preview features in a provider namespace that are available through AFEC for the\n * subscription.\n * @param resourceProviderNamespace The namespace of the resource provider for getting features.\n * @param options The options parameters.\n */\n public list(\n resourceProviderNamespace: string,\n options?: FeaturesListOptionalParams\n ): PagedAsyncIterableIterator<FeatureResult> {\n const iter = this.listPagingAll(resourceProviderNamespace, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listPagingPage(resourceProviderNamespace, options);\n }\n };\n }\n\n private async *listPagingPage(\n resourceProviderNamespace: string,\n options?: FeaturesListOptionalParams\n ): AsyncIterableIterator<FeatureResult[]> {\n let result = await this._list(resourceProviderNamespace, options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listNext(\n resourceProviderNamespace,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listPagingAll(\n resourceProviderNamespace: string,\n options?: FeaturesListOptionalParams\n ): AsyncIterableIterator<FeatureResult> {\n for await (const page of this.listPagingPage(\n resourceProviderNamespace,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets all the preview features that are available through AFEC for the subscription.\n * @param options The options parameters.\n */\n private _listAll(\n options?: FeaturesListAllOptionalParams\n ): Promise<FeaturesListAllResponse> {\n return this.client.sendOperationRequest({ options }, listAllOperationSpec);\n }\n\n /**\n * Gets all the preview features in a provider namespace that are available through AFEC for the\n * subscription.\n * @param resourceProviderNamespace The namespace of the resource provider for getting features.\n * @param options The options parameters.\n */\n private _list(\n resourceProviderNamespace: string,\n options?: FeaturesListOptionalParams\n ): Promise<FeaturesListResponse> {\n return this.client.sendOperationRequest(\n { resourceProviderNamespace, options },\n listOperationSpec\n );\n }\n\n /**\n * Gets the preview feature with the specified name.\n * @param resourceProviderNamespace The resource provider namespace for the feature.\n * @param featureName The name of the feature to get.\n * @param options The options parameters.\n */\n get(\n resourceProviderNamespace: string,\n featureName: string,\n options?: FeaturesGetOptionalParams\n ): Promise<FeaturesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceProviderNamespace, featureName, options },\n getOperationSpec\n );\n }\n\n /**\n * Registers the preview feature for the subscription.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param featureName The name of the feature to register.\n * @param options The options parameters.\n */\n register(\n resourceProviderNamespace: string,\n featureName: string,\n options?: FeaturesRegisterOptionalParams\n ): Promise<FeaturesRegisterResponse> {\n return this.client.sendOperationRequest(\n { resourceProviderNamespace, featureName, options },\n registerOperationSpec\n );\n }\n\n /**\n * Unregisters the preview feature for the subscription.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param featureName The name of the feature to unregister.\n * @param options The options parameters.\n */\n unregister(\n resourceProviderNamespace: string,\n featureName: string,\n options?: FeaturesUnregisterOptionalParams\n ): Promise<FeaturesUnregisterResponse> {\n return this.client.sendOperationRequest(\n { resourceProviderNamespace, featureName, options },\n unregisterOperationSpec\n );\n }\n\n /**\n * ListAllNext\n * @param nextLink The nextLink from the previous successful call to the ListAll method.\n * @param options The options parameters.\n */\n private _listAllNext(\n nextLink: string,\n options?: FeaturesListAllNextOptionalParams\n ): Promise<FeaturesListAllNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listAllNextOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param resourceProviderNamespace The namespace of the resource provider for getting features.\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 resourceProviderNamespace: string,\n nextLink: string,\n options?: FeaturesListNextOptionalParams\n ): Promise<FeaturesListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceProviderNamespace, nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listAllOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Features/features\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FeatureOperationsListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FeatureOperationsListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FeatureResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n Parameters.featureName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst registerOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}/register\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.FeatureResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n Parameters.featureName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst unregisterOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}/unregister\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.FeatureResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n Parameters.featureName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAllNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FeatureOperationsListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FeatureOperationsListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace\n ],\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 { SubscriptionFeatureRegistrations } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { FeatureClient } from \"../featureClient\";\nimport {\n SubscriptionFeatureRegistration,\n SubscriptionFeatureRegistrationsListBySubscriptionNextOptionalParams,\n SubscriptionFeatureRegistrationsListBySubscriptionOptionalParams,\n SubscriptionFeatureRegistrationsListAllBySubscriptionNextOptionalParams,\n SubscriptionFeatureRegistrationsListAllBySubscriptionOptionalParams,\n SubscriptionFeatureRegistrationsGetOptionalParams,\n SubscriptionFeatureRegistrationsGetResponse,\n SubscriptionFeatureRegistrationsCreateOrUpdateOptionalParams,\n SubscriptionFeatureRegistrationsCreateOrUpdateResponse,\n SubscriptionFeatureRegistrationsDeleteOptionalParams,\n SubscriptionFeatureRegistrationsListBySubscriptionResponse,\n SubscriptionFeatureRegistrationsListAllBySubscriptionResponse,\n SubscriptionFeatureRegistrationsListBySubscriptionNextResponse,\n SubscriptionFeatureRegistrationsListAllBySubscriptionNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing SubscriptionFeatureRegistrations operations. */\nexport class SubscriptionFeatureRegistrationsImpl\n implements SubscriptionFeatureRegistrations {\n private readonly client: FeatureClient;\n\n /**\n * Initialize a new instance of the class SubscriptionFeatureRegistrations class.\n * @param client Reference to the service client\n */\n constructor(client: FeatureClient) {\n this.client = client;\n }\n\n /**\n * Returns subscription feature registrations for given subscription and provider namespace.\n * @param providerNamespace The provider namespace.\n * @param options The options parameters.\n */\n public listBySubscription(\n providerNamespace: string,\n options?: SubscriptionFeatureRegistrationsListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<SubscriptionFeatureRegistration> {\n const iter = this.listBySubscriptionPagingAll(providerNamespace, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listBySubscriptionPagingPage(providerNamespace, options);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n providerNamespace: string,\n options?: SubscriptionFeatureRegistrationsListBySubscriptionOptionalParams\n ): AsyncIterableIterator<SubscriptionFeatureRegistration[]> {\n let result = await this._listBySubscription(providerNamespace, options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listBySubscriptionNext(\n providerNamespace,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listBySubscriptionPagingAll(\n providerNamespace: string,\n options?: SubscriptionFeatureRegistrationsListBySubscriptionOptionalParams\n ): AsyncIterableIterator<SubscriptionFeatureRegistration> {\n for await (const page of this.listBySubscriptionPagingPage(\n providerNamespace,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Returns subscription feature registrations for given subscription.\n * @param options The options parameters.\n */\n public listAllBySubscription(\n options?: SubscriptionFeatureRegistrationsListAllBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<SubscriptionFeatureRegistration> {\n const iter = this.listAllBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listAllBySubscriptionPagingPage(options);\n }\n };\n }\n\n private async *listAllBySubscriptionPagingPage(\n options?: SubscriptionFeatureRegistrationsListAllBySubscriptionOptionalParams\n ): AsyncIterableIterator<SubscriptionFeatureRegistration[]> {\n let result = await this._listAllBySubscription(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listAllBySubscriptionNext(\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listAllBySubscriptionPagingAll(\n options?: SubscriptionFeatureRegistrationsListAllBySubscriptionOptionalParams\n ): AsyncIterableIterator<SubscriptionFeatureRegistration> {\n for await (const page of this.listAllBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Returns a feature registration\n * @param providerNamespace The provider namespace.\n * @param featureName The feature name.\n * @param options The options parameters.\n */\n get(\n providerNamespace: string,\n featureName: string,\n options?: SubscriptionFeatureRegistrationsGetOptionalParams\n ): Promise<SubscriptionFeatureRegistrationsGetResponse> {\n return this.client.sendOperationRequest(\n { providerNamespace, featureName, options },\n getOperationSpec\n );\n }\n\n /**\n * Create or update a feature registration.\n * @param providerNamespace The provider namespace.\n * @param featureName The feature name.\n * @param options The options parameters.\n */\n createOrUpdate(\n providerNamespace: string,\n featureName: string,\n options?: SubscriptionFeatureRegistrationsCreateOrUpdateOptionalParams\n ): Promise<SubscriptionFeatureRegistrationsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { providerNamespace, featureName, options },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Deletes a feature registration\n * @param providerNamespace The provider namespace.\n * @param featureName The feature name.\n * @param options The options parameters.\n */\n delete(\n providerNamespace: string,\n featureName: string,\n options?: SubscriptionFeatureRegistrationsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { providerNamespace, featureName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Returns subscription feature registrations for given subscription and provider namespace.\n * @param providerNamespace The provider namespace.\n * @param options The options parameters.\n */\n private _listBySubscription(\n providerNamespace: string,\n options?: SubscriptionFeatureRegistrationsListBySubscriptionOptionalParams\n ): Promise<SubscriptionFeatureRegistrationsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { providerNamespace, options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * Returns subscription feature registrations for given subscription.\n * @param options The options parameters.\n */\n private _listAllBySubscription(\n options?: SubscriptionFeatureRegistrationsListAllBySubscriptionOptionalParams\n ): Promise<SubscriptionFeatureRegistrationsListAllBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listAllBySubscriptionOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param providerNamespace The provider namespace.\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n providerNamespace: string,\n nextLink: string,\n options?: SubscriptionFeatureRegistrationsListBySubscriptionNextOptionalParams\n ): Promise<SubscriptionFeatureRegistrationsListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { providerNamespace, nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n\n /**\n * ListAllBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListAllBySubscription method.\n * @param options The options parameters.\n */\n private _listAllBySubscriptionNext(\n nextLink: string,\n options?: SubscriptionFeatureRegistrationsListAllBySubscriptionNextOptionalParams\n ): Promise<\n SubscriptionFeatureRegistrationsListAllBySubscriptionNextResponse\n > {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listAllBySubscriptionNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Features/featureProviders/{providerNamespace}/subscriptionFeatureRegistrations/{featureName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SubscriptionFeatureRegistration\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.featureName,\n Parameters.providerNamespace\n ],\n headerParameters: [Parameters.accept1],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Features/featureProviders/{providerNamespace}/subscriptionFeatureRegistrations/{featureName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.SubscriptionFeatureRegistration\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.subscriptionFeatureRegistrationType,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.featureName,\n Parameters.providerNamespace\n ],\n headerParameters: [Parameters.accept1, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Features/featureProviders/{providerNamespace}/subscriptionFeatureRegistrations/{featureName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.featureName,\n Parameters.providerNamespace\n ],\n headerParameters: [Parameters.accept1],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Features/featureProviders/{providerNamespace}/subscriptionFeatureRegistrations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SubscriptionFeatureRegistrationList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.providerNamespace\n ],\n headerParameters: [Parameters.accept1],\n serializer\n};\nconst listAllBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Features/subscriptionFeatureRegistrations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SubscriptionFeatureRegistrationList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept1],\n serializer\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SubscriptionFeatureRegistrationList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.providerNamespace\n ],\n headerParameters: [Parameters.accept1],\n serializer\n};\nconst listAllBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SubscriptionFeatureRegistrationList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept1],\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 { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n FeaturesImpl,\n SubscriptionFeatureRegistrationsImpl\n} from \"./operations\";\nimport {\n Features,\n SubscriptionFeatureRegistrations\n} from \"./operationsInterfaces\";\nimport * as Parameters from \"./models/parameters\";\nimport * as Mappers from \"./models/mappers\";\nimport {\n FeatureClientOptionalParams,\n Operation,\n ListOperationsNextOptionalParams,\n ListOperationsOptionalParams,\n ListOperationsResponse,\n ListOperationsNextResponse\n} from \"./models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\nexport class FeatureClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the FeatureClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The Azure subscription ID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: FeatureClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: FeatureClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-features/3.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 // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2021-07-01\";\n this.features = new FeaturesImpl(this);\n this.subscriptionFeatureRegistrations = new SubscriptionFeatureRegistrationsImpl(\n this\n );\n }\n\n /**\n * Lists all of the available Microsoft.Features REST API operations.\n * @param options The options parameters.\n */\n public listOperations(\n options?: ListOperationsOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listOperationsPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listOperationsPagingPage(options);\n }\n };\n }\n\n private async *listOperationsPagingPage(\n options?: ListOperationsOptionalParams\n ): AsyncIterableIterator<Operation[]> {\n let result = await this._listOperations(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listOperationsNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listOperationsPagingAll(\n options?: ListOperationsOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listOperationsPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available Microsoft.Features REST API operations.\n * @param options The options parameters.\n */\n private _listOperations(\n options?: ListOperationsOptionalParams\n ): Promise<ListOperationsResponse> {\n return this.sendOperationRequest({ options }, listOperationsOperationSpec);\n }\n\n /**\n * ListOperationsNext\n * @param nextLink The nextLink from the previous successful call to the ListOperations method.\n * @param options The options parameters.\n */\n private _listOperationsNext(\n nextLink: string,\n options?: ListOperationsNextOptionalParams\n ): Promise<ListOperationsNextResponse> {\n return this.sendOperationRequest(\n { nextLink, options },\n listOperationsNextOperationSpec\n );\n }\n\n features: Features;\n subscriptionFeatureRegistrations: SubscriptionFeatureRegistrations;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationsOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Features/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"],"names":["KnownSubscriptionFeatureRegistrationState","KnownSubscriptionFeatureRegistrationApprovalType","SubscriptionFeatureRegistrationMapper","__asyncValues","__asyncDelegator","getOperationSpec","serializer","coreClient","Mappers.FeatureOperationsListResult","Mappers.ErrorResponse","Parameters.apiVersion","Parameters.$host","Parameters.subscriptionId","Parameters.accept","Parameters.resourceProviderNamespace","Mappers.FeatureResult","Parameters.featureName","Parameters.nextLink","Mappers.SubscriptionFeatureRegistration","Parameters.providerNamespace","Parameters.accept1","Parameters.subscriptionFeatureRegistrationType","Parameters.contentType","Mappers.SubscriptionFeatureRegistrationList","Mappers.OperationListResult"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;AA2MA;AACYA;AAAZ,WAAY,yCAAyC;IACnD,0EAA6B,CAAA;IAC7B,4EAA+B,CAAA;IAC/B,gEAAmB,CAAA;IACnB,wEAA2B,CAAA;IAC3B,sEAAyB,CAAA;IACzB,4EAA+B,CAAA;IAC/B,0EAA6B,CAAA;AAC/B,CAAC,EARWA,iDAAyC,KAAzCA,iDAAyC,QAQpD;AAiBD;AACYC;AAAZ,WAAY,gDAAgD;IAC1D,iFAA6B,CAAA;IAC7B,yFAAqC,CAAA;IACrC,iFAA6B,CAAA;AAC/B,CAAC,EAJWA,wDAAgD,KAAhDA,wDAAgD;;ACtO5D;;;;;;;AAUO,MAAM,mBAAmB,GAA+B;IAC7D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,qBAAqB;QAChC,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,WAAW;yBACvB;qBACF;iBACF;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEK,MAAM,SAAS,GAA+B;IAC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,UAAU,EAAEf,aAAqB;SAClC;KACF;IACD,eAAe,EAAE,CAACC,UAAqB,CAAC;IACxC,aAAa,EAAE,CAACC,KAAgB,EAAEM,QAAmB,CAAC;IACtD,gBAAgB,EAAE,CAACJ,MAAiB,CAAC;IACrC,UAAU;CACX;;;;"}
package/dist/index.min.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib=require("tslib"),coreClient=require("@azure/core-client");!function(e){e.NotSpecified="NotSpecified",e.NotRegistered="NotRegistered",e.Pending="Pending",e.Registering="Registering",e.Registered="Registered",e.Unregistering="Unregistering",e.Unregistered="Unregistered"}(exports.KnownSubscriptionFeatureRegistrationState||(exports.KnownSubscriptionFeatureRegistrationState={})),function(e){e.NotSpecified="NotSpecified",e.ApprovalRequired="ApprovalRequired",e.AutoApproval="AutoApproval"}(exports.KnownSubscriptionFeatureRegistrationApprovalType||(exports.KnownSubscriptionFeatureRegistrationApprovalType={}));const 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"}},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"}}}}},ErrorResponse={type:{name:"Composite",className:"ErrorResponse",modelProperties:{error:{serializedName:"error",type:{name:"Composite",className:"ErrorDefinition"}}}}},ErrorDefinition={type:{name:"Composite",className:"ErrorDefinition",modelProperties:{code:{serializedName:"code",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},details:{serializedName:"details",type:{name:"Sequence",element:{type:{name:"Composite",className:"ErrorDefinition"}}}}}}},FeatureOperationsListResult={type:{name:"Composite",className:"FeatureOperationsListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"FeatureResult"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},FeatureResult={type:{name:"Composite",className:"FeatureResult",modelProperties:{name:{serializedName:"name",type:{name:"String"}},properties:{serializedName:"properties",type:{name:"Composite",className:"FeatureProperties"}},id:{serializedName:"id",type:{name:"String"}},type:{serializedName:"type",type:{name:"String"}}}}},FeatureProperties={type:{name:"Composite",className:"FeatureProperties",modelProperties:{state:{serializedName:"state",type:{name:"String"}}}}},SubscriptionFeatureRegistrationProperties={type:{name:"Composite",className:"SubscriptionFeatureRegistrationProperties",modelProperties:{tenantId:{serializedName:"tenantId",readOnly:!0,type:{name:"String"}},subscriptionId:{serializedName:"subscriptionId",readOnly:!0,type:{name:"String"}},featureName:{serializedName:"featureName",readOnly:!0,type:{name:"String"}},displayName:{serializedName:"displayName",readOnly:!0,type:{name:"String"}},providerNamespace:{serializedName:"providerNamespace",readOnly:!0,type:{name:"String"}},state:{serializedName:"state",type:{name:"String"}},authorizationProfile:{serializedName:"authorizationProfile",type:{name:"Composite",className:"AuthorizationProfile"}},metadata:{serializedName:"metadata",type:{name:"Dictionary",value:{type:{name:"String"},constraints:{MaxLength:1e3}}}},releaseDate:{serializedName:"releaseDate",readOnly:!0,type:{name:"DateTime"}},registrationDate:{serializedName:"registrationDate",readOnly:!0,type:{name:"DateTime"}},documentationLink:{constraints:{MaxLength:1e3},serializedName:"documentationLink",readOnly:!0,type:{name:"String"}},approvalType:{serializedName:"approvalType",readOnly:!0,type:{name:"String"}},shouldFeatureDisplayInPortal:{defaultValue:!1,serializedName:"shouldFeatureDisplayInPortal",type:{name:"Boolean"}},description:{constraints:{MaxLength:1e3},serializedName:"description",type:{name:"String"}}}}},AuthorizationProfile={type:{name:"Composite",className:"AuthorizationProfile",modelProperties:{requestedTime:{serializedName:"requestedTime",readOnly:!0,type:{name:"DateTime"}},requester:{serializedName:"requester",readOnly:!0,type:{name:"String"}},requesterObjectId:{serializedName:"requesterObjectId",readOnly:!0,type:{name:"String"}},approvedTime:{serializedName:"approvedTime",readOnly:!0,type:{name:"DateTime"}},approver:{serializedName:"approver",readOnly:!0,type:{name:"String"}}}}},ProxyResource={type:{name:"Composite",className:"ProxyResource",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"}}}}},SubscriptionFeatureRegistrationList={type:{name:"Composite",className:"SubscriptionFeatureRegistrationList",modelProperties:{nextLink:{serializedName:"nextLink",type:{name:"String"}},value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"SubscriptionFeatureRegistration"}}}}}}},SubscriptionFeatureRegistration={type:{name:"Composite",className:"SubscriptionFeatureRegistration",modelProperties:Object.assign(Object.assign({},ProxyResource.type.modelProperties),{properties:{serializedName:"properties",type:{name:"Composite",className:"SubscriptionFeatureRegistrationProperties"}}})}};var Mappers=Object.freeze({__proto__:null,OperationListResult:OperationListResult,Operation:Operation,OperationDisplay:OperationDisplay,ErrorResponse:ErrorResponse,ErrorDefinition:ErrorDefinition,FeatureOperationsListResult:FeatureOperationsListResult,FeatureResult:FeatureResult,FeatureProperties:FeatureProperties,SubscriptionFeatureRegistrationProperties:SubscriptionFeatureRegistrationProperties,AuthorizationProfile:AuthorizationProfile,ProxyResource:ProxyResource,SubscriptionFeatureRegistrationList:SubscriptionFeatureRegistrationList,SubscriptionFeatureRegistration:SubscriptionFeatureRegistration});const accept={parameterPath:"accept",mapper:{defaultValue:"application/json, text/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},$host={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},apiVersion={parameterPath:"apiVersion",mapper:{defaultValue:"2021-07-01",isConstant:!0,serializedName:"api-version",type:{name:"String"}}},nextLink={parameterPath:"nextLink",mapper:{serializedName:"nextLink",required:!0,type:{name:"String"}},skipEncoding:!0},subscriptionId={parameterPath:"subscriptionId",mapper:{serializedName:"subscriptionId",required:!0,type:{name:"String"}}},resourceProviderNamespace={parameterPath:"resourceProviderNamespace",mapper:{serializedName:"resourceProviderNamespace",required:!0,type:{name:"String"}}},featureName={parameterPath:"featureName",mapper:{serializedName:"featureName",required:!0,type:{name:"String"}}},accept1={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},providerNamespace={parameterPath:"providerNamespace",mapper:{serializedName:"providerNamespace",required:!0,type:{name:"String"}}},contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},subscriptionFeatureRegistrationType={parameterPath:["options","subscriptionFeatureRegistrationType"],mapper:SubscriptionFeatureRegistration};class FeaturesImpl{constructor(e){this.client=e}listAll(e){const t=this.listAllPagingAll(e);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listAllPagingPage(e)}}listAllPagingPage(r){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listAll(r));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listAllNext(t,r)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listAllPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var r,i=tslib.__asyncValues(this.listAllPagingPage(s));!(r=yield tslib.__await(i.next())).done;){var a=r.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(a)))}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(t)throw t.error}}})}list(e,t){const r=this.listPagingAll(e,t);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e,t)}}listPagingPage(r,i){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(r,i));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listNext(r,t,i)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(s,n){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var r,i=tslib.__asyncValues(this.listPagingPage(s,n));!(r=yield tslib.__await(i.next())).done;){var a=r.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(a)))}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(t)throw t.error}}})}_listAll(e){return this.client.sendOperationRequest({options:e},listAllOperationSpec)}_list(e,t){return this.client.sendOperationRequest({resourceProviderNamespace:e,options:t},listOperationSpec)}get(e,t,r){return this.client.sendOperationRequest({resourceProviderNamespace:e,featureName:t,options:r},getOperationSpec)}register(e,t,r){return this.client.sendOperationRequest({resourceProviderNamespace:e,featureName:t,options:r},registerOperationSpec)}unregister(e,t,r){return this.client.sendOperationRequest({resourceProviderNamespace:e,featureName:t,options:r},unregisterOperationSpec)}_listAllNext(e,t){return this.client.sendOperationRequest({nextLink:e,options:t},listAllNextOperationSpec)}_listNext(e,t,r){return this.client.sendOperationRequest({resourceProviderNamespace:e,nextLink:t,options:r},listNextOperationSpec)}}const serializer=coreClient.createSerializer(Mappers,!1),listAllOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Features/features",httpMethod:"GET",responses:{200:{bodyMapper:FeatureOperationsListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer},listOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features",httpMethod:"GET",responses:{200:{bodyMapper:FeatureOperationsListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceProviderNamespace],headerParameters:[accept],serializer:serializer},getOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}",httpMethod:"GET",responses:{200:{bodyMapper:FeatureResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceProviderNamespace,featureName],headerParameters:[accept],serializer:serializer},registerOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}/register",httpMethod:"POST",responses:{200:{bodyMapper:FeatureResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceProviderNamespace,featureName],headerParameters:[accept],serializer:serializer},unregisterOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}/unregister",httpMethod:"POST",responses:{200:{bodyMapper:FeatureResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceProviderNamespace,featureName],headerParameters:[accept],serializer:serializer},listAllNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:FeatureOperationsListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink,subscriptionId],headerParameters:[accept],serializer:serializer},listNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:FeatureOperationsListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink,subscriptionId,resourceProviderNamespace],headerParameters:[accept],serializer:serializer};class SubscriptionFeatureRegistrationsImpl{constructor(e){this.client=e}listBySubscription(e,t){const r=this.listBySubscriptionPagingAll(e,t);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listBySubscriptionPagingPage(e,t)}}listBySubscriptionPagingPage(r,i){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listBySubscription(r,i));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listBySubscriptionNext(r,t,i)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listBySubscriptionPagingAll(s,n){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var r,i=tslib.__asyncValues(this.listBySubscriptionPagingPage(s,n));!(r=yield tslib.__await(i.next())).done;){var a=r.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(a)))}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(t)throw t.error}}})}listAllBySubscription(e){const t=this.listAllBySubscriptionPagingAll(e);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listAllBySubscriptionPagingPage(e)}}listAllBySubscriptionPagingPage(r){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listAllBySubscription(r));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listAllBySubscriptionNext(t,r)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listAllBySubscriptionPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var r,i=tslib.__asyncValues(this.listAllBySubscriptionPagingPage(s));!(r=yield tslib.__await(i.next())).done;){var a=r.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(a)))}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(t)throw t.error}}})}get(e,t,r){return this.client.sendOperationRequest({providerNamespace:e,featureName:t,options:r},getOperationSpec$1)}createOrUpdate(e,t,r){return this.client.sendOperationRequest({providerNamespace:e,featureName:t,options:r},createOrUpdateOperationSpec)}delete(e,t,r){return this.client.sendOperationRequest({providerNamespace:e,featureName:t,options:r},deleteOperationSpec)}_listBySubscription(e,t){return this.client.sendOperationRequest({providerNamespace:e,options:t},listBySubscriptionOperationSpec)}_listAllBySubscription(e){return this.client.sendOperationRequest({options:e},listAllBySubscriptionOperationSpec)}_listBySubscriptionNext(e,t,r){return this.client.sendOperationRequest({providerNamespace:e,nextLink:t,options:r},listBySubscriptionNextOperationSpec)}_listAllBySubscriptionNext(e,t){return this.client.sendOperationRequest({nextLink:e,options:t},listAllBySubscriptionNextOperationSpec)}}const serializer$1=coreClient.createSerializer(Mappers,!1),getOperationSpec$1={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Features/featureProviders/{providerNamespace}/subscriptionFeatureRegistrations/{featureName}",httpMethod:"GET",responses:{200:{bodyMapper:SubscriptionFeatureRegistration},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,featureName,providerNamespace],headerParameters:[accept1],serializer:serializer$1},createOrUpdateOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Features/featureProviders/{providerNamespace}/subscriptionFeatureRegistrations/{featureName}",httpMethod:"PUT",responses:{200:{bodyMapper:SubscriptionFeatureRegistration},default:{bodyMapper:ErrorResponse}},requestBody:subscriptionFeatureRegistrationType,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,featureName,providerNamespace],headerParameters:[accept1,contentType],mediaType:"json",serializer:serializer$1},deleteOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Features/featureProviders/{providerNamespace}/subscriptionFeatureRegistrations/{featureName}",httpMethod:"DELETE",responses:{200:{},204:{},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,featureName,providerNamespace],headerParameters:[accept1],serializer:serializer$1},listBySubscriptionOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Features/featureProviders/{providerNamespace}/subscriptionFeatureRegistrations",httpMethod:"GET",responses:{200:{bodyMapper:SubscriptionFeatureRegistrationList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,providerNamespace],headerParameters:[accept1],serializer:serializer$1},listAllBySubscriptionOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Features/subscriptionFeatureRegistrations",httpMethod:"GET",responses:{200:{bodyMapper:SubscriptionFeatureRegistrationList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept1],serializer:serializer$1},listBySubscriptionNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:SubscriptionFeatureRegistrationList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink,subscriptionId,providerNamespace],headerParameters:[accept1],serializer:serializer$1},listAllBySubscriptionNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:SubscriptionFeatureRegistrationList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink,subscriptionId],headerParameters:[accept1],serializer:serializer$1};class FeatureClient extends coreClient.ServiceClient{constructor(e,t,r){if(void 0===e)throw new Error("'credentials' cannot be null");if(void 0===t)throw new Error("'subscriptionId' cannot be null");var i={requestContentType:"application/json; charset=utf-8",credential:e},e="azsdk-js-arm-features/3.0.0",e=(r=r||{}).userAgentOptions&&r.userAgentOptions.userAgentPrefix?r.userAgentOptions.userAgentPrefix+" "+e:e;r.credentialScopes||(r.credentialScopes=["https://management.azure.com/.default"]),super(Object.assign(Object.assign(Object.assign({},i),r),{userAgentOptions:{userAgentPrefix:e},baseUri:r.endpoint||"https://management.azure.com"})),this.subscriptionId=t,this.$host=r.$host||"https://management.azure.com",this.apiVersion=r.apiVersion||"2021-07-01",this.features=new FeaturesImpl(this),this.subscriptionFeatureRegistrations=new SubscriptionFeatureRegistrationsImpl(this)}listOperations(e){const t=this.listOperationsPagingAll(e);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listOperationsPagingPage(e)}}listOperationsPagingPage(r){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listOperations(r));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listOperationsNext(t,r)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listOperationsPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var r,i=tslib.__asyncValues(this.listOperationsPagingPage(s));!(r=yield tslib.__await(i.next())).done;){var a=r.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(a)))}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(t)throw t.error}}})}_listOperations(e){return this.sendOperationRequest({options:e},listOperationsOperationSpec)}_listOperationsNext(e,t){return this.sendOperationRequest({nextLink:e,options:t},listOperationsNextOperationSpec)}}const serializer$2=coreClient.createSerializer(Mappers,!1),listOperationsOperationSpec={path:"/providers/Microsoft.Features/operations",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer$2},listOperationsNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink],headerParameters:[accept],serializer:serializer$2};exports.FeatureClient=FeatureClient;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib=require("tslib"),coreClient=require("@azure/core-client");function _interopNamespace(r){if(r&&r.__esModule)return r;var i=Object.create(null);return r&&Object.keys(r).forEach(function(e){var t;"default"!==e&&(t=Object.getOwnPropertyDescriptor(r,e),Object.defineProperty(i,e,t.get?t:{enumerable:!0,get:function(){return r[e]}}))}),i.default=r,Object.freeze(i)}var coreClient__namespace=_interopNamespace(coreClient);exports.KnownSubscriptionFeatureRegistrationState=void 0,function(e){e.NotSpecified="NotSpecified",e.NotRegistered="NotRegistered",e.Pending="Pending",e.Registering="Registering",e.Registered="Registered",e.Unregistering="Unregistering",e.Unregistered="Unregistered"}(exports.KnownSubscriptionFeatureRegistrationState||(exports.KnownSubscriptionFeatureRegistrationState={})),exports.KnownSubscriptionFeatureRegistrationApprovalType=void 0,function(e){e.NotSpecified="NotSpecified",e.ApprovalRequired="ApprovalRequired",e.AutoApproval="AutoApproval"}(exports.KnownSubscriptionFeatureRegistrationApprovalType||(exports.KnownSubscriptionFeatureRegistrationApprovalType={}));const 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"}},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"}}}}},ErrorResponse={type:{name:"Composite",className:"ErrorResponse",modelProperties:{error:{serializedName:"error",type:{name:"Composite",className:"ErrorDefinition"}}}}},ErrorDefinition={type:{name:"Composite",className:"ErrorDefinition",modelProperties:{code:{serializedName:"code",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},details:{serializedName:"details",type:{name:"Sequence",element:{type:{name:"Composite",className:"ErrorDefinition"}}}}}}},FeatureOperationsListResult={type:{name:"Composite",className:"FeatureOperationsListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"FeatureResult"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},FeatureResult={type:{name:"Composite",className:"FeatureResult",modelProperties:{name:{serializedName:"name",type:{name:"String"}},properties:{serializedName:"properties",type:{name:"Composite",className:"FeatureProperties"}},id:{serializedName:"id",type:{name:"String"}},type:{serializedName:"type",type:{name:"String"}}}}},FeatureProperties={type:{name:"Composite",className:"FeatureProperties",modelProperties:{state:{serializedName:"state",type:{name:"String"}}}}},SubscriptionFeatureRegistrationProperties={type:{name:"Composite",className:"SubscriptionFeatureRegistrationProperties",modelProperties:{tenantId:{serializedName:"tenantId",readOnly:!0,type:{name:"String"}},subscriptionId:{serializedName:"subscriptionId",readOnly:!0,type:{name:"String"}},featureName:{serializedName:"featureName",readOnly:!0,type:{name:"String"}},displayName:{serializedName:"displayName",readOnly:!0,type:{name:"String"}},providerNamespace:{serializedName:"providerNamespace",readOnly:!0,type:{name:"String"}},state:{serializedName:"state",type:{name:"String"}},authorizationProfile:{serializedName:"authorizationProfile",type:{name:"Composite",className:"AuthorizationProfile"}},metadata:{serializedName:"metadata",type:{name:"Dictionary",value:{type:{name:"String"},constraints:{MaxLength:1e3}}}},releaseDate:{serializedName:"releaseDate",readOnly:!0,type:{name:"DateTime"}},registrationDate:{serializedName:"registrationDate",readOnly:!0,type:{name:"DateTime"}},documentationLink:{constraints:{MaxLength:1e3},serializedName:"documentationLink",readOnly:!0,type:{name:"String"}},approvalType:{serializedName:"approvalType",readOnly:!0,type:{name:"String"}},shouldFeatureDisplayInPortal:{defaultValue:!1,serializedName:"shouldFeatureDisplayInPortal",type:{name:"Boolean"}},description:{constraints:{MaxLength:1e3},serializedName:"description",type:{name:"String"}}}}},AuthorizationProfile={type:{name:"Composite",className:"AuthorizationProfile",modelProperties:{requestedTime:{serializedName:"requestedTime",readOnly:!0,type:{name:"DateTime"}},requester:{serializedName:"requester",readOnly:!0,type:{name:"String"}},requesterObjectId:{serializedName:"requesterObjectId",readOnly:!0,type:{name:"String"}},approvedTime:{serializedName:"approvedTime",readOnly:!0,type:{name:"DateTime"}},approver:{serializedName:"approver",readOnly:!0,type:{name:"String"}}}}},ProxyResource={type:{name:"Composite",className:"ProxyResource",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"}}}}},SubscriptionFeatureRegistrationList={type:{name:"Composite",className:"SubscriptionFeatureRegistrationList",modelProperties:{nextLink:{serializedName:"nextLink",type:{name:"String"}},value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"SubscriptionFeatureRegistration"}}}}}}},SubscriptionFeatureRegistration={type:{name:"Composite",className:"SubscriptionFeatureRegistration",modelProperties:Object.assign(Object.assign({},ProxyResource.type.modelProperties),{properties:{serializedName:"properties",type:{name:"Composite",className:"SubscriptionFeatureRegistrationProperties"}}})}};var Mappers=Object.freeze({__proto__:null,OperationListResult:OperationListResult,Operation:Operation,OperationDisplay:OperationDisplay,ErrorResponse:ErrorResponse,ErrorDefinition:ErrorDefinition,FeatureOperationsListResult:FeatureOperationsListResult,FeatureResult:FeatureResult,FeatureProperties:FeatureProperties,SubscriptionFeatureRegistrationProperties:SubscriptionFeatureRegistrationProperties,AuthorizationProfile:AuthorizationProfile,ProxyResource:ProxyResource,SubscriptionFeatureRegistrationList:SubscriptionFeatureRegistrationList,SubscriptionFeatureRegistration:SubscriptionFeatureRegistration});const accept={parameterPath:"accept",mapper:{defaultValue:"application/json, text/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},$host={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},apiVersion={parameterPath:"apiVersion",mapper:{defaultValue:"2021-07-01",isConstant:!0,serializedName:"api-version",type:{name:"String"}}},nextLink={parameterPath:"nextLink",mapper:{serializedName:"nextLink",required:!0,type:{name:"String"}},skipEncoding:!0},subscriptionId={parameterPath:"subscriptionId",mapper:{serializedName:"subscriptionId",required:!0,type:{name:"String"}}},resourceProviderNamespace={parameterPath:"resourceProviderNamespace",mapper:{serializedName:"resourceProviderNamespace",required:!0,type:{name:"String"}}},featureName={parameterPath:"featureName",mapper:{serializedName:"featureName",required:!0,type:{name:"String"}}},accept1={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},providerNamespace={parameterPath:"providerNamespace",mapper:{serializedName:"providerNamespace",required:!0,type:{name:"String"}}},contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},subscriptionFeatureRegistrationType={parameterPath:["options","subscriptionFeatureRegistrationType"],mapper:SubscriptionFeatureRegistration};class FeaturesImpl{constructor(e){this.client=e}listAll(e){const t=this.listAllPagingAll(e);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listAllPagingPage(e)}}listAllPagingPage(r){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listAll(r));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listAllNext(t,r)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listAllPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var r,i=tslib.__asyncValues(this.listAllPagingPage(s));!(r=yield tslib.__await(i.next())).done;){var a=r.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(a)))}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(t)throw t.error}}})}list(e,t){const r=this.listPagingAll(e,t);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e,t)}}listPagingPage(r,i){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(r,i));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listNext(r,t,i)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(s,n){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var r,i=tslib.__asyncValues(this.listPagingPage(s,n));!(r=yield tslib.__await(i.next())).done;){var a=r.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(a)))}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(t)throw t.error}}})}_listAll(e){return this.client.sendOperationRequest({options:e},listAllOperationSpec)}_list(e,t){return this.client.sendOperationRequest({resourceProviderNamespace:e,options:t},listOperationSpec)}get(e,t,r){return this.client.sendOperationRequest({resourceProviderNamespace:e,featureName:t,options:r},getOperationSpec$1)}register(e,t,r){return this.client.sendOperationRequest({resourceProviderNamespace:e,featureName:t,options:r},registerOperationSpec)}unregister(e,t,r){return this.client.sendOperationRequest({resourceProviderNamespace:e,featureName:t,options:r},unregisterOperationSpec)}_listAllNext(e,t){return this.client.sendOperationRequest({nextLink:e,options:t},listAllNextOperationSpec)}_listNext(e,t,r){return this.client.sendOperationRequest({resourceProviderNamespace:e,nextLink:t,options:r},listNextOperationSpec)}}const serializer$2=coreClient__namespace.createSerializer(Mappers,!1),listAllOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Features/features",httpMethod:"GET",responses:{200:{bodyMapper:FeatureOperationsListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$2},listOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features",httpMethod:"GET",responses:{200:{bodyMapper:FeatureOperationsListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceProviderNamespace],headerParameters:[accept],serializer:serializer$2},getOperationSpec$1={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}",httpMethod:"GET",responses:{200:{bodyMapper:FeatureResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceProviderNamespace,featureName],headerParameters:[accept],serializer:serializer$2},registerOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}/register",httpMethod:"POST",responses:{200:{bodyMapper:FeatureResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceProviderNamespace,featureName],headerParameters:[accept],serializer:serializer$2},unregisterOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}/unregister",httpMethod:"POST",responses:{200:{bodyMapper:FeatureResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceProviderNamespace,featureName],headerParameters:[accept],serializer:serializer$2},listAllNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:FeatureOperationsListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink,subscriptionId],headerParameters:[accept],serializer:serializer$2},listNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:FeatureOperationsListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink,subscriptionId,resourceProviderNamespace],headerParameters:[accept],serializer:serializer$2};class SubscriptionFeatureRegistrationsImpl{constructor(e){this.client=e}listBySubscription(e,t){const r=this.listBySubscriptionPagingAll(e,t);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listBySubscriptionPagingPage(e,t)}}listBySubscriptionPagingPage(r,i){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listBySubscription(r,i));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listBySubscriptionNext(r,t,i)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listBySubscriptionPagingAll(s,n){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var r,i=tslib.__asyncValues(this.listBySubscriptionPagingPage(s,n));!(r=yield tslib.__await(i.next())).done;){var a=r.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(a)))}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(t)throw t.error}}})}listAllBySubscription(e){const t=this.listAllBySubscriptionPagingAll(e);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listAllBySubscriptionPagingPage(e)}}listAllBySubscriptionPagingPage(r){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listAllBySubscription(r));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listAllBySubscriptionNext(t,r)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listAllBySubscriptionPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var r,i=tslib.__asyncValues(this.listAllBySubscriptionPagingPage(s));!(r=yield tslib.__await(i.next())).done;){var a=r.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(a)))}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(t)throw t.error}}})}get(e,t,r){return this.client.sendOperationRequest({providerNamespace:e,featureName:t,options:r},getOperationSpec)}createOrUpdate(e,t,r){return this.client.sendOperationRequest({providerNamespace:e,featureName:t,options:r},createOrUpdateOperationSpec)}delete(e,t,r){return this.client.sendOperationRequest({providerNamespace:e,featureName:t,options:r},deleteOperationSpec)}_listBySubscription(e,t){return this.client.sendOperationRequest({providerNamespace:e,options:t},listBySubscriptionOperationSpec)}_listAllBySubscription(e){return this.client.sendOperationRequest({options:e},listAllBySubscriptionOperationSpec)}_listBySubscriptionNext(e,t,r){return this.client.sendOperationRequest({providerNamespace:e,nextLink:t,options:r},listBySubscriptionNextOperationSpec)}_listAllBySubscriptionNext(e,t){return this.client.sendOperationRequest({nextLink:e,options:t},listAllBySubscriptionNextOperationSpec)}}const serializer$1=coreClient__namespace.createSerializer(Mappers,!1),getOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Features/featureProviders/{providerNamespace}/subscriptionFeatureRegistrations/{featureName}",httpMethod:"GET",responses:{200:{bodyMapper:SubscriptionFeatureRegistration},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,featureName,providerNamespace],headerParameters:[accept1],serializer:serializer$1},createOrUpdateOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Features/featureProviders/{providerNamespace}/subscriptionFeatureRegistrations/{featureName}",httpMethod:"PUT",responses:{200:{bodyMapper:SubscriptionFeatureRegistration},default:{bodyMapper:ErrorResponse}},requestBody:subscriptionFeatureRegistrationType,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,featureName,providerNamespace],headerParameters:[accept1,contentType],mediaType:"json",serializer:serializer$1},deleteOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Features/featureProviders/{providerNamespace}/subscriptionFeatureRegistrations/{featureName}",httpMethod:"DELETE",responses:{200:{},204:{},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,featureName,providerNamespace],headerParameters:[accept1],serializer:serializer$1},listBySubscriptionOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Features/featureProviders/{providerNamespace}/subscriptionFeatureRegistrations",httpMethod:"GET",responses:{200:{bodyMapper:SubscriptionFeatureRegistrationList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,providerNamespace],headerParameters:[accept1],serializer:serializer$1},listAllBySubscriptionOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Features/subscriptionFeatureRegistrations",httpMethod:"GET",responses:{200:{bodyMapper:SubscriptionFeatureRegistrationList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept1],serializer:serializer$1},listBySubscriptionNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:SubscriptionFeatureRegistrationList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink,subscriptionId,providerNamespace],headerParameters:[accept1],serializer:serializer$1},listAllBySubscriptionNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:SubscriptionFeatureRegistrationList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink,subscriptionId],headerParameters:[accept1],serializer:serializer$1};class FeatureClient extends coreClient__namespace.ServiceClient{constructor(e,t,r){if(void 0===e)throw new Error("'credentials' cannot be null");if(void 0===t)throw new Error("'subscriptionId' cannot be null");var i={requestContentType:"application/json; charset=utf-8",credential:e},e="azsdk-js-arm-features/3.0.0",e=(r=r||{}).userAgentOptions&&r.userAgentOptions.userAgentPrefix?r.userAgentOptions.userAgentPrefix+" "+e:e;r.credentialScopes||(r.credentialScopes=["https://management.azure.com/.default"]),super(Object.assign(Object.assign(Object.assign({},i),r),{userAgentOptions:{userAgentPrefix:e},baseUri:r.endpoint||"https://management.azure.com"})),this.subscriptionId=t,this.$host=r.$host||"https://management.azure.com",this.apiVersion=r.apiVersion||"2021-07-01",this.features=new FeaturesImpl(this),this.subscriptionFeatureRegistrations=new SubscriptionFeatureRegistrationsImpl(this)}listOperations(e){const t=this.listOperationsPagingAll(e);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listOperationsPagingPage(e)}}listOperationsPagingPage(r){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listOperations(r));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listOperationsNext(t,r)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listOperationsPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var r,i=tslib.__asyncValues(this.listOperationsPagingPage(s));!(r=yield tslib.__await(i.next())).done;){var a=r.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(a)))}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(t)throw t.error}}})}_listOperations(e){return this.sendOperationRequest({options:e},listOperationsOperationSpec)}_listOperationsNext(e,t){return this.sendOperationRequest({nextLink:e,options:t},listOperationsNextOperationSpec)}}const serializer=coreClient__namespace.createSerializer(Mappers,!1),listOperationsOperationSpec={path:"/providers/Microsoft.Features/operations",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer},listOperationsNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink],headerParameters:[accept],serializer:serializer};exports.FeatureClient=FeatureClient;
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/features.ts","../src/operations/subscriptionFeatureRegistrations.ts","../src/featureClient.ts"],"names":["KnownSubscriptionFeatureRegistrationState","KnownSubscriptionFeatureRegistrationApprovalType","OperationListResult","type","name","className","modelProperties","value","serializedName","element","nextLink","Operation","display","OperationDisplay","provider","resource","operation","ErrorResponse","error","ErrorDefinition","code","readOnly","message","details","FeatureOperationsListResult","FeatureResult","properties","id","FeatureProperties","state","SubscriptionFeatureRegistrationProperties","tenantId","subscriptionId","featureName","displayName","providerNamespace","authorizationProfile","metadata","constraints","MaxLength","releaseDate","registrationDate","documentationLink","approvalType","shouldFeatureDisplayInPortal","defaultValue","description","AuthorizationProfile","requestedTime","requester","requesterObjectId","approvedTime","approver","ProxyResource","SubscriptionFeatureRegistrationList","SubscriptionFeatureRegistration","Object","assign","accept","parameterPath","mapper","isConstant","$host","required","skipEncoding","apiVersion","resourceProviderNamespace","accept1","contentType","subscriptionFeatureRegistrationType","SubscriptionFeatureRegistrationMapper","FeaturesImpl","constructor","client","this","listAll","options","iter","listAllPagingAll","next","Symbol","asyncIterator","byPage","listAllPagingPage","let","result","tslib","__await","_listAll","continuationToken","_listAllNext","_c","_b","__asyncValues","done","page","__asyncDelegator","list","listPagingAll","listPagingPage","_list","_listNext","sendOperationRequest","listAllOperationSpec","listOperationSpec","get","getOperationSpec","register","registerOperationSpec","unregister","unregisterOperationSpec","listAllNextOperationSpec","listNextOperationSpec","serializer","coreClient.createSerializer","Mappers","path","httpMethod","responses","200","bodyMapper","Mappers.FeatureOperationsListResult","default","Mappers.ErrorResponse","queryParameters","Parameters.apiVersion","urlParameters","Parameters.$host","Parameters.subscriptionId","headerParameters","Parameters.accept","Parameters.resourceProviderNamespace","Mappers.FeatureResult","Parameters.featureName","Parameters.nextLink","SubscriptionFeatureRegistrationsImpl","listBySubscription","listBySubscriptionPagingAll","listBySubscriptionPagingPage","_listBySubscription","_listBySubscriptionNext","listAllBySubscription","listAllBySubscriptionPagingAll","listAllBySubscriptionPagingPage","_listAllBySubscription","_listAllBySubscriptionNext","createOrUpdate","createOrUpdateOperationSpec","delete","deleteOperationSpec","listBySubscriptionOperationSpec","listAllBySubscriptionOperationSpec","listBySubscriptionNextOperationSpec","listAllBySubscriptionNextOperationSpec","Mappers.SubscriptionFeatureRegistration","Parameters.providerNamespace","Parameters.accept1","requestBody","Parameters.subscriptionFeatureRegistrationType","Parameters.contentType","mediaType","204","Mappers.SubscriptionFeatureRegistrationList","FeatureClient","coreClient.ServiceClient","credentials","undefined","Error","defaults","requestContentType","credential","packageDetails","userAgentPrefix","userAgentOptions","credentialScopes","super","baseUri","endpoint","features","subscriptionFeatureRegistrations","listOperations","listOperationsPagingAll","listOperationsPagingPage","_listOperations","_listOperationsNext","listOperationsOperationSpec","listOperationsNextOperationSpec","Mappers.OperationListResult"],"mappings":"yIA4MA,SAAYA,GACVA,EAAA,aAAA,eACAA,EAAA,cAAA,gBACAA,EAAA,QAAA,UACAA,EAAA,YAAA,cACAA,EAAA,WAAA,aACAA,EAAA,cAAA,gBACAA,EAAA,aAAA,eAPF,CAAYA,QAAAA,4CAAAA,QAAAA,0CAAyC,KA0BrD,SAAYC,GACVA,EAAA,aAAA,eACAA,EAAA,iBAAA,mBACAA,EAAA,aAAA,eAHF,CAAYA,QAAAA,mDAAAA,QAAAA,iDAAgD,KC5N5D,MAAaC,oBAAkD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3E,qBAC3B4E,MAAAC,QAAMF,EAAO9E,OAAS,MAIX8K,wBACbzG,G,qEAEA,IAAyB,IAAsCe,EAAtCC,EAAAC,MAAAA,cAAAnB,KAAK4G,yBAAyB1G,MAAQe,QAAAL,MAAAC,QAAAK,EAAAb,SAAAe,MAAA,CAApD,IAAMC,EAAIJ,EAAApF,YACnB+E,MAAAC,cAAOS,MAAAA,iBAAAH,MAAAA,cAAAE,M,2HAQHwF,gBACN3G,GAEA,OAAOF,KAAK4B,qBAAqB,CAAE1B,QAAAA,GAAW6G,6BAQxCD,oBACN9K,EACAkE,GAEA,OAAOF,KAAK4B,qBACV,CAAE5F,SAAAA,EAAUkE,QAAAA,GACZ8G,kCAQN,MAAMzE,aAAaC,WAAAA,iBAA4BC,SAAqB,GAE9DsE,4BAAwD,CAC5DrE,KAAM,2CACNC,WAAY,MACZC,UAAW,CACTC,IAAK,CACHC,WAAYmE,qBAEdjE,QAAS,CACPF,WAAYG,gBAGhBC,gBAAiB,CAACC,YAClBC,cAAe,CAACC,OAChBE,iBAAkB,CAACC,Q,WACnBjB,cAEIyE,gCAA4D,CAChEtE,KAAM,aACNC,WAAY,MACZC,UAAW,CACTC,IAAK,CACHC,WAAYmE,qBAEdjE,QAAS,CACPF,WAAYG,gBAGhBC,gBAAiB,CAACC,YAClBC,cAAe,CAACC,MAAkBO,UAClCL,iBAAkB,CAACC,Q,WACnBjB,c"}
1
+ {"version":3,"sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/features.ts","../src/operations/subscriptionFeatureRegistrations.ts","../src/featureClient.ts"],"names":["KnownSubscriptionFeatureRegistrationState","KnownSubscriptionFeatureRegistrationApprovalType","OperationListResult","type","name","className","modelProperties","value","serializedName","element","nextLink","Operation","display","OperationDisplay","provider","resource","operation","ErrorResponse","error","ErrorDefinition","code","readOnly","message","details","FeatureOperationsListResult","FeatureResult","properties","id","FeatureProperties","state","SubscriptionFeatureRegistrationProperties","tenantId","subscriptionId","featureName","displayName","providerNamespace","authorizationProfile","metadata","constraints","MaxLength","releaseDate","registrationDate","documentationLink","approvalType","shouldFeatureDisplayInPortal","defaultValue","description","AuthorizationProfile","requestedTime","requester","requesterObjectId","approvedTime","approver","ProxyResource","SubscriptionFeatureRegistrationList","SubscriptionFeatureRegistration","Object","assign","accept","parameterPath","mapper","isConstant","$host","required","skipEncoding","apiVersion","resourceProviderNamespace","accept1","contentType","subscriptionFeatureRegistrationType","SubscriptionFeatureRegistrationMapper","FeaturesImpl","constructor","client","this","listAll","options","iter","listAllPagingAll","next","Symbol","asyncIterator","byPage","listAllPagingPage","let","result","tslib","__await","_listAll","continuationToken","_listAllNext","_c","_b","__asyncValues","done","page","__asyncDelegator","list","listPagingAll","listPagingPage","_list","_listNext","sendOperationRequest","listAllOperationSpec","listOperationSpec","get","getOperationSpec","register","registerOperationSpec","unregister","unregisterOperationSpec","listAllNextOperationSpec","listNextOperationSpec","serializer","coreClient","createSerializer","Mappers","path","httpMethod","responses","200","bodyMapper","Mappers.FeatureOperationsListResult","default","Mappers.ErrorResponse","queryParameters","Parameters.apiVersion","urlParameters","Parameters.$host","Parameters.subscriptionId","headerParameters","Parameters.accept","Parameters.resourceProviderNamespace","Mappers.FeatureResult","Parameters.featureName","Parameters.nextLink","SubscriptionFeatureRegistrationsImpl","listBySubscription","listBySubscriptionPagingAll","listBySubscriptionPagingPage","_listBySubscription","_listBySubscriptionNext","listAllBySubscription","listAllBySubscriptionPagingAll","listAllBySubscriptionPagingPage","_listAllBySubscription","_listAllBySubscriptionNext","createOrUpdate","createOrUpdateOperationSpec","delete","deleteOperationSpec","listBySubscriptionOperationSpec","listAllBySubscriptionOperationSpec","listBySubscriptionNextOperationSpec","listAllBySubscriptionNextOperationSpec","Mappers.SubscriptionFeatureRegistration","Parameters.providerNamespace","Parameters.accept1","requestBody","Parameters.subscriptionFeatureRegistrationType","Parameters.contentType","mediaType","204","Mappers.SubscriptionFeatureRegistrationList","FeatureClient","ServiceClient","credentials","undefined","Error","defaults","requestContentType","credential","packageDetails","userAgentPrefix","userAgentOptions","credentialScopes","super","baseUri","endpoint","features","subscriptionFeatureRegistrations","listOperations","listOperationsPagingAll","listOperationsPagingPage","_listOperations","_listOperationsNext","listOperationsOperationSpec","listOperationsNextOperationSpec","Mappers.OperationListResult"],"mappings":"6eA4MYA,QAAAA,+CAAAA,EAAZ,SAAYA,GACVA,EAAA,aAAA,eACAA,EAAA,cAAA,gBACAA,EAAA,QAAA,UACAA,EAAA,YAAA,cACAA,EAAA,WAAA,aACAA,EAAA,cAAA,gBACAA,EAAA,aAAA,eAPF,CAAYA,QAAAA,4CAAAA,QAAAA,0CAAyC,KA0BzCC,QAAAA,sDAAAA,EAAZ,SAAYA,GACVA,EAAA,aAAA,eACAA,EAAA,iBAAA,mBACAA,EAAA,aAAA,eAHF,CAAYA,QAAAA,mDAAAA,QAAAA,iDAAgD,KC5NrD,MAAMC,oBAAkD,CAC7DC,KAAM,CACJC,KAAM,YACNC,UAAW,sBACXC,gBAAiB,CACfC,MAAO,CACLC,eAAgB,QAChBL,KAAM,CACJC,KAAM,WACNK,QAAS,CACPN,KAAM,CACJC,KAAM,YACNC,UAAW,gBAKnBK,SAAU,CACRF,eAAgB,WAChBL,KAAM,CACJC,KAAM,cAOHO,UAAwC,CACnDR,KAAM,CACJC,KAAM,YACNC,UAAW,YACXC,gBAAiB,CACfF,KAAM,CACJI,eAAgB,OAChBL,KAAM,CACJC,KAAM,WAGVQ,QAAS,CACPJ,eAAgB,UAChBL,KAAM,CACJC,KAAM,YACNC,UAAW,wBAORQ,iBAA+C,CAC1DV,KAAM,CACJC,KAAM,YACNC,UAAW,mBACXC,gBAAiB,CACfQ,SAAU,CACRN,eAAgB,WAChBL,KAAM,CACJC,KAAM,WAGVW,SAAU,CACRP,eAAgB,WAChBL,KAAM,CACJC,KAAM,WAGVY,UAAW,CACTR,eAAgB,YAChBL,KAAM,CACJC,KAAM,cAOHa,cAA4C,CACvDd,KAAM,CACJC,KAAM,YACN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E,gCAA4D,CAChEtE,KAAM,aACNC,WAAY,MACZC,UAAW,CACTC,IAAK,CACHC,WAAYmE,qBAEdjE,QAAS,CACPF,WAAYG,gBAGhBC,gBAAiB,CAACC,YAClBC,cAAe,CAACC,MAAkBO,UAClCL,iBAAkB,CAACC,QACnBlB,WAAAA,Y"}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for FeatureClient.",
6
- "version": "3.0.1-alpha.20220118.1",
6
+ "version": "3.0.1-alpha.20220128.2",
7
7
  "engines": {
8
8
  "node": ">=12.0.0"
9
9
  },
@@ -27,12 +27,12 @@
27
27
  "types": "./types/arm-features.d.ts",
28
28
  "devDependencies": {
29
29
  "@microsoft/api-extractor": "^7.18.11",
30
- "@rollup/plugin-commonjs": "11.0.2",
30
+ "@rollup/plugin-commonjs": "^21.0.1",
31
31
  "@rollup/plugin-json": "^4.0.0",
32
32
  "@rollup/plugin-multi-entry": "^3.0.0",
33
33
  "@rollup/plugin-node-resolve": "^8.0.0",
34
34
  "mkdirp": "^1.0.4",
35
- "rollup": "^1.16.3",
35
+ "rollup": "^2.0.0",
36
36
  "rollup-plugin-sourcemaps": "^0.4.2",
37
37
  "typescript": "~4.2.0",
38
38
  "uglify-js": "^3.4.9",