Skip to content

Commit

Permalink
New Resource azurerm_network_manager (#19334)
Browse files Browse the repository at this point in the history
  • Loading branch information
teowa authored Dec 7, 2022
1 parent 7f1311e commit 97499a7
Show file tree
Hide file tree
Showing 12 changed files with 975 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/labeler-pull-request-triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@ service/mysql:
service/netapp:
- internal/services/netapp/**/*

service/network:
- internal/services/network/**/*

service/nginx:
- internal/services/nginx/**/*

Expand Down
1 change: 1 addition & 0 deletions internal/provider/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ func SupportedTypedServices() []sdk.TypedServiceRegistration {
loganalytics.Registration{},
monitor.Registration{},
mssql.Registration{},
network.Registration{},
nginx.Registration{},
policy.Registration{},
privatednsresolver.Registration{},
Expand Down
5 changes: 5 additions & 0 deletions internal/services/network/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ type Client struct {
InterfacesClient *network.InterfacesClient
IPGroupsClient *network.IPGroupsClient
LocalNetworkGatewaysClient *network.LocalNetworkGatewaysClient
ManagersClient *network.ManagersClient
NatRuleClient *network.NatRulesClient
PointToSiteVpnGatewaysClient *network.P2sVpnGatewaysClient
ProfileClient *network.ProfilesClient
Expand Down Expand Up @@ -122,6 +123,9 @@ func NewClient(o *common.ClientOptions) *Client {
LocalNetworkGatewaysClient := network.NewLocalNetworkGatewaysClientWithBaseURI(o.ResourceManagerEndpoint, o.SubscriptionId)
o.ConfigureClient(&LocalNetworkGatewaysClient.Client, o.ResourceManagerAuthorizer)

ManagersClient := network.NewManagersClientWithBaseURI(o.ResourceManagerEndpoint, o.SubscriptionId)
o.ConfigureClient(&ManagersClient.Client, o.ResourceManagerAuthorizer)

NatRuleClient := network.NewNatRulesClientWithBaseURI(o.ResourceManagerEndpoint, o.SubscriptionId)
o.ConfigureClient(&NatRuleClient.Client, o.ResourceManagerAuthorizer)

Expand Down Expand Up @@ -253,6 +257,7 @@ func NewClient(o *common.ClientOptions) *Client {
InterfacesClient: &InterfacesClient,
IPGroupsClient: &IpGroupsClient,
LocalNetworkGatewaysClient: &LocalNetworkGatewaysClient,
ManagersClient: &ManagersClient,
NatRuleClient: &NatRuleClient,
PointToSiteVpnGatewaysClient: &pointToSiteVpnGatewaysClient,
ProfileClient: &ProfileClient,
Expand Down
Loading

0 comments on commit 97499a7

Please sign in to comment.