@azure/arm-storagemover 2.0.1-alpha.20240429.1 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/CHANGELOG.md +25 -13
  2. package/LICENSE +1 -1
  3. package/dist/index.js +850 -687
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/agentsCreateOrUpdateSample.js +94 -4
  8. package/dist-esm/samples-dev/agentsCreateOrUpdateSample.js.map +1 -1
  9. package/dist-esm/samples-dev/agentsDeleteSample.js +1 -1
  10. package/dist-esm/samples-dev/agentsGetSample.js +23 -3
  11. package/dist-esm/samples-dev/agentsGetSample.js.map +1 -1
  12. package/dist-esm/samples-dev/agentsListSample.js +38 -3
  13. package/dist-esm/samples-dev/agentsListSample.js.map +1 -1
  14. package/dist-esm/samples-dev/agentsUpdateSample.js +13 -3
  15. package/dist-esm/samples-dev/agentsUpdateSample.js.map +1 -1
  16. package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.js +13 -13
  17. package/dist-esm/samples-dev/endpointsDeleteSample.js +1 -1
  18. package/dist-esm/samples-dev/endpointsGetSample.js +4 -4
  19. package/dist-esm/samples-dev/endpointsListSample.js +1 -1
  20. package/dist-esm/samples-dev/endpointsUpdateSample.js +14 -14
  21. package/dist-esm/samples-dev/endpointsUpdateSample.js.map +1 -1
  22. package/dist-esm/samples-dev/jobDefinitionsCreateOrUpdateSample.js +2 -2
  23. package/dist-esm/samples-dev/jobDefinitionsDeleteSample.js +1 -1
  24. package/dist-esm/samples-dev/jobDefinitionsGetSample.js +1 -1
  25. package/dist-esm/samples-dev/jobDefinitionsListSample.js +1 -1
  26. package/dist-esm/samples-dev/jobDefinitionsStartJobSample.js +3 -3
  27. package/dist-esm/samples-dev/jobDefinitionsStopJobSample.js +1 -1
  28. package/dist-esm/samples-dev/jobDefinitionsUpdateSample.js +3 -3
  29. package/dist-esm/samples-dev/jobDefinitionsUpdateSample.js.map +1 -1
  30. package/dist-esm/samples-dev/jobRunsGetSample.js +1 -1
  31. package/dist-esm/samples-dev/jobRunsListSample.js +1 -1
  32. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  33. package/dist-esm/samples-dev/projectsCreateOrUpdateSample.js +1 -1
  34. package/dist-esm/samples-dev/projectsDeleteSample.js +1 -1
  35. package/dist-esm/samples-dev/projectsGetSample.js +1 -1
  36. package/dist-esm/samples-dev/projectsListSample.js +1 -1
  37. package/dist-esm/samples-dev/projectsUpdateSample.js +3 -3
  38. package/dist-esm/samples-dev/projectsUpdateSample.js.map +1 -1
  39. package/dist-esm/samples-dev/storageMoversCreateOrUpdateSample.js +2 -2
  40. package/dist-esm/samples-dev/storageMoversDeleteSample.js +1 -1
  41. package/dist-esm/samples-dev/storageMoversGetSample.js +1 -1
  42. package/dist-esm/samples-dev/storageMoversListBySubscriptionSample.js +1 -1
  43. package/dist-esm/samples-dev/storageMoversListSample.js +1 -1
  44. package/dist-esm/samples-dev/storageMoversUpdateSample.js +3 -3
  45. package/dist-esm/samples-dev/storageMoversUpdateSample.js.map +1 -1
  46. package/dist-esm/src/lroImpl.js +1 -1
  47. package/dist-esm/src/models/index.d.ts +75 -4
  48. package/dist-esm/src/models/index.d.ts.map +1 -1
  49. package/dist-esm/src/models/index.js +16 -0
  50. package/dist-esm/src/models/index.js.map +1 -1
  51. package/dist-esm/src/models/mappers.d.ts +6 -0
  52. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  53. package/dist-esm/src/models/mappers.js +541 -401
  54. package/dist-esm/src/models/mappers.js.map +1 -1
  55. package/dist-esm/src/models/parameters.js +53 -53
  56. package/dist-esm/src/models/parameters.js.map +1 -1
  57. package/dist-esm/src/operations/agents.d.ts.map +1 -1
  58. package/dist-esm/src/operations/agents.js +35 -35
  59. package/dist-esm/src/operations/agents.js.map +1 -1
  60. package/dist-esm/src/operations/endpoints.d.ts.map +1 -1
  61. package/dist-esm/src/operations/endpoints.js +35 -35
  62. package/dist-esm/src/operations/endpoints.js.map +1 -1
  63. package/dist-esm/src/operations/jobDefinitions.d.ts +2 -1
  64. package/dist-esm/src/operations/jobDefinitions.d.ts.map +1 -1
  65. package/dist-esm/src/operations/jobDefinitions.js +53 -52
  66. package/dist-esm/src/operations/jobDefinitions.js.map +1 -1
  67. package/dist-esm/src/operations/jobRuns.js +19 -19
  68. package/dist-esm/src/operations/jobRuns.js.map +1 -1
  69. package/dist-esm/src/operations/operations.js +9 -9
  70. package/dist-esm/src/operations/projects.d.ts.map +1 -1
  71. package/dist-esm/src/operations/projects.js +35 -35
  72. package/dist-esm/src/operations/projects.js.map +1 -1
  73. package/dist-esm/src/operations/storageMovers.d.ts.map +1 -1
  74. package/dist-esm/src/operations/storageMovers.js +45 -45
  75. package/dist-esm/src/operations/storageMovers.js.map +1 -1
  76. package/dist-esm/src/operationsInterfaces/jobDefinitions.d.ts +2 -1
  77. package/dist-esm/src/operationsInterfaces/jobDefinitions.d.ts.map +1 -1
  78. package/dist-esm/src/storageMoverClient.d.ts.map +1 -1
  79. package/dist-esm/src/storageMoverClient.js +9 -9
  80. package/dist-esm/src/storageMoverClient.js.map +1 -1
  81. package/dist-esm/test/storagemover_operations_test.spec.d.ts.map +1 -1
  82. package/dist-esm/test/storagemover_operations_test.spec.js +6 -2
  83. package/dist-esm/test/storagemover_operations_test.spec.js.map +1 -1
  84. package/package.json +9 -9
  85. package/review/arm-storagemover.api.md +50 -0
  86. package/src/lroImpl.ts +3 -3
  87. package/src/models/index.ts +100 -13
  88. package/src/models/mappers.ts +636 -474
  89. package/src/models/parameters.ts +54 -54
  90. package/src/operations/agents.ts +68 -74
  91. package/src/operations/endpoints.ts +68 -74
  92. package/src/operations/jobDefinitions.ts +93 -100
  93. package/src/operations/jobRuns.ts +36 -38
  94. package/src/operations/operations.ts +16 -16
  95. package/src/operations/projects.ts +68 -74
  96. package/src/operations/storageMovers.ts +83 -90
  97. package/src/operationsInterfaces/agents.ts +7 -7
  98. package/src/operationsInterfaces/endpoints.ts +7 -7
  99. package/src/operationsInterfaces/jobDefinitions.ts +11 -10
  100. package/src/operationsInterfaces/jobRuns.ts +3 -3
  101. package/src/operationsInterfaces/operations.ts +1 -1
  102. package/src/operationsInterfaces/projects.ts +7 -7
  103. package/src/operationsInterfaces/storageMovers.ts +8 -8
  104. package/src/pagingHelper.ts +1 -1
  105. package/src/storageMoverClient.ts +18 -17
  106. package/types/arm-storagemover.d.ts +86 -5
  107. package/types/tsdoc-metadata.json +1 -1
@@ -11,7 +11,7 @@ import {
11
11
  JobRun,
12
12
  JobRunsListOptionalParams,
13
13
  JobRunsGetOptionalParams,
14
- JobRunsGetResponse
14
+ JobRunsGetResponse,
15
15
  } from "../models";
16
16
 
17
17
  /// <reference lib="esnext.asynciterable" />
@@ -30,7 +30,7 @@ export interface JobRuns {
30
30
  storageMoverName: string,
31
31
  projectName: string,
32
32
  jobDefinitionName: string,
33
- options?: JobRunsListOptionalParams
33
+ options?: JobRunsListOptionalParams,
34
34
  ): PagedAsyncIterableIterator<JobRun>;
35
35
  /**
36
36
  * Gets a Job Run resource.
@@ -47,6 +47,6 @@ export interface JobRuns {
47
47
  projectName: string,
48
48
  jobDefinitionName: string,
49
49
  jobRunName: string,
50
- options?: JobRunsGetOptionalParams
50
+ options?: JobRunsGetOptionalParams,
51
51
  ): Promise<JobRunsGetResponse>;
52
52
  }
@@ -17,6 +17,6 @@ export interface Operations {
17
17
  * @param options The options parameters.
18
18
  */
19
19
  list(
20
- options?: OperationsListOptionalParams
20
+ options?: OperationsListOptionalParams,
21
21
  ): PagedAsyncIterableIterator<Operation>;
22
22
  }
@@ -18,7 +18,7 @@ import {
18
18
  ProjectUpdateParameters,
19
19
  ProjectsUpdateOptionalParams,
20
20
  ProjectsUpdateResponse,
21
- ProjectsDeleteOptionalParams
21
+ ProjectsDeleteOptionalParams,
22
22
  } from "../models";
23
23
 
24
24
  /// <reference lib="esnext.asynciterable" />
@@ -33,7 +33,7 @@ export interface Projects {
33
33
  list(
34
34
  resourceGroupName: string,
35
35
  storageMoverName: string,
36
- options?: ProjectsListOptionalParams
36
+ options?: ProjectsListOptionalParams,
37
37
  ): PagedAsyncIterableIterator<Project>;
38
38
  /**
39
39
  * Gets a Project resource.
@@ -46,7 +46,7 @@ export interface Projects {
46
46
  resourceGroupName: string,
47
47
  storageMoverName: string,
48
48
  projectName: string,
49
- options?: ProjectsGetOptionalParams
49
+ options?: ProjectsGetOptionalParams,
50
50
  ): Promise<ProjectsGetResponse>;
51
51
  /**
52
52
  * Creates or updates a Project resource, which is a logical grouping of related jobs.
@@ -61,7 +61,7 @@ export interface Projects {
61
61
  storageMoverName: string,
62
62
  projectName: string,
63
63
  project: Project,
64
- options?: ProjectsCreateOrUpdateOptionalParams
64
+ options?: ProjectsCreateOrUpdateOptionalParams,
65
65
  ): Promise<ProjectsCreateOrUpdateResponse>;
66
66
  /**
67
67
  * Updates properties for a Project resource. Properties not specified in the request body will be
@@ -77,7 +77,7 @@ export interface Projects {
77
77
  storageMoverName: string,
78
78
  projectName: string,
79
79
  project: ProjectUpdateParameters,
80
- options?: ProjectsUpdateOptionalParams
80
+ options?: ProjectsUpdateOptionalParams,
81
81
  ): Promise<ProjectsUpdateResponse>;
82
82
  /**
83
83
  * Deletes a Project resource.
@@ -90,7 +90,7 @@ export interface Projects {
90
90
  resourceGroupName: string,
91
91
  storageMoverName: string,
92
92
  projectName: string,
93
- options?: ProjectsDeleteOptionalParams
93
+ options?: ProjectsDeleteOptionalParams,
94
94
  ): Promise<SimplePollerLike<OperationState<void>, void>>;
95
95
  /**
96
96
  * Deletes a Project resource.
@@ -103,6 +103,6 @@ export interface Projects {
103
103
  resourceGroupName: string,
104
104
  storageMoverName: string,
105
105
  projectName: string,
106
- options?: ProjectsDeleteOptionalParams
106
+ options?: ProjectsDeleteOptionalParams,
107
107
  ): Promise<void>;
108
108
  }
@@ -19,7 +19,7 @@ import {
19
19
  StorageMoverUpdateParameters,
20
20
  StorageMoversUpdateOptionalParams,
21
21
  StorageMoversUpdateResponse,
22
- StorageMoversDeleteOptionalParams
22
+ StorageMoversDeleteOptionalParams,
23
23
  } from "../models";
24
24
 
25
25
  /// <reference lib="esnext.asynciterable" />
@@ -30,7 +30,7 @@ export interface StorageMovers {
30
30
  * @param options The options parameters.
31
31
  */
32
32
  listBySubscription(
33
- options?: StorageMoversListBySubscriptionOptionalParams
33
+ options?: StorageMoversListBySubscriptionOptionalParams,
34
34
  ): PagedAsyncIterableIterator<StorageMover>;
35
35
  /**
36
36
  * Lists all Storage Movers in a resource group.
@@ -39,7 +39,7 @@ export interface StorageMovers {
39
39
  */
40
40
  list(
41
41
  resourceGroupName: string,
42
- options?: StorageMoversListOptionalParams
42
+ options?: StorageMoversListOptionalParams,
43
43
  ): PagedAsyncIterableIterator<StorageMover>;
44
44
  /**
45
45
  * Gets a Storage Mover resource.
@@ -50,7 +50,7 @@ export interface StorageMovers {
50
50
  get(
51
51
  resourceGroupName: string,
52
52
  storageMoverName: string,
53
- options?: StorageMoversGetOptionalParams
53
+ options?: StorageMoversGetOptionalParams,
54
54
  ): Promise<StorageMoversGetResponse>;
55
55
  /**
56
56
  * Creates or updates a top-level Storage Mover resource.
@@ -64,7 +64,7 @@ export interface StorageMovers {
64
64
  resourceGroupName: string,
65
65
  storageMoverName: string,
66
66
  storageMover: StorageMover,
67
- options?: StorageMoversCreateOrUpdateOptionalParams
67
+ options?: StorageMoversCreateOrUpdateOptionalParams,
68
68
  ): Promise<StorageMoversCreateOrUpdateResponse>;
69
69
  /**
70
70
  * Updates properties for a Storage Mover resource. Properties not specified in the request body will
@@ -78,7 +78,7 @@ export interface StorageMovers {
78
78
  resourceGroupName: string,
79
79
  storageMoverName: string,
80
80
  storageMover: StorageMoverUpdateParameters,
81
- options?: StorageMoversUpdateOptionalParams
81
+ options?: StorageMoversUpdateOptionalParams,
82
82
  ): Promise<StorageMoversUpdateResponse>;
83
83
  /**
84
84
  * Deletes a Storage Mover resource.
@@ -89,7 +89,7 @@ export interface StorageMovers {
89
89
  beginDelete(
90
90
  resourceGroupName: string,
91
91
  storageMoverName: string,
92
- options?: StorageMoversDeleteOptionalParams
92
+ options?: StorageMoversDeleteOptionalParams,
93
93
  ): Promise<SimplePollerLike<OperationState<void>, void>>;
94
94
  /**
95
95
  * Deletes a Storage Mover resource.
@@ -100,6 +100,6 @@ export interface StorageMovers {
100
100
  beginDeleteAndWait(
101
101
  resourceGroupName: string,
102
102
  storageMoverName: string,
103
- options?: StorageMoversDeleteOptionalParams
103
+ options?: StorageMoversDeleteOptionalParams,
104
104
  ): Promise<void>;
105
105
  }
@@ -28,7 +28,7 @@ export function getContinuationToken(page: unknown): string | undefined {
28
28
 
29
29
  export function setContinuationToken(
30
30
  page: unknown,
31
- continuationToken: string | undefined
31
+ continuationToken: string | undefined,
32
32
  ): void {
33
33
  if (typeof page !== "object" || page === null || !continuationToken) {
34
34
  return;
@@ -11,7 +11,7 @@ import * as coreRestPipeline from "@azure/core-rest-pipeline";
11
11
  import {
12
12
  PipelineRequest,
13
13
  PipelineResponse,
14
- SendRequest
14
+ SendRequest,
15
15
  } from "@azure/core-rest-pipeline";
16
16
  import * as coreAuth from "@azure/core-auth";
17
17
  import {
@@ -21,7 +21,7 @@ import {
21
21
  EndpointsImpl,
22
22
  ProjectsImpl,
23
23
  JobDefinitionsImpl,
24
- JobRunsImpl
24
+ JobRunsImpl,
25
25
  } from "./operations";
26
26
  import {
27
27
  Operations,
@@ -30,7 +30,7 @@ import {
30
30
  Endpoints,
31
31
  Projects,
32
32
  JobDefinitions,
33
- JobRuns
33
+ JobRuns,
34
34
  } from "./operationsInterfaces";
35
35
  import { StorageMoverClientOptionalParams } from "./models";
36
36
 
@@ -48,7 +48,7 @@ export class StorageMoverClient extends coreClient.ServiceClient {
48
48
  constructor(
49
49
  credentials: coreAuth.TokenCredential,
50
50
  subscriptionId: string,
51
- options?: StorageMoverClientOptionalParams
51
+ options?: StorageMoverClientOptionalParams,
52
52
  ) {
53
53
  if (credentials === undefined) {
54
54
  throw new Error("'credentials' cannot be null");
@@ -63,10 +63,10 @@ export class StorageMoverClient extends coreClient.ServiceClient {
63
63
  }
64
64
  const defaults: StorageMoverClientOptionalParams = {
65
65
  requestContentType: "application/json; charset=utf-8",
66
- credential: credentials
66
+ credential: credentials,
67
67
  };
68
68
 
69
- const packageDetails = `azsdk-js-arm-storagemover/2.0.1`;
69
+ const packageDetails = `azsdk-js-arm-storagemover/2.1.0`;
70
70
  const userAgentPrefix =
71
71
  options.userAgentOptions && options.userAgentOptions.userAgentPrefix
72
72
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
@@ -76,20 +76,21 @@ export class StorageMoverClient extends coreClient.ServiceClient {
76
76
  ...defaults,
77
77
  ...options,
78
78
  userAgentOptions: {
79
- userAgentPrefix
79
+ userAgentPrefix,
80
80
  },
81
81
  endpoint:
82
- options.endpoint ?? options.baseUri ?? "https://management.azure.com"
82
+ options.endpoint ?? options.baseUri ?? "https://management.azure.com",
83
83
  };
84
84
  super(optionsWithDefaults);
85
85
 
86
86
  let bearerTokenAuthenticationPolicyFound: boolean = false;
87
87
  if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
88
- const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();
88
+ const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =
89
+ options.pipeline.getOrderedPolicies();
89
90
  bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(
90
91
  (pipelinePolicy) =>
91
92
  pipelinePolicy.name ===
92
- coreRestPipeline.bearerTokenAuthenticationPolicyName
93
+ coreRestPipeline.bearerTokenAuthenticationPolicyName,
93
94
  );
94
95
  }
95
96
  if (
@@ -99,7 +100,7 @@ export class StorageMoverClient extends coreClient.ServiceClient {
99
100
  !bearerTokenAuthenticationPolicyFound
100
101
  ) {
101
102
  this.pipeline.removePolicy({
102
- name: coreRestPipeline.bearerTokenAuthenticationPolicyName
103
+ name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
103
104
  });
104
105
  this.pipeline.addPolicy(
105
106
  coreRestPipeline.bearerTokenAuthenticationPolicy({
@@ -109,9 +110,9 @@ export class StorageMoverClient extends coreClient.ServiceClient {
109
110
  `${optionsWithDefaults.endpoint}/.default`,
110
111
  challengeCallbacks: {
111
112
  authorizeRequestOnChallenge:
112
- coreClient.authorizeRequestOnClaimChallenge
113
- }
114
- })
113
+ coreClient.authorizeRequestOnClaimChallenge,
114
+ },
115
+ }),
115
116
  );
116
117
  }
117
118
  // Parameter assignments
@@ -119,7 +120,7 @@ export class StorageMoverClient extends coreClient.ServiceClient {
119
120
 
120
121
  // Assigning values to Constant parameters
121
122
  this.$host = options.$host || "https://management.azure.com";
122
- this.apiVersion = options.apiVersion || "2023-10-01";
123
+ this.apiVersion = options.apiVersion || "2024-07-01";
123
124
  this.operations = new OperationsImpl(this);
124
125
  this.storageMovers = new StorageMoversImpl(this);
125
126
  this.agents = new AgentsImpl(this);
@@ -139,7 +140,7 @@ export class StorageMoverClient extends coreClient.ServiceClient {
139
140
  name: "CustomApiVersionPolicy",
140
141
  async sendRequest(
141
142
  request: PipelineRequest,
142
- next: SendRequest
143
+ next: SendRequest,
143
144
  ): Promise<PipelineResponse> {
144
145
  const param = request.url.split("?");
145
146
  if (param.length > 1) {
@@ -153,7 +154,7 @@ export class StorageMoverClient extends coreClient.ServiceClient {
153
154
  request.url = param[0] + "?" + newParams.join("&");
154
155
  }
155
156
  return next(request);
156
- }
157
+ },
157
158
  };
158
159
  this.pipeline.addPolicy(apiVersionPolicy);
159
160
  }
@@ -56,6 +56,13 @@ export declare interface Agent extends ProxyResource {
56
56
  * NOTE: This property will not be serialized. It can only be populated by the server.
57
57
  */
58
58
  readonly uptimeInSeconds?: number;
59
+ /**
60
+ * The agent's local time zone represented in Windows format.
61
+ * NOTE: This property will not be serialized. It can only be populated by the server.
62
+ */
63
+ readonly timeZone?: string;
64
+ /** The WAN-link upload limit schedule that applies to any Job Run the agent executes. Data plane operations (migrating files) are affected. Control plane operations ensure seamless migration functionality and are not limited by this schedule. The schedule is interpreted with the agent's local time. */
65
+ uploadLimitSchedule?: UploadLimitSchedule;
59
66
  /** NOTE: This property will not be serialized. It can only be populated by the server. */
60
67
  readonly errorDetails?: AgentPropertiesErrorDetails;
61
68
  /**
@@ -197,6 +204,8 @@ export declare type AgentsUpdateResponse = Agent;
197
204
  export declare interface AgentUpdateParameters {
198
205
  /** A description for the Agent. */
199
206
  description?: string;
207
+ /** The WAN-link upload limit schedule that applies to any Job Run the agent executes. Data plane operations (migrating files) are affected. Control plane operations ensure seamless migration functionality and are not limited by this schedule. The schedule is interpreted with the agent's local time. */
208
+ uploadLimitSchedule?: UploadLimitSchedule;
200
209
  }
201
210
 
202
211
  /** The Azure Key Vault secret URIs which store the credentials. */
@@ -279,6 +288,9 @@ export declare type CredentialsUnion = Credentials | AzureKeyVaultSmbCredentials
279
288
  */
280
289
  export declare type CredentialType = string;
281
290
 
291
+ /** Defines values for DayOfWeek. */
292
+ export declare type DayOfWeek = "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday";
293
+
282
294
  /** The Endpoint resource, which contains information about file sources and targets. */
283
295
  export declare interface Endpoint extends ProxyResource {
284
296
  /** The resource specific properties for the Storage Mover resource. */
@@ -618,7 +630,8 @@ export declare interface JobDefinitions {
618
630
  */
619
631
  beginDeleteAndWait(resourceGroupName: string, storageMoverName: string, projectName: string, jobDefinitionName: string, options?: JobDefinitionsDeleteOptionalParams): Promise<void>;
620
632
  /**
621
- * Requests an Agent to start a new instance of this Job Definition, generating a new Job Run resource.
633
+ * Creates a new Job Run resource for the specified Job Definition and passes it to the Agent for
634
+ * execution.
622
635
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
623
636
  * @param storageMoverName The name of the Storage Mover resource.
624
637
  * @param projectName The name of the Project resource.
@@ -945,7 +958,8 @@ export declare type JobRunsListResponse = JobRunList;
945
958
  * **Canceling** \
946
959
  * **Canceled** \
947
960
  * **Failed** \
948
- * **Succeeded**
961
+ * **Succeeded** \
962
+ * **PausedByBandwidthManagement**
949
963
  */
950
964
  export declare type JobRunStatus = string;
951
965
 
@@ -1036,7 +1050,17 @@ export declare enum KnownJobRunStatus {
1036
1050
  /** Failed */
1037
1051
  Failed = "Failed",
1038
1052
  /** Succeeded */
1039
- Succeeded = "Succeeded"
1053
+ Succeeded = "Succeeded",
1054
+ /** PausedByBandwidthManagement */
1055
+ PausedByBandwidthManagement = "PausedByBandwidthManagement"
1056
+ }
1057
+
1058
+ /** Known values of {@link Minute} that the service accepts. */
1059
+ export declare enum KnownMinute {
1060
+ /** Zero */
1061
+ Zero = 0,
1062
+ /** Thirty */
1063
+ Thirty = 30
1040
1064
  }
1041
1065
 
1042
1066
  /** Known values of {@link NfsVersion} that the service accepts. */
@@ -1062,9 +1086,25 @@ export declare enum KnownOrigin {
1062
1086
  /** Known values of {@link ProvisioningState} that the service accepts. */
1063
1087
  export declare enum KnownProvisioningState {
1064
1088
  /** Succeeded */
1065
- Succeeded = "Succeeded"
1089
+ Succeeded = "Succeeded",
1090
+ /** Canceled */
1091
+ Canceled = "Canceled",
1092
+ /** Failed */
1093
+ Failed = "Failed",
1094
+ /** Deleting */
1095
+ Deleting = "Deleting"
1066
1096
  }
1067
1097
 
1098
+ /**
1099
+ * Defines values for Minute. \
1100
+ * {@link KnownMinute} can be used interchangeably with Minute,
1101
+ * this enum contains the known values that the service supports.
1102
+ * ### Known values supported by the service
1103
+ * **0** \
1104
+ * **30**
1105
+ */
1106
+ export declare type Minute = number;
1107
+
1068
1108
  /** The properties of NFS share endpoint. */
1069
1109
  export declare interface NfsMountEndpointProperties extends EndpointBaseProperties {
1070
1110
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -1321,7 +1361,10 @@ export declare interface ProjectUpdateParameters {
1321
1361
  * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
1322
1362
  * this enum contains the known values that the service supports.
1323
1363
  * ### Known values supported by the service
1324
- * **Succeeded**
1364
+ * **Succeeded** \
1365
+ * **Canceled** \
1366
+ * **Failed** \
1367
+ * **Deleting**
1325
1368
  */
1326
1369
  export declare type ProvisioningState = string;
1327
1370
 
@@ -1329,6 +1372,14 @@ export declare type ProvisioningState = string;
1329
1372
  export declare interface ProxyResource extends Resource {
1330
1373
  }
1331
1374
 
1375
+ /** The schedule recurrence. */
1376
+ export declare interface Recurrence {
1377
+ /** The start time of the schedule recurrence. Full hour and 30-minute intervals are supported. */
1378
+ startTime: Time;
1379
+ /** The end time of the schedule recurrence. Full hour and 30-minute intervals are supported. */
1380
+ endTime: Time;
1381
+ }
1382
+
1332
1383
  /** Common fields that are returned in the response for all Azure Resource Manager resources */
1333
1384
  export declare interface Resource {
1334
1385
  /**
@@ -1564,6 +1615,14 @@ export declare interface SystemData {
1564
1615
  lastModifiedAt?: Date;
1565
1616
  }
1566
1617
 
1618
+ /** The time of day. */
1619
+ export declare interface Time {
1620
+ /** The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). Hour value 24 cannot be combined with any other minute value but 0. */
1621
+ hour: number;
1622
+ /** The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0. */
1623
+ minute?: Minute;
1624
+ }
1625
+
1567
1626
  /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
1568
1627
  export declare interface TrackedResource extends Resource {
1569
1628
  /** Resource tags. */
@@ -1574,4 +1633,26 @@ export declare interface TrackedResource extends Resource {
1574
1633
  location: string;
1575
1634
  }
1576
1635
 
1636
+ /** The WAN-link upload limit. */
1637
+ export declare interface UploadLimit {
1638
+ /** The WAN-link upload bandwidth (maximum data transfer rate) in megabits per second. Value of 0 indicates no throughput is allowed and any running migration job is effectively paused for the duration of this recurrence. Only data plane operations are governed by this limit. Control plane operations ensure seamless functionality. The agent may exceed this limit with control messages, if necessary. */
1639
+ limitInMbps: number;
1640
+ }
1641
+
1642
+ /** The WAN-link upload limit schedule. Overlapping recurrences are not allowed. */
1643
+ export declare interface UploadLimitSchedule {
1644
+ /** The set of weekly repeating recurrences of the WAN-link upload limit schedule. */
1645
+ weeklyRecurrences?: UploadLimitWeeklyRecurrence[];
1646
+ }
1647
+
1648
+ /** The weekly recurrence of the WAN-link upload limit schedule. The start time must be earlier in the day than the end time. The recurrence must not span across multiple days. */
1649
+ export declare interface UploadLimitWeeklyRecurrence extends WeeklyRecurrence, UploadLimit {
1650
+ }
1651
+
1652
+ /** The weekly recurrence of the schedule. */
1653
+ export declare interface WeeklyRecurrence extends Recurrence {
1654
+ /** The set of days of week for the schedule recurrence. A day must not be specified more than once in a recurrence. */
1655
+ days: DayOfWeek[];
1656
+ }
1657
+
1577
1658
  export { }
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.43.1"
8
+ "packageVersion": "7.47.0"
9
9
  }
10
10
  ]
11
11
  }