New-AzContainerAppServiceBindObject
Create an in-memory object for ServiceBind.
Syntax
New-AzContainerAppServiceBindObject
[-Name <String>]
[-ServiceId <String>]
[<CommonParameters>]
Description
Create an in-memory object for ServiceBind.
Examples
Example 1: Create an in-memory object for ServiceBind.
New-AzContainerAppServiceBindObject -Name "redisService" -ServiceId "/subscriptions/{subId}/resourceGroups/azps_test_group_app/providers/Microsoft.App/containerApps/azps-containerapp-1"
Name ServiceId
---- ---------
redisService /subscriptions/{subId}/resourceGroups/azps_test_group_app/providers/Microsoft.App/containerApps/azps-containerapp-1
Create an in-memory object for ServiceBind.
Parameters
-Name
Name of the service bind.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ServiceId
Resource id of the target service.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure PowerShell
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for