This topic provides reference information about the Azure Storage Account service (csb-azure-storage-account). It details the plans, configuration parameters, and binding credentials.
The table below lists the plans for Azure Storage Account:
Plan | Description |
---|---|
standard | General-purpose V2 account. Locally redundant, standard tier. |
When configuring Cloud Service Broker for Azure you can add additional plans. For how to configure plans, see Configure Services with Cloud Service Broker for Azure.
The following table lists parameters which can only be configured for additional plans:
Parameter Name | Values | Default |
---|---|---|
name * |
The plan name | n/a |
id * |
A unique GUID | n/a |
description * |
Description of the new plan | n/a |
display_name |
Name to use when displaying plan in marketplace | n/a |
* Required
You can also add any of the configuration parameters listed in the parameters section to your plan.
Note: If you set a parameter at plan level, developers cannot change the value when creating or updating service instances.
You can provision a service by running:
cf create-service csb-azure-storage-account PLAN-NAME SERVICE-INSTANCE-NAME -c '{"PARAMETER-NAME": "PARAMETER-VALUE"}'
You can update the configuration parameters for a service instance by running:
cf update-service SERVICE-INSTANCE-NAME -c '{"PARAMETER-NAME": "PARAMETER-VALUE"}'
The table below lists the parameters that you can configure, using the -c
flag, when provisioning a csb-azure-storage-account service:
Parameter Name | Type | Description | Default | Operation |
---|---|---|---|---|
storage_account_type |
string | The account type - BlobStorage , BlockBlobStorage , FileStorage , Storage , or StorageV2 . |
StorageV2 |
provision and update |
tier |
string | The storage tier to use - Standard or Premium . |
Standard |
provision and update |
replication_type |
string | The replication type - LRS , GRS , RAGRS , or ZRS . |
LRS |
provision and update |
location |
string | The Azure region in which to deploy the service instance. | westus |
provision |
resource_group |
string | The Azure resource group in which to create the instance. | rg-ACCOUNT-NAME (ACCOUNT-NAME is always generated) |
provision |
azure_tenant_id |
string | The ID of the Azure tenant for the service instance. | The value the operator entered for Tenant ID in Ops Manager. | provision and update |
azure_subscription_id |
string | The ID of the Azure subscription for the service instance. | The value the operator entered for Subscription ID in Ops Manager. | provision and update |
azure_client_id |
string | The ID of the Azure service principal to authenticate for service instance creation. | The value the operator entered for Client ID in Ops Manager. | provision and update |
azure_client_secret |
string | The secret (password) for the Azure service principal to authenticate for service instance creation. | The value the operator entered for Client Secret in Ops Manager. | provision and update |
skip_provider_registration |
boolean | Set to true to skip automatic Azure provider registration. Set if the service principal being used does not have the rights to register providers. |
false |
provision and update |
authorized_networks |
list (string) | A list of resource IDs for subnets of the authorized Azure Vnet. | [] |
provision and update |
The format for binding credentials for Azure Storage Account is as follows:
{
"storage_account_name" : "STORAGE-ACCOUNT-NAME",
"primary_access_key" : "PRIMARY-ACCESS-KEY",
"secondary_access_key" : "SECONDARY-ACCESS-KEY",
"status" : "STATUS-DESCRIPTION"
}