@azure/ms-rest-azure-env

WebJar for @azure/ms-rest-azure-env

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

azure__ms-rest-azure-env
Последняя версия

Последняя версия

1.1.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

@azure/ms-rest-azure-env
WebJar for @azure/ms-rest-azure-env
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/Azure/ms-rest-azure-env

Скачать azure__ms-rest-azure-env

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/azure__ms-rest-azure-env/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>azure__ms-rest-azure-env</artifactId>
    <version>1.1.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/azure__ms-rest-azure-env/
implementation 'org.webjars.npm:azure__ms-rest-azure-env:1.1.2'
// https://jarcasting.com/artifacts/org.webjars.npm/azure__ms-rest-azure-env/
implementation ("org.webjars.npm:azure__ms-rest-azure-env:1.1.2")
'org.webjars.npm:azure__ms-rest-azure-env:jar:1.1.2'
<dependency org="org.webjars.npm" name="azure__ms-rest-azure-env" rev="1.1.2">
  <artifact name="azure__ms-rest-azure-env" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='azure__ms-rest-azure-env', version='1.1.2')
)
libraryDependencies += "org.webjars.npm" % "azure__ms-rest-azure-env" % "1.1.2"
[org.webjars.npm/azure__ms-rest-azure-env "1.1.2"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

ms-rest-azure-env Build Status

An isomorphic javascript library with typescript type definitions that provides a mechanism to access Azure Endpoints in different Azure clouds. It also provides a mechanism to add a custom environment.

Example

import { Environment, EnvironmentParameters } from "@azure/ms-rest-azure-env";

// Accesing predefined environment endpoints.
console.log(Environment.AzureCloud.resourceManagerEndpointUrl);
console.log(Environment.ChinaCloud.resourceManagerEndpointUrl);

//Adding a custom environment with required endpoint values.
let df: AzureEnvironmentParameters = {
  name: "Dogfood",
  portalUrl: "http://go.microsoft.com/fwlink/?LinkId=254433",
  managementEndpointUrl: "https://management.core.windows.net",
  resourceManagerEndpointUrl: "https://management.azure.com/",
  activeDirectoryEndpointUrl: "https://login.microsoftonline.com/",
  activeDirectoryResourceId: "https://management.core.windows.net/"
};
Environment.add(df);
let dfoodEnv = Environment.get("Dogfood");
console.log(dfoodEnv);
console.log(`Accessing the custom environment info: ${(<any>Environment)["Dogfood"].managementEndpointUrl}`);

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

org.webjars.npm

Microsoft Azure

APIs, SDKs and open source projects from Microsoft Azure

Версии библиотеки

Версия
1.1.2