{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-network-networksecuritygroup","description":"NetworkManagementClient","version":"2019-08-01","base_url":"https://management.azure.com","endpoints":12,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api NetworkManagementClient\n@base https://management.azure.com\n@version 2019-08-01\n@auth OAuth2\n@endpoints 12\n@toc subscriptions(12)\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}\n@desc Deletes the specified network security group.\n@required {resourceGroupName: any # The name of the resource group., networkSecurityGroupName: any # The name of the network security group.}\n@returns(200) Delete successful.\n@returns(202) Accepted and the operation will complete asynchronously.\n@returns(204) Request successful. Resource does not exist.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}\n@desc Gets the specified network security group.\n@required {resourceGroupName: any # The name of the resource group., networkSecurityGroupName: any # The name of the network security group.}\n@optional {$expand: any # Expands referenced resources.}\n@returns(200) Request successful. The operation returns the resulting NetworkSecurityGroup resource.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}\n@desc Creates or updates a network security group in the specified resource group.\n@required {resourceGroupName: any # The name of the resource group., networkSecurityGroupName: any # The name of the network security group., parameters: any # Parameters supplied to the create or update network security group operation.}\n@returns(200) Update successful. The operation returns the resulting NetworkSecurityGroup resource.\n@returns(201) Create successful. The operation returns the resulting NetworkSecurityGroup resource.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}\n@desc Updates a network security group tags.\n@required {resourceGroupName: any # The name of the resource group., networkSecurityGroupName: any # The name of the network security group., parameters: any # Parameters supplied to update network security group tags.}\n@returns(200) Update successful. The operation returns the resulting NetworkSecurityGroup resource.\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups\n@desc Gets all network security groups in a subscription.\n@returns(200) Request successful. The operation returns a list of NetworkSecurityGroup resources.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups\n@desc Gets all network security groups in a resource group.\n@required {resourceGroupName: any # The name of the resource group.}\n@returns(200) Request successful. The operation returns a list of NetworkSecurityGroup resources.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}\n@desc Deletes the specified network security rule.\n@required {resourceGroupName: any # The name of the resource group., networkSecurityGroupName: any # The name of the network security group., securityRuleName: any # The name of the security rule.}\n@returns(200) Delete successful.\n@returns(202) Accepted and the operation will complete asynchronously.\n@returns(204) Request successful. Resource does not exist.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}\n@desc Get the specified network security rule.\n@required {resourceGroupName: any # The name of the resource group., networkSecurityGroupName: any # The name of the network security group., securityRuleName: any # The name of the security rule.}\n@returns(200) Request successful. The operation returns the resulting SecurityRule resource.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}\n@desc Creates or updates a security rule in the specified network security group.\n@required {resourceGroupName: any # The name of the resource group., networkSecurityGroupName: any # The name of the network security group., securityRuleName: any # The name of the security rule., securityRuleParameters: any # Parameters supplied to the create or update network security rule operation.}\n@returns(200) Update successful. The operation returns the resulting SecurityRule resource.\n@returns(201) Create successful. The operation returns the resulting SecurityRule resource.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules\n@desc Gets all security rules in a network security group.\n@required {resourceGroupName: any # The name of the resource group., networkSecurityGroupName: any # The name of the network security group.}\n@returns(200) Request successful. The operation returns a list of SecurityRule resources.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules\n@desc Gets all default security rules in a network security group.\n@required {resourceGroupName: any # The name of the resource group., networkSecurityGroupName: any # The name of the network security group.}\n@returns(200) Request successful. The operation returns a list of SecurityRule resources.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}\n@desc Get the specified default network security rule.\n@required {resourceGroupName: any # The name of the resource group., networkSecurityGroupName: any # The name of the network security group., defaultSecurityRuleName: any # The name of the default security rule.}\n@returns(200) Request successful. The operation returns the resulting SecurityRule resource.\n\n@end\n"}