@azure/arm-trustedsigning 1.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/LICENSE +21 -0
- package/README.md +100 -0
- package/dist/browser/api/certificateProfiles/index.d.ts +32 -0
- package/dist/browser/api/certificateProfiles/index.d.ts.map +1 -0
- package/dist/browser/api/certificateProfiles/index.js +331 -0
- package/dist/browser/api/certificateProfiles/index.js.map +1 -0
- package/dist/browser/api/codeSigningAccounts/index.d.ts +40 -0
- package/dist/browser/api/codeSigningAccounts/index.d.ts.map +1 -0
- package/dist/browser/api/codeSigningAccounts/index.js +325 -0
- package/dist/browser/api/codeSigningAccounts/index.js.map +1 -0
- package/dist/browser/api/codeSigningContext.d.ts +12 -0
- package/dist/browser/api/codeSigningContext.d.ts.map +1 -0
- package/dist/browser/api/codeSigningContext.js +32 -0
- package/dist/browser/api/codeSigningContext.js.map +1 -0
- package/dist/browser/api/index.d.ts +2 -0
- package/dist/browser/api/index.d.ts.map +1 -0
- package/dist/browser/api/index.js +4 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/api/operations/index.d.ts +10 -0
- package/dist/browser/api/operations/index.d.ts.map +1 -0
- package/dist/browser/api/operations/index.js +40 -0
- package/dist/browser/api/operations/index.js.map +1 -0
- package/dist/browser/classic/certificateProfiles/index.d.ts +32 -0
- package/dist/browser/classic/certificateProfiles/index.d.ts.map +1 -0
- package/dist/browser/classic/certificateProfiles/index.js +16 -0
- package/dist/browser/classic/certificateProfiles/index.js.map +1 -0
- package/dist/browser/classic/codeSigningAccounts/index.d.ts +38 -0
- package/dist/browser/classic/codeSigningAccounts/index.d.ts.map +1 -0
- package/dist/browser/classic/codeSigningAccounts/index.js +18 -0
- package/dist/browser/classic/codeSigningAccounts/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +4 -0
- package/dist/browser/classic/index.d.ts.map +1 -0
- package/dist/browser/classic/index.js +4 -0
- package/dist/browser/classic/index.js.map +1 -0
- package/dist/browser/classic/operations/index.d.ts +14 -0
- package/dist/browser/classic/operations/index.d.ts.map +1 -0
- package/dist/browser/classic/operations/index.js +12 -0
- package/dist/browser/classic/operations/index.js.map +1 -0
- package/dist/browser/codeSigningClient.d.ts +21 -0
- package/dist/browser/codeSigningClient.d.ts.map +1 -0
- package/dist/browser/codeSigningClient.js +22 -0
- package/dist/browser/codeSigningClient.js.map +1 -0
- package/dist/browser/helpers/serializerHelpers.d.ts +3 -0
- package/dist/browser/helpers/serializerHelpers.d.ts.map +1 -0
- package/dist/browser/helpers/serializerHelpers.js +24 -0
- package/dist/browser/helpers/serializerHelpers.js.map +1 -0
- package/dist/browser/index.d.ts +7 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +6 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.d.ts.map +1 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/models/index.d.ts +3 -0
- package/dist/browser/models/index.d.ts.map +1 -0
- package/dist/browser/models/index.js +4 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/models.d.ts +426 -0
- package/dist/browser/models/models.d.ts.map +1 -0
- package/dist/browser/models/models.js +184 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/models/options.d.ts +51 -0
- package/dist/browser/models/options.d.ts.map +1 -0
- package/dist/browser/models/options.js +4 -0
- package/dist/browser/models/options.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/restorePollerHelpers.d.ts +21 -0
- package/dist/browser/restorePollerHelpers.d.ts.map +1 -0
- package/dist/browser/restorePollerHelpers.js +104 -0
- package/dist/browser/restorePollerHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.js +137 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.js +76 -0
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/commonjs/api/certificateProfiles/index.d.ts +32 -0
- package/dist/commonjs/api/certificateProfiles/index.d.ts.map +1 -0
- package/dist/commonjs/api/certificateProfiles/index.js +348 -0
- package/dist/commonjs/api/certificateProfiles/index.js.map +1 -0
- package/dist/commonjs/api/codeSigningAccounts/index.d.ts +40 -0
- package/dist/commonjs/api/codeSigningAccounts/index.d.ts.map +1 -0
- package/dist/commonjs/api/codeSigningAccounts/index.js +348 -0
- package/dist/commonjs/api/codeSigningAccounts/index.js.map +1 -0
- package/dist/commonjs/api/codeSigningContext.d.ts +12 -0
- package/dist/commonjs/api/codeSigningContext.d.ts.map +1 -0
- package/dist/commonjs/api/codeSigningContext.js +35 -0
- package/dist/commonjs/api/codeSigningContext.js.map +1 -0
- package/dist/commonjs/api/index.d.ts +2 -0
- package/dist/commonjs/api/index.d.ts.map +1 -0
- package/dist/commonjs/api/index.js +8 -0
- package/dist/commonjs/api/index.js.map +1 -0
- package/dist/commonjs/api/operations/index.d.ts +10 -0
- package/dist/commonjs/api/operations/index.d.ts.map +1 -0
- package/dist/commonjs/api/operations/index.js +45 -0
- package/dist/commonjs/api/operations/index.js.map +1 -0
- package/dist/commonjs/classic/certificateProfiles/index.d.ts +32 -0
- package/dist/commonjs/classic/certificateProfiles/index.d.ts.map +1 -0
- package/dist/commonjs/classic/certificateProfiles/index.js +20 -0
- package/dist/commonjs/classic/certificateProfiles/index.js.map +1 -0
- package/dist/commonjs/classic/codeSigningAccounts/index.d.ts +38 -0
- package/dist/commonjs/classic/codeSigningAccounts/index.d.ts.map +1 -0
- package/dist/commonjs/classic/codeSigningAccounts/index.js +22 -0
- package/dist/commonjs/classic/codeSigningAccounts/index.js.map +1 -0
- package/dist/commonjs/classic/index.d.ts +4 -0
- package/dist/commonjs/classic/index.d.ts.map +1 -0
- package/dist/commonjs/classic/index.js +5 -0
- package/dist/commonjs/classic/index.js.map +1 -0
- package/dist/commonjs/classic/operations/index.d.ts +14 -0
- package/dist/commonjs/classic/operations/index.d.ts.map +1 -0
- package/dist/commonjs/classic/operations/index.js +16 -0
- package/dist/commonjs/classic/operations/index.js.map +1 -0
- package/dist/commonjs/codeSigningClient.d.ts +21 -0
- package/dist/commonjs/codeSigningClient.d.ts.map +1 -0
- package/dist/commonjs/codeSigningClient.js +26 -0
- package/dist/commonjs/codeSigningClient.js.map +1 -0
- package/dist/commonjs/helpers/serializerHelpers.d.ts +3 -0
- package/dist/commonjs/helpers/serializerHelpers.d.ts.map +1 -0
- package/dist/commonjs/helpers/serializerHelpers.js +27 -0
- package/dist/commonjs/helpers/serializerHelpers.js.map +1 -0
- package/dist/commonjs/index.d.ts +7 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +21 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.d.ts.map +1 -0
- package/dist/commonjs/logger.js +8 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +3 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +17 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/models.d.ts +426 -0
- package/dist/commonjs/models/models.d.ts.map +1 -0
- package/dist/commonjs/models/models.js +199 -0
- package/dist/commonjs/models/models.js.map +1 -0
- package/dist/commonjs/models/options.d.ts +51 -0
- package/dist/commonjs/models/options.d.ts.map +1 -0
- package/dist/commonjs/models/options.js +5 -0
- package/dist/commonjs/models/options.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
- package/dist/commonjs/restorePollerHelpers.d.ts.map +1 -0
- package/dist/commonjs/restorePollerHelpers.js +107 -0
- package/dist/commonjs/restorePollerHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +140 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js +79 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/api/certificateProfiles/index.d.ts +32 -0
- package/dist/esm/api/certificateProfiles/index.d.ts.map +1 -0
- package/dist/esm/api/certificateProfiles/index.js +331 -0
- package/dist/esm/api/certificateProfiles/index.js.map +1 -0
- package/dist/esm/api/codeSigningAccounts/index.d.ts +40 -0
- package/dist/esm/api/codeSigningAccounts/index.d.ts.map +1 -0
- package/dist/esm/api/codeSigningAccounts/index.js +325 -0
- package/dist/esm/api/codeSigningAccounts/index.js.map +1 -0
- package/dist/esm/api/codeSigningContext.d.ts +12 -0
- package/dist/esm/api/codeSigningContext.d.ts.map +1 -0
- package/dist/esm/api/codeSigningContext.js +32 -0
- package/dist/esm/api/codeSigningContext.js.map +1 -0
- package/dist/esm/api/index.d.ts +2 -0
- package/dist/esm/api/index.d.ts.map +1 -0
- package/dist/esm/api/index.js +4 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/api/operations/index.d.ts +10 -0
- package/dist/esm/api/operations/index.d.ts.map +1 -0
- package/dist/esm/api/operations/index.js +40 -0
- package/dist/esm/api/operations/index.js.map +1 -0
- package/dist/esm/classic/certificateProfiles/index.d.ts +32 -0
- package/dist/esm/classic/certificateProfiles/index.d.ts.map +1 -0
- package/dist/esm/classic/certificateProfiles/index.js +16 -0
- package/dist/esm/classic/certificateProfiles/index.js.map +1 -0
- package/dist/esm/classic/codeSigningAccounts/index.d.ts +38 -0
- package/dist/esm/classic/codeSigningAccounts/index.d.ts.map +1 -0
- package/dist/esm/classic/codeSigningAccounts/index.js +18 -0
- package/dist/esm/classic/codeSigningAccounts/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +4 -0
- package/dist/esm/classic/index.d.ts.map +1 -0
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -0
- package/dist/esm/classic/operations/index.d.ts +14 -0
- package/dist/esm/classic/operations/index.d.ts.map +1 -0
- package/dist/esm/classic/operations/index.js +12 -0
- package/dist/esm/classic/operations/index.js.map +1 -0
- package/dist/esm/codeSigningClient.d.ts +21 -0
- package/dist/esm/codeSigningClient.d.ts.map +1 -0
- package/dist/esm/codeSigningClient.js +22 -0
- package/dist/esm/codeSigningClient.js.map +1 -0
- package/dist/esm/helpers/serializerHelpers.d.ts +3 -0
- package/dist/esm/helpers/serializerHelpers.d.ts.map +1 -0
- package/dist/esm/helpers/serializerHelpers.js +24 -0
- package/dist/esm/helpers/serializerHelpers.js.map +1 -0
- package/dist/esm/index.d.ts +7 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.d.ts.map +1 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/models.d.ts +426 -0
- package/dist/esm/models/models.d.ts.map +1 -0
- package/dist/esm/models/models.js +184 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/models/options.d.ts +51 -0
- package/dist/esm/models/options.d.ts.map +1 -0
- package/dist/esm/models/options.js +4 -0
- package/dist/esm/models/options.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/restorePollerHelpers.d.ts +21 -0
- package/dist/esm/restorePollerHelpers.d.ts.map +1 -0
- package/dist/esm/restorePollerHelpers.js +104 -0
- package/dist/esm/restorePollerHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.js +137 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.js +76 -0
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/react-native/api/certificateProfiles/index.d.ts +32 -0
- package/dist/react-native/api/certificateProfiles/index.d.ts.map +1 -0
- package/dist/react-native/api/certificateProfiles/index.js +331 -0
- package/dist/react-native/api/certificateProfiles/index.js.map +1 -0
- package/dist/react-native/api/codeSigningAccounts/index.d.ts +40 -0
- package/dist/react-native/api/codeSigningAccounts/index.d.ts.map +1 -0
- package/dist/react-native/api/codeSigningAccounts/index.js +325 -0
- package/dist/react-native/api/codeSigningAccounts/index.js.map +1 -0
- package/dist/react-native/api/codeSigningContext.d.ts +12 -0
- package/dist/react-native/api/codeSigningContext.d.ts.map +1 -0
- package/dist/react-native/api/codeSigningContext.js +32 -0
- package/dist/react-native/api/codeSigningContext.js.map +1 -0
- package/dist/react-native/api/index.d.ts +2 -0
- package/dist/react-native/api/index.d.ts.map +1 -0
- package/dist/react-native/api/index.js +4 -0
- package/dist/react-native/api/index.js.map +1 -0
- package/dist/react-native/api/operations/index.d.ts +10 -0
- package/dist/react-native/api/operations/index.d.ts.map +1 -0
- package/dist/react-native/api/operations/index.js +40 -0
- package/dist/react-native/api/operations/index.js.map +1 -0
- package/dist/react-native/classic/certificateProfiles/index.d.ts +32 -0
- package/dist/react-native/classic/certificateProfiles/index.d.ts.map +1 -0
- package/dist/react-native/classic/certificateProfiles/index.js +16 -0
- package/dist/react-native/classic/certificateProfiles/index.js.map +1 -0
- package/dist/react-native/classic/codeSigningAccounts/index.d.ts +38 -0
- package/dist/react-native/classic/codeSigningAccounts/index.d.ts.map +1 -0
- package/dist/react-native/classic/codeSigningAccounts/index.js +18 -0
- package/dist/react-native/classic/codeSigningAccounts/index.js.map +1 -0
- package/dist/react-native/classic/index.d.ts +4 -0
- package/dist/react-native/classic/index.d.ts.map +1 -0
- package/dist/react-native/classic/index.js +4 -0
- package/dist/react-native/classic/index.js.map +1 -0
- package/dist/react-native/classic/operations/index.d.ts +14 -0
- package/dist/react-native/classic/operations/index.d.ts.map +1 -0
- package/dist/react-native/classic/operations/index.js +12 -0
- package/dist/react-native/classic/operations/index.js.map +1 -0
- package/dist/react-native/codeSigningClient.d.ts +21 -0
- package/dist/react-native/codeSigningClient.d.ts.map +1 -0
- package/dist/react-native/codeSigningClient.js +22 -0
- package/dist/react-native/codeSigningClient.js.map +1 -0
- package/dist/react-native/helpers/serializerHelpers.d.ts +3 -0
- package/dist/react-native/helpers/serializerHelpers.d.ts.map +1 -0
- package/dist/react-native/helpers/serializerHelpers.js +24 -0
- package/dist/react-native/helpers/serializerHelpers.js.map +1 -0
- package/dist/react-native/index.d.ts +7 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +6 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/logger.d.ts +2 -0
- package/dist/react-native/logger.d.ts.map +1 -0
- package/dist/react-native/logger.js +5 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/models/index.d.ts +3 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +4 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/models.d.ts +426 -0
- package/dist/react-native/models/models.d.ts.map +1 -0
- package/dist/react-native/models/models.js +184 -0
- package/dist/react-native/models/models.js.map +1 -0
- package/dist/react-native/models/options.d.ts +51 -0
- package/dist/react-native/models/options.d.ts.map +1 -0
- package/dist/react-native/models/options.js +4 -0
- package/dist/react-native/models/options.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/restorePollerHelpers.d.ts +21 -0
- package/dist/react-native/restorePollerHelpers.d.ts.map +1 -0
- package/dist/react-native/restorePollerHelpers.js +104 -0
- package/dist/react-native/restorePollerHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/react-native/static-helpers/pagingHelpers.js +137 -0
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/react-native/static-helpers/pollingHelpers.js +76 -0
- package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
- package/package.json +170 -0
- package/review/arm-trustedsigning-models.api.md +313 -0
- package/review/arm-trustedsigning.api.md +386 -0
|
@@ -0,0 +1,426 @@
|
|
|
1
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
2
|
+
export interface Resource {
|
|
3
|
+
/** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */
|
|
4
|
+
readonly id?: string;
|
|
5
|
+
/** The name of the resource */
|
|
6
|
+
readonly name?: string;
|
|
7
|
+
/** The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */
|
|
8
|
+
readonly type?: string;
|
|
9
|
+
/** Azure Resource Manager metadata containing createdBy and modifiedBy information. */
|
|
10
|
+
readonly systemData?: SystemData;
|
|
11
|
+
}
|
|
12
|
+
export declare function resourceSerializer(item: Resource): any;
|
|
13
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
14
|
+
export interface SystemData {
|
|
15
|
+
/** The identity that created the resource. */
|
|
16
|
+
createdBy?: string;
|
|
17
|
+
/** The type of identity that created the resource. */
|
|
18
|
+
createdByType?: CreatedByType;
|
|
19
|
+
/** The timestamp of resource creation (UTC). */
|
|
20
|
+
createdAt?: Date;
|
|
21
|
+
/** The identity that last modified the resource. */
|
|
22
|
+
lastModifiedBy?: string;
|
|
23
|
+
/** The type of identity that last modified the resource. */
|
|
24
|
+
lastModifiedByType?: CreatedByType;
|
|
25
|
+
/** The timestamp of resource last modification (UTC) */
|
|
26
|
+
lastModifiedAt?: Date;
|
|
27
|
+
}
|
|
28
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
29
|
+
export declare enum KnownCreatedByType {
|
|
30
|
+
/** User */
|
|
31
|
+
User = "User",
|
|
32
|
+
/** Application */
|
|
33
|
+
Application = "Application",
|
|
34
|
+
/** ManagedIdentity */
|
|
35
|
+
ManagedIdentity = "ManagedIdentity",
|
|
36
|
+
/** Key */
|
|
37
|
+
Key = "Key"
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* The kind of entity that created the resource. \
|
|
41
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
42
|
+
* this enum contains the known values that the service supports.
|
|
43
|
+
* ### Known values supported by the service
|
|
44
|
+
* **User** \
|
|
45
|
+
* **Application** \
|
|
46
|
+
* **ManagedIdentity** \
|
|
47
|
+
* **Key**
|
|
48
|
+
*/
|
|
49
|
+
export type CreatedByType = string;
|
|
50
|
+
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
51
|
+
export interface ProxyResource extends Resource {
|
|
52
|
+
}
|
|
53
|
+
export declare function proxyResourceSerializer(item: ProxyResource): any;
|
|
54
|
+
/** Certificate profile resource. */
|
|
55
|
+
export interface CertificateProfile extends ProxyResource {
|
|
56
|
+
/** The resource-specific properties for this resource. */
|
|
57
|
+
properties?: CertificateProfileProperties;
|
|
58
|
+
}
|
|
59
|
+
export declare function certificateProfileSerializer(item: CertificateProfile): Record<string, unknown>;
|
|
60
|
+
/** Properties of the certificate profile. */
|
|
61
|
+
export interface CertificateProfileProperties {
|
|
62
|
+
/** Profile type of the certificate. */
|
|
63
|
+
profileType: ProfileType;
|
|
64
|
+
/** Used as CN in the certificate subject name. */
|
|
65
|
+
readonly commonName?: string;
|
|
66
|
+
/** Used as O in the certificate subject name. */
|
|
67
|
+
readonly organization?: string;
|
|
68
|
+
/** Used as OU in the private trust certificate subject name. */
|
|
69
|
+
readonly organizationUnit?: string;
|
|
70
|
+
/** Used as STREET in the certificate subject name. */
|
|
71
|
+
readonly streetAddress?: string;
|
|
72
|
+
/** Whether to include STREET in the certificate subject name. */
|
|
73
|
+
includeStreetAddress?: boolean;
|
|
74
|
+
/** Used as L in the certificate subject name. */
|
|
75
|
+
readonly city?: string;
|
|
76
|
+
/** Whether to include L in the certificate subject name. Applicable only for private trust, private trust ci profile types */
|
|
77
|
+
includeCity?: boolean;
|
|
78
|
+
/** Used as S in the certificate subject name. */
|
|
79
|
+
readonly state?: string;
|
|
80
|
+
/** Whether to include S in the certificate subject name. Applicable only for private trust, private trust ci profile types */
|
|
81
|
+
includeState?: boolean;
|
|
82
|
+
/** Used as C in the certificate subject name. */
|
|
83
|
+
readonly country?: string;
|
|
84
|
+
/** Whether to include C in the certificate subject name. Applicable only for private trust, private trust ci profile types */
|
|
85
|
+
includeCountry?: boolean;
|
|
86
|
+
/** Used as PC in the certificate subject name. */
|
|
87
|
+
readonly postalCode?: string;
|
|
88
|
+
/** Whether to include PC in the certificate subject name. */
|
|
89
|
+
includePostalCode?: boolean;
|
|
90
|
+
/** Enhanced key usage of the certificate. */
|
|
91
|
+
readonly enhancedKeyUsage?: string;
|
|
92
|
+
/** Identity validation id used for the certificate subject name. */
|
|
93
|
+
identityValidationId?: string;
|
|
94
|
+
/** Status of the current operation on certificate profile. */
|
|
95
|
+
readonly provisioningState?: ProvisioningState;
|
|
96
|
+
/** Status of the certificate profile. */
|
|
97
|
+
readonly status?: CertificateProfileStatus;
|
|
98
|
+
/** List of renewed certificates. */
|
|
99
|
+
readonly certificates?: Certificate[];
|
|
100
|
+
}
|
|
101
|
+
export declare function certificateProfilePropertiesSerializer(item: CertificateProfileProperties): Record<string, unknown>;
|
|
102
|
+
/** Known values of {@link ProfileType} that the service accepts. */
|
|
103
|
+
export declare enum KnownProfileType {
|
|
104
|
+
/** PublicTrust */
|
|
105
|
+
PublicTrust = "PublicTrust",
|
|
106
|
+
/** PrivateTrust */
|
|
107
|
+
PrivateTrust = "PrivateTrust",
|
|
108
|
+
/** PrivateTrustCIPolicy */
|
|
109
|
+
PrivateTrustCIPolicy = "PrivateTrustCIPolicy",
|
|
110
|
+
/** VBSEnclave */
|
|
111
|
+
VBSEnclave = "VBSEnclave",
|
|
112
|
+
/** PublicTrustTest */
|
|
113
|
+
PublicTrustTest = "PublicTrustTest"
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Type of the certificate \
|
|
117
|
+
* {@link KnownProfileType} can be used interchangeably with ProfileType,
|
|
118
|
+
* this enum contains the known values that the service supports.
|
|
119
|
+
* ### Known values supported by the service
|
|
120
|
+
* **PublicTrust** \
|
|
121
|
+
* **PrivateTrust** \
|
|
122
|
+
* **PrivateTrustCIPolicy** \
|
|
123
|
+
* **VBSEnclave** \
|
|
124
|
+
* **PublicTrustTest**
|
|
125
|
+
*/
|
|
126
|
+
export type ProfileType = string;
|
|
127
|
+
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
128
|
+
export declare enum KnownProvisioningState {
|
|
129
|
+
/** Succeeded */
|
|
130
|
+
Succeeded = "Succeeded",
|
|
131
|
+
/** Failed */
|
|
132
|
+
Failed = "Failed",
|
|
133
|
+
/** Canceled */
|
|
134
|
+
Canceled = "Canceled",
|
|
135
|
+
/** Updating */
|
|
136
|
+
Updating = "Updating",
|
|
137
|
+
/** Deleting */
|
|
138
|
+
Deleting = "Deleting",
|
|
139
|
+
/** Accepted */
|
|
140
|
+
Accepted = "Accepted"
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* The status of the current operation. \
|
|
144
|
+
* {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
|
|
145
|
+
* this enum contains the known values that the service supports.
|
|
146
|
+
* ### Known values supported by the service
|
|
147
|
+
* **Succeeded** \
|
|
148
|
+
* **Failed** \
|
|
149
|
+
* **Canceled** \
|
|
150
|
+
* **Updating** \
|
|
151
|
+
* **Deleting** \
|
|
152
|
+
* **Accepted**
|
|
153
|
+
*/
|
|
154
|
+
export type ProvisioningState = string;
|
|
155
|
+
/** Known values of {@link CertificateProfileStatus} that the service accepts. */
|
|
156
|
+
export declare enum KnownCertificateProfileStatus {
|
|
157
|
+
/** Active */
|
|
158
|
+
Active = "Active",
|
|
159
|
+
/** Disabled */
|
|
160
|
+
Disabled = "Disabled",
|
|
161
|
+
/** Suspended */
|
|
162
|
+
Suspended = "Suspended"
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Status of the certificate profiles. \
|
|
166
|
+
* {@link KnownCertificateProfileStatus} can be used interchangeably with CertificateProfileStatus,
|
|
167
|
+
* this enum contains the known values that the service supports.
|
|
168
|
+
* ### Known values supported by the service
|
|
169
|
+
* **Active** \
|
|
170
|
+
* **Disabled** \
|
|
171
|
+
* **Suspended**
|
|
172
|
+
*/
|
|
173
|
+
export type CertificateProfileStatus = string;
|
|
174
|
+
/** Properties of the certificate. */
|
|
175
|
+
export interface Certificate {
|
|
176
|
+
/** Serial number of the certificate. */
|
|
177
|
+
serialNumber?: string;
|
|
178
|
+
/** Subject name of the certificate. */
|
|
179
|
+
subjectName?: string;
|
|
180
|
+
/** Thumbprint of the certificate. */
|
|
181
|
+
thumbprint?: string;
|
|
182
|
+
/** Certificate created date. */
|
|
183
|
+
createdDate?: string;
|
|
184
|
+
/** Certificate expiry date. */
|
|
185
|
+
expiryDate?: string;
|
|
186
|
+
/** Status of the certificate. */
|
|
187
|
+
status?: CertificateStatus;
|
|
188
|
+
/** Revocations history of a certificate. */
|
|
189
|
+
revocation?: Revocation;
|
|
190
|
+
}
|
|
191
|
+
/** Known values of {@link CertificateStatus} that the service accepts. */
|
|
192
|
+
export declare enum KnownCertificateStatus {
|
|
193
|
+
/** Active */
|
|
194
|
+
Active = "Active",
|
|
195
|
+
/** Expired */
|
|
196
|
+
Expired = "Expired",
|
|
197
|
+
/** Revoked */
|
|
198
|
+
Revoked = "Revoked"
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* Status of the certificate \
|
|
202
|
+
* {@link KnownCertificateStatus} can be used interchangeably with CertificateStatus,
|
|
203
|
+
* this enum contains the known values that the service supports.
|
|
204
|
+
* ### Known values supported by the service
|
|
205
|
+
* **Active** \
|
|
206
|
+
* **Expired** \
|
|
207
|
+
* **Revoked**
|
|
208
|
+
*/
|
|
209
|
+
export type CertificateStatus = string;
|
|
210
|
+
/** Revocation details of the certificate. */
|
|
211
|
+
export interface Revocation {
|
|
212
|
+
/** The timestamp when the revocation is requested. */
|
|
213
|
+
requestedAt?: Date;
|
|
214
|
+
/** The timestamp when the revocation is effective. */
|
|
215
|
+
effectiveAt?: Date;
|
|
216
|
+
/** Reason for revocation. */
|
|
217
|
+
reason?: string;
|
|
218
|
+
/** Remarks for the revocation. */
|
|
219
|
+
remarks?: string;
|
|
220
|
+
/** Status of the revocation. */
|
|
221
|
+
status?: RevocationStatus;
|
|
222
|
+
/** Reason for the revocation failure. */
|
|
223
|
+
failureReason?: string;
|
|
224
|
+
}
|
|
225
|
+
/** Known values of {@link RevocationStatus} that the service accepts. */
|
|
226
|
+
export declare enum KnownRevocationStatus {
|
|
227
|
+
/** Succeeded */
|
|
228
|
+
Succeeded = "Succeeded",
|
|
229
|
+
/** InProgress */
|
|
230
|
+
InProgress = "InProgress",
|
|
231
|
+
/** Failed */
|
|
232
|
+
Failed = "Failed"
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* Revocation status of the certificate. \
|
|
236
|
+
* {@link KnownRevocationStatus} can be used interchangeably with RevocationStatus,
|
|
237
|
+
* this enum contains the known values that the service supports.
|
|
238
|
+
* ### Known values supported by the service
|
|
239
|
+
* **Succeeded** \
|
|
240
|
+
* **InProgress** \
|
|
241
|
+
* **Failed**
|
|
242
|
+
*/
|
|
243
|
+
export type RevocationStatus = string;
|
|
244
|
+
/** The response of a CertificateProfile list operation. */
|
|
245
|
+
export interface _CertificateProfileListResult {
|
|
246
|
+
/** The CertificateProfile items on this page */
|
|
247
|
+
value: CertificateProfile[];
|
|
248
|
+
/** The link to the next page of items */
|
|
249
|
+
nextLink?: string;
|
|
250
|
+
}
|
|
251
|
+
/** Defines the certificate revocation properties. */
|
|
252
|
+
export interface RevokeCertificate {
|
|
253
|
+
/** Serial number of the certificate. */
|
|
254
|
+
serialNumber: string;
|
|
255
|
+
/** Thumbprint of the certificate. */
|
|
256
|
+
thumbprint: string;
|
|
257
|
+
/** The timestamp when the revocation is effective. */
|
|
258
|
+
effectiveAt: Date;
|
|
259
|
+
/** Reason for the revocation. */
|
|
260
|
+
reason: string;
|
|
261
|
+
/** Remarks for the revocation. */
|
|
262
|
+
remarks?: string;
|
|
263
|
+
}
|
|
264
|
+
export declare function revokeCertificateSerializer(item: RevokeCertificate): Record<string, unknown>;
|
|
265
|
+
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
266
|
+
export interface TrackedResource extends Resource {
|
|
267
|
+
/** Resource tags. */
|
|
268
|
+
tags?: Record<string, string>;
|
|
269
|
+
/** The geo-location where the resource lives */
|
|
270
|
+
location: string;
|
|
271
|
+
}
|
|
272
|
+
export declare function trackedResourceSerializer(item: TrackedResource): Record<string, unknown>;
|
|
273
|
+
/** Trusted signing account resource. */
|
|
274
|
+
export interface CodeSigningAccount extends TrackedResource {
|
|
275
|
+
/** The resource-specific properties for this resource. */
|
|
276
|
+
properties?: CodeSigningAccountProperties;
|
|
277
|
+
}
|
|
278
|
+
export declare function codeSigningAccountSerializer(item: CodeSigningAccount): Record<string, unknown>;
|
|
279
|
+
/** Properties of the trusted signing account. */
|
|
280
|
+
export interface CodeSigningAccountProperties {
|
|
281
|
+
/** The URI of the trusted signing account which is used during signing files. */
|
|
282
|
+
readonly accountUri?: string;
|
|
283
|
+
/** SKU of the trusted signing account. */
|
|
284
|
+
sku?: AccountSku;
|
|
285
|
+
/** Status of the current operation on trusted signing account. */
|
|
286
|
+
readonly provisioningState?: ProvisioningState;
|
|
287
|
+
}
|
|
288
|
+
export declare function codeSigningAccountPropertiesSerializer(item: CodeSigningAccountProperties): Record<string, unknown>;
|
|
289
|
+
/** SKU of the trusted signing account. */
|
|
290
|
+
export interface AccountSku {
|
|
291
|
+
/** Name of the SKU. */
|
|
292
|
+
name: SkuName;
|
|
293
|
+
}
|
|
294
|
+
export declare function accountSkuSerializer(item: AccountSku): Record<string, unknown>;
|
|
295
|
+
/** Known values of {@link SkuName} that the service accepts. */
|
|
296
|
+
export declare enum KnownSkuName {
|
|
297
|
+
/** Basic */
|
|
298
|
+
Basic = "Basic",
|
|
299
|
+
/** Premium */
|
|
300
|
+
Premium = "Premium"
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* Name of the sku. \
|
|
304
|
+
* {@link KnownSkuName} can be used interchangeably with SkuName,
|
|
305
|
+
* this enum contains the known values that the service supports.
|
|
306
|
+
* ### Known values supported by the service
|
|
307
|
+
* **Basic** \
|
|
308
|
+
* **Premium**
|
|
309
|
+
*/
|
|
310
|
+
export type SkuName = string;
|
|
311
|
+
/** Parameters for creating or updating a trusted signing account. */
|
|
312
|
+
export interface CodeSigningAccountPatch {
|
|
313
|
+
/** Resource tags. */
|
|
314
|
+
tags?: Record<string, string>;
|
|
315
|
+
/** Properties of the trusted signing account. */
|
|
316
|
+
properties?: CodeSigningAccountPatchProperties;
|
|
317
|
+
}
|
|
318
|
+
export declare function codeSigningAccountPatchSerializer(item: CodeSigningAccountPatch): Record<string, unknown>;
|
|
319
|
+
/** Properties of the trusted signing account. */
|
|
320
|
+
export interface CodeSigningAccountPatchProperties {
|
|
321
|
+
/** SKU of the trusted signing account. */
|
|
322
|
+
sku?: AccountSku;
|
|
323
|
+
}
|
|
324
|
+
export declare function codeSigningAccountPatchPropertiesSerializer(item: CodeSigningAccountPatchProperties): Record<string, unknown>;
|
|
325
|
+
/** The response of a CodeSigningAccount list operation. */
|
|
326
|
+
export interface _CodeSigningAccountListResult {
|
|
327
|
+
/** The CodeSigningAccount items on this page */
|
|
328
|
+
value: CodeSigningAccount[];
|
|
329
|
+
/** The link to the next page of items */
|
|
330
|
+
nextLink?: string;
|
|
331
|
+
}
|
|
332
|
+
/** The parameters used to check the availability of the trusted signing account name. */
|
|
333
|
+
export interface CheckNameAvailability {
|
|
334
|
+
/** Trusted signing account name. */
|
|
335
|
+
name: string;
|
|
336
|
+
}
|
|
337
|
+
export declare function checkNameAvailabilitySerializer(item: CheckNameAvailability): Record<string, unknown>;
|
|
338
|
+
/** The CheckNameAvailability operation response. */
|
|
339
|
+
export interface CheckNameAvailabilityResult {
|
|
340
|
+
/** A boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or is invalid and cannot be used. */
|
|
341
|
+
readonly nameAvailable?: boolean;
|
|
342
|
+
/** The reason that a trusted signing account name could not be used. The Reason element is only returned if nameAvailable is false. */
|
|
343
|
+
readonly reason?: NameUnavailabilityReason;
|
|
344
|
+
/** An error message explaining the Reason value in more detail. */
|
|
345
|
+
readonly message?: string;
|
|
346
|
+
}
|
|
347
|
+
/** Known values of {@link NameUnavailabilityReason} that the service accepts. */
|
|
348
|
+
export declare enum KnownNameUnavailabilityReason {
|
|
349
|
+
/** AccountNameInvalid */
|
|
350
|
+
AccountNameInvalid = "AccountNameInvalid",
|
|
351
|
+
/** AlreadyExists */
|
|
352
|
+
AlreadyExists = "AlreadyExists"
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* The reason that a trusted signing account name could not be used. The Reason element is only returned if nameAvailable is false. \
|
|
356
|
+
* {@link KnownNameUnavailabilityReason} can be used interchangeably with NameUnavailabilityReason,
|
|
357
|
+
* this enum contains the known values that the service supports.
|
|
358
|
+
* ### Known values supported by the service
|
|
359
|
+
* **AccountNameInvalid** \
|
|
360
|
+
* **AlreadyExists**
|
|
361
|
+
*/
|
|
362
|
+
export type NameUnavailabilityReason = string;
|
|
363
|
+
/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
|
|
364
|
+
export interface _OperationListResult {
|
|
365
|
+
/** The Operation items on this page */
|
|
366
|
+
value: Operation[];
|
|
367
|
+
/** The link to the next page of items */
|
|
368
|
+
nextLink?: string;
|
|
369
|
+
}
|
|
370
|
+
/** Details of a REST API operation, returned from the Resource Provider Operations API */
|
|
371
|
+
export interface Operation {
|
|
372
|
+
/** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" */
|
|
373
|
+
readonly name?: string;
|
|
374
|
+
/** Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for Azure Resource Manager/control-plane operations. */
|
|
375
|
+
readonly isDataAction?: boolean;
|
|
376
|
+
/** Localized display information for this particular operation. */
|
|
377
|
+
readonly display?: OperationDisplay;
|
|
378
|
+
/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
|
|
379
|
+
readonly origin?: Origin;
|
|
380
|
+
/** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
|
|
381
|
+
actionType?: ActionType;
|
|
382
|
+
}
|
|
383
|
+
/** Localized display information for and operation. */
|
|
384
|
+
export interface OperationDisplay {
|
|
385
|
+
/** The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". */
|
|
386
|
+
readonly provider?: string;
|
|
387
|
+
/** The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". */
|
|
388
|
+
readonly resource?: string;
|
|
389
|
+
/** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". */
|
|
390
|
+
readonly operation?: string;
|
|
391
|
+
/** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */
|
|
392
|
+
readonly description?: string;
|
|
393
|
+
}
|
|
394
|
+
/** Known values of {@link Origin} that the service accepts. */
|
|
395
|
+
export declare enum KnownOrigin {
|
|
396
|
+
/** user */
|
|
397
|
+
User = "user",
|
|
398
|
+
/** system */
|
|
399
|
+
System = "system",
|
|
400
|
+
/** user,system */
|
|
401
|
+
UserSystem = "user,system"
|
|
402
|
+
}
|
|
403
|
+
/**
|
|
404
|
+
* The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" \
|
|
405
|
+
* {@link KnownOrigin} can be used interchangeably with Origin,
|
|
406
|
+
* this enum contains the known values that the service supports.
|
|
407
|
+
* ### Known values supported by the service
|
|
408
|
+
* **user** \
|
|
409
|
+
* **system** \
|
|
410
|
+
* **user,system**
|
|
411
|
+
*/
|
|
412
|
+
export type Origin = string;
|
|
413
|
+
/** Known values of {@link ActionType} that the service accepts. */
|
|
414
|
+
export declare enum KnownActionType {
|
|
415
|
+
/** Internal */
|
|
416
|
+
Internal = "Internal"
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. \
|
|
420
|
+
* {@link KnownActionType} can be used interchangeably with ActionType,
|
|
421
|
+
* this enum contains the known values that the service supports.
|
|
422
|
+
* ### Known values supported by the service
|
|
423
|
+
* **Internal**
|
|
424
|
+
*/
|
|
425
|
+
export type ActionType = string;
|
|
426
|
+
//# sourceMappingURL=models.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAKA,+FAA+F;AAC/F,MAAM,WAAW,QAAQ;IACvB,gMAAgM;IAChM,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Licensed under the MIT License.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.KnownActionType = exports.KnownOrigin = exports.KnownNameUnavailabilityReason = exports.KnownSkuName = exports.KnownRevocationStatus = exports.KnownCertificateStatus = exports.KnownCertificateProfileStatus = exports.KnownProvisioningState = exports.KnownProfileType = exports.KnownCreatedByType = void 0;
|
|
6
|
+
exports.resourceSerializer = resourceSerializer;
|
|
7
|
+
exports.proxyResourceSerializer = proxyResourceSerializer;
|
|
8
|
+
exports.certificateProfileSerializer = certificateProfileSerializer;
|
|
9
|
+
exports.certificateProfilePropertiesSerializer = certificateProfilePropertiesSerializer;
|
|
10
|
+
exports.revokeCertificateSerializer = revokeCertificateSerializer;
|
|
11
|
+
exports.trackedResourceSerializer = trackedResourceSerializer;
|
|
12
|
+
exports.codeSigningAccountSerializer = codeSigningAccountSerializer;
|
|
13
|
+
exports.codeSigningAccountPropertiesSerializer = codeSigningAccountPropertiesSerializer;
|
|
14
|
+
exports.accountSkuSerializer = accountSkuSerializer;
|
|
15
|
+
exports.codeSigningAccountPatchSerializer = codeSigningAccountPatchSerializer;
|
|
16
|
+
exports.codeSigningAccountPatchPropertiesSerializer = codeSigningAccountPatchPropertiesSerializer;
|
|
17
|
+
exports.checkNameAvailabilitySerializer = checkNameAvailabilitySerializer;
|
|
18
|
+
const serializerHelpers_js_1 = require("../helpers/serializerHelpers.js");
|
|
19
|
+
function resourceSerializer(item) {
|
|
20
|
+
return item;
|
|
21
|
+
}
|
|
22
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
23
|
+
var KnownCreatedByType;
|
|
24
|
+
(function (KnownCreatedByType) {
|
|
25
|
+
/** User */
|
|
26
|
+
KnownCreatedByType["User"] = "User";
|
|
27
|
+
/** Application */
|
|
28
|
+
KnownCreatedByType["Application"] = "Application";
|
|
29
|
+
/** ManagedIdentity */
|
|
30
|
+
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
31
|
+
/** Key */
|
|
32
|
+
KnownCreatedByType["Key"] = "Key";
|
|
33
|
+
})(KnownCreatedByType || (exports.KnownCreatedByType = KnownCreatedByType = {}));
|
|
34
|
+
function proxyResourceSerializer(item) {
|
|
35
|
+
return item;
|
|
36
|
+
}
|
|
37
|
+
function certificateProfileSerializer(item) {
|
|
38
|
+
return {
|
|
39
|
+
properties: !item.properties
|
|
40
|
+
? item.properties
|
|
41
|
+
: certificateProfilePropertiesSerializer(item.properties),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function certificateProfilePropertiesSerializer(item) {
|
|
45
|
+
return {
|
|
46
|
+
profileType: item["profileType"],
|
|
47
|
+
includeStreetAddress: item["includeStreetAddress"],
|
|
48
|
+
includeCity: item["includeCity"],
|
|
49
|
+
includeState: item["includeState"],
|
|
50
|
+
includeCountry: item["includeCountry"],
|
|
51
|
+
includePostalCode: item["includePostalCode"],
|
|
52
|
+
identityValidationId: item["identityValidationId"],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
/** Known values of {@link ProfileType} that the service accepts. */
|
|
56
|
+
var KnownProfileType;
|
|
57
|
+
(function (KnownProfileType) {
|
|
58
|
+
/** PublicTrust */
|
|
59
|
+
KnownProfileType["PublicTrust"] = "PublicTrust";
|
|
60
|
+
/** PrivateTrust */
|
|
61
|
+
KnownProfileType["PrivateTrust"] = "PrivateTrust";
|
|
62
|
+
/** PrivateTrustCIPolicy */
|
|
63
|
+
KnownProfileType["PrivateTrustCIPolicy"] = "PrivateTrustCIPolicy";
|
|
64
|
+
/** VBSEnclave */
|
|
65
|
+
KnownProfileType["VBSEnclave"] = "VBSEnclave";
|
|
66
|
+
/** PublicTrustTest */
|
|
67
|
+
KnownProfileType["PublicTrustTest"] = "PublicTrustTest";
|
|
68
|
+
})(KnownProfileType || (exports.KnownProfileType = KnownProfileType = {}));
|
|
69
|
+
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
70
|
+
var KnownProvisioningState;
|
|
71
|
+
(function (KnownProvisioningState) {
|
|
72
|
+
/** Succeeded */
|
|
73
|
+
KnownProvisioningState["Succeeded"] = "Succeeded";
|
|
74
|
+
/** Failed */
|
|
75
|
+
KnownProvisioningState["Failed"] = "Failed";
|
|
76
|
+
/** Canceled */
|
|
77
|
+
KnownProvisioningState["Canceled"] = "Canceled";
|
|
78
|
+
/** Updating */
|
|
79
|
+
KnownProvisioningState["Updating"] = "Updating";
|
|
80
|
+
/** Deleting */
|
|
81
|
+
KnownProvisioningState["Deleting"] = "Deleting";
|
|
82
|
+
/** Accepted */
|
|
83
|
+
KnownProvisioningState["Accepted"] = "Accepted";
|
|
84
|
+
})(KnownProvisioningState || (exports.KnownProvisioningState = KnownProvisioningState = {}));
|
|
85
|
+
/** Known values of {@link CertificateProfileStatus} that the service accepts. */
|
|
86
|
+
var KnownCertificateProfileStatus;
|
|
87
|
+
(function (KnownCertificateProfileStatus) {
|
|
88
|
+
/** Active */
|
|
89
|
+
KnownCertificateProfileStatus["Active"] = "Active";
|
|
90
|
+
/** Disabled */
|
|
91
|
+
KnownCertificateProfileStatus["Disabled"] = "Disabled";
|
|
92
|
+
/** Suspended */
|
|
93
|
+
KnownCertificateProfileStatus["Suspended"] = "Suspended";
|
|
94
|
+
})(KnownCertificateProfileStatus || (exports.KnownCertificateProfileStatus = KnownCertificateProfileStatus = {}));
|
|
95
|
+
/** Known values of {@link CertificateStatus} that the service accepts. */
|
|
96
|
+
var KnownCertificateStatus;
|
|
97
|
+
(function (KnownCertificateStatus) {
|
|
98
|
+
/** Active */
|
|
99
|
+
KnownCertificateStatus["Active"] = "Active";
|
|
100
|
+
/** Expired */
|
|
101
|
+
KnownCertificateStatus["Expired"] = "Expired";
|
|
102
|
+
/** Revoked */
|
|
103
|
+
KnownCertificateStatus["Revoked"] = "Revoked";
|
|
104
|
+
})(KnownCertificateStatus || (exports.KnownCertificateStatus = KnownCertificateStatus = {}));
|
|
105
|
+
/** Known values of {@link RevocationStatus} that the service accepts. */
|
|
106
|
+
var KnownRevocationStatus;
|
|
107
|
+
(function (KnownRevocationStatus) {
|
|
108
|
+
/** Succeeded */
|
|
109
|
+
KnownRevocationStatus["Succeeded"] = "Succeeded";
|
|
110
|
+
/** InProgress */
|
|
111
|
+
KnownRevocationStatus["InProgress"] = "InProgress";
|
|
112
|
+
/** Failed */
|
|
113
|
+
KnownRevocationStatus["Failed"] = "Failed";
|
|
114
|
+
})(KnownRevocationStatus || (exports.KnownRevocationStatus = KnownRevocationStatus = {}));
|
|
115
|
+
function revokeCertificateSerializer(item) {
|
|
116
|
+
return {
|
|
117
|
+
serialNumber: item["serialNumber"],
|
|
118
|
+
thumbprint: item["thumbprint"],
|
|
119
|
+
effectiveAt: item["effectiveAt"].toISOString(),
|
|
120
|
+
reason: item["reason"],
|
|
121
|
+
remarks: item["remarks"],
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
function trackedResourceSerializer(item) {
|
|
125
|
+
return {
|
|
126
|
+
tags: !item.tags ? item.tags : (0, serializerHelpers_js_1.serializeRecord)(item.tags),
|
|
127
|
+
location: item["location"],
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
function codeSigningAccountSerializer(item) {
|
|
131
|
+
return {
|
|
132
|
+
tags: !item.tags ? item.tags : (0, serializerHelpers_js_1.serializeRecord)(item.tags),
|
|
133
|
+
location: item["location"],
|
|
134
|
+
properties: !item.properties
|
|
135
|
+
? item.properties
|
|
136
|
+
: codeSigningAccountPropertiesSerializer(item.properties),
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
function codeSigningAccountPropertiesSerializer(item) {
|
|
140
|
+
return {
|
|
141
|
+
sku: !item.sku ? item.sku : accountSkuSerializer(item.sku),
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
function accountSkuSerializer(item) {
|
|
145
|
+
return {
|
|
146
|
+
name: item["name"],
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
/** Known values of {@link SkuName} that the service accepts. */
|
|
150
|
+
var KnownSkuName;
|
|
151
|
+
(function (KnownSkuName) {
|
|
152
|
+
/** Basic */
|
|
153
|
+
KnownSkuName["Basic"] = "Basic";
|
|
154
|
+
/** Premium */
|
|
155
|
+
KnownSkuName["Premium"] = "Premium";
|
|
156
|
+
})(KnownSkuName || (exports.KnownSkuName = KnownSkuName = {}));
|
|
157
|
+
function codeSigningAccountPatchSerializer(item) {
|
|
158
|
+
return {
|
|
159
|
+
tags: !item.tags ? item.tags : (0, serializerHelpers_js_1.serializeRecord)(item.tags),
|
|
160
|
+
properties: !item.properties
|
|
161
|
+
? item.properties
|
|
162
|
+
: codeSigningAccountPatchPropertiesSerializer(item.properties),
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
function codeSigningAccountPatchPropertiesSerializer(item) {
|
|
166
|
+
return {
|
|
167
|
+
sku: !item.sku ? item.sku : accountSkuSerializer(item.sku),
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
function checkNameAvailabilitySerializer(item) {
|
|
171
|
+
return {
|
|
172
|
+
name: item["name"],
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
/** Known values of {@link NameUnavailabilityReason} that the service accepts. */
|
|
176
|
+
var KnownNameUnavailabilityReason;
|
|
177
|
+
(function (KnownNameUnavailabilityReason) {
|
|
178
|
+
/** AccountNameInvalid */
|
|
179
|
+
KnownNameUnavailabilityReason["AccountNameInvalid"] = "AccountNameInvalid";
|
|
180
|
+
/** AlreadyExists */
|
|
181
|
+
KnownNameUnavailabilityReason["AlreadyExists"] = "AlreadyExists";
|
|
182
|
+
})(KnownNameUnavailabilityReason || (exports.KnownNameUnavailabilityReason = KnownNameUnavailabilityReason = {}));
|
|
183
|
+
/** Known values of {@link Origin} that the service accepts. */
|
|
184
|
+
var KnownOrigin;
|
|
185
|
+
(function (KnownOrigin) {
|
|
186
|
+
/** user */
|
|
187
|
+
KnownOrigin["User"] = "user";
|
|
188
|
+
/** system */
|
|
189
|
+
KnownOrigin["System"] = "system";
|
|
190
|
+
/** user,system */
|
|
191
|
+
KnownOrigin["UserSystem"] = "user,system";
|
|
192
|
+
})(KnownOrigin || (exports.KnownOrigin = KnownOrigin = {}));
|
|
193
|
+
/** Known values of {@link ActionType} that the service accepts. */
|
|
194
|
+
var KnownActionType;
|
|
195
|
+
(function (KnownActionType) {
|
|
196
|
+
/** Internal */
|
|
197
|
+
KnownActionType["Internal"] = "Internal";
|
|
198
|
+
})(KnownActionType || (exports.KnownActionType = KnownActionType = {}));
|
|
199
|
+
//# sourceMappingURL=models.js.map
|