Skip to content
This repository was archived by the owner on Jun 12, 2023. It is now read-only.

Azure vnet subnet#7

Open
Thushara67 wants to merge 19 commits intomasterfrom
Azure-vnet-subnet
Open

Azure vnet subnet#7
Thushara67 wants to merge 19 commits intomasterfrom
Azure-vnet-subnet

Conversation

@Thushara67
Copy link
Copy Markdown

@Thushara67 Thushara67 commented Jun 25, 2020

Azure virtual networks

Description

Added azurenetwork package which has function GetAllVNet that helps in gathering info about virtual networks for a subscriptionID.
This package also includes function GetAllSubscriptionIDs to get all subscriptionIDs in an account level

Added azurevnetcollector package which helps in gathering info about virtual networks for subscriptionIDs in an account level.

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • [ x ] New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • [ x ] I have signed the Adobe Open Source CLA.
  • [ x ] My code follows the code style of this project.
  • [ x ] My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • [ x ] I have read the CONTRIBUTING document.
  • [ x ] I have added tests to cover my changes.
  • [ x ] All new and existing tests passed.

Has function GetAllVNet which helps in gathering virtual networks for a given subscriptionID
Has function GetAllSubscriptionIDs which returns a map of subscription name and subscription ID at account level
Has function CollectVirtualNetworks  which gathers Virtual Networks for each subscriptionID in an account level
NewAzureCollectorUserDefined returns an AzureCollector with subscription info given by user in subscriptionMap.
azurevnet.go contains azurevnetCmd which is subcommand of dump.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant