Interface NetworkSecurityRuleApi
-
@Path("/resourcegroups/{resourcegroup}/providers/Microsoft.Network/networkSecurityGroups/{networksecuritygroup}") @Consumes("application/json") public interface NetworkSecurityRuleApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkSecurityRule
createOrUpdate(String ruleName, NetworkSecurityRuleProperties properties)
URI
delete(String ruleName)
NetworkSecurityRule
get(String ruleName)
NetworkSecurityRule
getDefaultRule(String ruleName)
List<NetworkSecurityRule>
list()
List<NetworkSecurityRule>
listDefaultRules()
-
-
-
Method Detail
-
createOrUpdate
@Named("networksecurityrule:createOrUpdate") @Path("/securityRules/{networksecurityrulename}") @PUT NetworkSecurityRule createOrUpdate(@PathParam("networksecurityrulename") String ruleName, NetworkSecurityRuleProperties properties)
-
getDefaultRule
@Named("networksecurityrule:getDefaultRule") @Path("/defaultSecurityRules/{networksecurityrulename}") @GET NetworkSecurityRule getDefaultRule(@PathParam("networksecurityrulename") String ruleName)
-
get
@Named("networksecurityrule:get") @Path("/securityRules/{networksecurityrulename}") @GET NetworkSecurityRule get(@PathParam("networksecurityrulename") String ruleName)
-
delete
@Named("networksecurityrule:delete") @Path("/securityRules/{networksecurityrulename}") @DELETE URI delete(@PathParam("networksecurityrulename") String ruleName)
-
list
@Named("networksecuritygroup:list") @Path("/securityRules") @GET List<NetworkSecurityRule> list()
-
listDefaultRules
@Named("networksecuritygroup:listDefaultRules") @Path("/defaultSecurityRules") @GET List<NetworkSecurityRule> listDefaultRules()
-
-