@Path(value="/resourcegroups/{resourcegroup}/providers/Microsoft.Network/networkSecurityGroups/{networksecuritygroup}")
@Consumes(value="application/json")
public interface NetworkSecurityRuleApi
Modifier and Type | Method and 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() |
@Named(value="networksecurityrule:createOrUpdate") @Path(value="/securityRules/{networksecurityrulename}") @PUT NetworkSecurityRule createOrUpdate(@PathParam(value="networksecurityrulename") String ruleName, NetworkSecurityRuleProperties properties)
@Named(value="networksecurityrule:getDefaultRule") @Path(value="/defaultSecurityRules/{networksecurityrulename}") @GET NetworkSecurityRule getDefaultRule(@PathParam(value="networksecurityrulename") String ruleName)
@Named(value="networksecurityrule:get") @Path(value="/securityRules/{networksecurityrulename}") @GET NetworkSecurityRule get(@PathParam(value="networksecurityrulename") String ruleName)
@Named(value="networksecurityrule:delete") @Path(value="/securityRules/{networksecurityrulename}") @DELETE URI delete(@PathParam(value="networksecurityrulename") String ruleName)
@Named(value="networksecuritygroup:list") @Path(value="/securityRules") @GET List<NetworkSecurityRule> list()
@Named(value="networksecuritygroup:listDefaultRules") @Path(value="/defaultSecurityRules") @GET List<NetworkSecurityRule> listDefaultRules()
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.