The Azure Blob Service Plugin consumes the Azure Blob Service Account and Objects API and exposes the supported resources to RightScale Self-Service. This allows for easy extension of a Self-Service Cloud Application to show Cloud storage resource.
For general understanding of CAT development and definitions
- Refer to the guide documentation for details SS Guides
admin,ss_enduser, &ss_designerroles on a RightScale account with Self-Service enabled- the
adminrole is needed to set/retrieve the RightScale Credentials for the Azure Cloud Storage API.
GCP Service Account credentials
- Refer to the Getting Started section for details on creating this account.
Be sure your RightScale account has Self-Service enabled
- Connect AzureRM Cloud credentials to your RightScale account (if not already completed)
- Follow steps to Create an Azure Active Directory Application
- Grant the Azure AD Application access to the necessary subscription(s)
- Retrieve the Application ID & Authentication Key
- Create RightScale Credentials with values that match the Application ID (Credential name:
AZURE_APPLICATION_ID) & Authentication Key (Credential name:AZURE_APPLICATION_KEY) - Retrieve your Tenant ID
- Update
azure_blob_service.pluginPlugin with your Tenant ID.- Replace "TENANT_ID" in
token_url "https://login.microsoftonline.com/TENANT_ID/oauth2/token"with your Tenant ID
- Replace "TENANT_ID" in
- Navigate to the appropriate Self-Service portal
- For more details on using the portal review the SS User Interface Guide
- In the Design section, use the
Upload CATinterface to complete the following:- Upload each of packages listed in the Requirements Section
- Upload the
azure_blob_service.rbfile located in this repository
The Azure Blob Service Plugin has been packaged as plugins/rs_azure_blob_service. In order to use this plugin you must import this plugin into a CAT.
import "plugins/azure_blob_service"For more information on using packages, please refer to the RightScale online documenataion. Importing a Package
| Parameter Name | Required? | Description |
|---|---|---|
| project_id | Yes | Project identifier for which storage bucket details are fetched |
| Field Name | Required? | Description |
|---|---|---|
| comp | Yes | comp |
- name
- id
- public_access
- last_modified
It fetches the required information of each container that is present in a storage account.
| Action | API Implementation | Support Level |
|---|---|---|
| list | list | Supported |
N/A
| Field Name | Required? | Description |
|---|---|---|
| container_name | Yes | Container Name |
| comp | Yes | |
| restype | Yes |
- size
It fetches all the blob objects inside the container which provides the total size of the bucket.
| Action | API Implementation | Support Level |
|---|---|---|
| list | list | Supported |
N/A
N/A
Support for this plugin will be provided though GitHub Issues
The Azure Blobs Plugin source code is subject to the MIT license, see the LICENSE file.