Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetworkSecurityRuleService and SubnetService are broken #147

Closed
djberg96 opened this issue Mar 17, 2016 · 1 comment
Closed

NetworkSecurityRuleService and SubnetService are broken #147

djberg96 opened this issue Mar 17, 2016 · 1 comment

Comments

@djberg96
Copy link
Collaborator

Upon further review I don't think these should have been made subservices. In any case, right now they don't actually work.

sns = Azure::Armrest::Network::SubnetService.new(conf)
sns.list('some_group)

Results in:

lib/azure/armrest/resource_group_based_service.rb:56:in `validate_resource_group': must specify resource group (ArgumentError)
    from /Users/dberger/Repositories/azure-armrest-djberg96/lib/azure/armrest/resource_group_based_subservice.rb:24:in `list'
@djberg96
Copy link
Collaborator Author

Disregard, you need to pass a virtual network name for a Subnet, and a network security group name for a NetworkSecurityRule. Code works as designed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant