Azure Network Security Groups
Azure network security groups are used to filter network traffic to and from Azure resources in an Azure virtual network.
Network Security · Azure Network Security Groups
Configuration parameters
app_id— Application IDsubscription_id— Default Subscription ID (required)resource_group_name— Default Resource Group Name (required)azure_ad_endpoint— Azure AD endpointinsecure— Trust any certificate (not secure)proxy— Use system proxy settingsauth_type— Authentication Type (required)tenant_id— Tenant IDcredentials— Client Secretredirect_uri— Application redirect URIauth_code— Authorization codemanaged_identities_client_id—
Commands (18)
-
azure-nsg-auth-completeRun this command to complete the authorization process. Should be used after running the azure-nsg-auth-start command.
-
azure-nsg-auth-resetRun this command if for some reason you need to rerun the authentication process.
-
azure-nsg-auth-startRun this command to start the authorization process and follow the instructions in the command results.
-
azure-nsg-auth-testTests the connectivity to the Azure Network Security Groups.
-
azure-nsg-generate-login-urlGenerate the login url used for Authorization code flow.
-
azure-nsg-network-interfaces-createCreates or updates a network interface.
-
azure-nsg-network-interfaces-listGets network interfaces in a resource group.
-
azure-nsg-public-ip-addresses-listGets public IP addresses in a resource group.
-
azure-nsg-resource-group-listGets all resource groups for a subscription.
-
azure-nsg-security-group-createCreates a network security group in the specified resource group.
-
azure-nsg-security-groups-listList all network security groups.
-
azure-nsg-security-rule-createCreate a security rule.
-
azure-nsg-security-rule-deleteDelete a security rule.
-
azure-nsg-security-rule-getGet a specific rule.
-
azure-nsg-security-rule-updateUpdate a security rule. If one does not exist, it will be created.
-
azure-nsg-security-rules-listList all rules of the specified security groups.
-
azure-nsg-subscriptions-listGets all subscriptions for a tenant.
-
azure-nsg-virtual-networks-listGets virtual networks in a resource group.