Edit

New-AzSpringCloudBuildpacksGroupObject

This cmdlet is part of a Preview module. Preview versions aren't recommended for use in production environments. For more information, see https://aka.ms/azps-refstatus.

Create an in-memory object for BuildpacksGroupProperties.

Syntax

Default (Default)

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.

Parameter properties

Type:

IBuildpackProperties[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Name

Buildpack group name.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

BuildpacksGroupProperties