![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
This project provides a cross-platform command line interface for developers and IT administrators to develop, deploy and manage Windows Azure applications.
You can install the azure-cli npm package directly.
npm install -g azure-cli
To get the source code of the SDK via git just type:
git clone https://github.com/WindowsAzure/azure-sdk-tools-xplat.git
cd ./azure-sdk-tools-xplat
npm install
Auto-complete is supported for Mac and Linux.
To enable it in zsh, run:
echo '. <(azure --completion)' >> .zshrc
To enable it in bash, run:
azure --completion >> ~/azure.completion.sh
echo 'source ~/azure.completion.sh' >> .bash_profile
In general, following are the steps:
The first step can be different for different environment you are targeting. Following are detail instructions for each supported environment.
If you use both mechanisms on the same subscription, Azure Active Directory authentication always wins. If you want to go back to management certificate authentication, please use azure logout
, which will remove the Azure Active Directory information and bring management certificate authentication back in.
# This will prompt for your password in the console
azure login -u <your organizational ID email address>
# use the commands to manage your services/applications
azure site create --location "West US" mywebsite
# Download a file which contains the publish settings information of your subscription.
# This will open a browser window and ask you to log in to get the file.
azure account download
# Import the file you just downloaded.
# Notice that the file contains credential of your subscription so you don't want to make it public
# (like check in to source control, etc.).
azure account import <file location>
# Use the commands to manage your services/applications
azure site create --location "West US" mywebsite
Starting from 0.8.0, we are adding a separate mode for Resource Manager. You can use the following command to switch between the
They are not designed to work together.
azure config mode asm # service management
azure config mode arm # resource manager
For more details on the commands, please see the command line tool reference and this How to Guide
The tests included in the repository execute CLI commands against live Widows Azure management endpoints. In order to run the tests, you must have a Windows Azure subscription as well as a GitHub account.
Before running tests, you must take a one-time action to configure the CLI with the Windows Azure subscription by running
azure account download
azure account import
Next, provide the following parameters by setting environment variables:
AZURE_STORAGE_ACCOUNT
- your Windows Azure Storage Account nameAZURE_STORAGE_ACCESS_KEY
- secret access key to that Storage AccountAZURE_SERVICEBUS_NAMESPACE
- your Windows Azure Service Bus NamespaceAZURE_SERVICEBUS_ACCESS_KEY
- secret access to that Service Bus namespaceAZURE_GITHUB_USERNAME
- GitHub account usernameAZURE_GITHUB_PASSWORD
- GitHub account passwordAZURE_GITHUB_REPOSITORY
- name an empty GitHub repository to use during tests (e.g. tjanczuk/clitest
)SSHCERT
- path of SSH Certificate (eg. path\cert.pem
)BLOB_SOURCE_PATH
- source url path for disk upload (container\subcontainer\disk.vhd
)To run the tests, call
npm test
from the root of your clone of the repository. Most tests execute against live Windows Azure management APIs, and running them takes considerable time.
Note: by default, the tests targeting the Windows Azure Mobile Services run against a mocked Windows Azure HTTP endpoints. In order to execute these tests against live Windows Azure management APIs instead, set the NOCK_OFF=true
environment variable before running the tests.
For documentation on how to host Node.js applications on Windows Azure, please see the Windows Azure Node.js Developer Center.
For more extensive documentation on the new cross platform CLI tool for Mac and Linux, please see this reference and this How to Guide
FAQs
Microsoft Azure Cross Platform Command Line tool
The npm package azure-cli receives a total of 342 weekly downloads. As such, azure-cli popularity was classified as not popular.
We found that azure-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.