azureEnvironment.d.ts 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. export interface EnvironmentParameters {
  2. /**
  3. * The Environment name.
  4. */
  5. readonly name: string;
  6. /**
  7. * The management portal URL.
  8. */
  9. readonly portalUrl: string;
  10. /**
  11. * The management service endpoint.
  12. */
  13. readonly managementEndpointUrl: string;
  14. /**
  15. * The resource management endpoint.
  16. */
  17. readonly resourceManagerEndpointUrl: string;
  18. /**
  19. * The Active Directory login endpoint.
  20. */
  21. readonly activeDirectoryEndpointUrl: string;
  22. /**
  23. * The resource ID to obtain AD tokens for (token audience).
  24. */
  25. readonly activeDirectoryResourceId: string;
  26. /**
  27. * The publish settings file URL.
  28. */
  29. readonly publishingProfileUrl?: string;
  30. /**
  31. * The sql server management endpoint for mobile commands.
  32. */
  33. readonly sqlManagementEndpointUrl?: string;
  34. /**
  35. * The dns suffix for sql servers.
  36. */
  37. readonly sqlServerHostnameSuffix?: string;
  38. /**
  39. * The template gallery endpoint.
  40. */
  41. readonly galleryEndpointUrl?: string;
  42. /**
  43. * The Active Directory resource ID.
  44. */
  45. readonly activeDirectoryGraphResourceId?: string;
  46. /**
  47. * The batch resource ID.
  48. */
  49. readonly batchResourceId?: string;
  50. /**
  51. * The Active Directory api version.
  52. */
  53. readonly activeDirectoryGraphApiVersion?: string;
  54. /**
  55. * The endpoint suffix for storage accounts.
  56. */
  57. readonly storageEndpointSuffix?: string;
  58. /**
  59. * The keyvault service dns suffix.
  60. */
  61. readonly keyVaultDnsSuffix?: string;
  62. /**
  63. * The data lake store filesystem service dns suffix.
  64. */
  65. readonly azureDataLakeStoreFileSystemEndpointSuffix?: string;
  66. /**
  67. * The data lake analytics job and catalog service dns suffix.
  68. */
  69. readonly azureDataLakeAnalyticsCatalogAndJobEndpointSuffix?: string;
  70. /**
  71. * Determines whether the authentication endpoint should be validated with Azure AD. Default value is true.
  72. */
  73. readonly validateAuthority?: boolean;
  74. }
  75. export declare class Environment {
  76. /**
  77. * The Environment name.
  78. */
  79. readonly name: string;
  80. /**
  81. * The management portal URL.
  82. */
  83. readonly portalUrl: string;
  84. /**
  85. * The management service endpoint.
  86. */
  87. readonly managementEndpointUrl: string;
  88. /**
  89. * The resource management endpoint.
  90. */
  91. readonly resourceManagerEndpointUrl: string;
  92. /**
  93. * The Active Directory login endpoint.
  94. */
  95. readonly activeDirectoryEndpointUrl: string;
  96. /**
  97. * The resource ID to obtain AD tokens for (token audience).
  98. */
  99. readonly activeDirectoryResourceId: string;
  100. /**
  101. * The publish settings file URL.
  102. */
  103. readonly publishingProfileUrl?: string;
  104. /**
  105. * The sql server management endpoint for mobile commands.
  106. */
  107. readonly sqlManagementEndpointUrl?: string;
  108. /**
  109. * The dns suffix for sql servers.
  110. */
  111. readonly sqlServerHostnameSuffix?: string;
  112. /**
  113. * The template gallery endpoint.
  114. */
  115. readonly galleryEndpointUrl?: string;
  116. /**
  117. * The batch resource ID.
  118. */
  119. readonly batchResourceId?: string;
  120. /**
  121. * The Active Directory resource ID.
  122. */
  123. readonly activeDirectoryGraphResourceId?: string;
  124. /**
  125. * The Active Directory api version.
  126. */
  127. readonly activeDirectoryGraphApiVersion?: string;
  128. /**
  129. * The endpoint suffix for storage accounts.
  130. */
  131. readonly storageEndpointSuffix?: string;
  132. /**
  133. * The keyvault service dns suffix.
  134. */
  135. readonly keyVaultDnsSuffix?: string;
  136. /**
  137. * The data lake store filesystem service dns suffix.
  138. */
  139. readonly azureDataLakeStoreFileSystemEndpointSuffix?: string;
  140. /**
  141. * The data lake analytics job and catalog service dns suffix.
  142. */
  143. readonly azureDataLakeAnalyticsCatalogAndJobEndpointSuffix?: string;
  144. /**
  145. * Determines whether the authentication endpoint should be validated with Azure AD. Default value is true.
  146. */
  147. readonly validateAuthority: boolean;
  148. constructor(parameters: EnvironmentParameters);
  149. static add(parameters: EnvironmentParameters): void;
  150. static get(name: string): Environment;
  151. static readonly AzureCloud: {
  152. name: string;
  153. portalUrl: string;
  154. publishingProfileUrl: string;
  155. managementEndpointUrl: string;
  156. resourceManagerEndpointUrl: string;
  157. sqlManagementEndpointUrl: string;
  158. sqlServerHostnameSuffix: string;
  159. galleryEndpointUrl: string;
  160. activeDirectoryEndpointUrl: string;
  161. activeDirectoryResourceId: string;
  162. activeDirectoryGraphResourceId: string;
  163. batchResourceId: string;
  164. activeDirectoryGraphApiVersion: string;
  165. storageEndpointSuffix: string;
  166. keyVaultDnsSuffix: string;
  167. azureDataLakeStoreFileSystemEndpointSuffix: string;
  168. azureDataLakeAnalyticsCatalogAndJobEndpointSuffix: string;
  169. validateAuthority: boolean;
  170. };
  171. static readonly ChinaCloud: {
  172. name: string;
  173. portalUrl: string;
  174. publishingProfileUrl: string;
  175. managementEndpointUrl: string;
  176. resourceManagerEndpointUrl: string;
  177. sqlManagementEndpointUrl: string;
  178. sqlServerHostnameSuffix: string;
  179. galleryEndpointUrl: string;
  180. activeDirectoryEndpointUrl: string;
  181. activeDirectoryResourceId: string;
  182. activeDirectoryGraphResourceId: string;
  183. activeDirectoryGraphApiVersion: string;
  184. batchResourceId: string;
  185. storageEndpointSuffix: string;
  186. keyVaultDnsSuffix: string;
  187. azureDataLakeStoreFileSystemEndpointSuffix: string;
  188. azureDataLakeAnalyticsCatalogAndJobEndpointSuffix: string;
  189. validateAuthority: boolean;
  190. };
  191. static readonly USGovernment: {
  192. name: string;
  193. portalUrl: string;
  194. publishingProfileUrl: string;
  195. managementEndpointUrl: string;
  196. resourceManagerEndpointUrl: string;
  197. sqlManagementEndpointUrl: string;
  198. sqlServerHostnameSuffix: string;
  199. galleryEndpointUrl: string;
  200. activeDirectoryEndpointUrl: string;
  201. activeDirectoryResourceId: string;
  202. activeDirectoryGraphResourceId: string;
  203. batchResourceId: string;
  204. activeDirectoryGraphApiVersion: string;
  205. storageEndpointSuffix: string;
  206. keyVaultDnsSuffix: string;
  207. azureDataLakeStoreFileSystemEndpointSuffix: string;
  208. azureDataLakeAnalyticsCatalogAndJobEndpointSuffix: string;
  209. validateAuthority: boolean;
  210. };
  211. static readonly GermanCloud: {
  212. name: string;
  213. portalUrl: string;
  214. publishingProfileUrl: string;
  215. managementEndpointUrl: string;
  216. resourceManagerEndpointUrl: string;
  217. sqlManagementEndpointUrl: string;
  218. sqlServerHostnameSuffix: string;
  219. galleryEndpointUrl: string;
  220. activeDirectoryEndpointUrl: string;
  221. activeDirectoryResourceId: string;
  222. activeDirectoryGraphResourceId: string;
  223. batchResourceId: string;
  224. activeDirectoryGraphApiVersion: string;
  225. storageEndpointSuffix: string;
  226. keyVaultDnsSuffix: string;
  227. azureDataLakeStoreFileSystemEndpointSuffix: string;
  228. azureDataLakeAnalyticsCatalogAndJobEndpointSuffix: string;
  229. validateAuthority: boolean;
  230. };
  231. }
  232. //# sourceMappingURL=azureEnvironment.d.ts.map