New-AzSpringCloudBuildpacksGroupObject
Create an in-memory object for BuildpacksGroupProperties.
Syntax
New-AzSpringCloudBuildpacksGroupObject
[-Buildpack <IBuildpackProperties[]>]
[-Name <String>]
[<CommonParameters>]
Description
Create an in-memory object for BuildpacksGroupProperties.
Examples
Example 1: Create an in-memory object for BuildpacksGroupProperties
$pack = @()
$pack += New-AzSpringCloudBuildpackObject -Id "tanzu-buildpacks/dotnet-core"
$pack += New-AzSpringCloudBuildpackObject -Id "tanzu-buildpacks/python"
$pack += New-AzSpringCloudBuildpackObject -Id "tanzu-buildpacks/java-azure"
New-AzSpringCloudBuildpacksGroupObject -Name 'packtest' -Buildpack $pack
Name
----
packtest
Create an in-memory object for BuildpacksGroupProperties.
Parameters
-Buildpack
Buildpacks in the buildpack group. To construct, see NOTES section for BUILDPACK properties and create a hash table.
Type: | IBuildpackProperties[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Buildpack group name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Notes
ALIASES
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
BUILDPACK <IBuildpackProperties[]>
: Buildpacks in the buildpack group.
[Id <String>]
: Id of the buildpack