azure-mock 2.19.2 → 2.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +67 -35
- package/dist/index.js +31005 -31019
- package/package.json +12 -10
package/dist/index.d.ts
CHANGED
|
@@ -369,7 +369,7 @@ interface OperationTracingOptions {
|
|
|
369
369
|
tracingContext?: TracingContext;
|
|
370
370
|
}
|
|
371
371
|
//#endregion
|
|
372
|
-
//#region ../../node_modules/.pnpm/@azure+core-rest-pipeline@1.
|
|
372
|
+
//#region ../../node_modules/.pnpm/@azure+core-rest-pipeline@1.23.0/node_modules/@azure/core-rest-pipeline/dist/esm/interfaces.d.ts
|
|
373
373
|
/**
|
|
374
374
|
* A HttpHeaders collection represented as a simple JSON object.
|
|
375
375
|
*/
|
|
@@ -770,7 +770,7 @@ interface PxfObject {
|
|
|
770
770
|
passphrase?: string | undefined;
|
|
771
771
|
}
|
|
772
772
|
//#endregion
|
|
773
|
-
//#region ../../node_modules/.pnpm/@azure+core-rest-pipeline@1.
|
|
773
|
+
//#region ../../node_modules/.pnpm/@azure+core-rest-pipeline@1.23.0/node_modules/@azure/core-rest-pipeline/dist/esm/pipeline.d.ts
|
|
774
774
|
/**
|
|
775
775
|
* Policies are executed in phases.
|
|
776
776
|
* The execution order is:
|
|
@@ -858,7 +858,7 @@ interface Pipeline$1 {
|
|
|
858
858
|
clone(): Pipeline$1;
|
|
859
859
|
}
|
|
860
860
|
//#endregion
|
|
861
|
-
//#region ../../node_modules/.pnpm/@azure+core-rest-pipeline@1.
|
|
861
|
+
//#region ../../node_modules/.pnpm/@azure+core-rest-pipeline@1.23.0/node_modules/@azure/core-rest-pipeline/dist/esm/policies/redirectPolicy.d.ts
|
|
862
862
|
/**
|
|
863
863
|
* Options for how redirect responses are handled.
|
|
864
864
|
*/
|
|
@@ -868,9 +868,16 @@ interface RedirectPolicyOptions {
|
|
|
868
868
|
* failing. Defaults to 20.
|
|
869
869
|
*/
|
|
870
870
|
maxRetries?: number;
|
|
871
|
+
/**
|
|
872
|
+
* Whether to follow redirects to a different origin (scheme + host + port).
|
|
873
|
+
* When false (the default), cross-origin redirects are not followed and the
|
|
874
|
+
* redirect response is returned directly to the caller.
|
|
875
|
+
* Defaults to false.
|
|
876
|
+
*/
|
|
877
|
+
allowCrossOriginRedirects?: boolean;
|
|
871
878
|
}
|
|
872
879
|
//#endregion
|
|
873
|
-
//#region ../../node_modules/.pnpm/@azure+core-rest-pipeline@1.
|
|
880
|
+
//#region ../../node_modules/.pnpm/@azure+core-rest-pipeline@1.23.0/node_modules/@azure/core-rest-pipeline/dist/esm/policies/userAgentPolicy.d.ts
|
|
874
881
|
/**
|
|
875
882
|
* Options for adding user agent details to outgoing requests.
|
|
876
883
|
*/
|
|
@@ -882,7 +889,7 @@ interface UserAgentPolicyOptions {
|
|
|
882
889
|
userAgentPrefix?: string;
|
|
883
890
|
}
|
|
884
891
|
//#endregion
|
|
885
|
-
//#region ../../node_modules/.pnpm/@azure+core-rest-pipeline@1.
|
|
892
|
+
//#region ../../node_modules/.pnpm/@azure+core-rest-pipeline@1.23.0/node_modules/@azure/core-rest-pipeline/dist/esm/createPipelineFromOptions.d.ts
|
|
886
893
|
/**
|
|
887
894
|
* Defines options that are used to configure the HTTP pipeline for
|
|
888
895
|
* an SDK client.
|
|
@@ -923,7 +930,7 @@ interface TelemetryOptions {
|
|
|
923
930
|
clientRequestIdHeaderName?: string;
|
|
924
931
|
}
|
|
925
932
|
//#endregion
|
|
926
|
-
//#region ../../node_modules/.pnpm/@azure+core-rest-pipeline@1.
|
|
933
|
+
//#region ../../node_modules/.pnpm/@azure+core-rest-pipeline@1.23.0/node_modules/@azure/core-rest-pipeline/dist/esm/index.d.ts
|
|
927
934
|
declare global {
|
|
928
935
|
interface FormData {}
|
|
929
936
|
interface Blob {}
|
|
@@ -1757,7 +1764,7 @@ declare class MockBlobBatchClient implements BlobBatchClient {
|
|
|
1757
1764
|
getContainer(containerName: string): MapValue<typeof MockContainerDatabase>;
|
|
1758
1765
|
}
|
|
1759
1766
|
//#endregion
|
|
1760
|
-
//#region ../../node_modules/.pnpm/type-fest@5.
|
|
1767
|
+
//#region ../../node_modules/.pnpm/type-fest@5.5.0/node_modules/type-fest/source/is-any.d.ts
|
|
1761
1768
|
/**
|
|
1762
1769
|
Returns a boolean for whether the given type is `any`.
|
|
1763
1770
|
|
|
@@ -1788,7 +1795,7 @@ const anyA = get(anyObject, 'a');
|
|
|
1788
1795
|
*/
|
|
1789
1796
|
type IsAny<T> = 0 extends 1 & NoInfer<T> ? true : false;
|
|
1790
1797
|
//#endregion
|
|
1791
|
-
//#region ../../node_modules/.pnpm/type-fest@5.
|
|
1798
|
+
//#region ../../node_modules/.pnpm/type-fest@5.5.0/node_modules/type-fest/source/is-optional-key-of.d.ts
|
|
1792
1799
|
/**
|
|
1793
1800
|
Returns a boolean for whether the given key is an optional key of type.
|
|
1794
1801
|
|
|
@@ -1831,7 +1838,7 @@ type T5 = IsOptionalKeyOf<User | Admin, 'surname'>;
|
|
|
1831
1838
|
*/
|
|
1832
1839
|
type IsOptionalKeyOf<Type extends object, Key extends keyof Type> = IsAny<Type | Key> extends true ? never : Key extends keyof Type ? Type extends Record<Key, Type[Key]> ? false : true : false;
|
|
1833
1840
|
//#endregion
|
|
1834
|
-
//#region ../../node_modules/.pnpm/type-fest@5.
|
|
1841
|
+
//#region ../../node_modules/.pnpm/type-fest@5.5.0/node_modules/type-fest/source/optional-keys-of.d.ts
|
|
1835
1842
|
/**
|
|
1836
1843
|
Extract all optional keys from the given type.
|
|
1837
1844
|
|
|
@@ -1869,7 +1876,7 @@ type OptionalKeysOf<Type extends object> = Type extends unknown // For distribut
|
|
|
1869
1876
|
? (keyof { [Key in keyof Type as IsOptionalKeyOf<Type, Key> extends false ? never : Key]: never }) & keyof Type // Intersect with `keyof Type` to ensure result of `OptionalKeysOf<Type>` is always assignable to `keyof Type`
|
|
1870
1877
|
: never;
|
|
1871
1878
|
//#endregion
|
|
1872
|
-
//#region ../../node_modules/.pnpm/type-fest@5.
|
|
1879
|
+
//#region ../../node_modules/.pnpm/type-fest@5.5.0/node_modules/type-fest/source/required-keys-of.d.ts
|
|
1873
1880
|
/**
|
|
1874
1881
|
Extract all required keys from the given type.
|
|
1875
1882
|
|
|
@@ -1903,7 +1910,7 @@ const validator3 = createValidation<User>('luckyNumber', value => value > 0);
|
|
|
1903
1910
|
type RequiredKeysOf<Type extends object> = Type extends unknown // For distributing `Type`
|
|
1904
1911
|
? Exclude<keyof Type, OptionalKeysOf<Type>> : never;
|
|
1905
1912
|
//#endregion
|
|
1906
|
-
//#region ../../node_modules/.pnpm/type-fest@5.
|
|
1913
|
+
//#region ../../node_modules/.pnpm/type-fest@5.5.0/node_modules/type-fest/source/is-never.d.ts
|
|
1907
1914
|
/**
|
|
1908
1915
|
Returns a boolean for whether the given type is `never`.
|
|
1909
1916
|
|
|
@@ -1959,7 +1966,7 @@ type B = IsTrueFixed<never>;
|
|
|
1959
1966
|
*/
|
|
1960
1967
|
type IsNever<T> = [T] extends [never] ? true : false;
|
|
1961
1968
|
//#endregion
|
|
1962
|
-
//#region ../../node_modules/.pnpm/type-fest@5.
|
|
1969
|
+
//#region ../../node_modules/.pnpm/type-fest@5.5.0/node_modules/type-fest/source/if.d.ts
|
|
1963
1970
|
/**
|
|
1964
1971
|
An if-else-like type that resolves depending on whether the given `boolean` type is `true` or `false`.
|
|
1965
1972
|
|
|
@@ -2054,7 +2061,7 @@ type Works = IncludesWithoutIf<HundredZeroes, '1'>;
|
|
|
2054
2061
|
*/
|
|
2055
2062
|
type If<Type extends boolean, IfBranch, ElseBranch> = IsNever<Type> extends true ? ElseBranch : Type extends true ? IfBranch : ElseBranch;
|
|
2056
2063
|
//#endregion
|
|
2057
|
-
//#region ../../node_modules/.pnpm/type-fest@5.
|
|
2064
|
+
//#region ../../node_modules/.pnpm/type-fest@5.5.0/node_modules/type-fest/source/simplify.d.ts
|
|
2058
2065
|
/**
|
|
2059
2066
|
Useful to flatten the type output to improve type hints shown in editors. And also to transform an interface into a type to aide with assignability.
|
|
2060
2067
|
|
|
@@ -2115,7 +2122,7 @@ fn(someInterface as Simplify<SomeInterface>); // Good: transform an `interface`
|
|
|
2115
2122
|
*/
|
|
2116
2123
|
type Simplify<T> = { [KeyType in keyof T]: T[KeyType] } & {};
|
|
2117
2124
|
//#endregion
|
|
2118
|
-
//#region ../../node_modules/.pnpm/type-fest@5.
|
|
2125
|
+
//#region ../../node_modules/.pnpm/type-fest@5.5.0/node_modules/type-fest/source/is-equal.d.ts
|
|
2119
2126
|
/**
|
|
2120
2127
|
Returns a boolean for whether the two given types are equal.
|
|
2121
2128
|
|
|
@@ -2146,7 +2153,7 @@ type IsEqual<A, B> = [A] extends [B] ? [B] extends [A] ? _IsEqual<A, B> : false
|
|
|
2146
2153
|
// This version fails the `equalWrappedTupleIntersectionToBeNeverAndNeverExpanded` test in `test-d/is-equal.ts`.
|
|
2147
2154
|
type _IsEqual<A, B> = (<G>() => G extends A & G | G ? 1 : 2) extends (<G>() => G extends B & G | G ? 1 : 2) ? true : false;
|
|
2148
2155
|
//#endregion
|
|
2149
|
-
//#region ../../node_modules/.pnpm/type-fest@5.
|
|
2156
|
+
//#region ../../node_modules/.pnpm/type-fest@5.5.0/node_modules/type-fest/source/omit-index-signature.d.ts
|
|
2150
2157
|
/**
|
|
2151
2158
|
Omit any index signatures from the given object type, leaving only explicitly defined properties.
|
|
2152
2159
|
|
|
@@ -2240,7 +2247,7 @@ type ExampleWithoutIndexSignatures = OmitIndexSignature<Example>;
|
|
|
2240
2247
|
*/
|
|
2241
2248
|
type OmitIndexSignature<ObjectType> = { [KeyType in keyof ObjectType as {} extends Record<KeyType, unknown> ? never : KeyType]: ObjectType[KeyType] };
|
|
2242
2249
|
//#endregion
|
|
2243
|
-
//#region ../../node_modules/.pnpm/type-fest@5.
|
|
2250
|
+
//#region ../../node_modules/.pnpm/type-fest@5.5.0/node_modules/type-fest/source/pick-index-signature.d.ts
|
|
2244
2251
|
/**
|
|
2245
2252
|
Pick only index signatures from the given object type, leaving out all explicitly defined properties.
|
|
2246
2253
|
|
|
@@ -2288,12 +2295,37 @@ type ExampleIndexSignature = PickIndexSignature<Example>;
|
|
|
2288
2295
|
*/
|
|
2289
2296
|
type PickIndexSignature<ObjectType> = { [KeyType in keyof ObjectType as {} extends Record<KeyType, unknown> ? KeyType : never]: ObjectType[KeyType] };
|
|
2290
2297
|
//#endregion
|
|
2291
|
-
//#region ../../node_modules/.pnpm/type-fest@5.
|
|
2298
|
+
//#region ../../node_modules/.pnpm/type-fest@5.5.0/node_modules/type-fest/source/merge.d.ts
|
|
2292
2299
|
// Merges two objects without worrying about index signatures.
|
|
2293
2300
|
type SimpleMerge<Destination, Source> = Simplify<{ [Key in keyof Destination as Key extends keyof Source ? never : Key]: Destination[Key] } & Source>;
|
|
2294
2301
|
/**
|
|
2295
2302
|
Merge two types into a new type. Keys of the second type overrides keys of the first type.
|
|
2296
2303
|
|
|
2304
|
+
This is different from the TypeScript `&` (intersection) operator. With `&`, conflicting property types are intersected, which often results in `never`. For example, `{a: string} & {a: number}` makes `a` become `string & number`, which resolves to `never`. With `Merge`, the second type's keys cleanly override the first, so `Merge<{a: string}, {a: number}>` gives `{a: number}` as expected. `Merge` also produces a flattened type (via `Simplify`), making it more readable in IDE tooltips compared to `A & B`.
|
|
2305
|
+
|
|
2306
|
+
@example
|
|
2307
|
+
```
|
|
2308
|
+
import type {Merge} from 'type-fest';
|
|
2309
|
+
|
|
2310
|
+
type Foo = {
|
|
2311
|
+
a: string;
|
|
2312
|
+
b: number;
|
|
2313
|
+
};
|
|
2314
|
+
|
|
2315
|
+
type Bar = {
|
|
2316
|
+
a: number; // Conflicts with Foo['a']
|
|
2317
|
+
c: boolean;
|
|
2318
|
+
};
|
|
2319
|
+
|
|
2320
|
+
// With `&`, `a` becomes `string & number` which is `never`. Not what you want.
|
|
2321
|
+
type WithIntersection = (Foo & Bar)['a'];
|
|
2322
|
+
//=> never
|
|
2323
|
+
|
|
2324
|
+
// With `Merge`, `a` is cleanly overridden to `number`.
|
|
2325
|
+
type WithMerge = Merge<Foo, Bar>['a'];
|
|
2326
|
+
//=> number
|
|
2327
|
+
```
|
|
2328
|
+
|
|
2297
2329
|
@example
|
|
2298
2330
|
```
|
|
2299
2331
|
import type {Merge} from 'type-fest';
|
|
@@ -2335,7 +2367,7 @@ type Merge<Destination, Source> = Destination extends unknown // For distributin
|
|
|
2335
2367
|
// Should never happen
|
|
2336
2368
|
type _Merge<Destination, Source> = Simplify<SimpleMerge<PickIndexSignature<Destination>, PickIndexSignature<Source>> & SimpleMerge<OmitIndexSignature<Destination>, OmitIndexSignature<Source>>>;
|
|
2337
2369
|
//#endregion
|
|
2338
|
-
//#region ../../node_modules/.pnpm/type-fest@5.
|
|
2370
|
+
//#region ../../node_modules/.pnpm/type-fest@5.5.0/node_modules/type-fest/source/internal/object.d.ts
|
|
2339
2371
|
/**
|
|
2340
2372
|
Merges user specified options with default options.
|
|
2341
2373
|
|
|
@@ -2390,7 +2422,7 @@ type Result = ApplyDefaultOptions<PathsOptions, DefaultPathsOptions, SpecifiedOp
|
|
|
2390
2422
|
*/
|
|
2391
2423
|
type ApplyDefaultOptions<Options extends object, Defaults extends Simplify<Omit<Required<Options>, RequiredKeysOf<Options>> & Partial<Record<RequiredKeysOf<Options>, never>>>, SpecifiedOptions extends Options> = If<IsAny<SpecifiedOptions>, Defaults, If<IsNever<SpecifiedOptions>, Defaults, Simplify<Merge<Defaults, { [Key in keyof SpecifiedOptions as Key extends OptionalKeysOf<Options> ? undefined extends SpecifiedOptions[Key] ? never : Key : Key]: SpecifiedOptions[Key] }> & Required<Options>>>>;
|
|
2392
2424
|
//#endregion
|
|
2393
|
-
//#region ../../node_modules/.pnpm/type-fest@5.
|
|
2425
|
+
//#region ../../node_modules/.pnpm/type-fest@5.5.0/node_modules/type-fest/source/except.d.ts
|
|
2394
2426
|
/**
|
|
2395
2427
|
Filter out keys from an object.
|
|
2396
2428
|
|
|
@@ -2607,7 +2639,7 @@ declare class MockEventGridPublisherClient implements Except<EventGridPublisherC
|
|
|
2607
2639
|
send(newEvents: EventGridEvent<unknown>[]): Promise<void>;
|
|
2608
2640
|
}
|
|
2609
2641
|
//#endregion
|
|
2610
|
-
//#region ../../node_modules/.pnpm/@azure+core-http-compat@2.3.1/node_modules/@azure/core-http-compat/dist/esm/policies/keepAliveOptions.d.ts
|
|
2642
|
+
//#region ../../node_modules/.pnpm/@azure+core-http-compat@2.3.2_@azure+core-client@1.10.1_@azure+core-rest-pipeline@1.23.0/node_modules/@azure/core-http-compat/dist/esm/policies/keepAliveOptions.d.ts
|
|
2611
2643
|
/**
|
|
2612
2644
|
* Keep Alive Options for how HTTP connections.
|
|
2613
2645
|
*/
|
|
@@ -2619,7 +2651,7 @@ interface KeepAliveOptions {
|
|
|
2619
2651
|
enable?: boolean;
|
|
2620
2652
|
}
|
|
2621
2653
|
//#endregion
|
|
2622
|
-
//#region ../../node_modules/.pnpm/@azure+core-http-compat@2.3.1/node_modules/@azure/core-http-compat/dist/esm/policies/redirectOptions.d.ts
|
|
2654
|
+
//#region ../../node_modules/.pnpm/@azure+core-http-compat@2.3.2_@azure+core-client@1.10.1_@azure+core-rest-pipeline@1.23.0/node_modules/@azure/core-http-compat/dist/esm/policies/redirectOptions.d.ts
|
|
2623
2655
|
/**
|
|
2624
2656
|
* Options for how redirect responses are handled.
|
|
2625
2657
|
*/
|
|
@@ -2635,7 +2667,7 @@ interface RedirectOptions {
|
|
|
2635
2667
|
maxRetries?: number;
|
|
2636
2668
|
}
|
|
2637
2669
|
//#endregion
|
|
2638
|
-
//#region ../../node_modules/.pnpm/@azure+core-http-compat@2.3.1/node_modules/@azure/core-http-compat/dist/esm/extendedClient.d.ts
|
|
2670
|
+
//#region ../../node_modules/.pnpm/@azure+core-http-compat@2.3.2_@azure+core-client@1.10.1_@azure+core-rest-pipeline@1.23.0/node_modules/@azure/core-http-compat/dist/esm/extendedClient.d.ts
|
|
2639
2671
|
/**
|
|
2640
2672
|
* Options specific to Shim Clients.
|
|
2641
2673
|
*/
|
|
@@ -2668,7 +2700,7 @@ declare class ExtendedServiceClient extends ServiceClient {
|
|
|
2668
2700
|
sendOperationRequest<T>(operationArguments: OperationArguments, operationSpec: OperationSpec): Promise<T>;
|
|
2669
2701
|
}
|
|
2670
2702
|
//#endregion
|
|
2671
|
-
//#region ../../node_modules/.pnpm/@azure+core-http-compat@2.3.1/node_modules/@azure/core-http-compat/dist/esm/util.d.ts
|
|
2703
|
+
//#region ../../node_modules/.pnpm/@azure+core-http-compat@2.3.2_@azure+core-client@1.10.1_@azure+core-rest-pipeline@1.23.0/node_modules/@azure/core-http-compat/dist/esm/util.d.ts
|
|
2672
2704
|
/**
|
|
2673
2705
|
* An individual header within a HttpHeaders collection.
|
|
2674
2706
|
*/
|
|
@@ -2890,7 +2922,7 @@ type TransferProgressEvent = {
|
|
|
2890
2922
|
loadedBytes: number;
|
|
2891
2923
|
};
|
|
2892
2924
|
//#endregion
|
|
2893
|
-
//#region ../../node_modules/.pnpm/@azure+core-http-compat@2.3.1/node_modules/@azure/core-http-compat/dist/esm/response.d.ts
|
|
2925
|
+
//#region ../../node_modules/.pnpm/@azure+core-http-compat@2.3.2_@azure+core-client@1.10.1_@azure+core-rest-pipeline@1.23.0/node_modules/@azure/core-http-compat/dist/esm/response.d.ts
|
|
2894
2926
|
/**
|
|
2895
2927
|
* Http Response that is compatible with the core-v1(core-http).
|
|
2896
2928
|
*/
|
|
@@ -2905,7 +2937,7 @@ interface CompatResponse extends Omit<FullOperationResponse, "request" | "header
|
|
|
2905
2937
|
headers: HttpHeadersLike;
|
|
2906
2938
|
}
|
|
2907
2939
|
//#endregion
|
|
2908
|
-
//#region ../../node_modules/.pnpm/@azure+core-http-compat@2.3.1/node_modules/@azure/core-http-compat/dist/esm/policies/requestPolicyFactoryPolicy.d.ts
|
|
2940
|
+
//#region ../../node_modules/.pnpm/@azure+core-http-compat@2.3.2_@azure+core-client@1.10.1_@azure+core-rest-pipeline@1.23.0/node_modules/@azure/core-http-compat/dist/esm/policies/requestPolicyFactoryPolicy.d.ts
|
|
2909
2941
|
/**
|
|
2910
2942
|
* A compatible interface for core-http request policies
|
|
2911
2943
|
*/
|
|
@@ -2935,7 +2967,7 @@ interface RequestPolicyFactory {
|
|
|
2935
2967
|
create(nextPolicy: RequestPolicy, options: RequestPolicyOptionsLike): RequestPolicy;
|
|
2936
2968
|
}
|
|
2937
2969
|
//#endregion
|
|
2938
|
-
//#region ../../node_modules/.pnpm/@azure+storage-common@12.3.
|
|
2970
|
+
//#region ../../node_modules/.pnpm/@azure+storage-common@12.3.0_@azure+core-client@1.10.1/node_modules/@azure/storage-common/dist/esm/policies/RequestPolicy.d.ts
|
|
2939
2971
|
/**
|
|
2940
2972
|
* The base class from which all request policies derive.
|
|
2941
2973
|
*/
|
|
@@ -2982,7 +3014,7 @@ declare abstract class BaseRequestPolicy implements RequestPolicy {
|
|
|
2982
3014
|
log(logLevel: HttpPipelineLogLevel, message: string): void;
|
|
2983
3015
|
}
|
|
2984
3016
|
//#endregion
|
|
2985
|
-
//#region ../../node_modules/.pnpm/@azure+storage-common@12.3.
|
|
3017
|
+
//#region ../../node_modules/.pnpm/@azure+storage-common@12.3.0_@azure+core-client@1.10.1/node_modules/@azure/storage-common/dist/esm/policies/CredentialPolicy.d.ts
|
|
2986
3018
|
/**
|
|
2987
3019
|
* Credential policy used to sign HTTP(S) requests before sending. This is an
|
|
2988
3020
|
* abstract class.
|
|
@@ -3003,7 +3035,7 @@ declare abstract class CredentialPolicy extends BaseRequestPolicy {
|
|
|
3003
3035
|
protected signRequest(request: WebResourceLike): WebResourceLike;
|
|
3004
3036
|
}
|
|
3005
3037
|
//#endregion
|
|
3006
|
-
//#region ../../node_modules/.pnpm/@azure+storage-common@12.3.
|
|
3038
|
+
//#region ../../node_modules/.pnpm/@azure+storage-common@12.3.0_@azure+core-client@1.10.1/node_modules/@azure/storage-common/dist/esm/policies/AnonymousCredentialPolicy.d.ts
|
|
3007
3039
|
/**
|
|
3008
3040
|
* AnonymousCredentialPolicy is used with HTTP(S) requests that read public resources
|
|
3009
3041
|
* or for use with Shared Access Signatures (SAS).
|
|
@@ -3017,7 +3049,7 @@ declare class AnonymousCredentialPolicy extends CredentialPolicy {
|
|
|
3017
3049
|
constructor(nextPolicy: RequestPolicy, options: RequestPolicyOptionsLike);
|
|
3018
3050
|
}
|
|
3019
3051
|
//#endregion
|
|
3020
|
-
//#region ../../node_modules/.pnpm/@azure+storage-common@12.3.
|
|
3052
|
+
//#region ../../node_modules/.pnpm/@azure+storage-common@12.3.0_@azure+core-client@1.10.1/node_modules/@azure/storage-common/dist/esm/credentials/Credential.d.ts
|
|
3021
3053
|
/**
|
|
3022
3054
|
* Credential is an abstract class for Azure Storage HTTP requests signing. This
|
|
3023
3055
|
* class will host an credentialPolicyCreator factory which generates CredentialPolicy.
|
|
@@ -3032,7 +3064,7 @@ declare abstract class Credential implements RequestPolicyFactory {
|
|
|
3032
3064
|
create(_nextPolicy: RequestPolicy, _options: RequestPolicyOptionsLike): RequestPolicy;
|
|
3033
3065
|
}
|
|
3034
3066
|
//#endregion
|
|
3035
|
-
//#region ../../node_modules/.pnpm/@azure+storage-common@12.3.
|
|
3067
|
+
//#region ../../node_modules/.pnpm/@azure+storage-common@12.3.0_@azure+core-client@1.10.1/node_modules/@azure/storage-common/dist/esm/credentials/AnonymousCredential.d.ts
|
|
3036
3068
|
/**
|
|
3037
3069
|
* AnonymousCredential provides a credentialPolicyCreator member used to create
|
|
3038
3070
|
* AnonymousCredentialPolicy objects. AnonymousCredentialPolicy is used with
|
|
@@ -3049,7 +3081,7 @@ declare class AnonymousCredential$1 extends Credential {
|
|
|
3049
3081
|
create(nextPolicy: RequestPolicy, options: RequestPolicyOptionsLike): AnonymousCredentialPolicy;
|
|
3050
3082
|
}
|
|
3051
3083
|
//#endregion
|
|
3052
|
-
//#region ../../node_modules/.pnpm/@azure+storage-common@12.3.
|
|
3084
|
+
//#region ../../node_modules/.pnpm/@azure+storage-common@12.3.0_@azure+core-client@1.10.1/node_modules/@azure/storage-common/dist/esm/policies/StorageSharedKeyCredentialPolicy.d.ts
|
|
3053
3085
|
/**
|
|
3054
3086
|
* StorageSharedKeyCredentialPolicy is a policy used to sign HTTP request with a shared key.
|
|
3055
3087
|
*/
|
|
@@ -3101,7 +3133,7 @@ declare class StorageSharedKeyCredentialPolicy extends CredentialPolicy {
|
|
|
3101
3133
|
private getCanonicalizedResourceString;
|
|
3102
3134
|
}
|
|
3103
3135
|
//#endregion
|
|
3104
|
-
//#region ../../node_modules/.pnpm/@azure+storage-common@12.3.
|
|
3136
|
+
//#region ../../node_modules/.pnpm/@azure+storage-common@12.3.0_@azure+core-client@1.10.1/node_modules/@azure/storage-common/dist/esm/credentials/StorageSharedKeyCredential.d.ts
|
|
3105
3137
|
/**
|
|
3106
3138
|
* ONLY AVAILABLE IN NODE.JS RUNTIME.
|
|
3107
3139
|
*
|
|
@@ -3137,7 +3169,7 @@ declare class StorageSharedKeyCredential$1 extends Credential {
|
|
|
3137
3169
|
computeHMACSHA256(stringToSign: string): string;
|
|
3138
3170
|
}
|
|
3139
3171
|
//#endregion
|
|
3140
|
-
//#region ../../node_modules/.pnpm/@azure+storage-common@12.3.
|
|
3172
|
+
//#region ../../node_modules/.pnpm/@azure+storage-common@12.3.0_@azure+core-client@1.10.1/node_modules/@azure/storage-common/dist/esm/policies/StorageRetryPolicyType.d.ts
|
|
3141
3173
|
/**
|
|
3142
3174
|
* RetryPolicy types.
|
|
3143
3175
|
*/
|
|
@@ -3152,7 +3184,7 @@ declare enum StorageRetryPolicyType {
|
|
|
3152
3184
|
FIXED = 1
|
|
3153
3185
|
}
|
|
3154
3186
|
//#endregion
|
|
3155
|
-
//#region ../../node_modules/.pnpm/@azure+storage-common@12.3.
|
|
3187
|
+
//#region ../../node_modules/.pnpm/@azure+storage-common@12.3.0_@azure+core-client@1.10.1/node_modules/@azure/storage-common/dist/esm/StorageRetryPolicyFactory.d.ts
|
|
3156
3188
|
/**
|
|
3157
3189
|
* Storage Blob retry options interface.
|
|
3158
3190
|
*/
|
|
@@ -3197,7 +3229,7 @@ interface StorageRetryOptions {
|
|
|
3197
3229
|
readonly secondaryHost?: string;
|
|
3198
3230
|
}
|
|
3199
3231
|
//#endregion
|
|
3200
|
-
//#region ../../node_modules/.pnpm/@azure+storage-common@12.3.
|
|
3232
|
+
//#region ../../node_modules/.pnpm/@azure+storage-common@12.3.0_@azure+core-client@1.10.1/node_modules/@azure/storage-common/dist/esm/credentials/UserDelegationKeyCredential.d.ts
|
|
3201
3233
|
/**
|
|
3202
3234
|
* A user delegation key.
|
|
3203
3235
|
*/
|