@azbake/ingredient-network-interface
TypeScript icon, indicating that this package has built-in type declarations

0.1.139 • Public • Published

Changelogs

  • [@azbake/ingredient-network-interface]

Overview

The Network Interface ingredient is a plugin for bake. When included in a recipe, this will create an Network Interface.

Usage

name: My package
shortName: mypkg
version: 0.0.1
ingredients:
  - "@azbake/ingredient-network-interface@~0"
resourceGroup: true
recipe:
  nic:
    properties:
      type: "@azbake/ingredient-network-interface"
      parameters:
       networkInterfaceName: "sample-nic"        
        location: "centralus"
        virtualNetworkName: "test-vnet"
        subnetName: "default"
property required description
networkInterfaceName yes The name for the Network Interface
location no Sets the location. Defaults to the parent resource group location.
subnetName yes Subnet name to create Network interface
virtualNetworkName yes Virtual Network name where subnet is associated

Utilities

Utility classes can be used inside of the bake.yaml file for parameter and source values.

networkinterface class

| function | description | | create_resource_name() | Returns the name created for the Network Interface when deployed |

Function Details

create_resource_name()

Gets the name created for the Network Interface when deployed.

...
parameters:
    nicName: "[networkinterfaceutility.create_resource_name()]"
...
Returns

string

Readme

Keywords

none

Package Sidebar

Install

npm i @azbake/ingredient-network-interface

Weekly Downloads

3

Version

0.1.139

License

MIT

Unpacked Size

37.5 kB

Total Files

15

Last publish

Collaborators

  • pipelinehchb