Skip to content

Commit

Permalink
Merge pull request #865 from martinsawicki/martin-internals
Browse files Browse the repository at this point in the history
support for defineRule(), updateRule() as part of NSG update
  • Loading branch information
anuchandy authored Jun 21, 2016
2 parents 5ac6152 + 85a559f commit 6888ee7
Show file tree
Hide file tree
Showing 7 changed files with 538 additions and 125 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,16 @@ interface DefinitionWithRule {
* @param name the name for the new security rule
* @return the first stage of the security rule definition
*/
NetworkSecurityRule.DefinitionBlank<DefinitionCreatable> defineRule(String name);
NetworkSecurityRule.Definables.Blank<DefinitionCreatable> defineRule(String name);
}

/**
* The stage of the resource definition allowing to add or remove security rules.
*/
interface UpdateWithRule {
Update withoutRule(String name);
//TODO defineRule(String name)...
NetworkSecurityRule.UpdateDefinables.Blank<Update> defineRule(String name);
NetworkSecurityRule.Update updateRule(String name);
}

/**
Expand Down
Loading

0 comments on commit 6888ee7

Please sign in to comment.