azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

Power Shell Module to set AzApplicationSecurityGroup

Open eosho opened this issue 7 years ago • 5 comments

Description of the new feature

Ability to set deployed application security group to NSG/NIC card using Set-AzApplicationSecurityGroup cmdlet

Proposed implementation details (optional)

eosho avatar Aug 26 '19 18:08 eosho

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @karenhammons @sfiguemsft

ghost avatar Aug 27 '19 20:08 ghost

@MikhailTryakhov @number213 hey folks, who would be the right contact from your side for this issue?

cormacpayne avatar Aug 27 '19 20:08 cormacpayne

@sumeetmittal can you help here?

KarenHammons avatar Aug 27 '19 20:08 KarenHammons

I don't think that's possible since ASG's properties for NIC/NSG references are read-only. To attach ASG to NIC/NSG you would need to modify NIC's IpConfiguration or NSG's SecurityRule

anton-evseev avatar Aug 27 '19 20:08 anton-evseev

Anton is correct, to associate members the API/Cmdlet is using the Set-AzNetworkInterface.

As an improvement customers could script the same logic to append one or multiple nics on a given ASG.

malopMSFT avatar Aug 27 '19 21:08 malopMSFT