-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Added ingredient for Service Bus Namespace (#58)
- Loading branch information
1 parent
09d2083
commit 3e5b360
Showing
11 changed files
with
859 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
src/ | ||
.vscode/ | ||
package/ | ||
test/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Change Log | ||
|
||
All notable changes to this project will be documented in this file. | ||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
|
||
## [0.1.21](https://github.com/csperbeck/azure-bake/compare/v0.1.5...v0.1.21) (2019-02-15) | ||
|
||
**Note:** Version bump only for package |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
## Changelogs | ||
|
||
* [@azbake/ingredient-service-bus-namespace](./CHANGELOG.md) | ||
|
||
## Overview | ||
|
||
The Service Bus Namespace ingredient is a plugin for bake. When included in a recipe, this will create a [Service Bus Namespace](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messaging-overview). | ||
|
||
## Usage | ||
|
||
```yaml | ||
name: My package | ||
shortName: mypkg | ||
version: 0.0.1 | ||
ingredients: | ||
- "@azbake/ingredient-service-bus-namespace@~0" | ||
resourceGroup: true | ||
recipe: | ||
mypkg-service-bus-namespace: | ||
properties: | ||
type: "@azbake/ingredient-service-bus-namespace" | ||
source: "" | ||
parameters: | ||
serviceBusNamespaceName: "ServiceBusNamespaceName" | ||
``` | ||
| property | required | description | | ||
| -------- | -------- | ----------- | | ||
| serviceBusNamespaceName | yes | The name for the Service Bus Namespace | | ||
| skuName | no (default `Standard`) | Sets messaging tier. | | ||
| location | no | Sets the location. Defaults to the parent resource group location. | | ||
|
||
## Utilities | ||
|
||
Utility classes can be used inside of the bake.yaml file for parameter and source values. | ||
|
||
### ``servicebusnamespace`` class | ||
|
||
| function | description | | ||
| `create_resource_name()` | Returns the name created for the Service Bus Namespace when deployed | | ||
|
||
### Function Details | ||
|
||
#### create_resource_name() | ||
|
||
Gets the name created for the App Service Plan when deployed. | ||
|
||
```yaml | ||
... | ||
parameters: | ||
planName: "[servicebusnamespace.create_resource_name()]" | ||
... | ||
``` | ||
|
||
##### Returns | ||
|
||
string |
Oops, something went wrong.