@azure/arm-keyvault-profile-2020-09-01-hybrid 1.1.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +80 -83
  4. package/dist/index.js +3453 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/index.d.ts +5 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +12 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/keyVaultManagementClient.d.ts +23 -0
  13. package/dist-esm/src/keyVaultManagementClient.d.ts.map +1 -0
  14. package/dist-esm/src/keyVaultManagementClient.js +56 -0
  15. package/dist-esm/src/keyVaultManagementClient.js.map +1 -0
  16. package/dist-esm/src/lroImpl.d.ts +16 -0
  17. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  18. package/dist-esm/src/lroImpl.js +29 -0
  19. package/dist-esm/src/lroImpl.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +1008 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +123 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +48 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/mappers.js +728 -617
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +26 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/dist-esm/src/models/parameters.js +220 -0
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  33. package/dist-esm/src/operations/index.d.ts.map +1 -0
  34. package/{esm → dist-esm/src}/operations/index.js +3 -5
  35. package/dist-esm/src/operations/index.js.map +1 -0
  36. package/dist-esm/src/operations/operations.d.ts +32 -0
  37. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  38. package/dist-esm/src/operations/operations.js +120 -0
  39. package/dist-esm/src/operations/operations.js.map +1 -0
  40. package/dist-esm/src/operations/privateEndpointConnections.d.ts +51 -0
  41. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  42. package/dist-esm/src/operations/privateEndpointConnections.js +187 -0
  43. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  44. package/dist-esm/src/operations/privateLinkResources.d.ts +20 -0
  45. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  46. package/dist-esm/src/operations/privateLinkResources.js +53 -0
  47. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  48. package/dist-esm/src/operations/secrets.d.ts +72 -0
  49. package/dist-esm/src/operations/secrets.d.ts.map +1 -0
  50. package/dist-esm/src/operations/secrets.js +247 -0
  51. package/dist-esm/src/operations/secrets.js.map +1 -0
  52. package/dist-esm/src/operations/vaults.d.ts +166 -0
  53. package/dist-esm/src/operations/vaults.d.ts.map +1 -0
  54. package/dist-esm/src/operations/vaults.js +816 -0
  55. package/dist-esm/src/operations/vaults.js.map +1 -0
  56. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
  57. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  58. package/dist-esm/src/operationsInterfaces/index.js +13 -0
  59. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  61. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  62. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  63. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +43 -0
  65. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  66. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  67. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +12 -0
  69. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  70. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  71. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/secrets.d.ts +45 -0
  73. package/dist-esm/src/operationsInterfaces/secrets.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/secrets.js +9 -0
  75. package/dist-esm/src/operationsInterfaces/secrets.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/vaults.d.ts +103 -0
  77. package/dist-esm/src/operationsInterfaces/vaults.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/vaults.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/vaults.js.map +1 -0
  80. package/dist-esm/test/sampleTest.d.ts +2 -0
  81. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  82. package/dist-esm/test/sampleTest.js +40 -0
  83. package/dist-esm/test/sampleTest.js.map +1 -0
  84. package/package.json +73 -22
  85. package/review/arm-keyvault-profile-2020-09-01-hybrid.api.md +876 -0
  86. package/rollup.config.js +115 -30
  87. package/src/index.ts +12 -0
  88. package/src/keyVaultManagementClient.ts +84 -45
  89. package/src/lroImpl.ts +34 -0
  90. package/src/models/index.ts +849 -1276
  91. package/src/models/mappers.ts +730 -609
  92. package/src/models/parameters.ts +153 -76
  93. package/src/operations/index.ts +3 -5
  94. package/src/operations/operations.ts +87 -73
  95. package/src/operations/privateEndpointConnections.ts +174 -154
  96. package/src/operations/privateLinkResources.ts +39 -54
  97. package/src/operations/secrets.ts +215 -248
  98. package/src/operations/vaults.ts +731 -629
  99. package/src/operationsInterfaces/index.ts +13 -0
  100. package/src/operationsInterfaces/operations.ts +22 -0
  101. package/src/operationsInterfaces/privateEndpointConnections.ts +85 -0
  102. package/src/operationsInterfaces/privateLinkResources.ts +27 -0
  103. package/src/operationsInterfaces/secrets.ts +86 -0
  104. package/src/operationsInterfaces/vaults.ts +197 -0
  105. package/tsconfig.json +14 -6
  106. package/types/arm-keyvault-profile-2020-09-01-hybrid.d.ts +1360 -0
  107. package/types/tsdoc-metadata.json +11 -0
  108. package/dist/arm-keyvault-profile-2020-09-01-hybrid.js +0 -3058
  109. package/dist/arm-keyvault-profile-2020-09-01-hybrid.js.map +0 -1
  110. package/dist/arm-keyvault-profile-2020-09-01-hybrid.min.js +0 -1
  111. package/dist/arm-keyvault-profile-2020-09-01-hybrid.min.js.map +0 -1
  112. package/esm/keyVaultManagementClient.d.ts +0 -29
  113. package/esm/keyVaultManagementClient.d.ts.map +0 -1
  114. package/esm/keyVaultManagementClient.js +0 -43
  115. package/esm/keyVaultManagementClient.js.map +0 -1
  116. package/esm/keyVaultManagementClientContext.d.ts +0 -23
  117. package/esm/keyVaultManagementClientContext.d.ts.map +0 -1
  118. package/esm/keyVaultManagementClientContext.js +0 -62
  119. package/esm/keyVaultManagementClientContext.js.map +0 -1
  120. package/esm/models/index.d.ts +0 -1449
  121. package/esm/models/index.d.ts.map +0 -1
  122. package/esm/models/index.js +0 -8
  123. package/esm/models/index.js.map +0 -1
  124. package/esm/models/mappers.d.ts +0 -46
  125. package/esm/models/mappers.d.ts.map +0 -1
  126. package/esm/models/mappers.js.map +0 -1
  127. package/esm/models/operationsMappers.d.ts +0 -2
  128. package/esm/models/operationsMappers.d.ts.map +0 -1
  129. package/esm/models/operationsMappers.js +0 -9
  130. package/esm/models/operationsMappers.js.map +0 -1
  131. package/esm/models/parameters.d.ts +0 -17
  132. package/esm/models/parameters.d.ts.map +0 -1
  133. package/esm/models/parameters.js +0 -178
  134. package/esm/models/parameters.js.map +0 -1
  135. package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
  136. package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
  137. package/esm/models/privateEndpointConnectionsMappers.js +0 -9
  138. package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
  139. package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
  140. package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
  141. package/esm/models/privateLinkResourcesMappers.js +0 -9
  142. package/esm/models/privateLinkResourcesMappers.js.map +0 -1
  143. package/esm/models/secretsMappers.d.ts +0 -2
  144. package/esm/models/secretsMappers.d.ts.map +0 -1
  145. package/esm/models/secretsMappers.js +0 -9
  146. package/esm/models/secretsMappers.js.map +0 -1
  147. package/esm/models/vaultsMappers.d.ts +0 -2
  148. package/esm/models/vaultsMappers.d.ts.map +0 -1
  149. package/esm/models/vaultsMappers.js +0 -9
  150. package/esm/models/vaultsMappers.js.map +0 -1
  151. package/esm/operations/index.d.ts.map +0 -1
  152. package/esm/operations/index.js.map +0 -1
  153. package/esm/operations/operations.d.ts +0 -46
  154. package/esm/operations/operations.d.ts.map +0 -1
  155. package/esm/operations/operations.js +0 -77
  156. package/esm/operations/operations.js.map +0 -1
  157. package/esm/operations/privateEndpointConnections.d.ts +0 -91
  158. package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
  159. package/esm/operations/privateEndpointConnections.js +0 -164
  160. package/esm/operations/privateEndpointConnections.js.map +0 -1
  161. package/esm/operations/privateLinkResources.d.ts +0 -34
  162. package/esm/operations/privateLinkResources.d.ts.map +0 -1
  163. package/esm/operations/privateLinkResources.js +0 -58
  164. package/esm/operations/privateLinkResources.js.map +0 -1
  165. package/esm/operations/secrets.d.ts +0 -139
  166. package/esm/operations/secrets.d.ts.map +0 -1
  167. package/esm/operations/secrets.js +0 -201
  168. package/esm/operations/secrets.js.map +0 -1
  169. package/esm/operations/vaults.d.ts +0 -317
  170. package/esm/operations/vaults.d.ts.map +0 -1
  171. package/esm/operations/vaults.js +0 -557
  172. package/esm/operations/vaults.js.map +0 -1
  173. package/src/keyVaultManagementClientContext.ts +0 -69
  174. package/src/models/operationsMappers.ts +0 -16
  175. package/src/models/privateEndpointConnectionsMappers.ts +0 -40
  176. package/src/models/privateLinkResourcesMappers.ts +0 -39
  177. package/src/models/secretsMappers.ts +0 -39
  178. package/src/models/vaultsMappers.ts +0 -45
@@ -1,1556 +1,1129 @@
1
1
  /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
4
  *
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
10
- import * as msRest from "@azure/ms-rest-js";
9
+ import * as coreClient from "@azure/core-client";
11
10
 
12
- export { BaseResource, CloudError };
13
-
14
- /**
15
- * SKU details
16
- */
17
- export interface Sku {
18
- /**
19
- * SKU name to specify whether the key vault is a standard vault or a premium vault. Possible
20
- * values include: 'standard', 'premium'
21
- */
22
- name: SkuName;
11
+ /** Parameters for creating or updating a vault */
12
+ export interface VaultCreateOrUpdateParameters {
13
+ /** The supported Azure location where the key vault should be created. */
14
+ location: string;
15
+ /** The tags that will be assigned to the key vault. */
16
+ tags?: { [propertyName: string]: string };
17
+ /** Properties of the vault */
18
+ properties: VaultProperties;
23
19
  }
24
20
 
25
- /**
26
- * Permissions the identity has for keys, secrets, certificates and storage.
27
- */
28
- export interface Permissions {
29
- /**
30
- * Permissions to keys
31
- */
32
- keys?: KeyPermissions[];
33
- /**
34
- * Permissions to secrets
35
- */
36
- secrets?: SecretPermissions[];
21
+ /** Properties of the vault */
22
+ export interface VaultProperties {
23
+ /** The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault. */
24
+ tenantId: string;
25
+ /** SKU details */
26
+ sku: Sku;
27
+ /** An array of 0 to 1024 identities that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID. When `createMode` is set to `recover`, access policies are not required. Otherwise, access policies are required. */
28
+ accessPolicies?: AccessPolicyEntry[];
29
+ /** The URI of the vault for performing operations on keys and secrets. This property is readonly */
30
+ vaultUri?: string;
37
31
  /**
38
- * Permissions to certificates
32
+ * The resource id of HSM Pool.
33
+ * NOTE: This property will not be serialized. It can only be populated by the server.
39
34
  */
40
- certificates?: CertificatePermissions[];
35
+ readonly hsmPoolResourceId?: string;
36
+ /** Property to specify whether Azure Virtual Machines are permitted to retrieve certificates stored as secrets from the key vault. */
37
+ enabledForDeployment?: boolean;
38
+ /** Property to specify whether Azure Disk Encryption is permitted to retrieve secrets from the vault and unwrap keys. */
39
+ enabledForDiskEncryption?: boolean;
40
+ /** Property to specify whether Azure Resource Manager is permitted to retrieve secrets from the key vault. */
41
+ enabledForTemplateDeployment?: boolean;
42
+ /** Property to specify whether the 'soft delete' functionality is enabled for this key vault. If it's not set to any value(true or false) when creating new key vault, it will be set to true by default. Once set to true, it cannot be reverted to false. */
43
+ enableSoftDelete?: boolean;
44
+ /** softDelete data retention days. It accepts >=7 and <=90. */
45
+ softDeleteRetentionInDays?: number;
46
+ /** Property that controls how data actions are authorized. When true, the key vault will use Role Based Access Control (RBAC) for authorization of data actions, and the access policies specified in vault properties will be ignored. When false, the key vault will use the access policies specified in vault properties, and any policy stored on Azure Resource Manager will be ignored. If null or not specified, the vault is created with the default value of false. Note that management actions are always authorized with RBAC. */
47
+ enableRbacAuthorization?: boolean;
48
+ /** The vault's create mode to indicate whether the vault need to be recovered or not. */
49
+ createMode?: CreateMode;
50
+ /** Property specifying whether protection against purge is enabled for this vault. Setting this property to true activates protection against purge for this vault and its content - only the Key Vault service may initiate a hard, irrecoverable deletion. The setting is effective only if soft delete is also enabled. Enabling this functionality is irreversible - that is, the property does not accept false as its value. */
51
+ enablePurgeProtection?: boolean;
52
+ /** Rules governing the accessibility of the key vault from specific network locations. */
53
+ networkAcls?: NetworkRuleSet;
54
+ /** Provisioning state of the vault. */
55
+ provisioningState?: VaultProvisioningState;
41
56
  /**
42
- * Permissions to storage accounts
57
+ * List of private endpoint connections associated with the key vault.
58
+ * NOTE: This property will not be serialized. It can only be populated by the server.
43
59
  */
44
- storage?: StoragePermissions[];
60
+ readonly privateEndpointConnections?: PrivateEndpointConnectionItem[];
45
61
  }
46
62
 
47
- /**
48
- * An identity that have access to the key vault. All identities in the array must use the same
49
- * tenant ID as the key vault's tenant ID.
50
- */
63
+ /** SKU details */
64
+ export interface Sku {
65
+ /** SKU family name */
66
+ family: SkuFamily;
67
+ /** SKU name to specify whether the key vault is a standard vault or a premium vault. */
68
+ name: SkuName;
69
+ }
70
+
71
+ /** An identity that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID. */
51
72
  export interface AccessPolicyEntry {
52
- /**
53
- * The Azure Active Directory tenant ID that should be used for authenticating requests to the
54
- * key vault.
55
- */
73
+ /** The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault. */
56
74
  tenantId: string;
57
- /**
58
- * The object ID of a user, service principal or security group in the Azure Active Directory
59
- * tenant for the vault. The object ID must be unique for the list of access policies.
60
- */
75
+ /** The object ID of a user, service principal or security group in the Azure Active Directory tenant for the vault. The object ID must be unique for the list of access policies. */
61
76
  objectId: string;
62
- /**
63
- * Application ID of the client making request on behalf of a principal
64
- */
77
+ /** Application ID of the client making request on behalf of a principal */
65
78
  applicationId?: string;
66
- /**
67
- * Permissions the identity has for keys, secrets and certificates.
68
- */
79
+ /** Permissions the identity has for keys, secrets and certificates. */
69
80
  permissions: Permissions;
70
81
  }
71
82
 
72
- /**
73
- * A rule governing the accessibility of a vault from a specific ip address or ip range.
74
- */
83
+ /** Permissions the identity has for keys, secrets, certificates and storage. */
84
+ export interface Permissions {
85
+ /** Permissions to keys */
86
+ keys?: KeyPermissions[];
87
+ /** Permissions to secrets */
88
+ secrets?: SecretPermissions[];
89
+ /** Permissions to certificates */
90
+ certificates?: CertificatePermissions[];
91
+ /** Permissions to storage accounts */
92
+ storage?: StoragePermissions[];
93
+ }
94
+
95
+ /** A set of rules governing the network accessibility of a vault. */
96
+ export interface NetworkRuleSet {
97
+ /** Tells what traffic can bypass network rules. This can be 'AzureServices' or 'None'. If not specified the default is 'AzureServices'. */
98
+ bypass?: NetworkRuleBypassOptions;
99
+ /** The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated. */
100
+ defaultAction?: NetworkRuleAction;
101
+ /** The list of IP address rules. */
102
+ ipRules?: IPRule[];
103
+ /** The list of virtual network rules. */
104
+ virtualNetworkRules?: VirtualNetworkRule[];
105
+ }
106
+
107
+ /** A rule governing the accessibility of a vault from a specific ip address or ip range. */
75
108
  export interface IPRule {
76
- /**
77
- * An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or
78
- * '124.56.78.0/24' (all addresses that start with 124.56.78).
79
- */
109
+ /** An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78). */
80
110
  value: string;
81
111
  }
82
112
 
83
- /**
84
- * A rule governing the accessibility of a vault from a specific virtual network.
85
- */
113
+ /** A rule governing the accessibility of a vault from a specific virtual network. */
86
114
  export interface VirtualNetworkRule {
87
- /**
88
- * Full resource id of a vnet subnet, such as
89
- * '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'.
90
- */
115
+ /** Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'. */
91
116
  id: string;
117
+ /** Property to specify whether NRP will ignore the check if parent subnet has serviceEndpoints configured. */
118
+ ignoreMissingVnetServiceEndpoint?: boolean;
92
119
  }
93
120
 
94
- /**
95
- * A set of rules governing the network accessibility of a vault.
96
- */
97
- export interface NetworkRuleSet {
98
- /**
99
- * Tells what traffic can bypass network rules. This can be 'AzureServices' or 'None'. If not
100
- * specified the default is 'AzureServices'. Possible values include: 'AzureServices', 'None'
101
- */
102
- bypass?: NetworkRuleBypassOptions;
103
- /**
104
- * The default action when no rule from ipRules and from virtualNetworkRules match. This is only
105
- * used after the bypass property has been evaluated. Possible values include: 'Allow', 'Deny'
106
- */
107
- defaultAction?: NetworkRuleAction;
108
- /**
109
- * The list of IP address rules.
110
- */
111
- ipRules?: IPRule[];
121
+ /** Private endpoint connection item. */
122
+ export interface PrivateEndpointConnectionItem {
123
+ /** Id of private endpoint connection. */
124
+ id?: string;
125
+ /** Modified whenever there is a change in the state of private endpoint connection. */
126
+ etag?: string;
127
+ /** Properties of the private endpoint object. */
128
+ privateEndpoint?: PrivateEndpoint;
129
+ /** Approval state of the private link connection. */
130
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
112
131
  /**
113
- * The list of virtual network rules.
132
+ * Provisioning state of the private endpoint connection.
133
+ * NOTE: This property will not be serialized. It can only be populated by the server.
114
134
  */
115
- virtualNetworkRules?: VirtualNetworkRule[];
135
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
116
136
  }
117
137
 
118
- /**
119
- * Private endpoint object properties.
120
- */
138
+ /** Private endpoint object properties. */
121
139
  export interface PrivateEndpoint {
122
140
  /**
123
141
  * Full identifier of the private endpoint resource.
124
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
142
+ * NOTE: This property will not be serialized. It can only be populated by the server.
125
143
  */
126
144
  readonly id?: string;
127
145
  }
128
146
 
129
- /**
130
- * An object that represents the approval state of the private link connection.
131
- */
147
+ /** An object that represents the approval state of the private link connection. */
132
148
  export interface PrivateLinkServiceConnectionState {
133
- /**
134
- * Indicates whether the connection has been approved, rejected or removed by the key vault
135
- * owner. Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected'
136
- */
149
+ /** Indicates whether the connection has been approved, rejected or removed by the key vault owner. */
137
150
  status?: PrivateEndpointServiceConnectionStatus;
138
- /**
139
- * The reason for approval or rejection.
140
- */
151
+ /** The reason for approval or rejection. */
141
152
  description?: string;
142
- /**
143
- * A message indicating if changes on the service provider require any updates on the consumer.
144
- */
145
- actionRequired?: string;
153
+ /** A message indicating if changes on the service provider require any updates on the consumer. */
154
+ actionsRequired?: string;
146
155
  }
147
156
 
148
- /**
149
- * Private endpoint connection item.
150
- */
151
- export interface PrivateEndpointConnectionItem {
157
+ /** Resource information with extended details. */
158
+ export interface Vault {
152
159
  /**
153
- * Properties of the private endpoint object.
160
+ * Fully qualified identifier of the key vault resource.
161
+ * NOTE: This property will not be serialized. It can only be populated by the server.
154
162
  */
155
- privateEndpoint?: PrivateEndpoint;
163
+ readonly id?: string;
156
164
  /**
157
- * Approval state of the private link connection.
165
+ * Name of the key vault resource.
166
+ * NOTE: This property will not be serialized. It can only be populated by the server.
158
167
  */
159
- privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
168
+ readonly name?: string;
160
169
  /**
161
- * Provisioning state of the private endpoint connection. Possible values include: 'Succeeded',
162
- * 'Creating', 'Updating', 'Deleting', 'Failed', 'Disconnected'
170
+ * Resource type of the key vault resource.
171
+ * NOTE: This property will not be serialized. It can only be populated by the server.
163
172
  */
164
- provisioningState?: PrivateEndpointConnectionProvisioningState;
173
+ readonly type?: string;
174
+ /** Azure location of the key vault resource. */
175
+ location?: string;
176
+ /** Tags assigned to the key vault resource. */
177
+ tags?: { [propertyName: string]: string };
178
+ /** Properties of the vault */
179
+ properties: VaultProperties;
165
180
  }
166
181
 
167
- /**
168
- * Properties of the vault
169
- */
170
- export interface VaultProperties {
171
- /**
172
- * The Azure Active Directory tenant ID that should be used for authenticating requests to the
173
- * key vault.
174
- */
175
- tenantId: string;
176
- /**
177
- * SKU details
178
- */
179
- sku: Sku;
180
- /**
181
- * An array of 0 to 1024 identities that have access to the key vault. All identities in the
182
- * array must use the same tenant ID as the key vault's tenant ID. When `createMode` is set to
183
- * `recover`, access policies are not required. Otherwise, access policies are required.
184
- */
182
+ /** An error response from Key Vault resource provider */
183
+ export interface CloudError {
184
+ /** An error response from Key Vault resource provider */
185
+ error?: CloudErrorBody;
186
+ }
187
+
188
+ /** An error response from Key Vault resource provider */
189
+ export interface CloudErrorBody {
190
+ /** Error code. This is a mnemonic that can be consumed programmatically. */
191
+ code?: string;
192
+ /** User friendly error message. The message is typically localized and may vary with service version. */
193
+ message?: string;
194
+ }
195
+
196
+ /** Parameters for creating or updating a vault */
197
+ export interface VaultPatchParameters {
198
+ /** The tags that will be assigned to the key vault. */
199
+ tags?: { [propertyName: string]: string };
200
+ /** Properties of the vault */
201
+ properties?: VaultPatchProperties;
202
+ }
203
+
204
+ /** Properties of the vault */
205
+ export interface VaultPatchProperties {
206
+ /** The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault. */
207
+ tenantId?: string;
208
+ /** SKU details */
209
+ sku?: Sku;
210
+ /** An array of 0 to 16 identities that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID. */
185
211
  accessPolicies?: AccessPolicyEntry[];
186
- /**
187
- * The URI of the vault for performing operations on keys and secrets.
188
- */
189
- vaultUri?: string;
190
- /**
191
- * Property to specify whether Azure Virtual Machines are permitted to retrieve certificates
192
- * stored as secrets from the key vault.
193
- */
212
+ /** Property to specify whether Azure Virtual Machines are permitted to retrieve certificates stored as secrets from the key vault. */
194
213
  enabledForDeployment?: boolean;
195
- /**
196
- * Property to specify whether Azure Disk Encryption is permitted to retrieve secrets from the
197
- * vault and unwrap keys.
198
- */
214
+ /** Property to specify whether Azure Disk Encryption is permitted to retrieve secrets from the vault and unwrap keys. */
199
215
  enabledForDiskEncryption?: boolean;
200
- /**
201
- * Property to specify whether Azure Resource Manager is permitted to retrieve secrets from the
202
- * key vault.
203
- */
216
+ /** Property to specify whether Azure Resource Manager is permitted to retrieve secrets from the key vault. */
204
217
  enabledForTemplateDeployment?: boolean;
205
- /**
206
- * Property to specify whether the 'soft delete' functionality is enabled for this key vault. If
207
- * it's not set to any value(true or false) when creating new key vault, it will be set to true
208
- * by default. Once set to true, it cannot be reverted to false. Default value: true.
209
- */
218
+ /** Property to specify whether the 'soft delete' functionality is enabled for this key vault. Once set to true, it cannot be reverted to false. */
210
219
  enableSoftDelete?: boolean;
211
- /**
212
- * softDelete data retention days. It accepts >=7 and <=90. Default value: 90.
213
- */
214
- softDeleteRetentionInDays?: number;
215
- /**
216
- * Property that controls how data actions are authorized. When true, the key vault will use Role
217
- * Based Access Control (RBAC) for authorization of data actions, and the access policies
218
- * specified in vault properties will be ignored (warning: this is a preview feature). When
219
- * false, the key vault will use the access policies specified in vault properties, and any
220
- * policy stored on Azure Resource Manager will be ignored. If null or not specified, the vault
221
- * is created with the default value of false. Note that management actions are always authorized
222
- * with RBAC. Default value: false.
223
- */
220
+ /** Property that controls how data actions are authorized. When true, the key vault will use Role Based Access Control (RBAC) for authorization of data actions, and the access policies specified in vault properties will be ignored. When false, the key vault will use the access policies specified in vault properties, and any policy stored on Azure Resource Manager will be ignored. If null or not specified, the value of this property will not change. */
224
221
  enableRbacAuthorization?: boolean;
225
- /**
226
- * The vault's create mode to indicate whether the vault need to be recovered or not. Possible
227
- * values include: 'recover', 'default'
228
- */
222
+ /** softDelete data retention days. It accepts >=7 and <=90. */
223
+ softDeleteRetentionInDays?: number;
224
+ /** The vault's create mode to indicate whether the vault need to be recovered or not. */
229
225
  createMode?: CreateMode;
230
- /**
231
- * Property specifying whether protection against purge is enabled for this vault. Setting this
232
- * property to true activates protection against purge for this vault and its content - only the
233
- * Key Vault service may initiate a hard, irrecoverable deletion. The setting is effective only
234
- * if soft delete is also enabled. Enabling this functionality is irreversible - that is, the
235
- * property does not accept false as its value.
236
- */
226
+ /** Property specifying whether protection against purge is enabled for this vault. Setting this property to true activates protection against purge for this vault and its content - only the Key Vault service may initiate a hard, irrecoverable deletion. The setting is effective only if soft delete is also enabled. Enabling this functionality is irreversible - that is, the property does not accept false as its value. */
237
227
  enablePurgeProtection?: boolean;
238
- /**
239
- * Rules governing the accessibility of the key vault from specific network locations.
240
- */
228
+ /** A collection of rules governing the accessibility of the vault from specific network locations. */
241
229
  networkAcls?: NetworkRuleSet;
242
- /**
243
- * List of private endpoint connections associated with the key vault.
244
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
245
- */
246
- readonly privateEndpointConnections?: PrivateEndpointConnectionItem[];
247
230
  }
248
231
 
249
- /**
250
- * Properties of the vault
251
- */
252
- export interface VaultPatchProperties {
253
- /**
254
- * The Azure Active Directory tenant ID that should be used for authenticating requests to the
255
- * key vault.
256
- */
257
- tenantId?: string;
258
- /**
259
- * SKU details
260
- */
261
- sku?: Sku;
262
- /**
263
- * An array of 0 to 16 identities that have access to the key vault. All identities in the array
264
- * must use the same tenant ID as the key vault's tenant ID.
265
- */
266
- accessPolicies?: AccessPolicyEntry[];
267
- /**
268
- * Property to specify whether Azure Virtual Machines are permitted to retrieve certificates
269
- * stored as secrets from the key vault.
270
- */
271
- enabledForDeployment?: boolean;
272
- /**
273
- * Property to specify whether Azure Disk Encryption is permitted to retrieve secrets from the
274
- * vault and unwrap keys.
275
- */
276
- enabledForDiskEncryption?: boolean;
232
+ /** Parameters for updating the access policy in a vault */
233
+ export interface VaultAccessPolicyParameters {
277
234
  /**
278
- * Property to specify whether Azure Resource Manager is permitted to retrieve secrets from the
279
- * key vault.
280
- */
281
- enabledForTemplateDeployment?: boolean;
282
- /**
283
- * Property to specify whether the 'soft delete' functionality is enabled for this key vault.
284
- * Once set to true, it cannot be reverted to false.
235
+ * The resource id of the access policy.
236
+ * NOTE: This property will not be serialized. It can only be populated by the server.
285
237
  */
286
- enableSoftDelete?: boolean;
238
+ readonly id?: string;
287
239
  /**
288
- * Property that controls how data actions are authorized. When true, the key vault will use Role
289
- * Based Access Control (RBAC) for authorization of data actions, and the access policies
290
- * specified in vault properties will be ignored (warning: this is a preview feature). When
291
- * false, the key vault will use the access policies specified in vault properties, and any
292
- * policy stored on Azure Resource Manager will be ignored. If null or not specified, the value
293
- * of this property will not change.
240
+ * The resource name of the access policy.
241
+ * NOTE: This property will not be serialized. It can only be populated by the server.
294
242
  */
295
- enableRbacAuthorization?: boolean;
243
+ readonly name?: string;
296
244
  /**
297
- * softDelete data retention days. It accepts >=7 and <=90.
245
+ * The resource name of the access policy.
246
+ * NOTE: This property will not be serialized. It can only be populated by the server.
298
247
  */
299
- softDeleteRetentionInDays?: number;
248
+ readonly type?: string;
300
249
  /**
301
- * The vault's create mode to indicate whether the vault need to be recovered or not. Possible
302
- * values include: 'recover', 'default'
250
+ * The resource type of the access policy.
251
+ * NOTE: This property will not be serialized. It can only be populated by the server.
303
252
  */
304
- createMode?: CreateMode;
253
+ readonly location?: string;
254
+ /** Properties of the access policy */
255
+ properties: VaultAccessPolicyProperties;
256
+ }
257
+
258
+ /** Properties of the vault access policy */
259
+ export interface VaultAccessPolicyProperties {
260
+ /** An array of 0 to 16 identities that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID. */
261
+ accessPolicies: AccessPolicyEntry[];
262
+ }
263
+
264
+ /** List of vaults */
265
+ export interface VaultListResult {
266
+ /** The list of vaults. */
267
+ value?: Vault[];
268
+ /** The URL to get the next set of vaults. */
269
+ nextLink?: string;
270
+ }
271
+
272
+ /** List of vaults */
273
+ export interface DeletedVaultListResult {
274
+ /** The list of deleted vaults. */
275
+ value?: DeletedVault[];
276
+ /** The URL to get the next set of deleted vaults. */
277
+ nextLink?: string;
278
+ }
279
+
280
+ /** Deleted vault information with extended details. */
281
+ export interface DeletedVault {
305
282
  /**
306
- * Property specifying whether protection against purge is enabled for this vault. Setting this
307
- * property to true activates protection against purge for this vault and its content - only the
308
- * Key Vault service may initiate a hard, irrecoverable deletion. The setting is effective only
309
- * if soft delete is also enabled. Enabling this functionality is irreversible - that is, the
310
- * property does not accept false as its value.
283
+ * The resource ID for the deleted key vault.
284
+ * NOTE: This property will not be serialized. It can only be populated by the server.
311
285
  */
312
- enablePurgeProtection?: boolean;
286
+ readonly id?: string;
313
287
  /**
314
- * A collection of rules governing the accessibility of the vault from specific network
315
- * locations.
288
+ * The name of the key vault.
289
+ * NOTE: This property will not be serialized. It can only be populated by the server.
316
290
  */
317
- networkAcls?: NetworkRuleSet;
318
- }
319
-
320
- /**
321
- * Properties of the vault access policy
322
- */
323
- export interface VaultAccessPolicyProperties {
291
+ readonly name?: string;
324
292
  /**
325
- * An array of 0 to 16 identities that have access to the key vault. All identities in the array
326
- * must use the same tenant ID as the key vault's tenant ID.
293
+ * The resource type of the key vault.
294
+ * NOTE: This property will not be serialized. It can only be populated by the server.
327
295
  */
328
- accessPolicies: AccessPolicyEntry[];
296
+ readonly type?: string;
297
+ /** Properties of the vault */
298
+ properties?: DeletedVaultProperties;
329
299
  }
330
300
 
331
- /**
332
- * Properties of the deleted vault.
333
- */
301
+ /** Properties of the deleted vault. */
334
302
  export interface DeletedVaultProperties {
335
303
  /**
336
304
  * The resource id of the original vault.
337
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
305
+ * NOTE: This property will not be serialized. It can only be populated by the server.
338
306
  */
339
307
  readonly vaultId?: string;
340
308
  /**
341
309
  * The location of the original vault.
342
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
310
+ * NOTE: This property will not be serialized. It can only be populated by the server.
343
311
  */
344
312
  readonly location?: string;
345
313
  /**
346
314
  * The deleted date.
347
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
315
+ * NOTE: This property will not be serialized. It can only be populated by the server.
348
316
  */
349
317
  readonly deletionDate?: Date;
350
318
  /**
351
319
  * The scheduled purged date.
352
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
320
+ * NOTE: This property will not be serialized. It can only be populated by the server.
353
321
  */
354
322
  readonly scheduledPurgeDate?: Date;
355
323
  /**
356
324
  * Tags of the original vault.
357
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
325
+ * NOTE: This property will not be serialized. It can only be populated by the server.
358
326
  */
359
327
  readonly tags?: { [propertyName: string]: string };
360
- }
361
-
362
- /**
363
- * Parameters for creating or updating a vault
364
- */
365
- export interface VaultCreateOrUpdateParameters extends BaseResource {
366
- /**
367
- * The supported Azure location where the key vault should be created.
368
- */
369
- location: string;
370
- /**
371
- * The tags that will be assigned to the key vault.
372
- */
373
- tags?: { [propertyName: string]: string };
374
328
  /**
375
- * Properties of the vault
329
+ * Purge protection status of the original vault.
330
+ * NOTE: This property will not be serialized. It can only be populated by the server.
376
331
  */
377
- properties: VaultProperties;
332
+ readonly purgeProtectionEnabled?: boolean;
378
333
  }
379
334
 
380
- /**
381
- * Parameters for creating or updating a vault
382
- */
383
- export interface VaultPatchParameters extends BaseResource {
384
- /**
385
- * The tags that will be assigned to the key vault.
386
- */
387
- tags?: { [propertyName: string]: string };
388
- /**
389
- * Properties of the vault
390
- */
391
- properties?: VaultPatchProperties;
335
+ /** List of vault resources. */
336
+ export interface ResourceListResult {
337
+ /** The list of vault resources. */
338
+ value?: Resource[];
339
+ /** The URL to get the next set of vault resources. */
340
+ nextLink?: string;
392
341
  }
393
342
 
394
- /**
395
- * Parameters for updating the access policy in a vault
396
- */
397
- export interface VaultAccessPolicyParameters extends BaseResource {
343
+ /** Key Vault resource */
344
+ export interface Resource {
398
345
  /**
399
- * The resource id of the access policy.
400
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
346
+ * Fully qualified identifier of the key vault resource.
347
+ * NOTE: This property will not be serialized. It can only be populated by the server.
401
348
  */
402
349
  readonly id?: string;
403
350
  /**
404
- * The resource name of the access policy.
405
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
351
+ * Name of the key vault resource.
352
+ * NOTE: This property will not be serialized. It can only be populated by the server.
406
353
  */
407
354
  readonly name?: string;
408
355
  /**
409
- * The resource name of the access policy.
410
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
356
+ * Resource type of the key vault resource.
357
+ * NOTE: This property will not be serialized. It can only be populated by the server.
411
358
  */
412
359
  readonly type?: string;
413
360
  /**
414
- * The resource type of the access policy.
415
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
416
- */
417
- readonly location?: string;
418
- /**
419
- * Properties of the access policy
420
- */
421
- properties: VaultAccessPolicyProperties;
422
- }
423
-
424
- /**
425
- * Resource information with extended details.
426
- */
427
- export interface Vault extends BaseResource {
428
- /**
429
- * Fully qualified identifier of the key vault resource.
430
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
431
- */
432
- readonly id?: string;
433
- /**
434
- * Name of the key vault resource.
435
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
436
- */
437
- readonly name?: string;
438
- /**
439
- * Resource type of the key vault resource.
440
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
441
- */
442
- readonly type?: string;
443
- /**
444
- * Azure location of the key vault resource.
445
- */
446
- location?: string;
447
- /**
448
- * Tags assigned to the key vault resource.
449
- */
450
- tags?: { [propertyName: string]: string };
451
- /**
452
- * Properties of the vault
453
- */
454
- properties: VaultProperties;
455
- }
456
-
457
- /**
458
- * Deleted vault information with extended details.
459
- */
460
- export interface DeletedVault {
461
- /**
462
- * The resource ID for the deleted key vault.
463
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
464
- */
465
- readonly id?: string;
466
- /**
467
- * The name of the key vault.
468
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
469
- */
470
- readonly name?: string;
471
- /**
472
- * The resource type of the key vault.
473
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
474
- */
475
- readonly type?: string;
476
- /**
477
- * Properties of the vault
478
- */
479
- properties?: DeletedVaultProperties;
480
- }
481
-
482
- /**
483
- * Key Vault resource
484
- */
485
- export interface Resource extends BaseResource {
486
- /**
487
- * Fully qualified identifier of the key vault resource.
488
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
489
- */
490
- readonly id?: string;
491
- /**
492
- * Name of the key vault resource.
493
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
494
- */
495
- readonly name?: string;
496
- /**
497
- * Resource type of the key vault resource.
498
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
499
- */
500
- readonly type?: string;
501
- /**
502
- * Azure location of the key vault resource.
503
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
361
+ * Azure location of the key vault resource.
362
+ * NOTE: This property will not be serialized. It can only be populated by the server.
504
363
  */
505
364
  readonly location?: string;
506
365
  /**
507
366
  * Tags assigned to the key vault resource.
508
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
367
+ * NOTE: This property will not be serialized. It can only be populated by the server.
509
368
  */
510
369
  readonly tags?: { [propertyName: string]: string };
511
370
  }
512
371
 
513
- /**
514
- * The parameters used to check the availability of the vault name.
515
- */
372
+ /** The parameters used to check the availability of the vault name. */
516
373
  export interface VaultCheckNameAvailabilityParameters {
517
- /**
518
- * The vault name.
519
- */
374
+ /** The vault name. */
520
375
  name: string;
376
+ /** The type of resource, Microsoft.KeyVault/vaults */
377
+ type: "Microsoft.KeyVault/vaults";
521
378
  }
522
379
 
523
- /**
524
- * The CheckNameAvailability operation response.
525
- */
380
+ /** The CheckNameAvailability operation response. */
526
381
  export interface CheckNameAvailabilityResult {
527
382
  /**
528
- * A boolean value that indicates whether the name is available for you to use. If true, the name
529
- * is available. If false, the name has already been taken or is invalid and cannot be used.
530
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
383
+ * 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.
384
+ * NOTE: This property will not be serialized. It can only be populated by the server.
531
385
  */
532
386
  readonly nameAvailable?: boolean;
533
387
  /**
534
- * The reason that a vault name could not be used. The Reason element is only returned if
535
- * NameAvailable is false. Possible values include: 'AccountNameInvalid', 'AlreadyExists'
536
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
388
+ * The reason that a vault name could not be used. The Reason element is only returned if NameAvailable is false.
389
+ * NOTE: This property will not be serialized. It can only be populated by the server.
537
390
  */
538
391
  readonly reason?: Reason;
539
392
  /**
540
393
  * An error message explaining the Reason value in more detail.
541
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
394
+ * NOTE: This property will not be serialized. It can only be populated by the server.
542
395
  */
543
396
  readonly message?: string;
544
397
  }
545
398
 
546
- /**
547
- * Private endpoint connection resource.
548
- */
549
- export interface PrivateEndpointConnection extends BaseResource {
550
- /**
551
- * Properties of the private endpoint object.
552
- */
553
- privateEndpoint?: PrivateEndpoint;
554
- /**
555
- * Approval state of the private link connection.
556
- */
557
- privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
558
- /**
559
- * Provisioning state of the private endpoint connection. Possible values include: 'Succeeded',
560
- * 'Creating', 'Updating', 'Deleting', 'Failed', 'Disconnected'
561
- */
562
- provisioningState?: PrivateEndpointConnectionProvisioningState;
399
+ /** A list of private link resources */
400
+ export interface PrivateLinkResourceListResult {
401
+ /** Array of private link resources */
402
+ value?: PrivateLinkResource[];
563
403
  }
564
404
 
565
- /**
566
- * A private link resource
567
- */
568
- export interface PrivateLinkResource extends Resource {
569
- /**
570
- * Group identifier of private link resource.
571
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
572
- */
573
- readonly groupId?: string;
574
- /**
575
- * Required member names of private link resource.
576
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
577
- */
578
- readonly requiredMembers?: string[];
579
- /**
580
- * Required DNS zone names of the the private link resource.
581
- */
582
- requiredZoneNames?: string[];
405
+ /** Result of the request to list Storage operations. It contains a list of operations and a URL link to get the next set of results. */
406
+ export interface OperationListResult {
407
+ /** List of Storage operations supported by the Storage resource provider. */
408
+ value?: Operation[];
409
+ /** The URL to get the next set of operations. */
410
+ nextLink?: string;
583
411
  }
584
412
 
585
- /**
586
- * A list of private link resources
587
- */
588
- export interface PrivateLinkResourceListResult {
589
- /**
590
- * Array of private link resources
591
- */
592
- value?: PrivateLinkResource[];
413
+ /** Key Vault REST API operation definition. */
414
+ export interface Operation {
415
+ /** Operation name: {provider}/{resource}/{operation} */
416
+ name?: string;
417
+ /** Display metadata associated with the operation. */
418
+ display?: OperationDisplay;
419
+ /** The origin of operations. */
420
+ origin?: string;
421
+ /** Property to specify whether the action is a data action. */
422
+ isDataAction?: boolean;
423
+ /** One property of operation, include metric specifications. */
424
+ serviceSpecification?: ServiceSpecification;
593
425
  }
594
426
 
595
- /**
596
- * Display metadata associated with the operation.
597
- */
427
+ /** Display metadata associated with the operation. */
598
428
  export interface OperationDisplay {
599
- /**
600
- * Service provider: Microsoft Key Vault.
601
- */
429
+ /** Service provider: Microsoft Key Vault. */
602
430
  provider?: string;
603
- /**
604
- * Resource on which the operation is performed etc.
605
- */
431
+ /** Resource on which the operation is performed etc. */
606
432
  resource?: string;
607
- /**
608
- * Type of operation: get, read, delete, etc.
609
- */
433
+ /** Type of operation: get, read, delete, etc. */
610
434
  operation?: string;
611
- /**
612
- * Description of operation.
613
- */
435
+ /** Description of operation. */
614
436
  description?: string;
615
437
  }
616
438
 
617
- /**
618
- * Log specification of operation.
619
- */
439
+ /** One property of operation, include log specifications. */
440
+ export interface ServiceSpecification {
441
+ /** Log specifications of operation. */
442
+ logSpecifications?: LogSpecification[];
443
+ /** Metric specifications of operation. */
444
+ metricSpecifications?: MetricSpecification[];
445
+ }
446
+
447
+ /** Log specification of operation. */
620
448
  export interface LogSpecification {
621
- /**
622
- * Name of log specification.
623
- */
449
+ /** Name of log specification. */
624
450
  name?: string;
625
- /**
626
- * Display name of log specification.
627
- */
451
+ /** Display name of log specification. */
628
452
  displayName?: string;
629
- /**
630
- * Blob duration of specification.
631
- */
453
+ /** Blob duration of specification. */
632
454
  blobDuration?: string;
633
455
  }
634
456
 
635
- /**
636
- * One property of operation, include log specifications.
637
- */
638
- export interface ServiceSpecification {
639
- /**
640
- * Log specifications of operation.
641
- */
642
- logSpecifications?: LogSpecification[];
457
+ /** Metric specification of operation. */
458
+ export interface MetricSpecification {
459
+ /** Name of metric specification. */
460
+ name?: string;
461
+ /** Display name of Metric specification. */
462
+ displayName?: string;
463
+ /** Display description of Metric specification. */
464
+ displayDescription?: string;
465
+ /** The metric unit. Possible values include: 'Bytes', 'Count', 'Milliseconds'. */
466
+ unit?: string;
467
+ /** The metric aggregation type. Possible values include: 'Average', 'Count', 'Total'. */
468
+ aggregationType?: string;
469
+ /** The supported aggregation types for the metrics. */
470
+ supportedAggregationTypes?: string[];
471
+ /** The supported time grain types for the metrics. */
472
+ supportedTimeGrainTypes?: string[];
473
+ /** The metric lock aggregation type. */
474
+ lockAggregationType?: string;
475
+ /** The dimensions of metric */
476
+ dimensions?: DimensionProperties[];
477
+ /** Property to specify whether to fill gap with zero. */
478
+ fillGapWithZero?: boolean;
479
+ /** The internal metric name. */
480
+ internalMetricName?: string;
643
481
  }
644
482
 
645
- /**
646
- * Key Vault REST API operation definition.
647
- */
648
- export interface Operation {
649
- /**
650
- * Operation name: {provider}/{resource}/{operation}
651
- */
483
+ /** Type of operation: get, read, delete, etc. */
484
+ export interface DimensionProperties {
485
+ /** Name of dimension. */
652
486
  name?: string;
487
+ /** Display name of dimension. */
488
+ displayName?: string;
489
+ /** Property to specify whether the dimension should be exported for shoebox. */
490
+ toBeExportedForShoebox?: boolean;
491
+ }
492
+
493
+ /** Parameters for creating or updating a secret */
494
+ export interface SecretCreateOrUpdateParameters {
495
+ /** The tags that will be assigned to the secret. */
496
+ tags?: { [propertyName: string]: string };
497
+ /** Properties of the secret */
498
+ properties: SecretProperties;
499
+ }
500
+
501
+ /** Properties of the secret */
502
+ export interface SecretProperties {
503
+ /** The value of the secret. NOTE: 'value' will never be returned from the service, as APIs using this model are is intended for internal use in ARM deployments. Users should use the data-plane REST service for interaction with vault secrets. */
504
+ value?: string;
505
+ /** The content type of the secret. */
506
+ contentType?: string;
507
+ /** The attributes of the secret. */
508
+ attributes?: SecretAttributes;
653
509
  /**
654
- * Display metadata associated with the operation.
655
- */
656
- display?: OperationDisplay;
657
- /**
658
- * The origin of operations.
510
+ * The URI to retrieve the current version of the secret.
511
+ * NOTE: This property will not be serialized. It can only be populated by the server.
659
512
  */
660
- origin?: string;
513
+ readonly secretUri?: string;
661
514
  /**
662
- * One property of operation, include metric specifications.
515
+ * The URI to retrieve the specific version of the secret.
516
+ * NOTE: This property will not be serialized. It can only be populated by the server.
663
517
  */
664
- serviceSpecification?: ServiceSpecification;
518
+ readonly secretUriWithVersion?: string;
665
519
  }
666
520
 
667
- /**
668
- * The object attributes managed by the KeyVault service.
669
- */
521
+ /** The object attributes managed by the KeyVault service. */
670
522
  export interface Attributes {
671
- /**
672
- * Determines whether the object is enabled.
673
- */
523
+ /** Determines whether the object is enabled. */
674
524
  enabled?: boolean;
675
- /**
676
- * Not before date in seconds since 1970-01-01T00:00:00Z.
677
- */
525
+ /** Not before date in seconds since 1970-01-01T00:00:00Z. */
678
526
  notBefore?: Date;
679
- /**
680
- * Expiry date in seconds since 1970-01-01T00:00:00Z.
681
- */
527
+ /** Expiry date in seconds since 1970-01-01T00:00:00Z. */
682
528
  expires?: Date;
683
529
  /**
684
530
  * Creation time in seconds since 1970-01-01T00:00:00Z.
685
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
531
+ * NOTE: This property will not be serialized. It can only be populated by the server.
686
532
  */
687
533
  readonly created?: Date;
688
534
  /**
689
535
  * Last updated time in seconds since 1970-01-01T00:00:00Z.
690
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
536
+ * NOTE: This property will not be serialized. It can only be populated by the server.
691
537
  */
692
538
  readonly updated?: Date;
693
539
  }
694
540
 
695
- /**
696
- * The secret management attributes.
697
- */
698
- export interface SecretAttributes extends Attributes {
541
+ /** Parameters for patching a secret */
542
+ export interface SecretPatchParameters {
543
+ /** The tags that will be assigned to the secret. */
544
+ tags?: { [propertyName: string]: string };
545
+ /** Properties of the secret */
546
+ properties?: SecretPatchProperties;
699
547
  }
700
548
 
701
- /**
702
- * Properties of the secret
703
- */
704
- export interface SecretProperties {
705
- /**
706
- * The value of the secret. NOTE: 'value' will never be returned from the service, as APIs using
707
- * this model are is intended for internal use in ARM deployments. Users should use the
708
- * data-plane REST service for interaction with vault secrets.
709
- */
549
+ /** Properties of the secret */
550
+ export interface SecretPatchProperties {
551
+ /** The value of the secret. */
710
552
  value?: string;
711
- /**
712
- * The content type of the secret.
713
- */
553
+ /** The content type of the secret. */
714
554
  contentType?: string;
715
- /**
716
- * The attributes of the secret.
717
- */
555
+ /** The attributes of the secret. */
718
556
  attributes?: SecretAttributes;
719
- /**
720
- * The URI to retrieve the current version of the secret.
721
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
722
- */
723
- readonly secretUri?: string;
724
- /**
725
- * The URI to retrieve the specific version of the secret.
726
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
727
- */
728
- readonly secretUriWithVersion?: string;
729
557
  }
730
558
 
731
- /**
732
- * Properties of the secret
733
- */
734
- export interface SecretPatchProperties {
735
- /**
736
- * The value of the secret.
737
- */
738
- value?: string;
739
- /**
740
- * The content type of the secret.
741
- */
742
- contentType?: string;
559
+ /** List of secrets */
560
+ export interface SecretListResult {
561
+ /** The list of secrets. */
562
+ value?: Secret[];
563
+ /** The URL to get the next set of secrets. */
564
+ nextLink?: string;
565
+ }
566
+
567
+ /** Private endpoint connection resource. */
568
+ export type PrivateEndpointConnection = Resource & {
569
+ /** Modified whenever there is a change in the state of private endpoint connection. */
570
+ etag?: string;
571
+ /** Properties of the private endpoint object. */
572
+ privateEndpoint?: PrivateEndpoint;
573
+ /** Approval state of the private link connection. */
574
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
743
575
  /**
744
- * The attributes of the secret.
576
+ * Provisioning state of the private endpoint connection.
577
+ * NOTE: This property will not be serialized. It can only be populated by the server.
745
578
  */
746
- attributes?: SecretAttributes;
747
- }
579
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
580
+ };
748
581
 
749
- /**
750
- * Parameters for creating or updating a secret
751
- */
752
- export interface SecretCreateOrUpdateParameters extends BaseResource {
582
+ /** A private link resource */
583
+ export type PrivateLinkResource = Resource & {
753
584
  /**
754
- * The tags that will be assigned to the secret.
585
+ * Group identifier of private link resource.
586
+ * NOTE: This property will not be serialized. It can only be populated by the server.
755
587
  */
756
- tags?: { [propertyName: string]: string };
588
+ readonly groupId?: string;
757
589
  /**
758
- * Properties of the secret
590
+ * Required member names of private link resource.
591
+ * NOTE: This property will not be serialized. It can only be populated by the server.
759
592
  */
593
+ readonly requiredMembers?: string[];
594
+ /** Required DNS zone names of the the private link resource. */
595
+ requiredZoneNames?: string[];
596
+ };
597
+
598
+ /** Resource information with extended details. */
599
+ export type Secret = Resource & {
600
+ /** Properties of the secret */
760
601
  properties: SecretProperties;
602
+ };
603
+
604
+ /** The secret management attributes. */
605
+ export type SecretAttributes = Attributes & {};
606
+
607
+ /** Defines headers for PrivateEndpointConnections_put operation. */
608
+ export interface PrivateEndpointConnectionsPutHeaders {
609
+ /** (specified only if operation does not finish synchronously) The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation. */
610
+ retryAfter?: number;
611
+ /** (specified only if operation does not finish synchronously) The URI to poll for completion status. The response of this URI may be synchronous or asynchronous. */
612
+ azureAsyncOperation?: string;
761
613
  }
762
614
 
763
- /**
764
- * Parameters for patching a secret
765
- */
766
- export interface SecretPatchParameters extends BaseResource {
767
- /**
768
- * The tags that will be assigned to the secret.
769
- */
770
- tags?: { [propertyName: string]: string };
771
- /**
772
- * Properties of the secret
773
- */
774
- properties?: SecretPatchProperties;
615
+ /** Defines headers for PrivateEndpointConnections_delete operation. */
616
+ export interface PrivateEndpointConnectionsDeleteHeaders {
617
+ /** The recommended number of seconds to wait before calling the URI specified in the location header. */
618
+ retryAfter?: number;
619
+ /** The URI to poll for completion status. */
620
+ location?: string;
775
621
  }
776
622
 
777
- /**
778
- * Resource information with extended details.
779
- */
780
- export interface Secret extends Resource {
781
- /**
782
- * Properties of the secret
783
- */
784
- properties: SecretProperties;
623
+ /** Known values of {@link SkuFamily} that the service accepts. */
624
+ export enum KnownSkuFamily {
625
+ A = "A"
785
626
  }
786
627
 
787
628
  /**
788
- * Optional Parameters.
789
- */
790
- export interface VaultsListByResourceGroupOptionalParams extends msRest.RequestOptionsBase {
791
- /**
792
- * Maximum number of results to return.
793
- */
794
- top?: number;
629
+ * Defines values for SkuFamily. \
630
+ * {@link KnownSkuFamily} can be used interchangeably with SkuFamily,
631
+ * this enum contains the known values that the service supports.
632
+ * ### Known values supported by the service
633
+ * **A**
634
+ */
635
+ export type SkuFamily = string;
636
+
637
+ /** Known values of {@link KeyPermissions} that the service accepts. */
638
+ export enum KnownKeyPermissions {
639
+ All = "all",
640
+ Encrypt = "encrypt",
641
+ Decrypt = "decrypt",
642
+ WrapKey = "wrapKey",
643
+ UnwrapKey = "unwrapKey",
644
+ Sign = "sign",
645
+ Verify = "verify",
646
+ Get = "get",
647
+ List = "list",
648
+ Create = "create",
649
+ Update = "update",
650
+ Import = "import",
651
+ Delete = "delete",
652
+ Backup = "backup",
653
+ Restore = "restore",
654
+ Recover = "recover",
655
+ Purge = "purge"
795
656
  }
796
657
 
797
658
  /**
798
- * Optional Parameters.
799
- */
800
- export interface VaultsListBySubscriptionOptionalParams extends msRest.RequestOptionsBase {
801
- /**
802
- * Maximum number of results to return.
803
- */
804
- top?: number;
659
+ * Defines values for KeyPermissions. \
660
+ * {@link KnownKeyPermissions} can be used interchangeably with KeyPermissions,
661
+ * this enum contains the known values that the service supports.
662
+ * ### Known values supported by the service
663
+ * **all** \
664
+ * **encrypt** \
665
+ * **decrypt** \
666
+ * **wrapKey** \
667
+ * **unwrapKey** \
668
+ * **sign** \
669
+ * **verify** \
670
+ * **get** \
671
+ * **list** \
672
+ * **create** \
673
+ * **update** \
674
+ * **import** \
675
+ * **delete** \
676
+ * **backup** \
677
+ * **restore** \
678
+ * **recover** \
679
+ * **purge**
680
+ */
681
+ export type KeyPermissions = string;
682
+
683
+ /** Known values of {@link SecretPermissions} that the service accepts. */
684
+ export enum KnownSecretPermissions {
685
+ All = "all",
686
+ Get = "get",
687
+ List = "list",
688
+ Set = "set",
689
+ Delete = "delete",
690
+ Backup = "backup",
691
+ Restore = "restore",
692
+ Recover = "recover",
693
+ Purge = "purge"
805
694
  }
806
695
 
807
696
  /**
808
- * Optional Parameters.
809
- */
810
- export interface VaultsListOptionalParams extends msRest.RequestOptionsBase {
811
- /**
812
- * Maximum number of results to return.
813
- */
814
- top?: number;
697
+ * Defines values for SecretPermissions. \
698
+ * {@link KnownSecretPermissions} can be used interchangeably with SecretPermissions,
699
+ * this enum contains the known values that the service supports.
700
+ * ### Known values supported by the service
701
+ * **all** \
702
+ * **get** \
703
+ * **list** \
704
+ * **set** \
705
+ * **delete** \
706
+ * **backup** \
707
+ * **restore** \
708
+ * **recover** \
709
+ * **purge**
710
+ */
711
+ export type SecretPermissions = string;
712
+
713
+ /** Known values of {@link CertificatePermissions} that the service accepts. */
714
+ export enum KnownCertificatePermissions {
715
+ All = "all",
716
+ Get = "get",
717
+ List = "list",
718
+ Delete = "delete",
719
+ Create = "create",
720
+ Import = "import",
721
+ Update = "update",
722
+ Managecontacts = "managecontacts",
723
+ Getissuers = "getissuers",
724
+ Listissuers = "listissuers",
725
+ Setissuers = "setissuers",
726
+ Deleteissuers = "deleteissuers",
727
+ Manageissuers = "manageissuers",
728
+ Recover = "recover",
729
+ Purge = "purge",
730
+ Backup = "backup",
731
+ Restore = "restore"
815
732
  }
816
733
 
817
734
  /**
818
- * Optional Parameters.
819
- */
820
- export interface SecretsListOptionalParams extends msRest.RequestOptionsBase {
821
- /**
822
- * Maximum number of results to return.
823
- */
824
- top?: number;
735
+ * Defines values for CertificatePermissions. \
736
+ * {@link KnownCertificatePermissions} can be used interchangeably with CertificatePermissions,
737
+ * this enum contains the known values that the service supports.
738
+ * ### Known values supported by the service
739
+ * **all** \
740
+ * **get** \
741
+ * **list** \
742
+ * **delete** \
743
+ * **create** \
744
+ * **import** \
745
+ * **update** \
746
+ * **managecontacts** \
747
+ * **getissuers** \
748
+ * **listissuers** \
749
+ * **setissuers** \
750
+ * **deleteissuers** \
751
+ * **manageissuers** \
752
+ * **recover** \
753
+ * **purge** \
754
+ * **backup** \
755
+ * **restore**
756
+ */
757
+ export type CertificatePermissions = string;
758
+
759
+ /** Known values of {@link StoragePermissions} that the service accepts. */
760
+ export enum KnownStoragePermissions {
761
+ All = "all",
762
+ Get = "get",
763
+ List = "list",
764
+ Delete = "delete",
765
+ Set = "set",
766
+ Update = "update",
767
+ Regeneratekey = "regeneratekey",
768
+ Recover = "recover",
769
+ Purge = "purge",
770
+ Backup = "backup",
771
+ Restore = "restore",
772
+ Setsas = "setsas",
773
+ Listsas = "listsas",
774
+ Getsas = "getsas",
775
+ Deletesas = "deletesas"
825
776
  }
826
777
 
827
778
  /**
828
- * An interface representing KeyVaultManagementClientOptions.
829
- */
830
- export interface KeyVaultManagementClientOptions extends AzureServiceClientOptions {
831
- baseUri?: string;
779
+ * Defines values for StoragePermissions. \
780
+ * {@link KnownStoragePermissions} can be used interchangeably with StoragePermissions,
781
+ * this enum contains the known values that the service supports.
782
+ * ### Known values supported by the service
783
+ * **all** \
784
+ * **get** \
785
+ * **list** \
786
+ * **delete** \
787
+ * **set** \
788
+ * **update** \
789
+ * **regeneratekey** \
790
+ * **recover** \
791
+ * **purge** \
792
+ * **backup** \
793
+ * **restore** \
794
+ * **setsas** \
795
+ * **listsas** \
796
+ * **getsas** \
797
+ * **deletesas**
798
+ */
799
+ export type StoragePermissions = string;
800
+
801
+ /** Known values of {@link NetworkRuleBypassOptions} that the service accepts. */
802
+ export enum KnownNetworkRuleBypassOptions {
803
+ AzureServices = "AzureServices",
804
+ None = "None"
832
805
  }
833
806
 
834
807
  /**
835
- * Defines headers for Put operation.
808
+ * Defines values for NetworkRuleBypassOptions. \
809
+ * {@link KnownNetworkRuleBypassOptions} can be used interchangeably with NetworkRuleBypassOptions,
810
+ * this enum contains the known values that the service supports.
811
+ * ### Known values supported by the service
812
+ * **AzureServices** \
813
+ * **None**
836
814
  */
837
- export interface PrivateEndpointConnectionsPutHeaders {
838
- /**
839
- * (specified only if operation does not finish synchronously) The recommended number of seconds
840
- * to wait before calling the URI specified in Azure-AsyncOperation.
841
- */
842
- retryAfter: number;
843
- /**
844
- * (specified only if operation does not finish synchronously) The URI to poll for completion
845
- * status. The response of this URI may be synchronous or asynchronous.
846
- */
847
- azureAsyncOperation: string;
815
+ export type NetworkRuleBypassOptions = string;
816
+
817
+ /** Known values of {@link NetworkRuleAction} that the service accepts. */
818
+ export enum KnownNetworkRuleAction {
819
+ Allow = "Allow",
820
+ Deny = "Deny"
848
821
  }
849
822
 
850
823
  /**
851
- * Defines headers for Delete operation.
824
+ * Defines values for NetworkRuleAction. \
825
+ * {@link KnownNetworkRuleAction} can be used interchangeably with NetworkRuleAction,
826
+ * this enum contains the known values that the service supports.
827
+ * ### Known values supported by the service
828
+ * **Allow** \
829
+ * **Deny**
852
830
  */
853
- export interface PrivateEndpointConnectionsDeleteHeaders {
854
- /**
855
- * The recommended number of seconds to wait before calling the URI specified in the location
856
- * header.
857
- */
858
- retryAfter: number;
859
- /**
860
- * The URI to poll for completion status.
861
- */
862
- locationHeader: string;
831
+ export type NetworkRuleAction = string;
832
+
833
+ /** Known values of {@link VaultProvisioningState} that the service accepts. */
834
+ export enum KnownVaultProvisioningState {
835
+ Succeeded = "Succeeded",
836
+ RegisteringDns = "RegisteringDns"
863
837
  }
864
838
 
865
839
  /**
866
- * @interface
867
- * List of vaults
868
- * @extends Array<Vault>
840
+ * Defines values for VaultProvisioningState. \
841
+ * {@link KnownVaultProvisioningState} can be used interchangeably with VaultProvisioningState,
842
+ * this enum contains the known values that the service supports.
843
+ * ### Known values supported by the service
844
+ * **Succeeded** \
845
+ * **RegisteringDns**
869
846
  */
870
- export interface VaultListResult extends Array<Vault> {
871
- /**
872
- * The URL to get the next set of vaults.
873
- */
874
- nextLink?: string;
847
+ export type VaultProvisioningState = string;
848
+
849
+ /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
850
+ export enum KnownPrivateEndpointServiceConnectionStatus {
851
+ Pending = "Pending",
852
+ Approved = "Approved",
853
+ Rejected = "Rejected",
854
+ Disconnected = "Disconnected"
875
855
  }
876
856
 
877
857
  /**
878
- * @interface
879
- * List of vaults
880
- * @extends Array<DeletedVault>
881
- */
882
- export interface DeletedVaultListResult extends Array<DeletedVault> {
883
- /**
884
- * The URL to get the next set of deleted vaults.
885
- */
886
- nextLink?: string;
858
+ * Defines values for PrivateEndpointServiceConnectionStatus. \
859
+ * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
860
+ * this enum contains the known values that the service supports.
861
+ * ### Known values supported by the service
862
+ * **Pending** \
863
+ * **Approved** \
864
+ * **Rejected** \
865
+ * **Disconnected**
866
+ */
867
+ export type PrivateEndpointServiceConnectionStatus = string;
868
+
869
+ /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
870
+ export enum KnownPrivateEndpointConnectionProvisioningState {
871
+ Succeeded = "Succeeded",
872
+ Creating = "Creating",
873
+ Updating = "Updating",
874
+ Deleting = "Deleting",
875
+ Failed = "Failed",
876
+ Disconnected = "Disconnected"
887
877
  }
888
878
 
889
879
  /**
890
- * @interface
891
- * List of vault resources.
892
- * @extends Array<Resource>
893
- */
894
- export interface ResourceListResult extends Array<Resource> {
895
- /**
896
- * The URL to get the next set of vault resources.
897
- */
898
- nextLink?: string;
880
+ * Defines values for PrivateEndpointConnectionProvisioningState. \
881
+ * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
882
+ * this enum contains the known values that the service supports.
883
+ * ### Known values supported by the service
884
+ * **Succeeded** \
885
+ * **Creating** \
886
+ * **Updating** \
887
+ * **Deleting** \
888
+ * **Failed** \
889
+ * **Disconnected**
890
+ */
891
+ export type PrivateEndpointConnectionProvisioningState = string;
892
+ /** Defines values for SkuName. */
893
+ export type SkuName = "standard" | "premium";
894
+ /** Defines values for CreateMode. */
895
+ export type CreateMode = "recover" | "default";
896
+ /** Defines values for AccessPolicyUpdateKind. */
897
+ export type AccessPolicyUpdateKind = "add" | "replace" | "remove";
898
+ /** Defines values for Reason. */
899
+ export type Reason = "AccountNameInvalid" | "AlreadyExists";
900
+
901
+ /** Optional parameters. */
902
+ export interface VaultsCreateOrUpdateOptionalParams
903
+ extends coreClient.OperationOptions {
904
+ /** Delay to wait until next poll, in milliseconds. */
905
+ updateIntervalInMs?: number;
906
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
907
+ resumeFrom?: string;
899
908
  }
900
909
 
901
- /**
902
- * @interface
903
- * Result of the request to list Storage operations. It contains a list of operations and a URL
904
- * link to get the next set of results.
905
- * @extends Array<Operation>
906
- */
907
- export interface OperationListResult extends Array<Operation> {
908
- /**
909
- * The URL to get the next set of operations.
910
- */
911
- nextLink?: string;
910
+ /** Contains response data for the createOrUpdate operation. */
911
+ export type VaultsCreateOrUpdateResponse = Vault;
912
+
913
+ /** Optional parameters. */
914
+ export interface VaultsUpdateOptionalParams
915
+ extends coreClient.OperationOptions {}
916
+
917
+ /** Contains response data for the update operation. */
918
+ export type VaultsUpdateResponse = Vault;
919
+
920
+ /** Optional parameters. */
921
+ export interface VaultsDeleteOptionalParams
922
+ extends coreClient.OperationOptions {}
923
+
924
+ /** Optional parameters. */
925
+ export interface VaultsGetOptionalParams extends coreClient.OperationOptions {}
926
+
927
+ /** Contains response data for the get operation. */
928
+ export type VaultsGetResponse = Vault;
929
+
930
+ /** Optional parameters. */
931
+ export interface VaultsUpdateAccessPolicyOptionalParams
932
+ extends coreClient.OperationOptions {}
933
+
934
+ /** Contains response data for the updateAccessPolicy operation. */
935
+ export type VaultsUpdateAccessPolicyResponse = VaultAccessPolicyParameters;
936
+
937
+ /** Optional parameters. */
938
+ export interface VaultsListByResourceGroupOptionalParams
939
+ extends coreClient.OperationOptions {
940
+ /** Maximum number of results to return. */
941
+ top?: number;
912
942
  }
913
943
 
914
- /**
915
- * @interface
916
- * List of secrets
917
- * @extends Array<Secret>
918
- */
919
- export interface SecretListResult extends Array<Secret> {
920
- /**
921
- * The URL to get the next set of secrets.
922
- */
923
- nextLink?: string;
944
+ /** Contains response data for the listByResourceGroup operation. */
945
+ export type VaultsListByResourceGroupResponse = VaultListResult;
946
+
947
+ /** Optional parameters. */
948
+ export interface VaultsListBySubscriptionOptionalParams
949
+ extends coreClient.OperationOptions {
950
+ /** Maximum number of results to return. */
951
+ top?: number;
924
952
  }
925
953
 
926
- /**
927
- * Defines values for SkuName.
928
- * Possible values include: 'standard', 'premium'
929
- * @readonly
930
- * @enum {string}
931
- */
932
- export type SkuName = 'standard' | 'premium';
954
+ /** Contains response data for the listBySubscription operation. */
955
+ export type VaultsListBySubscriptionResponse = VaultListResult;
933
956
 
934
- /**
935
- * Defines values for KeyPermissions.
936
- * Possible values include: 'all', 'encrypt', 'decrypt', 'wrapKey', 'unwrapKey', 'sign', 'verify',
937
- * 'get', 'list', 'create', 'update', 'import', 'delete', 'backup', 'restore', 'recover', 'purge'
938
- * @readonly
939
- * @enum {string}
940
- */
941
- export type KeyPermissions = 'all' | 'encrypt' | 'decrypt' | 'wrapKey' | 'unwrapKey' | 'sign' | 'verify' | 'get' | 'list' | 'create' | 'update' | 'import' | 'delete' | 'backup' | 'restore' | 'recover' | 'purge';
957
+ /** Optional parameters. */
958
+ export interface VaultsListDeletedOptionalParams
959
+ extends coreClient.OperationOptions {}
942
960
 
943
- /**
944
- * Defines values for SecretPermissions.
945
- * Possible values include: 'all', 'get', 'list', 'set', 'delete', 'backup', 'restore', 'recover',
946
- * 'purge'
947
- * @readonly
948
- * @enum {string}
949
- */
950
- export type SecretPermissions = 'all' | 'get' | 'list' | 'set' | 'delete' | 'backup' | 'restore' | 'recover' | 'purge';
961
+ /** Contains response data for the listDeleted operation. */
962
+ export type VaultsListDeletedResponse = DeletedVaultListResult;
951
963
 
952
- /**
953
- * Defines values for CertificatePermissions.
954
- * Possible values include: 'all', 'get', 'list', 'delete', 'create', 'import', 'update',
955
- * 'managecontacts', 'getissuers', 'listissuers', 'setissuers', 'deleteissuers', 'manageissuers',
956
- * 'recover', 'purge', 'backup', 'restore'
957
- * @readonly
958
- * @enum {string}
959
- */
960
- export type CertificatePermissions = 'all' | 'get' | 'list' | 'delete' | 'create' | 'import' | 'update' | 'managecontacts' | 'getissuers' | 'listissuers' | 'setissuers' | 'deleteissuers' | 'manageissuers' | 'recover' | 'purge' | 'backup' | 'restore';
964
+ /** Optional parameters. */
965
+ export interface VaultsGetDeletedOptionalParams
966
+ extends coreClient.OperationOptions {}
961
967
 
962
- /**
963
- * Defines values for StoragePermissions.
964
- * Possible values include: 'all', 'get', 'list', 'delete', 'set', 'update', 'regeneratekey',
965
- * 'recover', 'purge', 'backup', 'restore', 'setsas', 'listsas', 'getsas', 'deletesas'
966
- * @readonly
967
- * @enum {string}
968
- */
969
- export type StoragePermissions = 'all' | 'get' | 'list' | 'delete' | 'set' | 'update' | 'regeneratekey' | 'recover' | 'purge' | 'backup' | 'restore' | 'setsas' | 'listsas' | 'getsas' | 'deletesas';
968
+ /** Contains response data for the getDeleted operation. */
969
+ export type VaultsGetDeletedResponse = DeletedVault;
970
970
 
971
- /**
972
- * Defines values for CreateMode.
973
- * Possible values include: 'recover', 'default'
974
- * @readonly
975
- * @enum {string}
976
- */
977
- export type CreateMode = 'recover' | 'default';
971
+ /** Optional parameters. */
972
+ export interface VaultsPurgeDeletedOptionalParams
973
+ extends coreClient.OperationOptions {
974
+ /** Delay to wait until next poll, in milliseconds. */
975
+ updateIntervalInMs?: number;
976
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
977
+ resumeFrom?: string;
978
+ }
978
979
 
979
- /**
980
- * Defines values for NetworkRuleBypassOptions.
981
- * Possible values include: 'AzureServices', 'None'
982
- * @readonly
983
- * @enum {string}
984
- */
985
- export type NetworkRuleBypassOptions = 'AzureServices' | 'None';
980
+ /** Optional parameters. */
981
+ export interface VaultsListOptionalParams extends coreClient.OperationOptions {
982
+ /** Maximum number of results to return. */
983
+ top?: number;
984
+ }
986
985
 
987
- /**
988
- * Defines values for NetworkRuleAction.
989
- * Possible values include: 'Allow', 'Deny'
990
- * @readonly
991
- * @enum {string}
992
- */
993
- export type NetworkRuleAction = 'Allow' | 'Deny';
986
+ /** Contains response data for the list operation. */
987
+ export type VaultsListResponse = ResourceListResult;
994
988
 
995
- /**
996
- * Defines values for PrivateEndpointServiceConnectionStatus.
997
- * Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected'
998
- * @readonly
999
- * @enum {string}
1000
- */
1001
- export type PrivateEndpointServiceConnectionStatus = 'Pending' | 'Approved' | 'Rejected' | 'Disconnected';
989
+ /** Optional parameters. */
990
+ export interface VaultsCheckNameAvailabilityOptionalParams
991
+ extends coreClient.OperationOptions {}
1002
992
 
1003
- /**
1004
- * Defines values for PrivateEndpointConnectionProvisioningState.
1005
- * Possible values include: 'Succeeded', 'Creating', 'Updating', 'Deleting', 'Failed',
1006
- * 'Disconnected'
1007
- * @readonly
1008
- * @enum {string}
1009
- */
1010
- export type PrivateEndpointConnectionProvisioningState = 'Succeeded' | 'Creating' | 'Updating' | 'Deleting' | 'Failed' | 'Disconnected';
993
+ /** Contains response data for the checkNameAvailability operation. */
994
+ export type VaultsCheckNameAvailabilityResponse = CheckNameAvailabilityResult;
1011
995
 
1012
- /**
1013
- * Defines values for Reason.
1014
- * Possible values include: 'AccountNameInvalid', 'AlreadyExists'
1015
- * @readonly
1016
- * @enum {string}
1017
- */
1018
- export type Reason = 'AccountNameInvalid' | 'AlreadyExists';
996
+ /** Optional parameters. */
997
+ export interface VaultsListByResourceGroupNextOptionalParams
998
+ extends coreClient.OperationOptions {
999
+ /** Maximum number of results to return. */
1000
+ top?: number;
1001
+ }
1019
1002
 
1020
- /**
1021
- * Defines values for AccessPolicyUpdateKind.
1022
- * Possible values include: 'add', 'replace', 'remove'
1023
- * @readonly
1024
- * @enum {string}
1025
- */
1026
- export type AccessPolicyUpdateKind = 'add' | 'replace' | 'remove';
1003
+ /** Contains response data for the listByResourceGroupNext operation. */
1004
+ export type VaultsListByResourceGroupNextResponse = VaultListResult;
1027
1005
 
1028
- /**
1029
- * Contains response data for the createOrUpdate operation.
1030
- */
1031
- export type VaultsCreateOrUpdateResponse = Vault & {
1032
- /**
1033
- * The underlying HTTP response.
1034
- */
1035
- _response: msRest.HttpResponse & {
1036
- /**
1037
- * The response body as text (string format)
1038
- */
1039
- bodyAsText: string;
1040
-
1041
- /**
1042
- * The response body as parsed JSON or XML
1043
- */
1044
- parsedBody: Vault;
1045
- };
1046
- };
1006
+ /** Optional parameters. */
1007
+ export interface VaultsListBySubscriptionNextOptionalParams
1008
+ extends coreClient.OperationOptions {
1009
+ /** Maximum number of results to return. */
1010
+ top?: number;
1011
+ }
1047
1012
 
1048
- /**
1049
- * Contains response data for the update operation.
1050
- */
1051
- export type VaultsUpdateResponse = Vault & {
1052
- /**
1053
- * The underlying HTTP response.
1054
- */
1055
- _response: msRest.HttpResponse & {
1056
- /**
1057
- * The response body as text (string format)
1058
- */
1059
- bodyAsText: string;
1060
-
1061
- /**
1062
- * The response body as parsed JSON or XML
1063
- */
1064
- parsedBody: Vault;
1065
- };
1066
- };
1013
+ /** Contains response data for the listBySubscriptionNext operation. */
1014
+ export type VaultsListBySubscriptionNextResponse = VaultListResult;
1067
1015
 
1068
- /**
1069
- * Contains response data for the get operation.
1070
- */
1071
- export type VaultsGetResponse = Vault & {
1072
- /**
1073
- * The underlying HTTP response.
1074
- */
1075
- _response: msRest.HttpResponse & {
1076
- /**
1077
- * The response body as text (string format)
1078
- */
1079
- bodyAsText: string;
1080
-
1081
- /**
1082
- * The response body as parsed JSON or XML
1083
- */
1084
- parsedBody: Vault;
1085
- };
1086
- };
1016
+ /** Optional parameters. */
1017
+ export interface VaultsListDeletedNextOptionalParams
1018
+ extends coreClient.OperationOptions {}
1087
1019
 
1088
- /**
1089
- * Contains response data for the updateAccessPolicy operation.
1090
- */
1091
- export type VaultsUpdateAccessPolicyResponse = VaultAccessPolicyParameters & {
1092
- /**
1093
- * The underlying HTTP response.
1094
- */
1095
- _response: msRest.HttpResponse & {
1096
- /**
1097
- * The response body as text (string format)
1098
- */
1099
- bodyAsText: string;
1100
-
1101
- /**
1102
- * The response body as parsed JSON or XML
1103
- */
1104
- parsedBody: VaultAccessPolicyParameters;
1105
- };
1106
- };
1020
+ /** Contains response data for the listDeletedNext operation. */
1021
+ export type VaultsListDeletedNextResponse = DeletedVaultListResult;
1107
1022
 
1108
- /**
1109
- * Contains response data for the listByResourceGroup operation.
1110
- */
1111
- export type VaultsListByResourceGroupResponse = VaultListResult & {
1112
- /**
1113
- * The underlying HTTP response.
1114
- */
1115
- _response: msRest.HttpResponse & {
1116
- /**
1117
- * The response body as text (string format)
1118
- */
1119
- bodyAsText: string;
1120
-
1121
- /**
1122
- * The response body as parsed JSON or XML
1123
- */
1124
- parsedBody: VaultListResult;
1125
- };
1126
- };
1023
+ /** Optional parameters. */
1024
+ export interface VaultsListNextOptionalParams
1025
+ extends coreClient.OperationOptions {
1026
+ /** Maximum number of results to return. */
1027
+ top?: number;
1028
+ }
1127
1029
 
1128
- /**
1129
- * Contains response data for the listBySubscription operation.
1130
- */
1131
- export type VaultsListBySubscriptionResponse = VaultListResult & {
1132
- /**
1133
- * The underlying HTTP response.
1134
- */
1135
- _response: msRest.HttpResponse & {
1136
- /**
1137
- * The response body as text (string format)
1138
- */
1139
- bodyAsText: string;
1140
-
1141
- /**
1142
- * The response body as parsed JSON or XML
1143
- */
1144
- parsedBody: VaultListResult;
1145
- };
1146
- };
1030
+ /** Contains response data for the listNext operation. */
1031
+ export type VaultsListNextResponse = ResourceListResult;
1147
1032
 
1148
- /**
1149
- * Contains response data for the listDeleted operation.
1150
- */
1151
- export type VaultsListDeletedResponse = DeletedVaultListResult & {
1152
- /**
1153
- * The underlying HTTP response.
1154
- */
1155
- _response: msRest.HttpResponse & {
1156
- /**
1157
- * The response body as text (string format)
1158
- */
1159
- bodyAsText: string;
1160
-
1161
- /**
1162
- * The response body as parsed JSON or XML
1163
- */
1164
- parsedBody: DeletedVaultListResult;
1165
- };
1166
- };
1033
+ /** Optional parameters. */
1034
+ export interface PrivateEndpointConnectionsGetOptionalParams
1035
+ extends coreClient.OperationOptions {}
1167
1036
 
1168
- /**
1169
- * Contains response data for the getDeleted operation.
1170
- */
1171
- export type VaultsGetDeletedResponse = DeletedVault & {
1172
- /**
1173
- * The underlying HTTP response.
1174
- */
1175
- _response: msRest.HttpResponse & {
1176
- /**
1177
- * The response body as text (string format)
1178
- */
1179
- bodyAsText: string;
1180
-
1181
- /**
1182
- * The response body as parsed JSON or XML
1183
- */
1184
- parsedBody: DeletedVault;
1185
- };
1186
- };
1037
+ /** Contains response data for the get operation. */
1038
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
1187
1039
 
1188
- /**
1189
- * Contains response data for the list operation.
1190
- */
1191
- export type VaultsListResponse = ResourceListResult & {
1192
- /**
1193
- * The underlying HTTP response.
1194
- */
1195
- _response: msRest.HttpResponse & {
1196
- /**
1197
- * The response body as text (string format)
1198
- */
1199
- bodyAsText: string;
1200
-
1201
- /**
1202
- * The response body as parsed JSON or XML
1203
- */
1204
- parsedBody: ResourceListResult;
1205
- };
1206
- };
1040
+ /** Optional parameters. */
1041
+ export interface PrivateEndpointConnectionsPutOptionalParams
1042
+ extends coreClient.OperationOptions {}
1207
1043
 
1208
- /**
1209
- * Contains response data for the checkNameAvailability operation.
1210
- */
1211
- export type VaultsCheckNameAvailabilityResponse = CheckNameAvailabilityResult & {
1212
- /**
1213
- * The underlying HTTP response.
1214
- */
1215
- _response: msRest.HttpResponse & {
1216
- /**
1217
- * The response body as text (string format)
1218
- */
1219
- bodyAsText: string;
1220
-
1221
- /**
1222
- * The response body as parsed JSON or XML
1223
- */
1224
- parsedBody: CheckNameAvailabilityResult;
1225
- };
1226
- };
1044
+ /** Contains response data for the put operation. */
1045
+ export type PrivateEndpointConnectionsPutResponse = PrivateEndpointConnectionsPutHeaders &
1046
+ PrivateEndpointConnection;
1227
1047
 
1228
- /**
1229
- * Contains response data for the beginCreateOrUpdate operation.
1230
- */
1231
- export type VaultsBeginCreateOrUpdateResponse = Vault & {
1232
- /**
1233
- * The underlying HTTP response.
1234
- */
1235
- _response: msRest.HttpResponse & {
1236
- /**
1237
- * The response body as text (string format)
1238
- */
1239
- bodyAsText: string;
1240
-
1241
- /**
1242
- * The response body as parsed JSON or XML
1243
- */
1244
- parsedBody: Vault;
1245
- };
1246
- };
1048
+ /** Optional parameters. */
1049
+ export interface PrivateEndpointConnectionsDeleteOptionalParams
1050
+ extends coreClient.OperationOptions {
1051
+ /** Delay to wait until next poll, in milliseconds. */
1052
+ updateIntervalInMs?: number;
1053
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1054
+ resumeFrom?: string;
1055
+ }
1247
1056
 
1248
- /**
1249
- * Contains response data for the listByResourceGroupNext operation.
1250
- */
1251
- export type VaultsListByResourceGroupNextResponse = VaultListResult & {
1252
- /**
1253
- * The underlying HTTP response.
1254
- */
1255
- _response: msRest.HttpResponse & {
1256
- /**
1257
- * The response body as text (string format)
1258
- */
1259
- bodyAsText: string;
1260
-
1261
- /**
1262
- * The response body as parsed JSON or XML
1263
- */
1264
- parsedBody: VaultListResult;
1265
- };
1266
- };
1057
+ /** Contains response data for the delete operation. */
1058
+ export type PrivateEndpointConnectionsDeleteResponse = PrivateEndpointConnection;
1267
1059
 
1268
- /**
1269
- * Contains response data for the listBySubscriptionNext operation.
1270
- */
1271
- export type VaultsListBySubscriptionNextResponse = VaultListResult & {
1272
- /**
1273
- * The underlying HTTP response.
1274
- */
1275
- _response: msRest.HttpResponse & {
1276
- /**
1277
- * The response body as text (string format)
1278
- */
1279
- bodyAsText: string;
1280
-
1281
- /**
1282
- * The response body as parsed JSON or XML
1283
- */
1284
- parsedBody: VaultListResult;
1285
- };
1286
- };
1060
+ /** Optional parameters. */
1061
+ export interface PrivateLinkResourcesListByVaultOptionalParams
1062
+ extends coreClient.OperationOptions {}
1287
1063
 
1288
- /**
1289
- * Contains response data for the listDeletedNext operation.
1290
- */
1291
- export type VaultsListDeletedNextResponse = DeletedVaultListResult & {
1292
- /**
1293
- * The underlying HTTP response.
1294
- */
1295
- _response: msRest.HttpResponse & {
1296
- /**
1297
- * The response body as text (string format)
1298
- */
1299
- bodyAsText: string;
1300
-
1301
- /**
1302
- * The response body as parsed JSON or XML
1303
- */
1304
- parsedBody: DeletedVaultListResult;
1305
- };
1306
- };
1064
+ /** Contains response data for the listByVault operation. */
1065
+ export type PrivateLinkResourcesListByVaultResponse = PrivateLinkResourceListResult;
1307
1066
 
1308
- /**
1309
- * Contains response data for the listNext operation.
1310
- */
1311
- export type VaultsListNextResponse = ResourceListResult & {
1312
- /**
1313
- * The underlying HTTP response.
1314
- */
1315
- _response: msRest.HttpResponse & {
1316
- /**
1317
- * The response body as text (string format)
1318
- */
1319
- bodyAsText: string;
1320
-
1321
- /**
1322
- * The response body as parsed JSON or XML
1323
- */
1324
- parsedBody: ResourceListResult;
1325
- };
1326
- };
1067
+ /** Optional parameters. */
1068
+ export interface OperationsListOptionalParams
1069
+ extends coreClient.OperationOptions {}
1327
1070
 
1328
- /**
1329
- * Contains response data for the get operation.
1330
- */
1331
- export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & {
1332
- /**
1333
- * The underlying HTTP response.
1334
- */
1335
- _response: msRest.HttpResponse & {
1336
- /**
1337
- * The response body as text (string format)
1338
- */
1339
- bodyAsText: string;
1340
-
1341
- /**
1342
- * The response body as parsed JSON or XML
1343
- */
1344
- parsedBody: PrivateEndpointConnection;
1345
- };
1346
- };
1071
+ /** Contains response data for the list operation. */
1072
+ export type OperationsListResponse = OperationListResult;
1347
1073
 
1348
- /**
1349
- * Contains response data for the put operation.
1350
- */
1351
- export type PrivateEndpointConnectionsPutResponse = PrivateEndpointConnection & PrivateEndpointConnectionsPutHeaders & {
1352
- /**
1353
- * The underlying HTTP response.
1354
- */
1355
- _response: msRest.HttpResponse & {
1356
- /**
1357
- * The parsed HTTP response headers.
1358
- */
1359
- parsedHeaders: PrivateEndpointConnectionsPutHeaders;
1360
-
1361
- /**
1362
- * The response body as text (string format)
1363
- */
1364
- bodyAsText: string;
1365
-
1366
- /**
1367
- * The response body as parsed JSON or XML
1368
- */
1369
- parsedBody: PrivateEndpointConnection;
1370
- };
1371
- };
1074
+ /** Optional parameters. */
1075
+ export interface OperationsListNextOptionalParams
1076
+ extends coreClient.OperationOptions {}
1372
1077
 
1373
- /**
1374
- * Contains response data for the deleteMethod operation.
1375
- */
1376
- export type PrivateEndpointConnectionsDeleteResponse = PrivateEndpointConnection & PrivateEndpointConnectionsDeleteHeaders & {
1377
- /**
1378
- * The underlying HTTP response.
1379
- */
1380
- _response: msRest.HttpResponse & {
1381
- /**
1382
- * The parsed HTTP response headers.
1383
- */
1384
- parsedHeaders: PrivateEndpointConnectionsDeleteHeaders;
1385
-
1386
- /**
1387
- * The response body as text (string format)
1388
- */
1389
- bodyAsText: string;
1390
-
1391
- /**
1392
- * The response body as parsed JSON or XML
1393
- */
1394
- parsedBody: PrivateEndpointConnection;
1395
- };
1396
- };
1078
+ /** Contains response data for the listNext operation. */
1079
+ export type OperationsListNextResponse = OperationListResult;
1397
1080
 
1398
- /**
1399
- * Contains response data for the listByVault operation.
1400
- */
1401
- export type PrivateLinkResourcesListByVaultResponse = PrivateLinkResourceListResult & {
1402
- /**
1403
- * The underlying HTTP response.
1404
- */
1405
- _response: msRest.HttpResponse & {
1406
- /**
1407
- * The response body as text (string format)
1408
- */
1409
- bodyAsText: string;
1410
-
1411
- /**
1412
- * The response body as parsed JSON or XML
1413
- */
1414
- parsedBody: PrivateLinkResourceListResult;
1415
- };
1416
- };
1081
+ /** Optional parameters. */
1082
+ export interface SecretsCreateOrUpdateOptionalParams
1083
+ extends coreClient.OperationOptions {}
1417
1084
 
1418
- /**
1419
- * Contains response data for the list operation.
1420
- */
1421
- export type OperationsListResponse = OperationListResult & {
1422
- /**
1423
- * The underlying HTTP response.
1424
- */
1425
- _response: msRest.HttpResponse & {
1426
- /**
1427
- * The response body as text (string format)
1428
- */
1429
- bodyAsText: string;
1430
-
1431
- /**
1432
- * The response body as parsed JSON or XML
1433
- */
1434
- parsedBody: OperationListResult;
1435
- };
1436
- };
1085
+ /** Contains response data for the createOrUpdate operation. */
1086
+ export type SecretsCreateOrUpdateResponse = Secret;
1437
1087
 
1438
- /**
1439
- * Contains response data for the listNext operation.
1440
- */
1441
- export type OperationsListNextResponse = OperationListResult & {
1442
- /**
1443
- * The underlying HTTP response.
1444
- */
1445
- _response: msRest.HttpResponse & {
1446
- /**
1447
- * The response body as text (string format)
1448
- */
1449
- bodyAsText: string;
1450
-
1451
- /**
1452
- * The response body as parsed JSON or XML
1453
- */
1454
- parsedBody: OperationListResult;
1455
- };
1456
- };
1088
+ /** Optional parameters. */
1089
+ export interface SecretsUpdateOptionalParams
1090
+ extends coreClient.OperationOptions {}
1457
1091
 
1458
- /**
1459
- * Contains response data for the createOrUpdate operation.
1460
- */
1461
- export type SecretsCreateOrUpdateResponse = Secret & {
1462
- /**
1463
- * The underlying HTTP response.
1464
- */
1465
- _response: msRest.HttpResponse & {
1466
- /**
1467
- * The response body as text (string format)
1468
- */
1469
- bodyAsText: string;
1470
-
1471
- /**
1472
- * The response body as parsed JSON or XML
1473
- */
1474
- parsedBody: Secret;
1475
- };
1476
- };
1092
+ /** Contains response data for the update operation. */
1093
+ export type SecretsUpdateResponse = Secret;
1477
1094
 
1478
- /**
1479
- * Contains response data for the update operation.
1480
- */
1481
- export type SecretsUpdateResponse = Secret & {
1482
- /**
1483
- * The underlying HTTP response.
1484
- */
1485
- _response: msRest.HttpResponse & {
1486
- /**
1487
- * The response body as text (string format)
1488
- */
1489
- bodyAsText: string;
1490
-
1491
- /**
1492
- * The response body as parsed JSON or XML
1493
- */
1494
- parsedBody: Secret;
1495
- };
1496
- };
1095
+ /** Optional parameters. */
1096
+ export interface SecretsGetOptionalParams extends coreClient.OperationOptions {}
1497
1097
 
1498
- /**
1499
- * Contains response data for the get operation.
1500
- */
1501
- export type SecretsGetResponse = Secret & {
1502
- /**
1503
- * The underlying HTTP response.
1504
- */
1505
- _response: msRest.HttpResponse & {
1506
- /**
1507
- * The response body as text (string format)
1508
- */
1509
- bodyAsText: string;
1510
-
1511
- /**
1512
- * The response body as parsed JSON or XML
1513
- */
1514
- parsedBody: Secret;
1515
- };
1516
- };
1098
+ /** Contains response data for the get operation. */
1099
+ export type SecretsGetResponse = Secret;
1517
1100
 
1518
- /**
1519
- * Contains response data for the list operation.
1520
- */
1521
- export type SecretsListResponse = SecretListResult & {
1522
- /**
1523
- * The underlying HTTP response.
1524
- */
1525
- _response: msRest.HttpResponse & {
1526
- /**
1527
- * The response body as text (string format)
1528
- */
1529
- bodyAsText: string;
1530
-
1531
- /**
1532
- * The response body as parsed JSON or XML
1533
- */
1534
- parsedBody: SecretListResult;
1535
- };
1536
- };
1101
+ /** Optional parameters. */
1102
+ export interface SecretsListOptionalParams extends coreClient.OperationOptions {
1103
+ /** Maximum number of results to return. */
1104
+ top?: number;
1105
+ }
1537
1106
 
1538
- /**
1539
- * Contains response data for the listNext operation.
1540
- */
1541
- export type SecretsListNextResponse = SecretListResult & {
1542
- /**
1543
- * The underlying HTTP response.
1544
- */
1545
- _response: msRest.HttpResponse & {
1546
- /**
1547
- * The response body as text (string format)
1548
- */
1549
- bodyAsText: string;
1550
-
1551
- /**
1552
- * The response body as parsed JSON or XML
1553
- */
1554
- parsedBody: SecretListResult;
1555
- };
1556
- };
1107
+ /** Contains response data for the list operation. */
1108
+ export type SecretsListResponse = SecretListResult;
1109
+
1110
+ /** Optional parameters. */
1111
+ export interface SecretsListNextOptionalParams
1112
+ extends coreClient.OperationOptions {
1113
+ /** Maximum number of results to return. */
1114
+ top?: number;
1115
+ }
1116
+
1117
+ /** Contains response data for the listNext operation. */
1118
+ export type SecretsListNextResponse = SecretListResult;
1119
+
1120
+ /** Optional parameters. */
1121
+ export interface KeyVaultManagementClientOptionalParams
1122
+ extends coreClient.ServiceClientOptions {
1123
+ /** server parameter */
1124
+ $host?: string;
1125
+ /** Api Version */
1126
+ apiVersion?: string;
1127
+ /** Overrides client endpoint. */
1128
+ endpoint?: string;
1129
+ }