Azure / azure-powershell

Microsoft Azure PowerShell
Other
4.26k stars 3.87k forks source link

Generated container-group-profile commands and added container group properties for reuse scenario #26604

Closed kaushik-ms closed 2 weeks ago

kaushik-ms commented 2 weeks ago

Description

Mandatory Checklist

azure-client-tools-bot-prd[bot] commented 2 weeks ago
️✔️Az.Accounts >
> ️✔️Build > >>
>> ️✔️PowerShell Core - Windows >> >> >>
>
⚠️Az.ContainerInstance >
> ️✔️Build > >>
>> ️✔️PowerShell Core - Windows >> >> >>
>
>
> ️✔️Breaking Change Check > >>
>> ️✔️PowerShell Core - Windows >> >> >>
>
>
> ⚠️Signature Check > >>
>> ⚠️PowerShell Core - Windows >> >>|Type|Cmdlet|Description|Remediation| >>|---|---|---|---| >>|⚠️|Get-AzContainerGroup|Get-AzContainerGroup Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute.|Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue| >>|⚠️|Get-AzContainerGroup|Get-AzContainerGroup changes the confirm impact. Please ensure that the change in ConfirmImpact is justified|Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.| >>|⚠️|Get-AzContainerInstanceCachedImage|Get-AzContainerInstanceCachedImage Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute.|Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue| >>|⚠️|Get-AzContainerInstanceCachedImage|Get-AzContainerInstanceCachedImage changes the confirm impact. Please ensure that the change in ConfirmImpact is justified|Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.| >>|⚠️|Get-AzContainerInstanceCapability|Get-AzContainerInstanceCapability Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute.|Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue| >>|⚠️|Get-AzContainerInstanceCapability|Get-AzContainerInstanceCapability changes the confirm impact. Please ensure that the change in ConfirmImpact is justified|Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.| >>|⚠️|Get-AzContainerInstanceContainerGroupOutboundNetworkDependencyEndpoint|Get-AzContainerInstanceContainerGroupOutboundNetworkDependencyEndpoint Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute.|Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue| >>|⚠️|Get-AzContainerInstanceContainerGroupOutboundNetworkDependencyEndpoint|Get-AzContainerInstanceContainerGroupOutboundNetworkDependencyEndpoint changes the confirm impact. Please ensure that the change in ConfirmImpact is justified|Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.| >>|⚠️|Get-AzContainerInstanceContainerGroupProfile|Get-AzContainerInstanceContainerGroupProfile Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute.|Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue| >>|⚠️|Get-AzContainerInstanceContainerGroupProfile|Get-AzContainerInstanceContainerGroupProfile changes the confirm impact. Please ensure that the change in ConfirmImpact is justified|Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.| >>|⚠️|Get-AzContainerInstanceContainerGroupProfileRevision|Get-AzContainerInstanceContainerGroupProfileRevision Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute.|Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue| >>|⚠️|Get-AzContainerInstanceContainerGroupProfileRevision|Get-AzContainerInstanceContainerGroupProfileRevision changes the confirm impact. Please ensure that the change in ConfirmImpact is justified|Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.| >>|⚠️|Get-AzContainerInstanceLog|Get-AzContainerInstanceLog Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute.|Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue| >>|⚠️|Get-AzContainerInstanceLog|Get-AzContainerInstanceLog changes the confirm impact. Please ensure that the change in ConfirmImpact is justified|Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.| >>|⚠️|Get-AzContainerInstanceUsage|Get-AzContainerInstanceUsage Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute.|Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue| >>|⚠️|Get-AzContainerInstanceUsage|Get-AzContainerInstanceUsage changes the confirm impact. Please ensure that the change in ConfirmImpact is justified|Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.| >>|⚠️|New-AzContainerGroupImageRegistryCredentialObject|New-AzContainerGroupImageRegistryCredentialObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified|Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.| >>|⚠️|New-AzContainerGroupPortObject|New-AzContainerGroupPortObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified|Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.| >>|⚠️|New-AzContainerGroupVolumeObject|New-AzContainerGroupVolumeObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified|Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.| >>|⚠️|New-AzContainerInstanceEnvironmentVariableObject|New-AzContainerInstanceEnvironmentVariableObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified|Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.| >>|⚠️|New-AzContainerInstanceHttpHeaderObject|New-AzContainerInstanceHttpHeaderObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified|Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.| >>|⚠️|New-AzContainerInstanceInitDefinitionObject|New-AzContainerInstanceInitDefinitionObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified|Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.| >>|⚠️|New-AzContainerInstanceNoDefaultObject|New-AzContainerInstanceNoDefaultObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified|Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.| >>|⚠️|New-AzContainerInstanceObject|New-AzContainerInstanceObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified|Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.| >>|⚠️|New-AzContainerInstancePortObject|New-AzContainerInstancePortObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified|Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.| >>|⚠️|New-AzContainerInstanceVolumeMountObject|New-AzContainerInstanceVolumeMountObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified|Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.| >> >>
>
>
> ⚠️Help Example Check > >>
>> ⚠️PowerShell Core - Windows >> >>|Type|Cmdlet|Example|Line|RuleName|Description|Extent|Remediation| >>|---|---|---|---|---|---|---|---| >>|⚠️|New-AzContainerGroup|2|3|Mismatched_Parameter_Value_Type|New-AzContainerInstanceEnvironmentVariableObject -SecureValue $pwd is not an expected parameter value type.|-SecureValue|Use correct parameter value type. Expected Type is securestring. Now the type is System.Object.(Static).| >>|⚠️|New-AzContainerGroup|4|3|Mismatched_Parameter_Value_Type|New-AzContainerGroupImageRegistryCredentialObject -Password $pwd is not an expected parameter value type.|-Password|Use correct parameter value type. Expected Type is securestring. Now the type is System.Object.(Static).| >>|⚠️|New-AzContainerGroup|5|3|Mismatched_Parameter_Value_Type|New-AzContainerGroupImageRegistryCredentialObject -Password $pwd is not an expected parameter value type.|-Password|Use correct parameter value type. Expected Type is securestring. Now the type is System.Object.(Static).| >>|⚠️|New-AzContainerGroup|6|2|Mismatched_Parameter_Value_Type|New-AzContainerGroupVolumeObject -AzureFileStorageAccountKey $pwd is not an expected parameter value type.|-AzureFileStorageAccountKey|Use correct parameter value type. Expected Type is securestring. Now the type is System.Object.(Static).| >>|⚠️|New-AzContainerGroupImageRegistryCredentialObject|1|2|Mismatched_Parameter_Value_Type|New-AzContainerGroupImageRegistryCredentialObject -Password $pwd is not an expected parameter value type.|-Password|Use correct parameter value type. Expected Type is securestring. Now the type is System.Object.(Static).| >>|⚠️|New-AzContainerGroupVolumeObject|1|2|Mismatched_Parameter_Value_Type|New-AzContainerGroupVolumeObject -AzureFileStorageAccountKey $pwd is not an expected parameter value type.|-AzureFileStorageAccountKey|Use correct parameter value type. Expected Type is securestring. Now the type is System.Object.(Static).| >>|⚠️|New-AzContainerInstanceContainerGroupProfile|2|3|Mismatched_Parameter_Value_Type|New-AzContainerInstanceEnvironmentVariableObject -SecureValue $pwd is not an expected parameter value type.|-SecureValue|Use correct parameter value type. Expected Type is securestring. Now the type is System.Object.(Static).| >>|⚠️|New-AzContainerInstanceContainerGroupProfile|3|3|Mismatched_Parameter_Value_Type|New-AzContainerGroupImageRegistryCredentialObject -Password $pwd is not an expected parameter value type.|-Password|Use correct parameter value type. Expected Type is securestring. Now the type is System.Object.(Static).| >>|⚠️|New-AzContainerInstanceEnvironmentVariableObject|2|2|Mismatched_Parameter_Value_Type|New-AzContainerInstanceEnvironmentVariableObject -SecureValue $pwd is not an expected parameter value type.|-SecureValue|Use correct parameter value type. Expected Type is securestring. Now the type is System.Object.(Static).| >> >>
>
>
> ️✔️Help File Existence Check > >>
>> ️✔️PowerShell Core - Windows >> >> >>
>
>
> ⚠️File Change Check > >>
>> ⚠️PowerShell Core - Windows >> >>|Type|Cmdlet|Description|Remediation| >>|---|---|---|---| >>|⚠️||It is required to update ChangeLog.md if you want to release a new version for Az.ContainerInstance.|Add a changelog record under Upcoming Release section with past tense.| >> >>
>
>
> ️✔️UX Metadata Check > >>
>> ️✔️PowerShell Core - Windows >> >> >>
>
>
> ️✔️Test > >>
>> ️✔️PowerShell Core - Linux >> >> >>
>>
>> ️✔️PowerShell Core - MacOS >> >> >>
>>
>> ️✔️PowerShell Core - Windows >> >> >>
>
kaushik-ms commented 2 weeks ago

/azp run

azure-pipelines[bot] commented 2 weeks ago
Commenter does not have sufficient privileges for PR 26604 in repo Azure/azure-powershell
dolauli commented 2 weeks ago

/azp run

azure-pipelines[bot] commented 2 weeks ago
Azure Pipelines successfully started running 3 pipeline(s).
isra-fel commented 2 weeks ago

/azp run

azure-pipelines[bot] commented 2 weeks ago
Azure Pipelines successfully started running 3 pipeline(s).
vidai-msft commented 2 weeks ago

/azp run

azure-pipelines[bot] commented 2 weeks ago
Azure Pipelines successfully started running 3 pipeline(s).
kaushik-ms commented 2 weeks ago

/azp run

azure-pipelines[bot] commented 2 weeks ago
Commenter does not have sufficient privileges for PR 26604 in repo Azure/azure-powershell
vidai-msft commented 2 weeks ago

@kaushik-ms Please fix the static analysis issue as detected in the CI.

github-actions[bot] commented 2 weeks ago

This PR was labeled "needs-revision" because it has unresolved review comments or CI failures. Please resolve all open review comments and make sure all CI checks are green. Refer to our guide to troubleshoot common CI failures.

drishtipeshwani09 commented 2 weeks ago

Az.ContainerInstance 4.0.3